/* Generated by scripts/port-landing.mjs from the marketing repo. */
@scope (.landing-root) {
/* ==========================================================================
   Projet — v3 landing page
   Single-page, dependency-free. Loaded by index.html and (for shared chrome)
   challenges.html + dashboard.html.

   v2 is archived whole at archive/v2/. Retired in this rewrite, deliberately:
     - the "light spectrum wave" split (Featured challenges / Success stories)
     - the hero cursor-tilt parallax
   Neither should come back without a fresh instruction. The pinned
   How-it-works scroll-scrub WAS on this list but has since been reinstated
   (reshaped: cropped to the right 5/8, title fixed left) — see "4. HOW IT
   WORKS" below.

   GRADIENT SYSTEM (new in v3, asked for explicitly). Gradients are declared
   once here as tokens and reused, rather than hand-rolled per component, so
   the whole page shifts together when the audience mode flips. The rule of
   thumb that survived from v2's AI-tell cleanup still holds: gradients live
   on SURFACES (washes, glows, borders, cards), never on text — headline text
   stays a solid colour.
   ========================================================================== */

:scope{
  /* ---- core palette (unchanged from v2; these are the brand tokens) ---- */
  --ink:#14130f;
  --ink-soft:#3a382f;
  --ink-lift:#1c1a14;          /* one step off ink, for gradient endpoints */
  --paper:#ffffff;
  --paper-warm:#f5f4ef;
  --line:#e6e3da;
  --orange:#ff5b24;
  --orange-deep:#c73e10;
  --amber-light:#ff9a5a;
  --blue:#2f6bff;
  --blue-deep:#1d4fd6;
  --blue-lift:#5b8cff;         /* lighter blue, company-mode gradient endpoint */
  --violet:#7a3f8f;
  --navy-deep:#0c1638;
  --muted:#726d5f;
  --muted-large:#8f8874;
  --blue-tint:#bcd0ff;          /* light blue text-on-dark, e.g. tag pills over --grad-dark */
  --orange-tint:#ffcbb3;        /* light orange text-on-dark, the builder-side counterpart */

  --radius:14px;
  --radius-lg:20px;
  --radius-xl:26px;
  --maxw:1240px;
  --ease:cubic-bezier(.16,.84,.44,1);

  /* ---- mode accent: orange for students (default), blue for companies ---- */
  --accent:var(--orange);
  --accent-deep:var(--orange-deep);
  --accent-lift:var(--amber-light);

  /* ---- gradient tokens ----
     --grad-accent   : the headline accent gradient (surfaces only)
     --grad-soft     : a barely-there wash for light section backgrounds
     --grad-glow     : radial, for the atmospheric bloom behind hero/CTA
     --grad-rule     : the thin gradient hairline used as a section divider
     --grad-dark     : the dark card/section base
     Each is re-declared under :scope[data-audience="business"] below. */
  --grad-accent:linear-gradient(135deg, var(--orange) 0%, var(--amber-light) 100%);
  --grad-soft:linear-gradient(180deg, rgba(255,91,36,.055) 0%, rgba(255,255,255,0) 62%);
  --grad-glow:radial-gradient(60% 55% at 78% 12%, rgba(255,91,36,.20) 0%, rgba(255,91,36,0) 68%);
  --grad-rule:linear-gradient(90deg, transparent, var(--orange) 22%, var(--amber-light) 55%, transparent);
  --grad-dark:linear-gradient(155deg, var(--ink-lift) 0%, var(--ink) 74%);
  /* --grad-cta : the CTA + footer spectrum wash. Projet orange running into
     brand blue across a dark surface, the same colour story as the auth
     page's Signal Field but far fainter (~.34 peak alpha against that
     field's .50 blooms) because this one sits behind body copy and two
     buttons rather than an empty half of the screen. Deliberately NOT
     mode-swapped like --grad-accent/--grad-dark are: it already contains
     both audience accents by construction, so it reads as the brand
     spectrum rather than as "whichever accent is currently on". */
  --grad-cta:linear-gradient(152deg, rgba(255,91,36,.34) 0%, rgba(122,63,143,.19) 46%, rgba(47,107,255,.30) 100%);
  /* --grad-accent-deep : a lower-key --grad-accent. Same 135deg sweep, but
     both stops pulled down so the fill reads as brand colour rather than
     as a light source. Flagged on the challenges page, where twelve of
     these buttons sit in one grid and the bright amber/periwinkle endpoint
     of --grad-accent stacked up into glare. Kept as its own token instead
     of darkening --grad-accent itself, which also paints the hero CTA, the
     mode indicator and the scroll-progress bar, none of which were part of
     the ask. */
  --grad-accent-deep:linear-gradient(135deg, #e04d19 0%, #ff7f42 100%);
  --accent-wash:rgba(255,91,36,.10);
  --accent-edge:rgba(255,91,36,.30);
  --accent-glow-shadow:0 26px 60px -30px rgba(255,91,36,.55);
}

/* Company mode. More than a hue swap: the wash, the glow and the shadow all
   get carried over too, so the blue actually dominates the page rather than
   just re-tinting a few buttons (that was the note on the v3 mockup). */
:scope[data-audience="business"]{
  --accent:var(--blue);
  --accent-deep:var(--blue-deep);
  --accent-lift:var(--blue-lift);
  --grad-accent:linear-gradient(135deg, var(--blue) 0%, var(--blue-lift) 100%);
  --grad-soft:linear-gradient(180deg, rgba(47,107,255,.075) 0%, rgba(255,255,255,0) 62%);
  --grad-glow:radial-gradient(60% 55% at 78% 12%, rgba(47,107,255,.26) 0%, rgba(47,107,255,0) 68%);
  --grad-rule:linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue-lift) 55%, transparent);
  --grad-dark:linear-gradient(155deg, #131a33 0%, var(--navy-deep) 78%);
  --grad-accent-deep:linear-gradient(135deg, var(--blue-deep) 0%, #4a7dff 100%);
  --accent-wash:rgba(47,107,255,.12);
  --accent-edge:rgba(47,107,255,.34);
  --accent-glow-shadow:0 26px 60px -30px rgba(47,107,255,.6);
}

/* How-it-works fluid artwork. AVIF-primary/WebP-fallback via image-set(),
   same two-layer fallback pattern as the rest of the site's zoomed gradient
   art (see CLAUDE.md "Known issues #3") — image-set() itself falls back to
   the plain url() below, and image-set() without an AVIF decoder falls back
   to its own WebP entry. Both files must stay on disk. */
:scope{
  --img-fluid-full:url("fluid-full.webp");
  --img-spectrum:url("spectrum.webp");
}
@supports (background-image:image-set(url("x.avif") type("image/avif"))){
  :scope{
    --img-fluid-full:image-set(url("fluid-full.avif") type("image/avif"),
                               url("fluid-full.webp") type("image/webp"));
    --img-spectrum:image-set(url("spectrum.avif") type("image/avif"),
                             url("spectrum.webp") type("image/webp"));
  }
}

/* every accent-carrying surface eases between modes rather than snapping */
:scope{transition:none;}
.nav, .hero, .btn, .eyebrow, .dash-card, .flow-rail-dot, .final{
  transition:background .45s var(--ease), border-color .45s var(--ease),
             color .45s var(--ease), box-shadow .45s var(--ease);
}

*{box-sizing:border-box;}
:scope{scroll-behavior:smooth;}
:scope{
  margin:0;
  font-family:'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:'Satoshi', sans-serif; font-weight:900; margin:0; letter-spacing:-.02em; line-height:1.05;}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{display:block; max-width:100%;}
button{font:inherit;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}

@media (max-width:640px){ .wrap{padding:0 20px;} }
[id]{scroll-margin-top:88px;}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:fixed; top:8px; left:8px; z-index:400;
  transform:translateY(-150%);
  padding:14px 22px; border-radius:999px;
  background:var(--ink); color:#fff; font-size:14px; font-weight:700;
  box-shadow:0 10px 30px -12px rgba(20,19,15,.5);
  transition:transform .2s var(--ease);
}
.skip-link:focus-visible{transform:translateY(0); outline:2px solid var(--accent); outline-offset:2px;}
main:focus{outline:none;}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family:'JetBrains Mono', monospace; font-size:12px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep);
  display:inline-flex; align-items:center;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:999px; border:1px solid transparent;
  font-size:14.5px; font-weight:700; cursor:pointer; white-space:nowrap;
  transition:transform .22s var(--ease), background .22s var(--ease),
             border-color .22s var(--ease), color .22s var(--ease),
             box-shadow .22s var(--ease);
}
.btn:hover{transform:translateY(-2px);}
.btn:focus-visible{outline:none; box-shadow:0 0 0 2px var(--paper), 0 0 0 4px var(--ink);}
.btn-primary{background:var(--ink); color:#fff;}
.btn-primary:hover{background:var(--accent);}
/* the accent button carries the gradient itself — the single most-repeated
   place the mode swap should be felt */
.btn-accent{background:var(--grad-accent); color:#fff; box-shadow:var(--accent-glow-shadow);}
.btn-accent:hover{filter:saturate(1.12) brightness(1.03);}
.btn-ghost{border-color:var(--line); background:transparent; color:var(--ink);}
/* Hover lights the accent up, same as .btn-accent beside it, rather than
   just darkening the border to ink. Flagged directly: the two hero CTAs
   "have two different hover animations". They are deliberately different
   WEIGHTS at rest (primary fill vs secondary outline) — that part is
   correct and stays — but the hover was different in KIND: the primary
   brightened its gradient while this one only swapped a border colour to
   a neutral, so the pair read as two unrelated controls the moment you
   moved the mouse. This is the same accent-wash treatment .ch-viewall and
   .ch-rail-btn already use elsewhere on the page, so it also brings the
   secondary-button hover into one convention site-wide. :focus-visible is
   left to the base .btn ring, same as every other variant. */
.btn-ghost:hover{border-color:var(--accent); background:var(--accent-wash); color:var(--accent-deep);}
/* Hover highlights the button itself — background shifts to the mode
   accent, text to white — rather than revealing an arrow (removed
   outright, see CLAUDE.md). Reuses the transform lift + background/color
   transitions already declared on the base .btn, so this costs nothing
   new; :focus-visible gets the same highlight as :hover so keyboard users
   see the identical cue. */
.btn-white{background:#fff; color:var(--ink);}
.btn-white:hover, .btn-white:focus-visible{background:var(--accent); color:#fff;}
.btn-sm{padding:14px 17px; font-size:13px;}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.86); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:16px 32px;
  display:flex; align-items:center; gap:26px;
  transition:padding .3s var(--ease);
}
.nav.compact .nav-inner{padding:10px 32px;}
.nav-left{display:flex; align-items:center; gap:20px;}
.logo{display:inline-flex; align-items:center; padding:11px 0;}
.logo-img{height:22px; width:auto;}
.nav .links{display:flex; gap:26px; margin-left:auto;}
.nav .links a{
  position:relative; font-size:14.5px; font-weight:500; color:var(--ink-soft);
  padding:11px 2px; transition:color .2s var(--ease);
}
.nav .links a:hover{color:var(--ink);}
.nav .links a.is-current{color:var(--ink); font-weight:700;}
/* gradient underline instead of a flat rule */
.nav .links a.is-current::after{
  content:''; position:absolute; left:0; right:0; bottom:4px; height:2px;
  border-radius:2px; background:var(--grad-accent);
}
.nav .links a:focus-visible{outline:2px solid var(--ink); outline-offset:4px; border-radius:4px;}
/* the dashboard link is an account destination, not a section — given its own
   accent-tinted chip so it reads as "your stuff", not another page anchor */
.nav-dash{
  display:inline-flex; align-items:center; gap:7px;
  padding:9px 15px; border-radius:999px;
  background:var(--accent-wash); border:1px solid var(--accent-edge);
  font-family:'JetBrains Mono', monospace; font-size:12px; font-weight:700;
  color:var(--accent-deep); white-space:nowrap;
  transition:background .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.nav-dash:hover{transform:translateY(-1px); background:var(--accent-edge);}
.nav-dash:focus-visible{outline:2px solid var(--accent-deep); outline-offset:3px;}
.nav-dash svg{width:14px; height:14px; flex:none;}
.nav-cta{display:flex; align-items:center; gap:14px;}
.nav-admin{font-size:14px; font-weight:600; color:var(--ink-soft); white-space:nowrap;}
.nav-admin:hover{color:var(--ink);}
.nav-auth{font-size:14px; font-weight:600; color:var(--ink-soft); padding:11px 4px;}
.nav-auth:hover{color:var(--ink);}

/* audience toggle */
.mode-switch{
  position:relative; display:inline-flex; padding:3px; gap:2px;
  background:var(--paper-warm); border:1px solid var(--line); border-radius:999px;
}
.mode-indicator{
  position:absolute; top:3px; left:3px; width:calc(50% - 3px); height:calc(100% - 6px);
  border-radius:999px; background:var(--grad-accent); z-index:0;
  transform:translateX(0);
  transition:transform .32s var(--ease), background .32s var(--ease);
}
:scope[data-audience="business"] .mode-indicator{transform:translateX(100%);}
.mode-opt{
  position:relative; z-index:1; border:0; background:transparent; cursor:pointer;
  padding:11px 18px; border-radius:999px;
  font-family:'JetBrains Mono', monospace; font-size:12px; font-weight:700;
  color:var(--ink-soft); white-space:nowrap; transition:color .3s var(--ease);
}
.mode-opt[aria-current="true"]{color:#fff;}
.mode-opt:focus-visible{outline:2px solid var(--ink); outline-offset:2px;}

.nav-toggle{
  display:none; width:44px; height:44px; border:1px solid var(--line);
  border-radius:12px; background:#fff; cursor:pointer; align-items:center; justify-content:center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after{
  display:block; width:17px; height:2px; background:var(--ink); border-radius:2px; position:relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after{content:''; position:absolute; left:0;}
.nav-toggle-bars::before{top:-6px;} .nav-toggle-bars::after{top:6px;}
.mobile-menu{display:none;}

.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:100%; z-index:300;
  background:var(--grad-accent); transform:scaleX(0); transform-origin:0 50%;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */
/* The min-height here used to be min(100svh - --fold-reserve, 900px), so
   the hero absorbed ALL the leftover space and hero + logo strip landed
   exactly on the fold. That is where the "too much empty whitespace below
   and above the logo carousel" came from, and it is worth being precise
   about the cause: the hero's own content is only ~474px tall, so on a
   900px window the fold-fill forced a 664px box and align-items:center
   split the remaining 190px evenly above and below it. The bottom half of
   that dead space is what reads as a gap over the carousel — it is not
   the carousel's own padding, which is why tightening only .logos would
   not have fixed it.

   The 900px ceiling never actually bound at a 900px window (664 < 900),
   so it did no bounding work at all. Replaced with a real cap: the hero
   still grows to fill a short window, but stops at --hero-cap, which
   bounds the dead space to ~17px a side at 900px instead of 95px. On a
   tall monitor that means the hero no longer stretches to the fold —
   deliberate, since stretching there is exactly the failure mode being
   reported, and the cost is that Featured challenges now peeks ~73px
   above the fold at 900px. That peek is a knowing, narrow relaxation of
   the earlier "fill the window" ask (see CLAUDE.md), traded for the
   whitespace fix that superseded it; it also signals there is more page
   below, which the hard fold-fill hid. */
.hero{
  position:relative; padding-top:64px; padding-bottom:88px;
  --fold-reserve:201px;   /* nav 78 + logo strip 123 — update if either changes */
  --hero-cap:620px;
  min-height:min(calc(100vh - var(--fold-reserve)), var(--hero-cap));
  min-height:min(calc(100svh - var(--fold-reserve)), var(--hero-cap));
  display:flex; align-items:center;
}
/* two stacked gradient layers: a soft top-down wash plus a radial bloom
   behind the dashboard card. Both are mode tokens, so company mode reads
   distinctly blue rather than "orange page with blue buttons".

   .hero carries the .wrap class directly (it IS the max-width/padded
   box), so inset:0 on a pseudo-element only reached the padded content
   area, not the true viewport edges — the classic full-bleed-inside-a-
   centered-container trick (left:50%; margin-left:-50vw; width:100vw)
   escapes that. .hero no longer needs its own overflow:hidden for this
   to stay clipped — body already carries overflow-x:hidden as the
   site-wide safety net. .hero::after keeps its original box (relative to
   .hero's own narrower width): it's a tuned decorative bloom behind the
   card, not the page wash, and stretching its box to 100vw would distort
   the radial-gradient's own internal position rather than just extend it. */
.hero::before{
  content:''; position:absolute; z-index:0; pointer-events:none;
  top:0; bottom:0; left:50%; width:100vw; margin-left:-50vw;
  background:var(--grad-soft);
}
.hero::after{
  content:''; position:absolute; top:-10%; left:auto; bottom:auto;
  /* Anchor the bloom's right edge to the TRUE viewport edge at every width.
     (100vw - 100%) / 2 is exactly the margin between .hero's padding box
     and the viewport, so this resolves to 0 below --maxw (no overflow) and
     grows with the gutter above it (no gap).

     Both earlier attempts were wrong in one direction each: a flat -20%
     overflowed the page by ~148px at widths close to --maxw, and the
     min(--maxw * .2, ...) cap that replaced it fixed that but then
     UNDER-extended on wide screens — measured 132px of bare page at
     2000px and 412px at 2560px, which is the white band down the right
     edge. The bloom's own width stays 80% of .hero, so the radial
     gradient's internal tuning is untouched; only its anchoring changes. */
  right:calc(-1 * (100vw - 100%) / 2);
  width:80%; height:120%;
  z-index:0; pointer-events:none; background:var(--grad-glow);
}
.hero-grid{
  position:relative; z-index:1; width:100%;
  display:grid; grid-template-columns:1.02fr .98fr; gap:56px; align-items:center;
}
.hero-grid > :first-child{container-type:inline-size;}
.hero h1{font-size:clamp(34px,6.2cqi,64px); margin:16px 0 20px; line-height:1.02; text-wrap:wrap;}
.hero h1 .hero-line{display:block;}
.hero h1 .accent{color:var(--accent);}
@container (min-width:520px){
  .hero h1 .hero-line{white-space:nowrap;}
}
.hero-sub{font-size:18.5px; line-height:1.55; color:var(--ink-soft); max-width:36ch; margin-bottom:28px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px;}
.hero-stat-row{
  display:flex; gap:22px; flex-wrap:wrap; padding-left:16px;
  border-left:2px solid var(--line);
  font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--ink-soft);
}
.hero-stat-row b{display:block; font-family:'Satoshi',sans-serif; font-size:21px; font-weight:900; color:var(--ink);}
.hero-stat-cap{margin-top:8px; font-family:'JetBrains Mono',monospace; font-size:11.5px; color:var(--muted);}

/* ---------- hero dashboard summary card ----------
   Replaces v2's static progress mock AND its cursor-tilt parallax (asked for
   explicitly: no parallax). It is a genuine summary of the dashboard page,
   swapping wholesale between student and company shape. The gradient border
   is a two-layer trick: a gradient-filled wrapper with a 1px inset white
   card on top, so the border itself carries the mode gradient. */
.dash-card{
  position:relative; border-radius:var(--radius-xl); padding:1.5px;
  background:linear-gradient(150deg, var(--accent-edge), rgba(230,227,218,.65) 46%, var(--accent-edge));
  box-shadow:0 34px 80px -38px rgba(20,19,15,.4);
}
.dash-inner{background:#fff; border-radius:calc(var(--radius-xl) - 2px); overflow:hidden;}
.dash-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 20px; border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, var(--accent-wash), rgba(255,255,255,0));
}
.dash-head-l{display:flex; align-items:center; gap:10px; min-width:0;}
.dash-avatar{
  width:32px; height:32px; border-radius:50%; flex:none;
  background:var(--grad-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:11.5px; font-weight:700;
}
.dash-who{font-size:13.5px; font-weight:700; line-height:1.2;}
.dash-role{font-size:11.5px; color:var(--muted); font-family:'JetBrains Mono',monospace;}
.dash-chip{
  font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase; padding:5px 10px; border-radius:999px;
  background:var(--accent-wash); color:var(--accent-deep); white-space:nowrap;
}
.dash-body{padding:18px 20px 20px;}
.dash-metrics{display:grid; grid-template-columns:repeat(auto-fit,minmax(90px,1fr)); gap:10px; margin-bottom:16px;}
.dash-metric{
  background:var(--paper-warm); border:1px solid var(--line);
  border-radius:12px; padding:12px 13px;
}
.dash-metric b{display:block; font-family:'JetBrains Mono',monospace; font-size:21px; font-weight:700; line-height:1;}
.dash-metric span{display:block; margin-top:5px; font-size:11px; color:var(--muted);}
.dash-rows{display:flex; flex-direction:column;}
.dash-row{display:flex; align-items:center; gap:11px; padding:11px 0; border-top:1px solid var(--line);}
.dash-rank{
  width:28px; height:28px; border-radius:8px; flex:none;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700; color:#fff;
  background:var(--ink);
}
/* Same three-step ladder as the real dashboard's .dp-rank (top / plain /
   rest), driven by class rather than the inline hex it used to carry. White
   on the raw --orange only reached 3.1:1 at 11px; --accent-deep clears AA
   and, unlike a hardcoded orange, follows the audience toggle. */
.dash-rank.is-top{background:var(--accent-deep);}
.dash-rank.is-rest{background:var(--line); color:var(--ink-soft);}
.dash-row-body{flex:1; min-width:0;}
.dash-row-title{font-size:13.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.dash-row-meta{font-size:11.5px; color:var(--muted); font-family:'JetBrains Mono',monospace;}
.dash-row-val{font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700; color:var(--accent-deep); flex:none;}
.dash-foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 20px; border-top:1px solid var(--line); background:var(--paper-warm);
}
.dash-foot-note{font-family:'JetBrains Mono',monospace; font-size:11px; color:var(--muted);}
.dash-foot .btn{padding:10px 16px; font-size:12.5px;}

/* ==========================================================================
   2. LOGO CAROUSEL
   ========================================================================== */
/* vertical-only padding, deliberately: .logos carries .wrap directly (it
   IS the max-width/padded box, same convention as .hero above), and a
   shorthand covering all four sides here would zero out .wrap's own 32px
   horizontal padding, running the carousel flush to the viewport edges on
   any screen narrower than --maxw. See CLAUDE.md's ".page-hero + .wrap"
   note for the same trap; .about-section/.about-stats/.faq-section had it
   too until this pass (all fixed the same way, see pages.css). */
/* Asked for directly: more air above the strip, slightly less below it.
   The gap ABOVE is the hero's own padding-bottom plus this padding-top
   plus whatever slack --hero-cap leaves; the gap BELOW is this
   padding-bottom alone, which is why the two move by different
   amounts here. */
/* padding-top absorbs the vertical space the old "Placeholder logos, pending
   real partners" label used to occupy (removed for the investor/handover
   demo, see HANDOVER.md) so the strip's total height, and therefore the
   hero's --fold-reserve math below, doesn't need re-deriving. */
.logos{padding-top:40px; padding-bottom:34px; position:relative;}
.logo-marquee{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-track{display:flex; gap:56px; width:max-content; will-change:transform;}
/* mark+name lockup, standing in for a real logo image until partner
   assets exist. Deliberately no hover colour change any more (asked
   explicitly) — pausing the marquee on hover/focus is the only feedback. */
.logo-chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:7px 16px 7px 7px; white-space:nowrap;
  border:1px solid var(--line); border-radius:999px; background:#fff;
}
.logo-chip-mark{
  width:32px; height:32px; flex:none; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background:var(--paper-warm); border:1px solid var(--line);
  font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700; color:var(--muted);
}
/* --muted, not --muted-large: that token's 3.5:1 was justified when the
   chips were a 23px/900 wordmark (large-text 3:1 threshold); the v3.2
   mark+name lockup is 13-15px, which needs the full 4.5:1 */
.logo-chip-name{font-size:15px; font-weight:700; color:var(--muted);}
.logo-chip:focus-visible{outline:2px solid var(--ink); outline-offset:3px; border-radius:999px;}

/* the whole section's kill switch — see the HTML comment above it */
.logos[data-carousel-enabled="false"]{display:none;}

/* ==========================================================================
   3. FEATURED CHALLENGES — spotlight + list (v3 option B)
   ========================================================================== */
/* Bumped from a flat 84px/88px — asked for explicitly, the section was
   flying past on scroll with no real dwell time. clamp() rather than a flat
   number so this only grows on desktop; mobile (already a much longer
   scroll per screen-inch) stays close to the original floor. */
.challenges{padding:clamp(84px,11vw,168px) 0 clamp(88px,11vw,176px); background:var(--paper-warm); position:relative;}
.ch-head{max-width:60ch; margin-bottom:32px;}
.ch-head h2{font-size:clamp(30px,3.8vw,44px); margin:14px 0 12px;}
.ch-head p{font-size:16.5px; line-height:1.6; color:var(--ink-soft);}

/* the challenges, as one equally-weighted horizontally scrolling rail —
   canvas option N, "ticket rail". Every brief is the same .ch-ticket: a
   body plus a perforated stub with the countdown punched into it.

   The ticket shape is load-bearing, not decoration. challenges.html's own
   card signature is a white tile with a pill pair on top, a thin orange
   progress bar and a full-width dark "View brief" button; none of those
   four appear here, so the homepage section and the listing page can never
   read as the same component rendered twice.

   The rail is a NATIVE overflow-x:auto scroller — it works with touch, with
   a trackpad, with the keyboard (the container is focusable) and with JS
   disabled. The arrow buttons and position bar are enhancement on top. */
.ch-rail{
  /* the gutter that re-aligns the rail's first ticket with .wrap's content
     edge while the row itself still runs to the true viewport edges.
     Computed from 100% (the section's own width) rather than 100vw
     deliberately — vw includes the scrollbar gutter, which is exactly what
     caused the horizontal-overflow bug documented in CLAUDE.md. */
  --rail-inset:max(32px, calc((100% - var(--maxw)) / 2 + 32px));
  display:flex; gap:18px; align-items:stretch;
  overflow-x:auto; overscroll-behavior-x:contain;
  scroll-snap-type:x proximity; scroll-behavior:smooth;
  padding:8px var(--rail-inset) 26px;
  /* MUST match the padding. Without it, scroll-snap-align:start on the
     first ticket resolves against the scrollport's padding edge, so the
     browser silently scrolls the rail to scrollLeft:132 on load to "snap"
     the first card — the row arrives already nudged off its start. */
  scroll-padding-inline:var(--rail-inset);
  /* the scrollbar itself is redundant next to the position bar below */
  scrollbar-width:none;
  cursor:grab;
}
.ch-rail::-webkit-scrollbar{display:none;}
.ch-rail:focus-visible{outline:2px solid var(--ink); outline-offset:-4px; border-radius:var(--radius);}
/* mouse-drag panning (see landing.js) — touch/trackpad already scroll the
   native container for free and are untouched by this. Snap is suspended
   for the duration so it can't fight the drag mid-gesture; removing the
   class on release restores the base rule's scroll-snap-type. */
.ch-rail.is-dragging{cursor:grabbing; scroll-snap-type:none; user-select:none;}
.ch-rail.is-dragging .ch-ticket{pointer-events:none;}

.ch-ticket{
  position:relative; flex:0 0 clamp(290px, 27vw, 340px); display:flex;
  scroll-snap-align:start; cursor:pointer;
  background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:0 14px 30px -26px rgba(20,19,15,.3);
  transition:transform .22s var(--ease), box-shadow .22s var(--ease);
}
.ch-ticket:hover{transform:translateY(-4px); box-shadow:0 26px 48px -28px rgba(20,19,15,.38);}
/* Each ticket now also carries [data-reveal] for its own staggered entrance
   (see index.html), and that collides with the hover rule just above: both
   [data-reveal].revealed{transform:none} and .ch-ticket:hover{transform:...}
   have equal specificity, and the reveal rule sits later in this file, so it
   would silently win and cancel the hover lift on every ticket that has
   already revealed — plus [data-reveal]'s own transition (opacity .6s,
   transform .6s) would replace this ticket's transition wholesale, dropping
   box-shadow's transition entirely and slowing the hover lift to .6s. The
   .challenges ancestor scope pushes this selector's specificity past
   [data-reveal].revealed's regardless of file order, so it doesn't depend on
   which rule happens to come first. */
.challenges .ch-ticket{transition:opacity .6s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);}
.challenges .ch-ticket:hover{transform:translateY(-4px); box-shadow:0 26px 48px -28px rgba(20,19,15,.38);}

.ch-ticket-body{display:flex; flex-direction:column; gap:10px; flex:1; min-width:0; padding:22px;}
.ch-ticket-co{font-family:'JetBrains Mono',monospace; font-size:10px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--muted);}
.ch-ticket-title{font-size:17.5px; font-weight:800; line-height:1.26;}
.ch-ticket-desc{font-size:12.5px; color:var(--ink-soft); line-height:1.5; flex:1;}
.ch-ticket-subs{font-family:'JetBrains Mono',monospace; font-size:10.5px; color:var(--muted);}
/* the one real interactive/focusable control on the ticket — clicking
   anywhere else on the card opens the same modal via JS delegation (mouse
   convenience only), matching the precedent set by challenges.html's own
   cards, which are deliberately not links themselves either. */
.ch-view-btn{
  align-self:flex-start; margin-top:auto; padding:8px 14px; border-radius:999px;
  border:1.5px solid var(--line); background:transparent; color:var(--ink);
  font-family:'JetBrains Mono',monospace; font-size:10.5px; font-weight:700;
  letter-spacing:.04em; cursor:pointer;
  transition:background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.ch-view-btn:hover{background:var(--ink); border-color:var(--ink); color:#fff;}
.ch-view-btn:focus-visible{outline:none; box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--ink);}

/* the perforation, and the two notches that make it read as a torn stub.
   Each notch is a circle filled with the SECTION background, half in and
   half out of the card — a circle with its own border all the way round
   reads as a floating dot stuck to the edge rather than a bite taken out
   of it. If .challenges ever stops being --paper-warm, these must follow. */
.ch-perf{position:relative; width:0; border-left:2px dashed var(--line); margin:14px 0;}
.ch-perf::before, .ch-perf::after{
  content:''; position:absolute; left:-11px; width:20px; height:20px;
  border-radius:50%; background:var(--paper-warm);
}
.ch-perf::before{top:-24px;}
.ch-perf::after{bottom:-24px;}

.ch-stub{
  width:76px; flex:none; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:6px; padding:16px 6px;
}
.ch-stub-num{font-family:'JetBrains Mono',monospace; font-size:26px; font-weight:700; line-height:1; color:var(--accent-deep);}
.ch-stub-num.is-word{font-size:15px; letter-spacing:.04em; text-transform:uppercase;}
.ch-stub-unit{
  font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
  text-align:center; max-width:6ch; line-height:1.35;
}
.ch-stub-disc{
  margin-top:4px; writing-mode:vertical-rl; transform:rotate(180deg);
  font-family:'JetBrains Mono',monospace; font-size:9px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}

/* rail controls: enhancement only, hidden outright with no JS (see the
   .no-js block further down) rather than left on screen as dead buttons */
.ch-rail-controls{display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.ch-rail-btn{
  width:44px; height:44px; flex:none; border-radius:50%; cursor:pointer;
  border:1.5px solid var(--line); background:#fff; color:var(--ink); font-size:15px;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}
/* Matches .ch-viewall's own hover treatment exactly (border-color + a wash
   of --accent-wash behind it), asked for explicitly so the arrows read as
   the same family of control as the "View all challenges" link beside
   them, not a separate unthemed one. */
.ch-rail-btn:hover{border-color:var(--accent); background:var(--accent-wash); color:var(--accent-deep);}
.ch-rail-btn:focus-visible{outline:none; box-shadow:0 0 0 2px var(--paper), 0 0 0 4px var(--ink);}
.ch-rail-btn[disabled]{opacity:.35; cursor:default;}
.ch-rail-btn[disabled]:hover{border-color:var(--line); background:none; color:var(--ink);}
.ch-rail-track{flex:1; min-width:80px; height:3px; border-radius:99px; background:var(--line); position:relative; overflow:hidden;}
/* driven by transform, not width — compositor-only, so dragging the rail
   never triggers layout on every frame. --accent (was --ink) so the fill
   re-tints with the audience toggle same as every other accent-carrying
   surface on the page. */
.ch-rail-track i{
  position:absolute; inset:0; border-radius:99px; background:var(--accent);
  transform-origin:left center; transform:scaleX(var(--rail-progress,.3));
  transition:transform .18s var(--ease);
}
.ch-viewall{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 20px; border-radius:999px;
  border:1px dashed var(--line); font-size:13.5px; font-weight:700; color:var(--ink);
  transition:border-color .22s var(--ease), background .22s var(--ease);
}
.ch-viewall:hover{border-color:var(--accent); background:var(--accent-wash);}
.ch-viewall:focus-visible{outline:2px solid var(--ink); outline-offset:3px;}

/* ticket modal — same native-<dialog> pattern as challenges.html's own
   brief modal (see assets/challenges.css .cl-modal), reimplemented here
   under its own .ch- prefix since index.html doesn't load challenges.css. */
.ch-modal{
  border:0; border-radius:var(--radius-xl); padding:0;
  width:min(560px, calc(100vw - 48px)); max-height:min(680px, calc(100vh - 48px));
  box-shadow:0 40px 90px -30px rgba(20,19,15,.5);
}
.ch-modal::backdrop{background:rgba(20,19,15,.6); backdrop-filter:blur(2px);}
.ch-modal-inner{position:relative; padding:34px 30px 30px; display:flex; flex-direction:column; gap:14px;}
.ch-modal-close{
  position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line); background:#fff; cursor:pointer;
  font-size:18px; line-height:1; color:var(--ink-soft);
  display:flex; align-items:center; justify-content:center;
}
.ch-modal-close:hover{border-color:var(--ink); color:var(--ink);}
.ch-modal-close:focus-visible{outline:none; box-shadow:0 0 0 2px var(--paper), 0 0 0 4px var(--ink);}
.ch-modal-tag{font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-deep);}
.ch-modal h2{font-size:23px; line-height:1.25; padding-right:36px;}
.ch-modal-inner > p{font-size:15px; line-height:1.65; color:var(--ink-soft);}
.ch-modal-stats{display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:2px;}
.ch-modal-stats div{background:var(--paper-warm); border:1px solid var(--line); border-radius:12px; padding:12px 13px;}
.ch-modal-stats b{display:block; font-family:'JetBrains Mono',monospace; font-size:19px; font-weight:700;}
.ch-modal-stats span{display:block; margin-top:4px; font-size:11px; color:var(--muted);}
.ch-modal-submit{width:100%; text-align:center; margin-top:4px;}
@media (max-width:640px){
  .ch-modal-inner{padding:30px 22px 24px;}
}

.ch-countdown{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:22px;
  padding:9px 16px; border-radius:999px;
  background:#fff; border:1px solid var(--line);
  font-family:'JetBrains Mono',monospace; font-size:12px;
}
.ch-countdown b{color:var(--accent-deep); font-weight:700;}

/* ==========================================================================
   4. HOW IT WORKS — pinned fluid-scrub, cropped to the right 5/8
   Reinstated (was fully retired in the v3 rewrite, then partially brought
   back in v3.1 as a scroll-highlight timeline with no image — see the note
   at the top of this file). Fresh, explicit instruction: the fluid-artwork
   scrub comes back, but reshaped rather than restored verbatim — full-bleed
   became a 3/8 (title) : 5/8 (scrub) split, one step visible at a time
   rather than all four dimmed-but-present, and a final "recap" beat shows
   all four together right before the section releases the pin. */
.flow{position:relative;}
/* the left column is right-aligned and pulled tight to the divider (asked
   explicitly). align-items:flex-end pushes the flex children — each of
   which is only as wide as its own max-width — over to the seam, and
   text-align:right turns the ragged edge inwards so the type stacks against
   the divider rather than away from it. The asymmetric padding does the
   "closer to the divider" half: generous on the outside, tight on the
   seam side. */
.flow-left{
  padding:64px 40px 64px 56px; display:flex; flex-direction:column;
  justify-content:center; align-items:flex-end; text-align:right;
  background:var(--paper);
}
.flow-left .eyebrow{margin-bottom:14px;}
.flow-left h2{font-size:clamp(27px,2.6vw,36px); margin:0 0 14px; max-width:20ch;}
.flow-left p{font-size:15px; line-height:1.6; color:var(--ink-soft); max-width:48ch;}

/* the left-column filler: a vertical step rail, doubling as a design element
   (fills the space under the title) and a progress readout that mirrors the
   scrub on the right — landing.js toggles .is-active/.is-done on it in
   lockstep with the step currently showing in the right-hand panel. */
/* row-REVERSE, and the connector pinned to the right: with the column
   right-aligned the dots have to run down the seam side, or the numbers
   read backwards against the right-ragged labels beside them. */
.flow-rail{margin-top:36px; display:flex; flex-direction:column; align-items:flex-end;}
.flow-rail-item{position:relative; display:flex; flex-direction:row-reverse; align-items:flex-start; gap:14px; padding-bottom:26px;}
.flow-rail-item:last-child{padding-bottom:0;}
.flow-rail-item::before{
  content:''; position:absolute; right:15px; top:32px; bottom:-4px; width:2px; background:var(--line);
}
.flow-rail-item:last-child::before{display:none;}
.flow-rail-dot{
  position:relative; z-index:1; flex:none;
  width:32px; height:32px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:10.5px; font-weight:700;
  background:var(--paper); border:2px solid var(--line); color:var(--muted);
  transition:background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.flow-rail-label{padding-top:6px; font-size:13.5px; font-weight:600; color:var(--muted); line-height:1.35; transition:color .3s var(--ease);}
.flow-rail-item.is-active .flow-rail-dot{background:var(--accent-deep); border-color:transparent; color:#fff;}
.flow-rail-item.is-active .flow-rail-label{color:var(--ink);}
.flow-rail-item.is-done .flow-rail-dot{border-color:var(--accent); color:var(--accent-deep);}
.flow-rail-item.is-done .flow-rail-label{color:var(--ink-soft);}

/* the scrub panel: cropped to the right column, not full-bleed. Same fluid
   artwork / cover-then-zoom math as the old full-width version (see
   CLAUDE.md "Known issues #3"), just measured against the column's own box
   (100%) instead of 100vw. */
.flow-right{position:relative; overflow:hidden; background:var(--ink);}
/* Zoom retuned against a 2048px-wide source (was 1080px — the artwork was
   being upscaled 2.06x at 1440x900, which is what made it look pixelated).
   At --fluid-zoom:1.2 the painted width is ~1908px at that viewport, so
   the 2048px source is DOWNscaled ~0.93x instead. The pan still has ~1000px
   of horizontal and ~180px of vertical overhang to travel through, so the
   scrub animation is unchanged — only the sampling is.
   Raising this zoom trades sharpness back for pan distance; past ~1.3 the
   source starts being upscaled again at common desktop sizes. */
/* Sized exactly as the old background-size was ("100%-of-container-or-
   100vh-tall, whichever is larger, times the zoom factor" for width; height
   via aspect-ratio instead of background-size's own "auto", since the two
   produce the same box). The pan itself is now a transform (see
   landing.js), not background-position: background-position is a paint
   property, so animating it repaints the whole zoomed image every scroll
   frame; transform is compositor-only. .flow-right's overflow:hidden clips
   the overhang exactly like the old oversized background did. */
.flow-fluid{
  position:absolute; top:0; left:0;
  width:calc(max(100%, 100vh * var(--fluid-ar)) * var(--fluid-zoom));
  --fluid-ar:1.7676;   /* 2048 / 1159 — regenerate if the artwork changes */
  --fluid-zoom:1.2;
  aspect-ratio:var(--fluid-ar);
  background-image:var(--img-fluid-full);
  background-size:100% 100%;
  opacity:.5; will-change:transform;
}
/* EXPERIMENTAL (Aug 2026) — the warm fluid-full render has no blue in it at
   all (it shades toward purple/magenta, not blue), so it fought company
   mode's own blue accent instead of complementing it the way it does in
   student mode. spectrum.webp genuinely spans orange-to-blue by design (it
   is the retired "light spectrum wave" asset), so business mode swaps to it
   instead of trying to recolour an image with no blue to lean into. Same
   sizing math, own aspect ratio and zoom since the source dimensions and
   colour layout differ; landing.js's scrub transform is untouched; it just
   pans a different image underneath. Revert to var(--img-fluid-full) if
   this doesn't read well — flagged as a trial, not a settled decision. */
:scope[data-audience="business"] .flow-fluid{
  --fluid-ar:1.6993;   /* 2163 / 1273 */
  /* Zoom 1.4 -> 1.65 -> 2.1 across three separate "more travel" asks. A
     bigger box means more overage for landing.js's scrub to pan through
     over the same 4 steps. Costs some sharpness: 2.1 paints the 2163px
     source at 3212px, a 1.48x upscale (was 1.17x), which is still well
     inside the ~2x ceiling this project treats as the point where no
     encoding quality can save it (see CLAUDE.md "Known issues" #3).

     The three pan values below decide WHERE on the artwork the sweep
     starts and stops, and they are the reason the closing beat now
     actually reads blue. The spectrum image is a diagonal band with dark
     margin either side; panning the full overage ran the last beat off
     the band's top-right corner into that margin, where its blue is at
     its narrowest. Measured across the visible column: the ending frame
     was 17% blue against an opening frame of 43% orange — the "not enough
     blue at the end" report. Stopping at 0.7 of the horizontal overage and
     halfway down the vertical keeps the last beat ON the widest part of
     the band: now 46% blue closing against 51% orange opening, a 5-point
     spread instead of a 26-point one, with the dark margin down from 48%
     to 13%. Re-derive these by measurement, not by eye, if the artwork is
     ever re-exported. */
  --fluid-zoom:2.1;
  --fluid-pan-x:0.7;
  --fluid-pan-y-start:1;
  --fluid-pan-y-end:0.5;
  background-image:var(--img-spectrum);
  /* Raised from the shared .5 (asked for explicitly: "needs to be
     brighter") — scoped to business mode only, since student mode's
     fluid-full wasn't part of this ask. */
  opacity:.78;
}
/* heaviest at centre, not just the edges — the step copy sits left-aligned
   in this narrower column but still over the artwork's brightest passages */
.flow-scrim{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 90% 80% at 42% 48%, rgba(20,19,15,.74) 0%, rgba(20,19,15,.64) 52%, rgba(20,19,15,.8) 100%),
    linear-gradient(180deg, rgba(20,19,15,.58), rgba(20,19,15,.5) 45%, rgba(20,19,15,.66));
}
.flow-steps{position:relative; z-index:2; height:100%; display:flex; align-items:center; padding:0 clamp(28px,4vw,56px); transition:opacity .35s var(--ease);}
/* asymmetric crossfade: outgoing clears fast, incoming waits a beat, so a
   symmetric fade never renders two blocks of copy legibly on top of each other */
.flow-step{
  position:absolute; left:clamp(28px,4vw,56px); right:clamp(28px,4vw,56px);
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
  opacity:0; transform:translateY(18px); pointer-events:none;
  transition:opacity .24s var(--ease), transform .24s var(--ease);
}
.flow-step.is-active{
  opacity:1; transform:none; pointer-events:auto;
  transition:opacity .5s var(--ease) .14s, transform .5s var(--ease) .14s;
}
.flow-step h3, .flow-step p{text-shadow:0 2px 18px rgba(0,0,0,.5);}
.flow-num{
  font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700; letter-spacing:.08em;
  color:var(--accent-lift); width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.32); background:rgba(255,255,255,.1);
}
/* the description is this panel's lead line now, not a sub-line under a
   repeated title — the step's NAME is stated once, in the left rail, and
   the h3 here is .sr-only on desktop (see index.html). Sized up again on
   request to carry the panel with real emphasis; 20ch keeps it to three or
   four short lines at this size rather than one long run. */
.flow-step p{color:#fff; font-size:clamp(26px,3vw,40px); font-weight:600; line-height:1.24; letter-spacing:-.015em; max-width:20ch;}
.flow-step-link{
  margin-top:2px; padding:6px 0; font-family:'JetBrains Mono',monospace; font-size:12.5px; font-weight:700;
  color:#fff; text-decoration:underline; text-underline-offset:4px; text-shadow:none;
}
.flow-step-link:hover{color:var(--accent-lift);}
.flow-step-link:focus-visible{outline:2px solid #fff; outline-offset:3px; border-radius:4px;}
.flow-step-tag{
  display:inline-flex; align-items:center; gap:7px; margin-top:2px;
  padding:7px 13px; border-radius:999px; background:rgba(255,255,255,.12);
  font-family:'JetBrains Mono',monospace; font-size:11px; color:rgba(255,255,255,.82);
}

/* the pin: desktop only. Raised from 520vh (asked explicitly: a fast
   trackpad/mouse scroll could blow through the whole 4-step reveal in a
   couple of seconds) to 720vh — ~180vh of scroll per beat instead of
   ~130vh, so a normal-speed scroll spends noticeably longer on each step
   before the next one takes over. .flow-stage sticks for the whole range
   while landing.js maps scroll progress to which beat is showing. top:0
   (not offset for the nav) matches the nav's own always-opaque background
   — it stays legible over the pinned stage without a gap above it. */
@media (min-width:901px){
  .flow-scroll{height:720vh;}
  .flow-stage{position:sticky; top:0; height:100vh; display:grid; grid-template-columns:3fr 5fr; overflow:hidden;}
}

/* ==========================================================================
   5. TESTIMONIALS
   ========================================================================== */
/* Same bump as .challenges above, same reason — asked for explicitly. */
.testimonials{padding:clamp(80px,11vw,168px) 0 clamp(88px,11vw,176px); background:var(--paper-warm);}
.t-head{text-align:center; margin-bottom:36px;}
.t-head h2{font-size:clamp(28px,3.4vw,40px); margin-top:12px;}
.t-avatar-defs{position:absolute; width:0; height:0; overflow:hidden;}

/* ---------- option C: spotlight + strip ----------
   One card promoted above the rest; hovering/focusing a strip chip
   promotes IT instead. Every chip already carries its own full quote, so
   nothing here depends on JS to be readable — only the swap itself does. */
/* gap bumped 22px -> 30px alongside .t-spot's own taller padding below —
   more breathing room around the spotlight, not just inside it. */
.t-layout{display:flex; flex-direction:column; gap:30px;}
.t-spot{
  position:relative; overflow:hidden; border-radius:var(--radius-xl);
  /* Column flex so .t-spot-foot can be pinned to the bottom with
     margin-top:auto. landing.js already reserves the card's own height
     (stabilizeHeight), so the CARD never resized — but the footer sat in
     normal flow directly under the quote, so a short quote pulled the
     avatar, name, role and tag up with it and a long one pushed them down.
     That vertical jump on every hover is the reported bug: the card was
     stable, the things inside it were not. With the footer bottom-anchored
     the only thing a quote's length can now move is its own last line. */
  display:flex; flex-direction:column;
  /* was clamp(30px,4vw,46px) — asked for more breathing room specifically
     on the spotlight card, not just the section around it. */
  padding:clamp(40px,5.4vw,64px); color:#fff;
  /* Was var(--grad-dark) unconditionally — in student/builder mode that
     token is just a near-neutral ink-to-ink gradient with no real hue in
     it (--ink-lift #1c1a14 to --ink #14130f), so the card read as plain
     dark rather than carrying the brand's own accent the way company mode
     already did (--grad-dark swaps to an explicit navy pair under
     :scope[data-audience="business"]). Asked for explicitly: more orange
     presence here specifically, without touching the shared --grad-dark
     token itself, which .final also reads and wasn't part of this ask. */
  background:linear-gradient(155deg, #2e160a 0%, #1a0f08 74%);
  box-shadow:0 34px 76px -40px rgba(20,19,15,.5);
}
/* Company mode keeps its existing --grad-dark navy pair — already reads
   well, per the ask, and needs no change. */
:scope[data-audience="business"] .t-spot{background:var(--grad-dark);}
.t-spot::after{
  content:''; position:absolute; inset:-40% -10% auto auto; width:60%; height:170%;
  background:var(--grad-glow); pointer-events:none;
}
.t-spot > *{position:relative; z-index:1;}
.t-spot-mark{display:block; font-size:52px; line-height:1; font-weight:900; color:rgba(255,255,255,.22); margin-bottom:6px;}
.t-spot-quote{
  font-size:clamp(19px,2.4vw,26px); font-weight:700; line-height:1.38; letter-spacing:-.01em;
  max-width:56ch; margin-bottom:28px; transition:opacity .18s var(--ease);
  /* a floor on the gap to the pinned footer, not the spacing itself */
}
/* margin-top:auto does the pinning; min-height stops the row collapsing
   below the avatar's own 50px if a name/role pair is unusually short, so
   the baseline the avatar sits on is the same for every chip. */
.t-spot-foot{display:flex; align-items:center; gap:14px; margin-top:auto; min-height:50px;}
.t-spot-avatar{width:50px; height:50px; border-radius:50%; flex:none;}
.t-spot-name{font-weight:700; font-size:15px;}
.t-spot-role{font-family:'JetBrains Mono', monospace; font-size:11.5px; color:rgba(255,255,255,.6);}
.t-spot-tag{
  margin-left:auto; font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; padding:5px 11px; border-radius:999px;
  background:rgba(47,107,255,.28); color:var(--blue-tint); white-space:nowrap;
}
.t-spot[data-side="builder"] .t-spot-tag{background:rgba(255,91,36,.28); color:var(--orange-tint);}

.t-strip{display:grid; grid-template-columns:repeat(auto-fit, minmax(210px,1fr)); gap:14px;}
.t-chip{
  text-align:left; display:flex; gap:12px; align-items:flex-start;
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius-lg);
  padding:16px 17px; cursor:pointer;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.t-chip:hover, .t-chip:focus-visible{
  border-color:var(--accent); transform:translateY(-2px);
  box-shadow:0 16px 34px -22px rgba(20,19,15,.3);
}
.t-chip:focus-visible{outline:none; box-shadow:0 0 0 2px var(--paper), 0 0 0 4px var(--ink);}
.t-chip[aria-current="true"]{border-color:var(--ink); background:var(--paper-warm);}
.t-chip-avatar{width:34px; height:34px; border-radius:50%; flex:none;}
.t-chip-body{display:flex; flex-direction:column; gap:6px; min-width:0;}
.t-chip-quote{
  font-size:12.5px; line-height:1.5; color:var(--ink-soft);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.t-chip-who{
  display:flex; align-items:center; gap:7px; flex-wrap:wrap;
  font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:600; color:var(--muted);
}
.t-chip-tag{
  font-size:9px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  padding:2px 7px; border-radius:999px; background:rgba(47,107,255,.12); color:var(--blue-deep);
}
.t-chip-tag--builder{background:rgba(255,91,36,.12); color:var(--orange-deep);}

@media (max-width:760px){
  .t-strip{grid-template-columns:1fr;}
}

/* ==========================================================================
   6. FINAL CTA — full-bleed (asked explicitly: no margins, stretches
   across the entire page). Previously .final carried .wrap directly, which
   capped it at the same padded content width as everything else; now
   .final is the full-width background carrier and .final-wrap is just the
   text-width-constrained inner content, same split the hero already uses
   for its own full-bleed wash. No bottom padding either — the footer
   trails directly off it now, see FOOTER below. */
/* --grad-dark is a DIAGONAL gradient (155deg), so it doesn't reach flat
   --ink at the same vertical depth on every column — pixel-sampled the
   rendered page and confirmed it directly (with the glow blooms below
   forced to opacity:0 as a control, to rule them out first): the left
   portion of the row was still a few units warmer than pure --ink right at
   the seam into the footer below, while the centre/right portion had
   already reached it. The colour delta is tiny (single digits per channel)
   but it's a hard step at the section boundary, not a fade, which is what
   actually reads as a seam. The second background layer here is a plain
   (non-diagonal) vertical fade that force-crushes the last stretch of the
   section to flat --ink uniformly across every column, so the handoff into
   the footer's own flat --ink is pixel-identical everywhere, not just down
   the centre. */
/* The final CTA + footer together should read as "the last screenful," not
   spill an extra half-screen past it: min-height caps .final at exactly
   whatever room is left below the (sticky, always-visible-once-scrolled-
   past) nav once the footer's own height is subtracted, so the two sections
   combined land on one viewport-height, nav included. --nav-h/--footer-h
   are the LIVE rendered heights of #siteNav/#footer, kept current by
   landing.js (they change with nav's compact state and with the footer's
   own responsive column-wrapping) — the literal px fallbacks here only
   cover the instant before that JS runs. min(), not a bare calc(), so this
   can only ever GROW .final: on a short/zoomed viewport where the content
   + its own padding is already taller than the leftover space, that larger
   natural size simply wins and nothing is ever squashed — same "only grows"
   rule the hero's own --fold-reserve sizing already uses. */
.final{
  position:relative; overflow:hidden;
  /* svh as a second, later declaration — not combined into one expression
     with vh — on purpose: a browser too old to know the svh unit treats
     calc(100svh - ...) as an invalid VALUE and drops that whole property
     declaration, leaving the vh-based line above it as the one that
     actually applies. Folding both into a single min-height:max(...) would
     instead invalidate the entire declaration (and every browser without
     svh support would end up with no min-height at all), since CSS
     validity is decided per declaration, not per operand inside one. */
  min-height:calc(100vh - var(--nav-h, 78px) - var(--footer-h, 392px));
  min-height:calc(100svh - var(--nav-h, 78px) - var(--footer-h, 392px));
  display:flex; align-items:center; justify-content:center;
  /* Was clamp(64px,9vw,120px) — at typical desktop sizes that alone made
     the section's own content (289px with zero padding, measured) taller
     than the min-height floor above, so the floor never actually engaged:
     the section just rendered at its padding-inflated natural size instead,
     which is the "too much empty space" this was flagged for. Cut down so
     the content + padding comfortably clears under the floor at ordinary
     viewport heights, leaving align-items:center to distribute whatever
     room the floor still allows evenly above and below — that's the
     min-height actually doing the job, not padding faking it. */
  padding:clamp(32px,3.2vw,56px) 0; text-align:center;
  /* Layered top-down: the fade-to-ink is painted LAST in source order but
     FIRST in the stack, so it sits over the spectrum and pulls the bottom
     of the section to solid --ink. That is what lets the footer continue
     underneath with no visible seam — the CTA is already ink by the time
     it reaches the boundary. */
  background:
    linear-gradient(to bottom, transparent 56%, var(--ink) 97%),
    var(--grad-cta),
    var(--ink);
  color:#fff;
}
.final-wrap{width:100%;}
.final::before{
  content:''; position:absolute; inset:-40% -20% auto auto; width:90%; height:180%;
  background:var(--grad-glow); opacity:.5; pointer-events:none;
}
.final::after{
  content:''; position:absolute; inset:auto auto -60% -20%; width:80%; height:150%;
  background:var(--grad-glow); opacity:.28; pointer-events:none;
}
.final-wrap{position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; padding:0 32px;}
.final h2{font-size:clamp(30px,4.4vw,52px); margin-bottom:14px; color:#fff;}
.final p{font-size:17px; color:rgba(255,255,255,.74); margin-bottom:30px;}
.final-ctas{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.final-fineprint{margin-top:22px; font-family:'JetBrains Mono',monospace; font-size:12px; color:rgba(255,255,255,.55);}
:scope[data-audience="business"] .final-fineprint{display:none;}

/* ==========================================================================
   FOOTER — matches the final CTA's dark background now that the CTA is
   full-bleed with no bottom padding of its own; a light footer directly
   under a dark full-width section would have read as a seam where none is
   needed any more, and it lets the CTA's own glow layers bleed straight
   into the footer's top edge instead of hitting a hard color change.
   Every colour below is re-tuned for the dark surface — same rgba(255,255,
   255,N) scale the CTA copy already uses (.final p / .final-fineprint), not
   the light-mode tokens (--ink-soft/--muted/--line) this footer used before.
   ========================================================================== */
/* The same spectrum wash, so a page whose footer is the FIRST dark surface
   on it (dashboard, challenges) still opens on the brand's colour rather
   than a flat black slab, and reads as the same family as a CTA+footer
   page. Fades out downward so the bulk of the footer is still solid ink.

   [data-after-cta] opts out on index/about/faq, where .final directly above
   already carries the wash and has faded itself to ink at the boundary —
   without the opt-out the wash would restart under that fade and read as a
   band across the seam. Set explicitly in the markup rather than derived
   with :has(), so it does not depend on selector support to be correct. */
footer{
  position:relative; color:#fff; padding:56px 0 34px;
  background:
    linear-gradient(to bottom, transparent 0%, var(--ink) 74%),
    var(--grad-cta),
    var(--ink);
}
footer[data-after-cta]{background:var(--ink);}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px;}
.footer-brand .logo-img{height:22px; margin-bottom:14px;}
.footer-brand p{font-size:14px; color:rgba(255,255,255,.72); line-height:1.6; max-width:34ch; margin-bottom:22px;}
.footer-notify-label{display:block; font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:10px;}
.footer-notify-row{display:flex; gap:8px; flex-wrap:wrap;}
.footer-notify-row input{
  flex:1; min-width:200px; padding:13px 15px; border-radius:999px;
  border:1px solid transparent; background:#fff; font-size:14px; font-family:inherit;
}
.footer-notify-row input:focus-visible{outline:none; box-shadow:0 0 0 2px var(--ink), 0 0 0 4px #fff;}
.footer-notify-msg{margin-top:10px; font-size:12.5px; color:rgba(255,255,255,.55); min-height:1em;}
.footer-col h3{
  font-family:'JetBrains Mono', monospace; font-size:11px; font-weight:700; letter-spacing:.12em;
  line-height:1.4; text-transform:uppercase; color:rgba(255,255,255,.5); margin:0 0 14px;
}
.footer-col a{display:block; font-size:14px; color:rgba(255,255,255,.72); padding:6px 0;}
.footer-col a:hover{color:#fff;}
.footer-col a:focus-visible{outline:2px solid #fff; outline-offset:3px; border-radius:4px;}
.footer-pending{display:block; font-size:14px; color:rgba(255,255,255,.4); padding:6px 0; cursor:default;}
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  padding-top:26px; border-top:1px solid rgba(255,255,255,.14);
  font-size:13px; color:rgba(255,255,255,.5);
}

/* ---------- mode crossfade ----------
   applyModeCopy() adds .mode-swap, waits, swaps innerHTML, removes it.
   !important because [data-reveal].revealed's own rule would otherwise keep
   these pinned at opacity 1 (higher specificity, same property). */
.mode-swap{opacity:0 !important; transition:opacity .16s var(--ease) !important;}

/* ==========================================================================
   REVEAL (the one motion system kept from v2)
   ========================================================================== */
[data-reveal]{opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
[data-reveal].revealed{opacity:1; transform:none;}
.no-js [data-reveal]{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{opacity:1 !important; transform:none !important;}
}

/* ---------- ticket-rail fallbacks ----------
   The rail scrolls natively, so no-js loses only the arrows and the
   position bar. Hide exactly those — NOT the whole control row, which also
   carries the "View all challenges" link; that is real content and has to
   survive. Reduced motion keeps the rail but drops the smooth-scroll
   easing, since an arrow press would otherwise animate a long glide. */
.no-js .ch-rail-btn, .no-js .ch-rail-track{display:none;}
/* the modal can't open without JS (native <dialog>.showModal() is a JS
   call); every ticket already shows company/title/description/deadline
   inline, so hiding this rather than leaving a dead button is the same
   contract as .no-js .cl-view-brief on challenges.html. */
.no-js .ch-view-btn{display:none;}
.no-js .ch-ticket{cursor:default;}
@media (prefers-reduced-motion: reduce){
  .ch-rail{scroll-behavior:auto;}
}

/* ---------- how-it-works pin fallbacks ----------
   Reduced motion and no-js both get the plain stacked list rather than a
   scroll-jacked pin: nothing here is ever a scroll effect someone can get
   stuck inside without motion or without JS to drive it. The dark
   fluid-image treatment is dropped too, not just the pin — it was tuned as
   an image background behind crossfading white text, and re-flowed as a
   static list that pairing would just be a contrast problem with no payoff;
   the collapsed list matches the rest of the page instead (light
   background, ink text, the same .flow-num circle the pinned version uses). */
@media (prefers-reduced-motion: reduce){
  .flow-scroll{height:auto !important;}
  .flow-stage{display:block !important; height:auto !important;}
  /* the stage is stacked here, so the right-aligned-to-the-divider
     treatment has no divider to sit against — back to normal left flow */
  .flow-left{padding:56px 32px 8px !important; background:none !important; align-items:stretch !important; text-align:left !important;}
  .flow-rail{align-items:stretch !important;}
  .flow-rail-item{flex-direction:row !important;}
  .flow-rail-item::before{right:auto !important; left:15px !important;}
  .flow-rail{display:none !important;}
  .flow-right{background:none !important; padding:8px 32px 56px !important;}
  .flow-fluid, .flow-scrim{display:none !important;}
  .flow-steps{position:static !important; height:auto !important; display:flex !important; flex-direction:column; gap:34px; padding:0 !important; opacity:1 !important; pointer-events:auto !important;}
  .flow-step{position:static !important; left:auto !important; right:auto !important; opacity:1 !important; transform:none !important; pointer-events:auto !important;}
  .flow-step h3, .flow-step p{text-shadow:none !important;}
  .flow-num{border-color:var(--line) !important; background:var(--paper-warm) !important; color:var(--muted) !important;}
  /* the rail is gone here, so the step NAME has to come back visually —
     nothing is duplicating it now, and without this the step would be a
     bare number + sentence. Also drops the description back to body size,
     since the h3 is the headline again rather than the p. */
  .flow-step h3.sr-only{
    position:static !important; width:auto !important; height:auto !important;
    margin:0 !important; overflow:visible !important; clip:auto !important; white-space:normal !important;
  }
  .flow-step h3{color:var(--ink) !important; font-size:clamp(22px,5vw,28px) !important;}
  .flow-step p{color:var(--ink-soft) !important; font-size:15px !important; font-weight:400 !important; line-height:1.6 !important; max-width:46ch !important;}
  .flow-step-link{color:var(--accent-deep) !important; text-shadow:none !important;}
  .flow-step-tag{background:var(--paper-warm) !important; color:var(--muted) !important;}
}
.no-js .flow-scroll{height:auto;}
.no-js .flow-stage{display:block; height:auto;}
.no-js .flow-left{padding:56px 32px 8px; background:none; align-items:stretch; text-align:left;}
.no-js .flow-rail{align-items:stretch;}
.no-js .flow-rail-item{flex-direction:row;}
.no-js .flow-rail-item::before{right:auto; left:15px;}
.no-js .flow-rail{display:none;}
.no-js .flow-right{background:none; padding:8px 32px 56px;}
.no-js .flow-fluid, .no-js .flow-scrim{display:none;}
.no-js .flow-steps{position:static; height:auto; display:flex; flex-direction:column; gap:34px; padding:0; opacity:1; pointer-events:auto;}
.no-js .flow-step{position:static; left:auto; right:auto; opacity:1; transform:none; pointer-events:auto;}
.no-js .flow-step h3, .no-js .flow-step p{text-shadow:none;}
.no-js .flow-num{border-color:var(--line); background:var(--paper-warm); color:var(--muted);}
/* rail is hidden here too — un-hide the name, same reasoning as the
   reduced-motion block above */
.no-js .flow-step h3.sr-only{
  position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto; white-space:normal;
}
.no-js .flow-step h3{color:var(--ink); font-size:clamp(22px,5vw,28px);}
.no-js .flow-step p{color:var(--ink-soft); font-size:15px; font-weight:400; line-height:1.6; max-width:46ch;}
.no-js .flow-step-link{color:var(--accent-deep); text-shadow:none;}
.no-js .flow-step-tag{background:var(--paper-warm); color:var(--muted);}
/* Undo the mobile-pin block's own rules for the properties this flat-list
   block does not otherwise state. Without these the no-js list below 900px
   would lose its step numbers entirely and render each step name in the
   pin's mono/uppercase/accent treatment instead of as a heading. */
.no-js .flow-stage{position:static;}
.no-js .flow-num{display:flex;}
.no-js .flow-step{gap:14px;}
.no-js .flow-step h3{font-family:inherit; font-weight:700; letter-spacing:-.01em; text-transform:none;}

/* Mobile pin, guarded on BOTH axes it can collide with.

   (prefers-reduced-motion: no-preference) rather than living in the plain
   max-width block: the reduced-motion fallback further up is written with
   !important and wins wherever it declares a property, but it does NOT
   declare every property this block sets (.flow-num display, the h3's mono
   treatment, .flow-step gap), and those would have leaked straight into the
   flat list. Guarding the query means reduced motion never sees them.

   The .no-js case can't be a media query, so it is handled by the explicit
   resets appended to the .no-js block below instead. */
@media (max-width:900px) and (prefers-reduced-motion: no-preference){
  /* ---------- how it works: the pin now runs on mobile too ----------
     Asked for explicitly ("not available on mobile, try it out"), with the
     caveat that a revert to the vanilla stacked list is on the table. That
     revert is cheap and is deliberately kept cheap: reduced-motion and
     no-js already carry a complete, tested copy of the flat-list treatment
     (see the two blocks further down), so backing this out means deleting
     this block and pasting either of those in. Nothing else depends on it.

     Not a scaled-down desktop stage — the desktop layout is a 3fr/5fr
     side-by-side split, which has no meaning on a 390px screen. Stacked
     into two rows instead: a compact title band on top, the dark image
     panel filling everything under it. Same beats, same JS, same crossfade;
     only the box they live in changes. */
  .flow-scroll{height:520vh;}
  .flow-stage{
    position:sticky; top:0; height:100vh; height:100svh;
    display:grid; grid-template-rows:auto 1fr; overflow:hidden;
  }
  /* padding-top clears the sticky nav (77px measured at 390px wide), which
     sits above this stage at z-index 200 and would otherwise cover the
     eyebrow. The desktop stage does not need this because its left column
     is vertically centred in a full-height box, so the nav overlaps empty
     space rather than copy. */
  .flow-left{
    padding:93px 22px 18px; background:var(--paper);
    justify-content:flex-start; align-items:stretch; text-align:left;
  }
  .flow-left .eyebrow{margin-bottom:8px;}
  .flow-left h2{font-size:clamp(21px,5.4vw,27px); margin:0 0 14px; max-width:none;}
  /* the intro paragraph is desktop breathing room. On a phone it costs
     vertical space the image panel needs more than the title band does. */
  .flow-left p{display:none;}
  /* the rail turns into a horizontal row of the same four numbered dots.
     Labels are dropped (they are what needed a vertical column) because the
     panel below un-hides each step's own name as it becomes active, so
     nothing is stated twice — the same division of labour the desktop rail
     and panel already have, just re-flowed. */
  .flow-rail{margin-top:0; flex-direction:row; align-items:center; gap:10px;}
  .flow-rail-item{flex-direction:row; padding-bottom:0; gap:0;}
  .flow-rail-item::before{display:none;}
  .flow-rail-label{display:none;}
  .flow-rail-dot{width:28px; height:28px; font-size:9.5px;}
  .flow-right{padding:0;}
  .flow-steps{padding:0 22px;}
  .flow-step{left:22px; right:22px; gap:10px;}
  /* the number lives in the rail dots directly above now */
  .flow-num{display:none;}
  .flow-step h3.sr-only{
    position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto; white-space:normal;
  }
  .flow-step h3{
    color:var(--accent-lift); font-family:'JetBrains Mono',monospace;
    font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  }
  .flow-step p{font-size:clamp(20px,5.6vw,27px); max-width:none;}
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1080px){
  .hero-grid{grid-template-columns:1fr; gap:44px;}
  .hero{min-height:0; padding-top:48px; padding-bottom:56px;}
}
@media (max-width:900px){
  .nav .links, .nav-cta, .nav-left .mode-switch{display:none;}
  .nav-toggle{display:flex;}
  .nav-inner{justify-content:space-between; gap:14px;}
  .mobile-menu{
    display:none; flex-direction:column; gap:2px;
    padding:14px 32px 22px; border-top:1px solid var(--line); background:#fff;
  }
  .mobile-menu.open{display:flex;}
  .mobile-menu .mode-switch{display:flex; width:100%; margin-bottom:10px;}
  .mobile-menu .mode-opt{flex:1; padding:15px 10px;}
  .mobile-menu .mode-indicator{width:calc(50% - 3px);}
  .m-link{padding:14px 0; font-size:16px; font-weight:600; border-bottom:1px solid var(--line);}
  .mobile-menu .nav-dash{margin:12px 0 4px; justify-content:center; padding:14px;}
  .mobile-menu-ctas{display:flex; gap:10px; margin-top:16px;}
  .mobile-menu-ctas .btn{flex:1;}
  .footer-grid{grid-template-columns:1fr 1fr; gap:32px;}
}

@media (max-width:640px){
  .hero h1{font-size:clamp(34px,9vw,44px);}
  .hero-ctas .btn{flex:1; justify-content:center;}
  .footer-grid{grid-template-columns:1fr;}
  .dash-metrics{grid-template-columns:1fr 1fr;}
  .final-ctas .btn{width:100%;}
}

/* ==========================================================================
   Focus-ring suppression for a pointer-opened modal dismissed with Escape.
   Set by suppressReturnRing() in landing.js — see the long comment there for
   why this case is special. !important is deliberate and narrow: every
   button variant on the site declares its own :focus-visible box-shadow at
   the same (0,2,0) specificity this selector has, so without it the winner
   would come down to source order against rules that may be added later.
   Scoped to a single attribute that only exists for the one frame-ish window
   between an Escape dismissal and the reader's next keypress.
   ========================================================================== */
[data-noring]:focus-visible{box-shadow:none !important; outline:none !important;}

}
