/* AYH v5.2.8 type scale (DD, Nov 11). Load LAST, after ayh-v527.css. CSS only: no copy, markup or Kit form changes.
   One scale (1440 -> 360):
   D1 marketing hero H1 72->44 (home hero unchanged, About joins it) | D2 page H1 48->34 (lessons, path, legal, thanks)
   H2 section 44->26 | H3 home signup 32->24 | H4 reading/step header 24->21 (done card 28->24)
   Card title 21->18 | Lead 21->18 | Body 19/17-18 (unchanged) | Kicker 14/600 | Small 13-15 (unchanged)
   Weights: H1 700, every other heading 600. Fluid sizes are linear from 360 to 1280. */
:root{
  --t-d1:clamp(40px,calc(27.5px + 3.48vw),72px);
  --t-d2:clamp(34px,calc(28.5px + 1.52vw),48px);
  --t-h2:clamp(26px,calc(19px + 1.96vw),44px);
  --t-h3:clamp(24px,calc(20.9px + .87vw),32px);
  --t-h4:clamp(21px,calc(19.8px + .33vw),24px);
  --t-h4-end:clamp(24px,calc(22.4px + .43vw),28px);
  --t-card:clamp(18px,calc(16.8px + .33vw),21px);
  --t-lead:clamp(18px,calc(16.8px + .33vw),21px);
}

/* ---------- HOME (ayh-cro2.css). Hero H1 stays 72/44 (ES 66/40 + the v527 fit rule) */
.page-home-cro2 .band .h2,
.page-home-cro2 .night .h2{font-size:var(--t-h2);line-height:1.1;letter-spacing:-.025em;font-weight:600;text-wrap:balance}
.page-home-cro2 .signup-live h2{font-size:var(--t-h3);line-height:1.15;letter-spacing:-.02em;font-weight:600;text-wrap:balance}
.page-home-cro2 .hero .sub,
.page-home-cro2 .band .lead{font-size:var(--t-lead)}
.page-home-cro2 .ladder h3{font-size:var(--t-card);line-height:1.25;letter-spacing:-.01em}
.page-home-cro2 .night li b{font-size:var(--t-card);line-height:1.25}
/* ladder step numbers: 36 -> 28px, 13px; timeline realigned to the new centre */
.page-home-cro2 .ladder .n{width:28px;height:28px;font-size:13px}
.page-home-cro2 .ladder::before{top:14px;left:14px}
@media (max-width:833px){
  .page-home-cro2 .ladder li{grid-template-columns:28px 1fr;column-gap:16px}
  .page-home-cro2 .ladder .k{margin-top:3px}
}

/* ---------- LESSONS (ayh-lesson-v3.css) */
.ls h1{font-size:var(--t-d2);line-height:1.08;letter-spacing:-.03em;text-wrap:balance}
.ls-goal{font-size:var(--t-lead)}
.ls .ls-sec h2{font-size:var(--t-h4);line-height:1.2;letter-spacing:-.015em;font-weight:600;text-wrap:balance}
.ls .ls-end h2{font-size:var(--t-h4-end);line-height:1.15;letter-spacing:-.02em;font-weight:600;text-wrap:balance}
/* step markers: quiet 24px tint circle, ink number (AA: #1D1C1A on #E6E4DF 13.6:1, #F5F4F1 on #2E2C29 12.9:1) */
.ls-ol>li{padding-left:40px}
.ls-ol>li::before{width:24px;height:24px;top:2px;font-size:13px;font-weight:600;line-height:1;background:var(--line);color:var(--ink)}
@media (max-width:640px){
  .ls-ol>li{padding-left:36px}
  .ls-ol>li::before{width:24px;height:24px;top:1px;font-size:13px}
}

/* ---------- BEGINNER PATH (ayh-v4.css) */
.v4-path .v4-lh1{font-size:var(--t-d2);line-height:1.08;letter-spacing:-.03em}
.v4-path .v4-kicker{font-size:14px;letter-spacing:0}
.v4-path .v4-outcome{font-size:var(--t-lead)}
.v4-path .v4-signup h2{font-size:var(--t-h4);line-height:1.2;letter-spacing:-.015em}
.v4-path .v4-prow-t{font-size:var(--t-card)}

/* ---------- LEGAL + PROSE (site.css: privacy, terms, disclosures, changelog, advertise) */
.page-prose .prose>h1:first-child,.page-prose h1:first-child,.page-prose main>.wrap>h1{font-size:var(--t-d2);line-height:1.08;letter-spacing:-.03em}
.page-prose .prose h2,.page-prose .ai-panel h2{font-size:var(--t-h4);line-height:1.2;letter-spacing:-.015em;font-weight:600}

/* ---------- THANK-YOU + CONFIRMED (ayh-v4.css) */
.v4-thanks .v4-h1{font-size:var(--t-d2);line-height:1.08;letter-spacing:-.03em}
.v4-thanks .v4-lead{font-size:var(--t-lead)}

/* ---------- ABOUT (site.css): hero = D1 like home, dark-band H2 = section H2, body H2 = reading H4 */
.page-about .band-hero h1{font-size:var(--t-d1);line-height:1.04;letter-spacing:-.035em}
.page-about .hero-sub,.page-about .ai-panel p{font-size:var(--t-lead)}
.page-about .ai-panel h2{font-size:var(--t-h2);line-height:1.1;letter-spacing:-.025em;font-weight:600;text-wrap:balance}
.page-about .band.band-prose h2{font-size:var(--t-h4);line-height:1.2;letter-spacing:-.015em;font-weight:600}
