   /* ── CSS variables — dark defaults match stats.html Apple palette ─── */
    :root {
      --bg:          rgb(8, 8, 9);           /* = stats.html #080809        */
      --border:      rgba(84,84,88,.45);     /* = stats.html --border       */
      --text:        #FFFFFF;
      --muted:       rgba(235,235,245,.30);  /* = stats.html --muted        */
      --accent:      #0A84FF;               /* Apple blue = stats.html     */
      --accent-soft: rgba(10,132,255,.14);
      --panel:       rgb(28, 28, 30);        /* = stats.html --bg-primary   */

      --glass-border: rgba(255,255,255,.08);
      --glass-inset:  rgba(255,255,255,.04);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Ambient gradient — same as stats.html body::before */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background:
        radial-gradient(ellipse 80% 50% at 60% -8%,  rgba(10,132,255,.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255,159,10,.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 0%   85%,  rgba(48,209,88,.04)  0%, transparent 55%);
      pointer-events: none; z-index: 0;
    }

    /* ── Scroll progress ──────────────────────────────────────────────── */
    #bar {
      position: fixed; top: 0; left: 0;
      height: 2px; width: 0;
      background: var(--accent);
      z-index: 1000;
      transition: width .05s linear;
    }

    /* ── Dashboard CTA ───────────────────────────────────────────────── */
    #dashboard-cta { padding: 4rem 0 10rem; }

    .cta-card {
      background: rgba(28,28,30,.72);
      border: 1px solid var(--glass-border);
      border-radius: 20px; padding: 3.5rem 3rem;
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      box-shadow: 0 2px 32px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.04);
      display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
      max-width: 700px;
    }

    .cta-title {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800; line-height: 1.08;
      letter-spacing: -.04em; color: #FFFFFF;
    }

    .cta-body {
      font-size: .95rem; line-height: 1.75;
      color: rgba(235,235,245,.60); max-width: 480px;
    }

    .cta-features {
      list-style: none; padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: .7rem;
    }
    .cta-features li {
      display: flex; align-items: center; gap: .75rem;
      font-size: .88rem; color: rgba(235,235,245,.55);
      line-height: 1.4;
    }
    .feat-icon { font-size: 1.05rem; flex-shrink: 0; }

    .cta-btn {
      display: inline-flex; align-items: center; gap: .55rem;
      padding: .9rem 2rem;
      background: #0A84FF; color: #fff;
      font-weight: 700; font-size: .92rem;
      letter-spacing: -.01em; text-decoration: none;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(10,132,255,.38);
      transition: opacity .2s, transform .2s, box-shadow .2s;
    }
    .cta-btn:hover {
      opacity: .9; transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(10,132,255,.52);
    }
    .cta-btn svg { flex-shrink: 0; }

    /* ══════════════════════════════════════════════════════════════════
       HERO — sticky, main slides over it
    ══════════════════════════════════════════════════════════════════ */
    #hero {
      position: sticky; top: 0;
      height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center; padding: 0 2rem;
      overflow: hidden; z-index: 0;
    }

    /* animated grid backdrop — Apple blue matches stats.html accent */
    .h-grid {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(10,132,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,132,255,.07) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 40%, transparent 100%);
      animation: gridDrift 18s linear infinite;
    }
    @keyframes gridDrift {
      from { background-position: 0 0; }
      to   { background-position: 64px 64px; }
    }

    /* radial glow */
    .h-glow {
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 65% 55% at 50% 45%, rgba(10,132,255,.18) 0%, transparent 70%);
      pointer-events: none;
    }

    /* hero inner gets parallax + fade from JS */
    #hero-inner {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center;
      will-change: transform, opacity;
    }

    .h-eyebrow {
      font-size: .72rem; letter-spacing: .3em;
      text-transform: uppercase;
      color: var(--accent); margin-bottom: 1.4rem;
      font-family: 'League Spartan', sans-serif;
      animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .1s both;
    }

    .h-title {
      font-size: clamp(3.5rem, 11vw, 8.5rem);
      font-weight: 900; line-height: .95;
      letter-spacing: -.03em;
      color: var(--text);
      font-family: 'League Spartan', sans-serif;
    }
    .h-word {
      display: inline-block;
      animation: slideUp .9s cubic-bezier(.16,1,.3,1) both;
    }
    .h-word:nth-child(1) { animation-delay: .15s; }
    .h-word:nth-child(2) { color: var(--accent); animation-delay: .27s; }

    .h-sub {
      margin-top: 1.8rem;
      font-size: 1rem; line-height: 1.7;
      color: var(--muted); max-width: 440px;
      font-family: 'Inter', sans-serif;
      animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .55s both;
    }

    /* GitHub button */
    .gh-btn {
      display: inline-flex; align-items: center; gap: .6rem;
      margin-top: 2.4rem;
      padding: .9rem 2rem;
      background: linear-gradient(135deg, #0A84FF 0%, rgb(99,102,241) 100%);
      color: #fff; font-weight: 700; font-size: .88rem;
      letter-spacing: .02em; text-decoration: none;
      border-radius: 999px; font-family: 'Inter', sans-serif;
      box-shadow: 0 0 28px rgba(10,132,255,.4);
      animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .72s both;
      transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    }
    .gh-btn:hover {
      transform: translateY(-2px) scale(1.03);
      box-shadow: 0 0 44px rgba(10,132,255,.55);
      filter: brightness(1.1);
    }
    .gh-btn svg { flex-shrink: 0; }

    /* scroll cue */
    .h-cue {
      position: absolute; bottom: 2.2rem;
      display: flex; flex-direction: column; align-items: center; gap: .45rem;
      font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
      color: var(--muted); font-family: 'Inter', sans-serif;
      animation: fadeUp .6s ease .9s both;
    }
    .h-cue-line {
      width: 1px; height: 44px;
      background: linear-gradient(to bottom, var(--accent), transparent);
      transform-origin: top;
      animation: scanDown 1.6s ease-in-out infinite;
    }
    @keyframes scanDown {
      0%   { transform: scaleY(0); opacity: 0; }
      40%  { transform: scaleY(1); opacity: 1; }
      100% { transform: scaleY(1); opacity: 0; }
    }

    /* shared keyframes */
    @keyframes slideUp {
      from { transform: translateY(70px); opacity: 0; }
      to   { transform: translateY(0);    opacity: 1; }
    }
    @keyframes fadeUp {
      from { transform: translateY(24px); opacity: 0; }
      to   { transform: translateY(0);    opacity: 1; }
    }

    /* ══════════════════════════════════════════════════════════════════
       MAIN — slides over sticky hero
    ══════════════════════════════════════════════════════════════════ */
    main {
      position: relative; z-index: 1;
      background: var(--bg);
    }

    /* shimmer edge so main doesn't hard-cut over hero */
    main::before {
      content: '';
      display: block; height: 120px;
      background: linear-gradient(to bottom, transparent, var(--bg));
      margin-top: -120px;
      position: relative; z-index: 2;
    }

    .wrap { max-width: 980px; margin: 0 auto; padding: 0 2rem; }

    /* ── Teaser ───────────────────────────────────────────────────── */
    #teaser { padding: 9rem 0 6rem; }

    /* subtle glass panel behind the teaser block */
    #teaser .teaser-inner {
      background: rgba(28,28,30,.55);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 3rem 3rem 3.5rem;
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      box-shadow: 0 2px 24px rgba(0,0,0,.2), inset 0 0 0 .5px rgba(255,255,255,.04);
    }

    .teaser-kicker {
      font-size: .7rem; letter-spacing: .28em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 1.8rem; font-weight: 700;
    }

    .teaser-text {
      font-size: clamp(1.9rem, 5vw, 3.4rem);
      font-weight: 800; line-height: 1.12;
      letter-spacing: -.03em;
      color: var(--text); max-width: 760px;
    }
    .teaser-text em { font-style: normal; color: var(--accent); }

    /* ── Stats grid — glass cards ─────────────────────────────────── */
    #stats { padding: 4rem 0 6rem; }

    .stats-label {
      font-size: .7rem; letter-spacing: .25em;
      text-transform: uppercase; color: var(--accent);
      margin-bottom: 2.5rem; font-weight: 600;
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: .75rem;
    }

    .stat-card {
      background: rgba(44,44,46,.65);
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      padding: 1.75rem 1.5rem;
      display: flex; flex-direction: column; gap: .35rem;
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      box-shadow: 0 2px 16px rgba(0,0,0,.22), inset 0 0 0 .5px rgba(255,255,255,.04);
      transition: border-color .2s, transform .2s;
    }
    .stat-card:hover {
      border-color: rgba(10,132,255,.35);
      transform: translateY(-2px);
    }

    .stat-label {
      font-size: .68rem; letter-spacing: .09em;
      text-transform: uppercase; color: var(--muted);
      font-weight: 600;
    }

    .stat-value {
      font-size: 2.4rem; font-weight: 900;
      line-height: 1; color: var(--text);
      letter-spacing: -.04em;
    }
    .stat-value.accent { color: var(--accent); }

    .stat-sub { font-size: .75rem; color: var(--muted); margin-top: .15rem; }

    /* ── Coming soon — prominent glass card ──────────────────────── */
    #coming { border-top: 1px solid var(--border); padding: 5rem 0 7rem; }

    .coming-box {
      border: 1px solid var(--glass-border);
      border-radius: 20px; padding: 3.5rem 3rem;
      background: var(--panel);
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      box-shadow: 0 2px 32px rgba(0,0,0,.22), inset 0 0 0 .5px var(--glass-inset);
      display: flex; flex-direction: column; align-items: flex-start;
      gap: 1.25rem;
    }

    .coming-tag {
      font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
      padding: .28rem .8rem; border-radius: 999px; font-weight: 700;
      background: var(--accent-soft); color: var(--accent);
    }

    .coming-title {
      font-size: clamp(1.6rem, 4vw, 2.6rem);
      font-weight: 800; line-height: 1.12;
      color: var(--text); letter-spacing: -.03em;
    }

    .coming-body {
      font-size: .94rem; color: var(--muted);
      line-height: 1.75; max-width: 520px;
    }

    .coming-cta {
      display: inline-flex; align-items: center; gap: .55rem;
      padding: .72rem 1.6rem;
      border: 1.5px solid var(--accent); border-radius: 10px;
      color: var(--accent); font-size: .82rem; font-weight: 700;
      letter-spacing: .03em; text-decoration: none;
      transition: background .2s, color .2s, box-shadow .2s;
    }
    .coming-cta:hover {
      background: var(--accent); color: #fff;
      box-shadow: 0 0 24px var(--accent-soft);
    }
    .coming-cta svg { flex-shrink: 0; }

    .coming-dots { display: flex; gap: .5rem; margin-top: .25rem; }
    .dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--accent-soft);
      border: 1px solid var(--accent);
      animation: pulse 1.8s ease-in-out infinite;
    }
    .dot:nth-child(2) { animation-delay: .3s; }
    .dot:nth-child(3) { animation-delay: .6s; }
    @keyframes pulse {
      0%, 100% { opacity: .3; transform: scale(1); }
      50%       { opacity: 1;  transform: scale(1.3); }
    }

    /* ── Reveal animations ────────────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(48px);
      transition: opacity .9s cubic-bezier(.16,1,.3,1),
                  transform .9s cubic-bezier(.16,1,.3,1);
    }
    .reveal.in { opacity: 1; transform: none; }

    .stagger > * {
      opacity: 0; transform: translateY(36px);
      transition: opacity .75s cubic-bezier(.16,1,.3,1),
                  transform .75s cubic-bezier(.16,1,.3,1);
    }
    .stagger.in > *:nth-child(1) { transition-delay: .00s; }
    .stagger.in > *:nth-child(2) { transition-delay: .07s; }
    .stagger.in > *:nth-child(3) { transition-delay: .14s; }
    .stagger.in > *:nth-child(4) { transition-delay: .21s; }
    .stagger.in > *:nth-child(5) { transition-delay: .28s; }
    .stagger.in > *:nth-child(6) { transition-delay: .35s; }
    .stagger.in > *:nth-child(7) { transition-delay: .42s; }
    .stagger.in > *:nth-child(8) { transition-delay: .49s; }
    .stagger.in > * { opacity: 1; transform: none; }
