:root {
    --cobalt: #1D4ED8;
    --coral: #FF5A4A;
    --coral-ink: #D23A2A;
    --cream: #FFF7E6;
    --mint: #CFF5E5;
    --charcoal: #1F1F1F;
    --sunshine: #FFE97A;
    --white: #FFFFFF;
    --navy: #16275E;
    --ink-soft: #4B4B47;
    --line: rgba(31,31,31,.14);
    --max: 1140px;
  }
  * { box-sizing: border-box; }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }
  body { margin: 0; background: var(--cream); color: var(--charcoal); font-family: var(--body); font-size: 16px; line-height: 1.65; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

  /* ── Buttons ── */
  .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 15.5px; line-height: 1; border-radius: 999px; padding: 15px 26px; cursor: pointer; text-decoration: none; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: var(--cobalt); color: var(--white); box-shadow: 0 2px 0 rgba(31,31,31,.25); }
  .btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 5px 0 rgba(31,31,31,.22); }
  .btn-outline { background: var(--white); color: var(--charcoal); border-color: var(--charcoal); }
  .btn-outline:hover { background: var(--sunshine); transform: translateY(-2px) scale(1.03); }
  .btn-coral { background: var(--coral-ink); color: var(--white); box-shadow: 0 2px 0 rgba(31,31,31,.25); }
  .btn-coral:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 5px 0 rgba(31,31,31,.22); }

  /* ── Chips & stickers ── */
  .chip { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); border: 1.5px solid var(--charcoal); border-radius: 999px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .sticker { display: inline-block; font-weight: 700; border-radius: 12px; padding: 10px 16px; line-height: 1.25; box-shadow: 0 3px 0 rgba(31,31,31,.18); border: 2px solid var(--charcoal); }

  /* ── Nav ── */
  nav { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1.5px solid var(--line); }
  .nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
  .nav-inner .logo { margin-right: auto; }
  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a { text-decoration: none; color: var(--charcoal); font-weight: 500; font-size: 15px; transition: color .15s; }
  .nav-links a:hover { color: var(--cobalt); }
  .nav-links a.active { color: var(--cobalt); font-weight: 700; }
  .nav-cta { padding: 12px 22px; }

  /* ── Section scaffolding ── */
  section { padding: 80px 0; }
  .eyebrow { display: inline-block; background: var(--cobalt); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 8px; padding: 6px 14px; margin: 0 0 14px; }
  h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.005em; }
  h2 .hl-coral { color: var(--coral); }
  .sec-sub { color: var(--ink-soft); font-size: 17px; max-width: 56ch; margin: 0; }

  /* ── Hero ── */
  .hero { padding: 84px 0 64px; position: relative; overflow-x: clip; }
  h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 62px); line-height: 1.08; letter-spacing: -.01em; margin: 22px 0 0; max-width: 15ch; }
  h1 .hl-coral { color: var(--coral); }
  .hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 22px 0 30px; }
  .hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

  /* ── Featured sprint (core) ── */
  .featured { background: var(--white); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); overflow-x: clip; }
  .feat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 22px; border-bottom: 2px solid var(--charcoal); }
  .feat-head-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
  .feat-pair { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
  .feat-no { font-family: var(--body); font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--cobalt); border: 1.5px solid var(--cobalt); border-radius: 8px; padding: 6px 12px; }
  .feat-meta { font-family: var(--display); font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; color: var(--charcoal); }
  .feat-dot { color: rgba(31,31,31,.35); font-weight: 700; }
  .feat-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: var(--mint); border: 1.5px solid var(--charcoal); border-radius: 999px; padding: 7px 14px 7px 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .feat-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral-ink); border: 1.5px solid var(--charcoal); }
  .feat-lead { max-width: 58ch; margin: 22px 0 0; font-size: 17px; color: var(--ink-soft); line-height: 1.6; }

  .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; }

  /* Opportunity at a glance (the market, nested in the sprint) */
  .opp { margin-top: 30px; border: 2px solid var(--charcoal); border-radius: 24px; background: var(--cream); box-shadow: 0 5px 0 rgba(31,31,31,.18); padding: 30px clamp(24px, 3.4vw, 40px) 30px; }
  .opp-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--cobalt); }
  .opp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border-top: 1.5px solid rgba(31,31,31,.18); border-bottom: 1.5px solid rgba(31,31,31,.18); }
  .opp-stat { min-width: 0; padding: 20px 20px; border-right: 1.5px solid rgba(31,31,31,.18); }
  .opp-stat:first-child { padding-left: 0; }
  .opp-stat:last-child { padding-right: 0; border-right: 0; }
  .opp-num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.02; font-variant-numeric: tabular-nums; color: var(--cobalt); }
  .opp-stat:last-child .opp-num { font-size: clamp(22px, 2.4vw, 30px); color: var(--coral-ink); }
  .opp-cap { display: block; margin-top: 9px; font-size: 13px; font-weight: 650; color: var(--ink-soft); line-height: 1.4; }
  .opp-line { max-width: 62ch; margin: 24px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--charcoal); }
  .opp-tail { display: flex; gap: 10px; max-width: 62ch; margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
  .opp-tail-ic { flex: none; margin-top: 2px; }
  .opp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; font-size: 15.5px; color: var(--cobalt); text-decoration: none; }
  .opp-link:hover { color: var(--coral-ink); }
  .opp-link .arr { transition: transform .2s ease; }
  .opp-link:hover .arr { transform: translateX(4px); }

  /* Problem + prize (varied two-up, single-level cards) */
  .feat-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-top: 22px; align-items: stretch; }
  .feat-problem, .feat-prize { border: 2px solid var(--charcoal); border-radius: 20px; padding: 26px 28px; box-shadow: 0 4px 0 rgba(31,31,31,.18); }
  .feat-problem { background: var(--white); }
  .feat-prize { background: var(--sunshine); position: relative; }
  .feat-tag { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal); opacity: .72; }
  .feat-problem p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
  .feat-prize p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--charcoal); }
  .feat-prize p b { font-family: var(--display); font-weight: 600; }
  .prize-crown { position: absolute; top: 18px; right: 20px; transform: rotate(8deg); }

  .feat-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

  /* ── Past sprints (empty state) ── */
  .past-board { max-width: 640px; margin: 40px auto 0; }
  .past-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; border: 2px dashed rgba(31,31,31,.4); border-radius: 24px; background: var(--white); padding: 48px 32px 44px; }
  .past-ic { display: grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid var(--charcoal); border-radius: 14px; background: var(--mint); box-shadow: 0 3px 0 rgba(31,31,31,.18); }
  .past-sticker { margin-top: 16px; display: inline-block; background: var(--sunshine); border: 2px solid var(--charcoal); border-radius: 10px; box-shadow: 0 3px 0 rgba(31,31,31,.18); padding: 7px 13px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transform: rotate(-3deg); }
  .past-empty p { margin: 16px 0 0; max-width: 42ch; font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }
  .past-ghosts { margin-top: 22px; }
  .past-next-label { display: block; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(31,31,31,.34); margin-bottom: 14px; }
  .past-ghost-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .past-ghost { display: flex; flex-direction: column; gap: 12px; min-height: 104px; border: 2px dashed rgba(31,31,31,.2); border-radius: 18px; background: rgba(255,255,255,.5); padding: 18px 20px; }
  .past-ghost-no { align-self: flex-start; font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .1em; color: rgba(31,31,31,.32); border: 1.5px dashed rgba(31,31,31,.28); border-radius: 8px; padding: 5px 10px; }
  .past-ghost-lines { display: grid; gap: 9px; margin-top: 2px; }
  .past-ghost-bar { height: 9px; border-radius: 999px; background: rgba(31,31,31,.08); }
  .past-ghost-bar.short { width: 52%; }

  /* ── Stay updated ── */
  .stay { overflow-x: clip; }
  .stay-card { position: relative; border: 2px solid var(--charcoal); border-radius: 24px; background: var(--white); box-shadow: 0 5px 0 rgba(31,31,31,.2); padding: 48px clamp(28px, 4vw, 56px); }
  .stay-arrow { position: absolute; top: -26px; right: 44px; z-index: 2; }
  .stay-main { max-width: 60ch; }
  .stay-main .chip { background: var(--sunshine); }
  .stay-card h2 { margin: 16px 0 0; }
  .stay-card h2 .hl-coral { color: var(--coral); }
  .stay-copy { margin: 16px 0 26px; font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 52ch; }
  .stay-op { margin: 22px 0 0; font-size: 14.5px; color: var(--ink-soft); }
  .stay-op a { color: var(--cobalt); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .stay-op a:hover { color: var(--coral-ink); }

  /* ── Footer ── */
  footer { background: var(--navy); color: var(--cream); padding: 64px 0 0; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 44px; align-items: start; }
  .foot-brand p { margin: 16px 0 0; font-size: 14.5px; color: rgba(255,247,230,.72); max-width: 30ch; line-height: 1.55; }
  .foot-h { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,247,230,.55); margin: 0 0 16px; }
  .foot-col { min-width: 0; }
  .foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
  .foot-col a { color: var(--cream); text-decoration: none; font-size: 14.5px; font-weight: 500; }
  .foot-col a:hover { color: var(--sunshine); }
  .foot-social { display: flex; align-items: center; gap: 9px; }
  .foot-social svg { flex: none; }
  .foot-nl-pitch { margin: 0 0 14px; font-size: 14px; color: rgba(255,247,230,.72); line-height: 1.5; max-width: 28ch; }
  .foot-nl-done { display: none; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--sunshine); }
  .foot-prov p { margin: 0 0 10px; font-size: 14.5px; color: rgba(255,247,230,.72); line-height: 1.55; }
  .foot-prov .flag { font-size: 13px; color: var(--cream); font-weight: 600; }
  .foot-base { border-top: 1px solid rgba(255,247,230,.15); margin-top: 52px; padding: 20px 0; }
  .foot-base .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .foot-base p { margin: 0; font-size: 12.5px; color: rgba(255,247,230,.5); }

  /* ── Mobile nav ── */
  .nav-burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--charcoal); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; padding: 0; }
  .nav-burger svg { display: block; }
  .nav-burger .x-icon { display: none; }
  nav.open .nav-burger .bars-icon { display: none; }
  nav.open .nav-burger .x-icon { display: block; }
  .nav-mobile { display: none; border-top: 1.5px solid var(--line); padding: 10px 32px 24px; background: var(--cream); }
  nav.open .nav-mobile { display: block; }
  .nav-mobile a { display: block; padding: 14px 2px; text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: 17px; border-bottom: 1px solid rgba(31,31,31,.1); }
  .nav-mobile a.btn { border-bottom: none; margin-top: 16px; display: flex; justify-content: center; color: var(--white); }

  /* ── Skip link ── */
  .skip-link { position: absolute; left: 16px; top: -200px; z-index: 100; background: var(--cobalt); color: var(--white); font-family: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--charcoal); box-shadow: 0 3px 0 rgba(31,31,31,.25); transition: top .15s ease; }
  .skip-link:focus { top: 16px; }
  main:focus { outline: none; }

  /* ── Focus-visible rings ── */
  a:focus-visible, button:focus-visible, .btn:focus-visible,
  .nav-links a:focus-visible, .nav-burger:focus-visible, .logo:focus-visible, .skip-link:focus-visible {
    outline: 3px solid var(--cobalt); outline-offset: 2px;
  }
  footer a:focus-visible, footer button:focus-visible {
    outline-color: var(--sunshine);
  }

  /* ── Reveal ── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
    .reveal.in { opacity: 1; transform: none; }
  }

  @media (max-width: 920px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .feat-row { grid-template-columns: 1fr; }
    .opp-stats { grid-template-columns: 1fr 1fr; }
    .opp-stat { padding: 18px 18px; border-bottom: 1.5px solid rgba(31,31,31,.18); }
    .opp-stat:nth-child(2) { border-right: 0; }
    .opp-stat:nth-child(3), .opp-stat:nth-child(4) { border-bottom: 0; }
    .opp-stat:first-child { padding-left: 18px; }
    .opp-stat:last-child { padding-right: 18px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-col ul { gap: 4px; }
    .foot-col a { min-height: 44px; display: flex; align-items: center; }
  }
  @media (max-width: 600px) {
    .wrap { padding: 0 22px; }
    .nav-mobile { padding: 10px 22px 24px; }
    .hero { padding: 48px 0 48px; }
    h1 { font-size: clamp(34px, 9.5vw, 44px); }
    .hero-sub { font-size: 16.5px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    section { padding: 52px 0; }
    h2 { font-size: clamp(26px, 7.2vw, 34px); }
    .feat-status { margin-left: 0; }
    .opp { padding: 24px 20px; }
    .opp-stats { grid-template-columns: 1fr; }
    .opp-stat, .opp-stat:first-child, .opp-stat:last-child { padding: 16px 0; border-right: 0; border-bottom: 1.5px solid rgba(31,31,31,.18); }
    .opp-stat:last-child { border-bottom: 0; }
    .feat-ctas .btn { width: 100%; justify-content: center; }
    .past-empty { padding: 36px 22px 32px; }
    .past-ghost-row { gap: 14px; }
    .past-ghost { min-height: 92px; padding: 14px 15px; }
    .stay-card { padding: 36px 24px; }
    .stay-arrow { display: none; }
    .foot-grid { grid-template-columns: 1fr; gap: 34px; }
    .foot-base .wrap { flex-direction: column; gap: 6px; }
  }
