@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/guide-library/fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("/guide-library/fonts/Montserrat-SemiBold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --burgundy: #720f11;
  --saffron: #faa73f;
  --paper: #fff;
  --forest: #10221d;
  --sage: #6b8a71;
  --mist: #edf1ed;
  --cream: #faf7f2;
  --line: #ccd5cf;
  --muted: #43544e;
  --field: 1280px;
  --gutter: clamp(22px, 4vw, 64px);
  --site-header-height: 80px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

a:focus-visible,
summary:focus-visible {
  outline: 4px solid var(--saffron);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--saffron);
  color: var(--forest);
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 84px);
}

.site-wordmark {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.19em;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: none;
}

.site-wordmark-mark {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--forest);
  stroke: currentColor;
  stroke-width: 10.2;
  stroke-linecap: butt;
}

.site-wordmark-name {
  display: inline-block;
  max-width: 190px;
  overflow: hidden;
  opacity: 1;
  white-space: nowrap;
  transition:
    max-width 360ms var(--ease),
    opacity 180ms ease;
}

.site-header--scrolled .site-wordmark-name {
  max-width: 0;
  opacity: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-nav--desktop {
  margin-left: auto;
}

.site-header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.site-nav-link {
  min-width: 44px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav-link:hover {
  color: var(--burgundy);
  text-decoration: underline;
  text-decoration-color: var(--saffron);
  text-decoration-thickness: 3px;
}

.site-header-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--burgundy);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header-cta-short {
  display: none;
}

.site-search-link {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-menu-button {
  min-height: 44px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.site-menu-button i {
  position: relative;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.site-menu-button i::before,
.site-menu-button i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 280ms ease;
}

.site-menu-button i::before { transform: translateY(-5px); }
.site-menu-button i::after { transform: translateY(5px); }
.site-menu-button[aria-expanded="true"] i { background: transparent; }
.site-menu-button[aria-expanded="true"] i::before { transform: rotate(45deg); }
.site-menu-button[aria-expanded="true"] i::after { transform: rotate(-45deg); }

.site-mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 480ms var(--ease),
    opacity 260ms ease,
    visibility 0s linear 480ms;
}

.site-mobile-nav--open {
  max-height: 520px;
  border-bottom-color: var(--line);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.site-mobile-nav-inner {
  display: grid;
  padding: 18px 24px 28px;
}

.site-mobile-nav a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 20px;
  font-weight: 650;
  text-decoration: none;
}

.site-mobile-nav a span {
  color: var(--burgundy);
  font-size: 14px;
}

.kya-event {
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  gap: 12px 32px;
  align-items: center;
  min-height: 48px;
  padding: 8px max(var(--gutter), calc((100vw - var(--field)) / 2 + var(--gutter)));
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--saffron) 12%, var(--paper));
  color: var(--forest);
}

.kya-event p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.kya-event strong {
  color: var(--burgundy);
  font-size: 15px;
  font-weight: 700;
}

.kya-event span {
  display: inline-block;
  margin-left: 12px;
  color: var(--forest);
}

.kya-event a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--forest);
  font-size: 15px;
  font-weight: 700;
}

.article-hero,
.index-hero {
  --hero-bg: var(--forest);
  --hero-ink: var(--paper);
  --hero-copy: #f4f6f4;
  --hero-accent: var(--saffron);
  display: grid;
  min-height: calc(100svh - 72px);
  align-content: center;
  padding: clamp(72px, 9vw, 132px) max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter)));
  background-color: var(--hero-bg);
  color: var(--hero-ink);
}

.kya-event + main > .article-hero,
.kya-event + main > .index-hero {
  min-height: calc(100svh - 140px);
}

.article-hero[data-group="beginner"],
.article-hero[data-group="senior"] {
  --hero-bg: var(--cream);
  --hero-ink: var(--forest);
  --hero-copy: var(--muted);
  --hero-accent: var(--burgundy);
}

.article-hero[data-group="method"],
.article-hero[data-group="local"] {
  --hero-bg: var(--mist);
  --hero-ink: var(--forest);
  --hero-copy: var(--muted);
  --hero-accent: var(--burgundy);
}

.article-hero[data-group="classes"] {
  --hero-bg: #f6eddc;
  --hero-ink: var(--forest);
  --hero-copy: var(--muted);
  --hero-accent: var(--burgundy);
}

.article-hero[data-group="comparison"] {
  --hero-bg: #243f35;
}

.article-hero[data-group="stress"] {
  --hero-bg: #375747;
}

.article-hero[data-group="audience"] {
  --hero-bg: #172f29;
}

.article-hero[data-variant="2"] {
  background-image: radial-gradient(circle at 82% 30%, color-mix(in srgb, var(--hero-accent) 13%, transparent) 0 9%, transparent 9.2%);
}

.article-hero[data-variant="3"] {
  background-image: linear-gradient(112deg, transparent 0 72%, color-mix(in srgb, var(--hero-accent) 9%, transparent) 72% 100%);
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  max-width: 1160px;
  margin: 0 auto;
}

.article-kicker,
.context-label {
  margin: 0;
  color: var(--hero-accent, var(--saffron));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-hero h1,
.index-hero h1 {
  max-width: 13ch;
  margin: 24px 0 0;
  color: var(--hero-ink, var(--paper));
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.direct-answer,
.index-hero > p:last-child {
  max-width: 60ch;
  margin: 34px 0 0;
  color: var(--hero-copy, #f4f6f4);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.65;
}

.guide-marker {
  width: clamp(132px, 14vw, 190px);
  margin: 0;
  padding-top: 20px;
  border-top: 6px solid var(--hero-accent);
  color: var(--hero-ink);
  line-height: 1;
}

.guide-marker strong,
.guide-marker span {
  display: block;
}

.guide-marker strong {
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.07em;
}

.guide-marker span {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 780px);
  gap: clamp(56px, 7vw, 108px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}

.article-body {
  min-width: 0;
}

.article-outline {
  position: sticky;
  z-index: 20;
  top: calc(var(--site-header-height) + 24px);
  align-self: start;
}

.guide-section,
.questions,
.research-notes,
.related-guides {
  scroll-margin-top: calc(var(--site-header-height) + 32px);
}

.article-outline details {
  background: var(--paper);
  border: 1px solid var(--line);
}

.article-outline summary {
  min-height: 72px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}

.article-outline summary::-webkit-details-marker {
  display: none;
}

.article-outline summary::after {
  content: "+";
  float: right;
  margin-top: -31px;
  color: var(--burgundy);
  font-size: 21px;
  font-weight: 600;
}

.article-outline details[open] summary::after {
  content: "−";
}

.article-outline summary span,
.article-outline summary strong {
  display: block;
}

.article-outline summary span {
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-outline summary strong {
  max-width: 17ch;
  margin-top: 5px;
  padding-right: 22px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.article-outline nav {
  padding: 2px 18px 16px;
  border-top: 1px solid var(--line);
}

.article-outline nav a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 6px 0 6px 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.article-outline nav a::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  background: transparent;
}

.article-outline nav a.is-current {
  color: var(--forest);
}

.article-outline nav a.is-current::before {
  background: var(--saffron);
}

.care-note {
  margin: 38px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.care-note strong {
  color: var(--forest);
  font-weight: 700;
}

.guide-section {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 28px;
  padding: 0 0 68px;
  border-bottom: 1px solid var(--line);
}

.guide-section + .guide-section {
  padding-top: 68px;
}

.section-number {
  margin: 6px 0 0;
  color: var(--burgundy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.guide-section h2,
.article-cta h2,
.index-next h2 {
  max-width: 24ch;
  margin: 0;
  color: var(--forest);
  font-size: clamp(29px, 3vw, 39px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-wrap: balance;
}

.guide-section p:last-child {
  max-width: 64ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.78;
}

.student-evidence {
  margin: -14px 0 clamp(84px, 11vw, 124px);
}

.student-evidence h2 {
  max-width: 21ch;
  margin: 14px 0 0;
  color: var(--forest);
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.student-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.student-evidence figure {
  min-width: 0;
  margin: 0;
  padding: clamp(28px, 4vw, 40px);
  background: var(--cream);
}

.student-evidence blockquote {
  margin: 0;
  color: var(--forest);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.5;
}

.student-evidence figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.questions,
.research-notes,
.related-guides {
  margin-top: clamp(88px, 12vw, 132px);
}

.section-label,
.question-number {
  margin: 0;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.questions-intro {
  padding-bottom: 42px;
}

.questions-intro h2,
.research-notes h2,
.related-guides h2,
.index-next h2 {
  max-width: 24ch;
  margin: 14px 0 0;
  color: var(--forest);
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.questions-intro > p:last-child,
.research-intro {
  max-width: 64ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.question-answer {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px 30px;
  padding: 44px 0 48px;
  border-top: 1px solid var(--line);
}

.question-answer .question-number {
  margin-top: 7px;
}

.question-answer h3 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(24px, 2.7vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.26;
  text-wrap: balance;
}

.question-answer > p:last-child {
  grid-column: 2;
  max-width: 64ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.78;
}

.research-notes {
  padding: clamp(34px, 5vw, 54px);
  background: var(--cream);
}

.research-notes ul,
.related-guides ul {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.research-notes li {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.research-notes li:last-child {
  padding-bottom: 0;
}

.research-notes li a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--forest);
  font-size: 17px;
  font-weight: 700;
}

.research-notes li p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.related-guides ul {
  border-top: 1px solid var(--line);
}

.related-guides li {
  border-bottom: 1px solid var(--line);
}

.related-guides li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  color: var(--forest);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.related-guides li a:hover {
  color: var(--burgundy);
}

.related-guides li span {
  color: var(--burgundy);
  font-size: 20px;
  font-weight: 700;
}

.article-cta {
  margin-top: 76px;
  padding: clamp(36px, 5vw, 58px);
  border-left: 6px solid var(--saffron);
  background: var(--mist);
}

.article-cta .context-label,
.index-next .context-label {
  color: var(--burgundy);
}

.article-cta h2 {
  margin-top: 14px;
}

.article-cta > p:not(.context-label),
.index-next > p:not(.context-label) {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.article-cta > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 30px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--forest);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--forest);
  font-size: 16px;
  font-weight: 700;
}

.index-hero h1 {
  max-width: 11ch;
}

.index-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.index-hero-inner > p:last-child {
  max-width: 58ch;
  margin: 34px 0 0;
  color: var(--hero-copy);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.65;
}

.index-start {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) var(--gutter) 0;
}

.index-start .context-label {
  color: var(--burgundy);
}

.index-start h2 {
  margin: 13px 0 0;
  color: var(--forest);
  font-size: clamp(31px, 4vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.index-start > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.index-start a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  text-decoration: none;
}

.index-start a:hover {
  background: var(--cream);
}

.index-start a span {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-start a strong {
  max-width: 24ch;
  font-size: 20px;
  line-height: 1.38;
}

.index-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(56px, 7vw, 108px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(84px, 10vw, 148px) var(--gutter);
}

.index-list {
  min-width: 0;
}

.index-group {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 76px;
}

.index-group + .index-group {
  padding-top: 76px;
  border-top: 1px solid var(--line);
}

.index-group h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.index-group-intro {
  max-width: 58ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.index-group ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.index-group li {
  border-bottom: 1px solid var(--line);
}

.index-group li a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  min-height: 72px;
  align-items: center;
  padding: 14px 0;
  color: var(--forest);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.index-group li a span {
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 700;
}

.index-next {
  padding: clamp(64px, 8vw, 104px) max(var(--gutter), calc((100vw - 1040px) / 2 + var(--gutter)));
  background: var(--cream);
}

.index-next > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 30px;
}

.index-next .context-label {
  color: var(--burgundy);
}

.site-footer {
  padding: clamp(64px, 8vw, 104px) max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))) 34px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--forest);
  font-size: 16px;
  line-height: 1.75;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer .site-footer-label {
  margin-bottom: 13px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer-grid section > p + p,
.site-footer-grid section > p + a {
  margin-top: 10px;
}

.site-footer .site-footer-legal {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-header nav a,
  .index-group li a,
  .text-link {
    transition: color 180ms ease, background-color 180ms ease, transform 240ms var(--ease);
  }

  .button:hover,
  .index-group li a:hover,
  .text-link:hover {
    transform: translateY(-2px);
  }

  .index-group li a:hover {
    color: var(--burgundy);
  }

  @supports (animation-timeline: view()) {
    .guide-section > div,
    .question-answer,
    .research-notes,
    .related-guides,
    .index-group > div,
    .article-cta,
    .index-next > * {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 18%;
    }

    @keyframes settle {
      from { transform: translateY(10px); }
      to { transform: translateY(0); }
    }
  }
}

@media (max-width: 1080px) {
  .site-nav--desktop { gap: 18px; }
  .site-nav--desktop .site-nav-link:last-child { display: none; }
  .site-header-cta { padding-inline: 16px; }
}

@media (max-width: 900px) {
  :root {
    --site-header-height: 72px;
  }

  .site-header-inner {
    min-height: 72px;
    padding-inline: 24px;
  }

  .site-nav--desktop { display: none; }
  .site-menu-button { display: inline-flex; }
  .site-search-link span { display: none; }
  .site-header-actions { margin-left: auto; gap: 8px; }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kya-event {
    grid-template-columns: 1fr auto;
  }

  .kya-event > p:nth-child(2) {
    grid-column: 1;
  }

  .kya-event a {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .article-layout,
  .index-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .article-outline {
    top: calc(var(--site-header-height) + 8px);
    margin-inline: calc(var(--gutter) * -0.25);
  }

  .guide-section,
  .questions,
  .research-notes,
  .related-guides {
    scroll-margin-top: calc(var(--site-header-height) + 88px);
  }

  .article-outline details {
    box-shadow: 0 8px 26px rgba(16, 34, 29, 0.08);
  }

  .article-outline nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .index-outline {
    order: -1;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 18px;
  }

  .site-wordmark {
    gap: 0;
  }

  .site-wordmark-name {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav-link:first-child {
    display: none;
  }

  .site-header-cta {
    min-height: 50px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .site-header-cta-wide {
    display: none;
  }

  .site-header-cta-short {
    display: inline;
  }

  .kya-event {
    gap: 5px 16px;
    padding-block: 14px;
  }

  .kya-event p,
  .kya-event strong,
  .kya-event a {
    font-size: 14px;
  }

  .kya-event span {
    display: block;
    margin: 3px 0 0;
  }

  .site-footer {
    padding: 58px 24px 28px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .article-hero,
  .index-hero {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .article-hero h1,
  .index-hero h1 {
    max-width: none;
    font-size: clamp(42px, 11.5vw, 58px);
  }

  .article-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .guide-marker {
    width: 114px;
  }

  .guide-marker strong {
    font-size: 54px;
  }

  .direct-answer,
  .index-hero > p:last-child {
    font-size: 20px;
    line-height: 1.62;
  }

  .article-layout {
    padding-top: 62px;
    padding-bottom: 90px;
  }

  .guide-section,
  .index-group {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-section {
    padding-bottom: 52px;
  }

  .guide-section + .guide-section {
    padding-top: 52px;
  }

  .guide-section p:last-child {
    font-size: 18px;
    line-height: 1.76;
  }

  .care-note {
    margin-top: 32px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .student-evidence {
    margin-top: 0;
    margin-bottom: 76px;
  }

  .student-evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-evidence figure {
    padding: 28px 24px;
  }

  .question-answer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 38px 42px;
  }

  .question-answer .question-number {
    margin-top: 0;
  }

  .question-answer > p:last-child {
    grid-column: 1;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.76;
  }

  .research-notes {
    margin-inline: calc(var(--gutter) * -0.35);
    padding: 32px 26px;
  }

  .article-outline nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-start > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .index-start a {
    min-height: 128px;
  }

  .article-cta {
    margin-top: 58px;
    padding: 32px 26px;
  }

  .article-cta > div {
    align-items: stretch;
  }

  .article-cta .button {
    width: 100%;
  }

  .index-list {
    padding-top: 72px;
    padding-bottom: 94px;
  }

  .index-group {
    padding-bottom: 58px;
  }

  .index-group + .index-group {
    padding-top: 58px;
  }

  .index-group li a {
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 84px;
  }

  .geo-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
