/* ============================================================
   DEALINK — Alpha Community brand language
   Derived from the narwhal mark (see ../DESIGN.md).
   Palette: cold-water blues sampled from the mark, one accent.
   ============================================================ */

:root {
  color-scheme: light;

  /* -- Color tokens (sampled/derived from dealink-mark.png) -- */
  --ink:        #0C1D2A;   /* Deep Water — near-black blue, from #507090 deepened */
  --ink-soft:   #24455C;   /* headings on ice */
  --slate:      #4A6B80;   /* Harbor — secondary text, from the ring #5080a0 */
  --accent:     #2E85BE;   /* Tusk — the one accent, tuned from #60a0c0 */
  --accent-deep:#1E648F;   /* hover / text-safe accent */
  --accent-ice: #7FC4E8;   /* tusk highlight — on dark only, from #80c0d0 */
  --ice:        #EAF3F8;   /* tinted surface */
  --frost:      #D9E7EF;   /* borders */
  --frost-soft: #E8F0F5;   /* hairlines */
  --paper:      #FAFCFE;   /* page */
  --white:      #FFFFFF;

  /* -- Type tokens -- */
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* -- Rhythm -- */
  --container: 1160px;
  --gutter: 24px;
  --section-pad: clamp(72px, 10vw, 128px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 2px rgba(12, 29, 42, 0.04), 0 8px 28px rgba(12, 29, 42, 0.05);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

::selection { background: var(--accent); color: var(--white); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type scale ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; }

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.45rem);
  line-height: 1.06;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.14;
  font-weight: 700;
}
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
/* centered eyebrows get a matching dash on the right, for balance */
.eyebrow.center::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-left: -0.18em; /* cancel the trailing letter-spacing so both gaps match */
}

.lede { font-size: clamp(1.1rem, 2vw, 1.28rem); line-height: 1.55; color: var(--slate); }
.muted { color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(46, 133, 190, 0.32);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--frost);
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-on-dark {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.btn-on-dark:hover { background: var(--ice); transform: translateY(-1px); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 254, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--frost-soft); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
}
.nav-brand img { width: auto; height: 44px; }
/* Wordmark 6b-1 lockup (bigger, 2026-10-02b): narwhal 44px tall, wordmark ~150px wide so the
   two-link L reads at 1x. Wordmark height nudged to ~0.55 x mark height (was 0.51) to hit the
   150px width; gap stays ~0.22 x mark height (10px). */
.nav-brand img.wordmark { width: auto; height: 24.2px; margin-left: -4px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.14em;
}
.alpha-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  background: var(--ice);
  border: 1px solid var(--frost);
  border-radius: 999px;
  padding: 4px 9px 3px;
  transform: translateY(-1px);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 20px; font-size: 0.92rem; }

/* Phone section menu — a native <details>, shown only ≤640px (where .nav-links hides). */
.nav-menu { display: none; position: relative; }
.nav-menu, .nav-menu[open] {               /* opt out of the FAQ's global details{} card (clip would hide the panel) */
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
}
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  padding: 9px 13px;
  border: 1.5px solid var(--frost);
  border-radius: 999px;
  background: var(--white);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { border-color: var(--accent); color: var(--accent-deep); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.nav-menu-panel a {
  color: var(--ink);
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 10px;
}
.nav-menu-panel a:hover { background: var(--ice); }
.nav-menu-panel a:last-child { color: var(--accent-deep); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(68px, 9vw, 120px) 0 clamp(72px, 9vw, 118px);
  text-align: center;
  overflow: clip;
}
.hero-rings {
  position: absolute;
  top: -34%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 160vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-mark {
  width: 110px;
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 24px rgba(46, 133, 190, 0.25));
}
/* Hero wordmark 6b-1 (navy, on the light hero) — large so the lockup reads; sits between the
   narwhal and the eyebrow (2026-10-02b). */
.hero-wordmark {
  width: 320px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}
/* Tagline under the lockup — Jon, Sat Oct 3: 'under the logo/name add "The Fortune Is in the Follow-up"'.
   Same voice as the eyebrows (mono, tracked, accent), a touch larger so it reads under a 320px wordmark. */
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-align: center;
  margin: -6px auto 26px;
}
@media (max-width: 640px) { .hero-tagline { font-size: 0.74rem; letter-spacing: 0.12em; margin: -2px auto 20px; } }
/* >>> Hero wordmark motion: "unfold from AI" (picked by Ziz + Jon, 2026-10-02). Generated by
   gen_motion_css.py --only 4 (Desktop/Claude/plumb/research/website-hero-fade/); edit the generator,
   not this block. The hero wordmark is an inline SVG, one <g> per letter (the L = .stem + .foot
   links; paint order D E A L K N I so letters unfold from behind A and I), so CSS can move them.
   From first paint only the blue A and I show, side by side at the centre; after 0.9 s they glide
   apart while E then D unfold from behind the A and N then K from behind the I; last, the L's two
   links travel out of the A and the I and click together (done at 3.55 s). Every 12 s from 12 s it
   folds back to A I (0.8 s) and unfolds again. Intro = one-shot animation (fill both, so the start
   state is there from the first frame); replay = 12 s infinite with a 12 s delay (fill none, so the
   intro's end state - the full wordmark - shows in between). A and I never lose opacity.
   Lengths are viewBox units (1 unit = 0.039 px at 320 px wide). Transforms + opacity only,
   overflow visible: no layout change. Reduced motion: no animation exists; the full wordmark is
   simply there. CSS only, no script. */
.hero-wordmark { overflow: visible; }
.hero-wordmark g { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes wm4-a-tf-in {
    0%        { transform: translateX(750.5px); animation-timing-function: linear; }
    25%       { transform: translateX(750.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    63.8889%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-a-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    1.25%     { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.6667%   { transform: translateX(750.5px); animation-timing-function: linear; }
    11.6667%  { transform: translateX(750.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    23.3333%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-i-tf-in {
    0%        { transform: translateX(-470.5px); animation-timing-function: linear; }
    25%       { transform: translateX(-470.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    63.8889%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-i-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    1.25%     { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.6667%   { transform: translateX(-470.5px); animation-timing-function: linear; }
    11.6667%  { transform: translateX(-470.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    23.3333%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-e-tf-in {
    0%        { transform: translateX(2014.0px); animation-timing-function: linear; }
    27.7778%  { transform: translateX(2014.0px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    65.2778%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-e-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    0.8333%   { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.5%      { transform: translateX(2014.0px); animation-timing-function: linear; }
    12.5%     { transform: translateX(2014.0px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    23.75%    { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-e-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    30.5556%  { opacity: 0; animation-timing-function: linear; }
    44.4444%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-e-op-re {
    0%        { opacity: 1; animation-timing-function: linear; }
    0.8333%   { opacity: 1; animation-timing-function: linear; }
    5.1667%   { opacity: 0; animation-timing-function: linear; }
    13.3333%  { opacity: 0; animation-timing-function: linear; }
    17.5%     { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-n-tf-in {
    0%        { transform: translateX(-1427.5px); animation-timing-function: linear; }
    27.7778%  { transform: translateX(-1427.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    65.2778%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-n-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    0.8333%   { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.5%      { transform: translateX(-1427.5px); animation-timing-function: linear; }
    12.5%     { transform: translateX(-1427.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    23.75%    { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-n-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    30.5556%  { opacity: 0; animation-timing-function: linear; }
    44.4444%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-n-op-re {
    0%        { opacity: 1; animation-timing-function: linear; }
    0.8333%   { opacity: 1; animation-timing-function: linear; }
    5.1667%   { opacity: 0; animation-timing-function: linear; }
    13.3333%  { opacity: 0; animation-timing-function: linear; }
    17.5%     { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-d-tf-in {
    0%        { transform: translateX(3263.0px); animation-timing-function: linear; }
    31.9444%  { transform: translateX(3263.0px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    69.4444%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-d-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    0.8333%   { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.5%      { transform: translateX(3263.0px); animation-timing-function: linear; }
    13.75%    { transform: translateX(3263.0px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    25%       { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-d-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    39.7222%  { opacity: 0; animation-timing-function: linear; }
    51.9444%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-d-op-re {
    0%        { opacity: 1; animation-timing-function: linear; }
    0.8333%   { opacity: 1; animation-timing-function: linear; }
    5.1667%   { opacity: 0; animation-timing-function: linear; }
    16.0833%  { opacity: 0; animation-timing-function: linear; }
    19.75%    { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-k-tf-in {
    0%        { transform: translateX(-2786.5px); animation-timing-function: linear; }
    31.9444%  { transform: translateX(-2786.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    69.4444%  { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-k-tf-re {
    0%        { transform: translateX(0px); animation-timing-function: linear; }
    0.8333%   { transform: translateX(0px); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    6.5%      { transform: translateX(-2786.5px); animation-timing-function: linear; }
    13.75%    { transform: translateX(-2786.5px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    25%       { transform: translateX(0px); animation-timing-function: linear; }
    100%      { transform: translateX(0px); animation-timing-function: linear; }
  }
  @keyframes wm4-k-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    39.7222%  { opacity: 0; animation-timing-function: linear; }
    51.9444%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-k-op-re {
    0%        { opacity: 1; animation-timing-function: linear; }
    0.8333%   { opacity: 1; animation-timing-function: linear; }
    5.1667%   { opacity: 0; animation-timing-function: linear; }
    16.0833%  { opacity: 0; animation-timing-function: linear; }
    19.75%    { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-stem-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    69.4444%  { opacity: 0; animation-timing-function: linear; }
    73.3333%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-stem-op-re {
    0%        { opacity: 1; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    2.0833%   { opacity: 0; animation-timing-function: linear; }
    25%       { opacity: 0; animation-timing-function: linear; }
    26.1667%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-stem-tf-in {
    0%        { transform: translate(-1028.5px, 0px) scale(0.55); animation-timing-function: linear; }
    69.4444%  { transform: translate(-1028.5px, 0px) scale(0.55); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    88.8889%  { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    93.3333%  { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    95.2778%  { transform: translate(0px, -12px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    98.6111%  { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    100%      { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
  }
  @keyframes wm4-stem-tf-re {
    0%        { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    2.0833%   { transform: translate(0px, 0px) scale(0.92); animation-timing-function: linear; }
    2.1667%   { transform: translate(-1028.5px, 0px) scale(0.55); animation-timing-function: linear; }
    25%       { transform: translate(-1028.5px, 0px) scale(0.55); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    30.8333%  { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    32.1667%  { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    32.75%    { transform: translate(0px, -12px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    33.75%    { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    100%      { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
  }
  @keyframes wm4-foot-op-in {
    0%        { opacity: 0; animation-timing-function: linear; }
    71.6667%  { opacity: 0; animation-timing-function: linear; }
    75.5556%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-foot-op-re {
    0%        { opacity: 1; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    2.0833%   { opacity: 0; animation-timing-function: linear; }
    25.6667%  { opacity: 0; animation-timing-function: linear; }
    26.8333%  { opacity: 1; animation-timing-function: linear; }
    100%      { opacity: 1; animation-timing-function: linear; }
  }
  @keyframes wm4-foot-tf-in {
    0%        { transform: translate(811.0px, 0px) scale(0.55); animation-timing-function: linear; }
    71.6667%  { transform: translate(811.0px, 0px) scale(0.55); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    90.5556%  { transform: translate(0px, 90px) scale(1); animation-timing-function: cubic-bezier(0.5, 0, 1, 1); }
    93.3333%  { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    95.2778%  { transform: translate(0px, -15px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    98.6111%  { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    100%      { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
  }
  @keyframes wm4-foot-tf-re {
    0%        { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    2.0833%   { transform: translate(0px, 0px) scale(0.92); animation-timing-function: linear; }
    2.1667%   { transform: translate(811.0px, 0px) scale(0.55); animation-timing-function: linear; }
    25.6667%  { transform: translate(811.0px, 0px) scale(0.55); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    31.3333%  { transform: translate(0px, 90px) scale(1); animation-timing-function: cubic-bezier(0.5, 0, 1, 1); }
    32.1667%  { transform: translate(0px, 0px) scale(1); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
    32.75%    { transform: translate(0px, -15px) scale(1); animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
    33.75%    { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
    100%      { transform: translate(0px, 0px) scale(1); animation-timing-function: linear; }
  }
  .hero-wordmark #ltr-A { animation: wm4-a-tf-in 3.6s linear 0s 1 both, wm4-a-tf-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-I { animation: wm4-i-tf-in 3.6s linear 0s 1 both, wm4-i-tf-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-E { animation: wm4-e-tf-in 3.6s linear 0s 1 both, wm4-e-tf-re 12s linear 12s infinite none, wm4-e-op-in 3.6s linear 0s 1 both, wm4-e-op-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-N { animation: wm4-n-tf-in 3.6s linear 0s 1 both, wm4-n-tf-re 12s linear 12s infinite none, wm4-n-op-in 3.6s linear 0s 1 both, wm4-n-op-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-D { animation: wm4-d-tf-in 3.6s linear 0s 1 both, wm4-d-tf-re 12s linear 12s infinite none, wm4-d-op-in 3.6s linear 0s 1 both, wm4-d-op-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-K { animation: wm4-k-tf-in 3.6s linear 0s 1 both, wm4-k-tf-re 12s linear 12s infinite none, wm4-k-op-in 3.6s linear 0s 1 both, wm4-k-op-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-L .stem { animation: wm4-stem-op-in 3.6s linear 0s 1 both, wm4-stem-op-re 12s linear 12s infinite none, wm4-stem-tf-in 3.6s linear 0s 1 both, wm4-stem-tf-re 12s linear 12s infinite none; }
  .hero-wordmark #ltr-L .foot { animation: wm4-foot-op-in 3.6s linear 0s 1 both, wm4-foot-op-re 12s linear 12s infinite none, wm4-foot-tf-in 3.6s linear 0s 1 both, wm4-foot-tf-re 12s linear 12s infinite none; }
}
/* <<< Hero wordmark motion */
.hero h1 { max-width: 17ch; margin-inline: auto; }
.hero h1 em {
  font-style: normal;
  color: var(--accent-deep);
  display: block;        /* "AI Accelerator." always starts its own line … */
  white-space: nowrap;   /* … and the logo's AI never separates from the word */
}
/* Hero headline "AI" rendered as the Wordmark 6b-1 A+I glyphs (2026-10-02b).
   The Sora 700 headline's cap height measured at 0.73em; the glyph's viewBox is its cap box
   (top = cap line, bottom = baseline, no descenders), so height:0.73em + vertical-align:baseline
   sits the glyphs on the text baseline at exactly the headline's cap height and scales with the
   responsive h1 at every breakpoint. Colour inherits the <em>'s accent-deep via currentColor —
   the same #1E648F the A and I already use in the wordmark. */
.hero h1 .ai-glyph {
  height: 0.73em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  margin-right: 0.16em;   /* air between the logo's AI and the next word (Ziz, Oct 2) */
}
/* visually-hidden: keeps the literal "AI" in the DOM for screen readers and crawlers while the
   decorative (aria-hidden) glyph SVG shows. */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero .lede { max-width: 620px; margin: 22px auto 0; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.hero-proof {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
}
.hero-proof span { display: inline-flex; align-items: center; }
.hero-proof span + span::before {
  content: "·";
  margin: 0 12px;
  color: var(--frost);
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 16px; }

/* ---------- Platform (pipeline rail) ---------- */
.platform { background: var(--white); border-block: 1px solid var(--frost-soft); }
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.platform-intro { position: sticky; top: 108px; }
.platform-intro p { margin-top: 16px; }
.whitelabel-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--ice);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.rail { list-style: none; position: relative; }
.rail::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(var(--frost), var(--accent), var(--frost));
  opacity: 0.55;
}
.rail li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
}
.rail-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--frost);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.rail li:hover .rail-num { border-color: var(--accent); }
.rail-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}
.rail h3 { margin-bottom: 6px; }
.rail p { color: var(--slate); font-size: 0.99rem; max-width: 52ch; }

/* ---------- Pull quote ---------- */
.quote { background: var(--ice); border-bottom: 1px solid var(--frost-soft); }
.quote .container {
  padding-block: clamp(56px, 8vw, 92px);
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 21ch;
  margin-inline: auto;
  color: var(--ink);
}
.quote blockquote .q-accent { color: var(--accent-deep); }
.quote figcaption {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Program (week cards) ---------- */
.weeks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.week-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: var(--radius-lg);
  padding: 30px 28px 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.week-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.week-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.week-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.week-card > p { color: var(--slate); font-size: 0.99rem; flex: 1; }
.done-when {
  margin: 22px -28px 0;
  padding: 16px 28px 18px;
  background: var(--ice);
  border-top: 1px solid var(--frost-soft);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.done-when svg { flex: none; margin-top: 3px; }
.done-when strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 2px;
}
.program-note {
  margin-top: 34px;
  text-align: center;
  color: var(--slate);
  font-size: 0.98rem;
}

/* ---------- Who it's for / invitation ---------- */
.fit { background: var(--white); border-block: 1px solid var(--frost-soft); }
.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.fit-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.fit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
}
.fit-list svg { flex: none; margin-top: 4px; }
.fit-list strong { font-weight: 600; }
.fit-list span { display: block; color: var(--slate); font-size: 0.95rem; }

.invite-card {
  background: linear-gradient(160deg, var(--ink) 0%, #16344a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 44px);
  position: relative;
  overflow: clip;
}
.invite-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 320px; height: 320px;
  border: 1.5px solid rgba(127, 196, 232, 0.25);
  border-radius: 50%;
}
.invite-card::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px; height: 220px;
  border: 1.5px solid rgba(127, 196, 232, 0.16);
  border-radius: 50%;
}
.invite-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ice);
  margin-bottom: 14px;
}
.invite-card h3 { font-size: 1.6rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.invite-card p { color: rgba(234, 243, 248, 0.85); font-size: 0.99rem; }
.invite-card p + p { margin-top: 12px; }
.invite-card .seats {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 196, 232, 0.25);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent-ice);
}

/* ---------- Pricing ---------- */
.pricing .section-head { margin-inline: auto; text-align: center; }
.price-card {
  max-width: 520px;
  margin-inline: auto;
  background: var(--white);
  border: 1.5px solid var(--frost);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(12,29,42,0.03), 0 24px 60px rgba(46, 133, 190, 0.12);
  overflow: clip;
}
.price-head {
  padding: 30px 34px 26px;
  border-bottom: 1px solid var(--frost-soft);
  text-align: center;
}
.price-head .cohort-name {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.price-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-top: 10px;
  line-height: 1;
}
.price-sub {
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.98rem;
}
.price-sub strong { color: var(--ink); font-weight: 600; }
.price-body { padding: 28px 34px 34px; }
.includes { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.includes svg { flex: none; margin-top: 4px; }
.price-body .btn { width: 100%; }
.price-fine {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: clip;
}
.cta-band .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 11vw, 136px);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band h2 em { font-style: normal; color: var(--accent-ice); }
.cta-band .lede { color: rgba(234, 243, 248, 0.75); max-width: 540px; margin: 18px auto 0; }
.cta-band .btn { margin-top: 34px; }
.cta-rings {
  position: absolute;
  left: 50%;
  bottom: -55%;
  transform: translateX(-50%);
  width: min(1200px, 150vw);
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- FAQ ---------- */
.faq .section-head { text-align: center; margin-inline: auto; }
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
details {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: var(--radius);
  overflow: clip;
}
details[open] { border-color: var(--accent); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary .chev {
  flex: none;
  transition: transform 0.2s ease;
  color: var(--accent-deep);
}
details[open] summary .chev { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px 22px;
  color: var(--slate);
  font-size: 0.98rem;
}
.faq-a p + p { margin-top: 10px; }
.faq-a strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--frost-soft);
  background: var(--white);
}
.footer-inner {
  padding-block: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.footer-brand img { width: auto; height: 36px; }
.footer-brand img.wordmark { width: auto; height: 21px; margin-left: -5px; }
.footer-tag { color: var(--slate); font-size: 0.9rem; width: 100%; max-width: 320px; }
.footer-links { display: flex; gap: 22px; font-size: 0.9rem; }
.footer-links a { color: var(--slate); }
.footer-links a:hover { color: var(--ink); }
.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .week-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .platform-grid, .fit-grid { grid-template-columns: 1fr; }
  .platform-intro { position: static; }
  .weeks { grid-template-columns: 1fr; }
}
/* With five nav links the row no longer fits beside the ALPHA chip and the CTA below ~900px (2026-10-01, Login added):
   fold the links into the Menu earlier. Everything else in the phone block still starts at 640px. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav .cta-long { display: none; }              /* phone label: "Join" (full label is the aria-label + in Menu) */
  .nav-inner { height: 62px; gap: 14px; }
  .nav .btn { padding: 10px 15px; font-size: 0.85rem; }   /* same compact CTA as /platform/ */
  .wordmark { font-size: 0.98rem; }
  .nav-brand img { height: 40px; }                        /* phone: narwhal ~40px tall */
  .nav-brand img.wordmark { height: 20.6px; }             /* phone: wordmark ~128px wide */
  .hero-mark { width: 90px; }
  .hero-wordmark { width: 240px; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 10.5vw, 2.5rem); }   /* the ch cap is for wide screens only */
  .hero-ctas .btn { width: 100%; }
  .rail::before { left: 19px; }
  .rail li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .rail-num { width: 40px; height: 40px; font-size: 0.85rem; }
  .price-head, .price-body { padding-inline: 22px; }
  .done-when { margin-inline: -22px; padding-inline: 22px; }
  .week-card { padding-inline: 22px; }
  .footer-brand { width: 100%; }
}
@media (max-width: 400px) {
  /* The bigger wordmark lockup (2026-10-02b) no longer fits beside the ALPHA pill + Menu + Join
     on narrow phones, so hide the pill below 400px rather than shrink the logo. The hero eyebrow
     still says "Alpha Community". */
  .nav .alpha-chip { display: none; }
}

/* ---------- Closing CTA (Jon 2026-09-30: narwhal + "pitch like a unicorn") ---------- */
.closer { text-align: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.closer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.closer-mark { width: clamp(96px, 12vw, 132px); height: auto; margin-bottom: 6px; }
.closer-line { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0; }
.closer-sub { max-width: 34em; margin: 0 auto 8px; }

/* ---------- Stats — "The name they remember" (ported from the old site's momentum beat, 2026-10-07) ----------
   Numbers live in the markup (no-JS / reduced-motion show them as-is); script.js §5 counts them up once. */
.stats-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--frost);
  border-radius: var(--radius-lg);
  padding: 32px 28px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.stat-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.stat-unit { color: var(--accent-deep); font-size: 0.62em; margin-left: 3px; letter-spacing: 0; }
.stat-text { margin-top: 16px; color: var(--slate); font-size: 0.99rem; flex: 1; }
.stat-source {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--frost-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.stat-source img { height: 20px; width: auto; }
.stat-source img[alt="Salesforce"] { height: 28px; }   /* the cloud mark is near-square; match the wordmarks' visual weight */
.stats h2 em { font-style: normal; color: var(--accent-deep); }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .stat-card { padding: 24px 22px 18px; }
  .stat-figure { font-size: 3.4rem; }
  .stat-source { margin-top: 18px; padding-top: 14px; }
}

/* ---------- Content merge (2026-10-10): testimonial inside the invite card ---------- */
.invite-card .stars { color: var(--accent-ice); letter-spacing: 0.2em; font-size: 1rem; margin-bottom: 14px; }
.invite-card .invite-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--white);
  position: relative;
  z-index: 1;
}
#whofor .whitelabel-note { margin-top: 30px; }
#chase .fit-list { margin-top: 0; }
/* Step / week cards without a "Done when" footer (the cohort cards were shortened, the How-it-works cards never had one):
   give the card its own bottom padding and keep the tag from absorbing the row's spare height. */
.week-card--plain { padding-bottom: 28px; }
.week-card--plain .week-tag { flex: none; }
