/* One size scale for the whole site (4 Dec 2026).
   Every level grows smoothly from a phone (~360 px) to desktop (~1280 px): no device breakpoints, nothing hard-coded.
   Same level = same size on every page. Each max is at most 2x its min, so text still zooms to 200% (MDN clamp, WCAG 1.4.4).
   The hero name on the main page keeps its own rule (it is the one deliberate exception). */
:root{
  --fs-hero:  clamp(2.5rem,   1.6rem + 4vw,    6.4rem);   /* AI page headline        40 -> 102 px */
  --fs-h2:    clamp(1.75rem,  1.35rem + 1.8vw, 2.25rem);  /* every section heading   28 -> 36 px  */
  --fs-quote: clamp(1.375rem, 1rem + 1.8vw,    2.5rem);   /* the big quote blocks    22 -> 40 px  */
  --fs-h3f:   clamp(1.25rem,  1.1rem + 0.7vw,  1.5rem);   /* featured card titles    20 -> 24 px  */
  --fs-h3:    clamp(1.0625rem,1rem + 0.25vw,   1.25rem);  /* every other card title  17 -> 20 px  */
  --fs-stat:  clamp(2rem,     1.6rem + 1.8vw,  3rem);     /* headline numbers (550+) 32 -> 48 px  */
  --fs-step:  clamp(1.5rem,   1.25rem + 1vw,   2rem);     /* step numbers 01-04      24 -> 32 px  */
  --fs-num:   clamp(1.25rem,  1.1rem + 0.6vw,  1.5rem);   /* small numbers           20 -> 24 px  */
}
body h1.text-headline-xl{font-size:var(--fs-hero) !important;line-height:1.05}
body h2[class]{font-size:var(--fs-h2);line-height:1.15}
body blockquote[class]{font-size:var(--fs-quote);line-height:1.3}
body h3.text-2xl,body h3.km-h{font-size:var(--fs-h3f);line-height:1.25}
body h3.text-lg,body h3.text-base,body h3.text-headline-sm,body h3.fw-title,body .tl-step h3,body .km-card h3,body .km-q h3{font-size:var(--fs-h3);line-height:1.3}
body div.text-headline-xl{font-size:var(--fs-stat);line-height:1.05}
body span.text-4xl.font-bold,body div.text-headline-md.text-secondary{font-size:var(--fs-step);line-height:1.1}
body span.text-xl.font-bold,body div.text-headline-md.text-primary{font-size:var(--fs-num);line-height:1.15}
/* short headings break into even lines instead of one long line + one lonely word */
body h1,body h2,body h3,body blockquote{text-wrap:balance}

/* the big orb never takes over a phone screen: at most ~a third of the screen height, full size on desktop */
.hero-stage{width:min(560px,100%,max(34vh,40vw))}
.hero-stage{width:min(560px,100%,max(34svh,40vw))}

/* buttons that sit side by side always keep clear space between them (the header pill touched the CV button, 4 Dec) */
header .rounded-full.flex.items-center{gap:clamp(6px,1.5vw,10px)}
header .rounded-full.flex.items-center > *{margin-left:0 !important}
/* 5 Dec: AI page hero must be WHOLE on opening (title + orb + frame), not cropped. Before: 1073 px tall on a 901 px
   laptop screen. The orb now shrinks with the screen HEIGHT (max 560 px) and the section padding is tighter on
   laptops. Measured, not guessed: everything above the orb + paddings = ~485 px. */
.hero-stage.mt-10{width:min(560px,100%,max(240px,calc(100vh - 540px)));margin-top:24px}
.hero-stage.mt-10{width:min(560px,100%,max(240px,calc(100svh - 540px)))}
@media (min-width:1024px){section.lg\:py-28:first-of-type{padding-top:40px;padding-bottom:110px}}   /* 110 px: the orb rings + glow stay inside the section and the tour frame */
section.lg\:py-28:first-of-type{padding-bottom:140px}   /* 5 Dec: phones too; the next section overlaps 40 px, so the glow needs 140 */
@media (min-width:1024px){section.lg\:py-28:first-of-type{padding-bottom:110px}}
