:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173e34;
  background: #fbf6eb;
  font-synthesis: none;
  line-height: 1.6;
  --forest: #173e34;
  --green: #285447;
  --fresh: #d7edac;
  --coral: #c74718;
  --paper: #fffefb;
  --line: #dcded0;
  --muted: #526358;
}

* { box-sizing: border-box; }

body { margin: 0; overflow-wrap: anywhere; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[tabindex="-1"]:focus { outline: none; }

h1, h2, p { margin: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: .94;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 1;
}

.site-header, main, footer {
  width: min(1080px, calc(100% - 64px));
  margin: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.06em;
  text-decoration: none;
}

.brand img {
  object-fit: contain;
  margin-right: 8px;
}

.brand-dot { color: var(--coral); }

.header-note, .availability, footer { color: var(--muted); }

.header-note { font-size: .85rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  min-height: 620px;
  padding: 72px 0 80px;
}

.eyebrow, .card-topline {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.eyebrow {
  margin-bottom: 19px;
  color: var(--green);
}

.lead {
  max-width: 650px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.availability {
  display: inline-block;
  margin-top: 26px;
  border-left: 3px solid var(--coral);
  padding: 4px 0 4px 13px;
  font-size: .82rem;
  font-weight: 650;
}

.study-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  padding: 34px;
  border: 1px solid #e4d9cd;
  border-top: 5px solid var(--green);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 24px 60px #173e3412;
}

.study-card::after {
  position: absolute;
  z-index: -1;
  right: -55px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--fresh);
  content: "";
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--green);
}

.prompt {
  margin-top: 68px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.prompt strong {
  color: var(--coral);
  font-weight: 500;
}

.answer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  font-size: .9rem;
  font-weight: 700;
}

.answer-mark {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--fresh);
  font-size: .8rem;
}

.progress {
  height: 4px;
  margin-top: 42px;
  border-radius: 999px;
  background: #e9e9df;
}

.progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.links-section {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 96px);
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.link-grid { border-top: 3px solid var(--green); }

.link-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.link-card:hover { color: var(--coral); }

.link-number {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.link-copy strong, .link-copy small { display: block; }

.link-copy strong { font-size: 1.04rem; }

.link-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .83rem;
}

.arrow {
  font-size: 1.35rem;
  transition: transform .15s ease;
}

.link-card:hover .arrow { transform: translateX(4px); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
}

footer a { text-underline-offset: 3px; }

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  display: block;
  padding: 12px 24px;
  background: var(--forest);
  color: white;
}

@media (max-width: 760px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .header-note { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
    padding: 56px 0 64px;
  }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .study-card { min-height: 370px; padding: 26px 22px; }
  .prompt { margin-top: 56px; }
  .answer { margin-top: 52px; }
  .links-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 64px;
  }
  .link-card { grid-template-columns: 30px 1fr auto; gap: 12px; }
  footer { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Reflow the longer brand and legal copy when users enlarge text. */
.brand { min-width: 0; max-width: 100%; }
.brand img { flex-shrink: 0; }
