/* Hallmark · shape: Field Guide (chalkboard) · genre: editorial · theme: Hedgerow (deal 2/3, seed personal-expert-senior-maths-22ec·6021b069·2026-11-14·r0) · job: book · draw: manual
 * hero: Stage, head on the left, the portrait on the right with a real result pinned to it · nav: edge-aligned wordmark, four links, one action · footer: three columns over a base line · imagery: photographs of Alexey from his Instagram · signature: the chalkboard green with a chalk underline drawn under "понимает" and results set as before/after figures · hedgerow: hedge
 * axes: dark/high-contrast-serif/chromatic-green · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R2 V3 · weakest: R (motion), the theme keeps still; the user asked for shimmering buttons, so motion is limited to the primary button shine, the ticker and one chalk stroke, all off under reduced motion */
/* waive 67: the ticker lists exam names (IB, IGCSE, SAT) in the display face; they are proper acronyms, not tracked labels */
/* waive 47b: the user explicitly asked for shimmering buttons and visual effects; theme stillness yields to the user's words */
@import url("./fonts.css");
@import url("./tokens.css");
@import url("./base.css");

:root {
  --shine: oklch(98% 0.05 118 / 0.75);
  --chalk: oklch(93% 0.022 88 / 0.05);
  --scrim: oklch(19.5% 0.045 158 / 0.72);
  --overlay: oklch(12% 0.03 158 / 0.6);
  --header-h: 72px;
  --container: 1240px;
  --col-gap: 56px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-size: 17px; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); line-height: 1.08; }
h3 { font-size: var(--text-xl); }
.lead { color: var(--color-ink-2); }
strong { color: var(--color-ink); font-weight: 600; }

.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-toast); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); }
.skip:focus-visible { top: 12px; }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 52px; padding: var(--space-md) 28px; border: 1.5px solid var(--color-accent); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: var(--text-md); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
@media (min-width: 40.01rem) { .btn { white-space: nowrap; } }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled] { background: var(--color-paper-3); border-color: var(--color-rule); color: var(--color-muted); cursor: progress; }
.btn[disabled]::after { display: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn--primary::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, var(--shine) 48%, transparent 66%);
  transform: translateX(-130%);
  animation: shine 4.2s var(--ease-in-out) infinite;
}
.btn--primary:hover::after { animation-duration: 1.4s; }
@keyframes shine { 0%, 62% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn--ghost { background: transparent; color: var(--color-accent); }
.btn--ghost:hover { background: color-mix(in oklab, var(--color-accent) 12%, transparent); }
.btn--sm { min-height: 42px; padding: var(--space-sm) 20px; font-size: var(--text-sm); }
.btn--lg { min-height: 60px; padding: var(--space-md) 36px; font-size: var(--text-lg); }
.btn--block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-rule); }
.nav__row { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.wordmark__name { font-family: var(--font-display); font-size: 1.375rem; color: var(--color-ink); margin: 0; }
.wordmark__sub { font-size: var(--text-xs); color: var(--color-muted); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; padding: var(--space-xs) 0; border-bottom: 1px solid transparent; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* Hero */
.hero { position: relative; padding-block: 56px var(--space-xl); overflow: clip; }
.hero__chalk { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__chalk text { font-family: var(--font-display); font-size: 44px; fill: var(--chalk); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--col-gap); align-items: center; }
.hero__text { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 3.4vw + 0.9rem, 4.4rem); max-width: 15ch; }
.chalk-mark { position: relative; white-space: nowrap; }
.chalk-mark svg { position: absolute; left: -2%; right: -2%; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; }
.chalk-mark path { fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; animation: draw 1.1s var(--ease-out) 0.35s both; }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
.hero .lead { margin-top: var(--space-lg); font-size: clamp(1.15rem, 0.6vw + 1rem, 1.45rem); max-width: 30ch; color: var(--color-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: 32px; }
.hero__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.hero__photo { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--color-accent); z-index: -1; }
.hero__tag { position: absolute; left: -36px; bottom: 36px; display: flex; flex-direction: column; gap: var(--space-2xs); max-width: 250px; padding: var(--space-md) 20px; background: var(--color-paper-2); color: var(--color-ink-2); border: 1px solid var(--color-rule); }
.hero__tag-fig { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--color-accent); }
.hero__tag-text { font-size: var(--text-sm); color: var(--color-ink-2); line-height: 1.4; }
.arrow { font-family: var(--font-body); font-weight: 400; }
.hero__byline { position: relative; margin-top: var(--space-xl); }
.hero__byline p { max-width: none; font-size: var(--text-sm); color: var(--color-muted); border-top: 1px solid var(--color-rule); padding-top: var(--space-md); }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--color-rule); background: var(--color-paper-2); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-ink); padding: var(--space-md) 28px; white-space: nowrap; }
.ticker li::after { content: "+"; margin-left: 56px; font-family: var(--font-body); color: var(--color-accent); }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }

/* Sections */
.section { padding-block: var(--section-gap-s); }
.section--band { background: var(--color-paper-2); color: var(--color-ink-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: end; margin-bottom: 48px; }
.section__head .lead { justify-self: end; max-width: 40ch; }
.section h2 { font-size: var(--text-section); }

/* Pains index */
.index { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1.5px solid var(--color-accent); counter-reset: pain; }
.index li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: baseline; padding-block: 28px; border-bottom: 1px solid var(--color-rule); transition: border-color var(--dur-short) var(--ease-out); }
.index li:hover { border-bottom-color: var(--color-accent); }
.index h3 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); max-width: 24ch; }
.index p { color: var(--color-ink-2); }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--color-muted); }
.program { display: flex; flex-direction: column; gap: var(--space-sm); padding: 32px 28px 32px 0; border-right: 1px solid var(--color-rule); }
.program + .program { padding-left: 28px; }
.program:last-child { border-right: 0; }
.program h3 { font-size: var(--text-2xl); }
.program__list { color: var(--color-ink-2); min-height: 3.2em; }
.program__goal { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.program__goal span { font-size: var(--text-xs); color: var(--color-muted); }
.program__goal strong { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); color: var(--color-accent); }
.programs__note { margin-top: 32px; color: var(--color-muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--col-gap); align-items: start; }
.about__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.about__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.about__text .lead { margin-top: 20px; }
.facts { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-top: 1.5px solid var(--color-accent); }
.facts li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: var(--space-lg); padding-block: 20px; border-bottom: 1px solid var(--color-rule); }
.facts strong { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.2; }
.quote { margin: 48px 0 0; padding: 0 0 0 28px; border-left: 1.5px solid var(--color-accent); }
.quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); line-height: 1.3; color: var(--color-ink); max-width: 32ch; }
.about__team { margin-top: 32px; color: var(--color-muted); }

/* Results on cream */
.section--cream { background: var(--color-ink); color: var(--color-paper); --color-rule: color-mix(in oklab, var(--color-paper) 22%, var(--color-ink)); }
.section--cream h2, .section--cream h3 { color: var(--color-paper); }
.section--cream .lead, .section--cream p { color: color-mix(in oklab, var(--color-paper) 78%, var(--color-ink)); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--color-accent-deep); }
.figure-card { container-type: inline-size; display: flex; flex-direction: column; gap: var(--space-sm); padding: 32px var(--space-lg) var(--space-xs) 0; border-right: 1px solid var(--color-rule); }
.figure-card + .figure-card { padding-left: var(--space-lg); }
.figure-card:last-child { border-right: 0; }
.figure { font-family: var(--font-display); font-size: clamp(1.9rem, 15cqi, 3.4rem); line-height: 1; color: var(--color-accent-deep) !important; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.figure-card h3 { font-size: var(--text-xl); margin-top: var(--space-xs); font-variant-numeric: lining-nums tabular-nums; }

/* Method */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.steps li { display: flex; flex-direction: column; gap: var(--space-sm); padding-top: 20px; border-top: 1px solid var(--color-muted); transition: border-color var(--dur-short) var(--ease-out); }
.steps li:hover { border-top-color: var(--color-accent); }
.steps__n { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-accent); line-height: 1; }
.pills { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.pills li { padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); font-size: var(--text-sm); color: var(--color-ink); background: var(--color-paper-3); }

/* Diagnostic */
.diag { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--col-gap); align-items: start; }
.diag .lead { margin-top: 20px; }
.checklist { list-style: none; margin: 32px 0 var(--space-xl); padding: 0; border-top: 1.5px solid var(--color-accent); }
.checklist li { position: relative; padding: var(--space-md) 0 var(--space-md) var(--space-xl); border-bottom: 1px solid var(--color-rule); color: var(--color-ink); font-size: var(--text-lg); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 18px; height: 10px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: translateY(-70%) rotate(-45deg); }
.diag__who { padding: 36px; background: var(--color-paper-3); border: 1px solid var(--color-rule); }
.diag__who h3 { font-size: var(--text-2xl); margin-bottom: var(--space-md); }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: t; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: var(--space-2xs); padding: 0 0 var(--space-lg) 44px; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--color-accent); color: var(--color-accent); font-size: var(--text-sm); font-weight: 700; display: grid; place-items: center; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; border-left: 1px solid var(--color-rule); }
.timeline span { font-size: var(--text-sm); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--col-gap); }
.faq__list { border-top: 1.5px solid var(--color-accent); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding: var(--space-lg) 0; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--color-rule); border-radius: 50%; font-family: var(--font-body); color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.faq summary:hover::after { border-color: var(--color-accent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { padding: 0 48px var(--space-lg) 0; }

/* Final */
.final { position: relative; padding-block: var(--section-gap); background: var(--color-paper-2); border-top: 1px solid var(--color-rule); overflow: clip; }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.final h2 { font-size: var(--text-display-s); max-width: 18ch; }

/* Footer */
.footer { padding-block: var(--space-2xl) 32px; border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); }
.footer__brand p + p { margin-top: var(--space-sm); max-width: 36ch; color: var(--color-muted); }
.footer__col { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
.footer__label { color: var(--color-muted); font-weight: 500; }
.footer a, .linkish { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.footer a:hover, .linkish:hover { color: var(--color-ink); text-decoration-thickness: 2px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--color-rule); color: var(--color-muted); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-paper-2) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--color-rule); transform: translateY(110%); transition: transform var(--dur-long) var(--ease-out); display: none; }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-on { transform: translateY(0); }

/* Modal form */
.modal { width: calc(100% - var(--space-lg)); max-width: 640px; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--color-rule); background: var(--color-paper); color: var(--color-ink-2); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: var(--overlay); }
.modal[open] { animation: rise var(--dur-long) var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lead__progress { height: 3px; background: var(--color-rule); }
.lead__progress span { display: block; height: 100%; background: var(--color-accent); transform-origin: left; transform: scaleX(0.5); transition: transform var(--dur-long) var(--ease-out); }
.modal__close { position: absolute; right: 12px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.modal__close:hover { border-color: var(--color-accent); }
.modal__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
#lead-form { position: relative; }
.lead__step, .lead__done { border: 0; margin: 0; padding: 36px 36px 32px; min-width: 0; }
.lead__step legend, .lead__done h2 { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-ink); line-height: 1.15; padding: 0 48px 0 0; float: left; width: 100%; }
.lead__hint { clear: both; padding-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.q { margin-top: var(--space-lg); }
.q__title { color: var(--color-ink); font-weight: 600; margin-bottom: var(--space-sm); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-pill); font-size: var(--text-sm); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chips label:hover span { border-color: var(--color-accent); }
.chips input:checked + span { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-md); }
.field__label { font-size: var(--text-sm); color: var(--color-ink); font-weight: 500; }
.field input { min-height: 50px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-muted); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font-size: 1rem; transition: border-color var(--dur-short) var(--ease-out); }
.field input::placeholder { color: var(--color-muted); }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: var(--space-sm); align-items: flex-start; margin-top: var(--space-lg); font-size: var(--text-sm); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--color-accent); }
.consent a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.lead__error { margin-top: var(--space-md); color: var(--color-error); font-size: var(--text-sm); }
.lead__step > .btn--block { margin-top: 28px; }
.lead__nav { display: flex; gap: var(--space-sm); margin-top: 28px; }
.lead__nav .btn--primary { flex: 1; }
.lead__done { text-align: left; }
.lead__done-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; }
.lead__done h2 { float: none; padding: 0; }
.lead__done p { margin-block: var(--space-sm) 28px; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: var(--z-toast); max-width: 420px; padding: 20px; background: var(--color-paper-2); border: 1px solid var(--color-rule); font-size: var(--text-sm); }
.cookie__title { color: var(--color-ink); font-weight: 600; margin-bottom: var(--space-xs); }
.cookie a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.cookie__actions { display: flex; gap: var(--space-xs); margin-top: var(--space-md); }

/* Legal pages */
.legal { padding-block: var(--space-2xl) var(--section-gap-s); }
.legal h1 { font-size: var(--text-display-s); max-width: 22ch; }
.legal .updated { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.legal h2 { font-size: var(--text-2xl); margin-top: 48px; margin-bottom: var(--space-sm); }
.legal p, .legal li { max-width: 72ch; }
.legal p + p { margin-top: var(--space-sm); }
.legal ul { padding-left: 20px; margin: var(--space-sm) 0 0; }
.legal li + li { margin-top: var(--space-xs); }
.legal a { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.legal table { border-collapse: collapse; margin-top: var(--space-md); width: 100%; max-width: 860px; font-size: var(--text-sm); }
.legal th, .legal td { text-align: left; padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.legal th { color: var(--color-muted); font-weight: 500; }

/* Responsive */
@media (max-width: 68rem) {
  .nav__links { display: none; }
  .nav__row { justify-content: space-between; }
  .programs, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program:nth-child(2n), .figure-card:nth-child(2n) { border-right: 0; }
  .program:nth-child(3), .figure-card:nth-child(3) { padding-left: 0; }
  .program:nth-child(n+3), .figure-card:nth-child(n+3) { border-top: 1px solid var(--color-rule); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  :root { --header-h: 64px; }
  .hero { padding-top: 32px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__photo { justify-self: start; max-width: 460px; }
  .hero__tag { left: 12px; bottom: 12px; }
  .hero__photo::before { inset: 12px -12px -12px 12px; }
  .section__head, .about, .diag, .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section__head .lead { justify-self: start; }
  .about__photo { position: static; max-width: 420px; }
  .index li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 112px; }
}
@media (max-width: 40rem) {
  body { font-size: 16px; }
  .wordmark__name { font-size: 1.2rem; }
  .nav .btn--sm { padding-inline: var(--space-md); }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .hero__actions .btn { width: 100%; }
  .hero__chalk text { font-size: 30px; }
  .programs, .figures, .steps { grid-template-columns: minmax(0, 1fr); }
  .program, .program + .program, .figure-card, .figure-card + .figure-card { padding-left: 0; padding-right: 0; border-right: 0; }
  .program + .program, .figure-card + .figure-card { border-top: 1px solid var(--color-rule); }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .diag__who { padding: var(--space-lg); }
  .lead__step, .lead__done { padding: 28px 20px var(--space-lg); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after { animation: none; display: none; }
  .ticker__track { animation: none; }
  .chalk-mark path { animation: none; }
  html { scroll-behavior: auto; }
}
