
    :root {
      color-scheme: dark;
      --paper: #050607;
      --paper-soft: #0b0e11;
      --ink: #f2f4f5;
      --muted: rgb(233 240 244 / .92);
      --line: rgb(232 240 244 / .13);
      --glass: rgb(11 14 17 / .58);
      --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;
      --ease: cubic-bezier(.22, .61, .36, 1);
    }

    * { box-sizing: border-box; }
    html, body { width: 100%; min-height: 100%; margin: 0; background: var(--paper); }
    body { color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
    button, a { font: inherit; }

    html { scroll-behavior: smooth; scroll-padding-top: 108px; }

    /* Page top bar: nav reused from home, made a sticky static header (no hero dependency) */
    .page-top {
      position: sticky;
      top: 0;
      z-index: 20;
      padding: max(18px, env(safe-area-inset-top)) 0 14px;
      background: linear-gradient(180deg, rgb(5 6 7 / .92), rgb(5 6 7 / .72) 62%, transparent);
      backdrop-filter: blur(6px);
    }
    .nav-shell {
      position: relative;
      z-index: 6;
      left: 50%;
      width: min(92vw, 1180px);
      min-height: 64px;
      translate: -50% 0;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 8px 10px 8px 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--glass);
      box-shadow: 0 18px 70px rgb(0 0 0 / .38), inset 0 1px 0 rgb(255 255 255 / .06);
      backdrop-filter: blur(18px) saturate(112%);
      opacity: 1;
    }
    .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
    .brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; }
    .brand-copy { display: grid; gap: 1px; min-width: 0; }
    .brand-name { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
    .brand-meta { color: var(--muted); font-size: 9px; letter-spacing: .23em; white-space: nowrap; }
    .nav-links { display: flex; align-items: center; gap: 4px; }
    .nav-links a {
      color: var(--muted);
      font-size: 13px;
      font-weight: 500;
      text-decoration: none;
      white-space: nowrap;
      padding: 13px 18px;
      border-radius: 999px;
      transition: color 180ms var(--ease), background 180ms var(--ease);
    }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); background: rgb(255 255 255 / .055); }
    .nav-links a[aria-current="page"] { color: var(--ink); background: rgb(255 255 255 / .055); }
    .nav-spacer { justify-self: end; }

    .site-content {
      position: relative;
      overflow: clip;
      background:
        radial-gradient(circle at 12% 18%, rgb(85 171 205 / .10), transparent 24%),
        radial-gradient(circle at 86% 58%, rgb(161 211 230 / .07), transparent 26%),
        linear-gradient(180deg, #050607, #070a0d 48%, #040506);
    }
    .site-content::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: .17;
      background-image:
        linear-gradient(rgb(192 225 237 / .08) 1px, transparent 1px),
        linear-gradient(90deg, rgb(192 225 237 / .08) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: linear-gradient(180deg, transparent, #000 9%, #000 86%, transparent);
    }
    .content-section { position: relative; z-index: 1; padding: 12px 0; }
    .content-wrap { width: 80vw; max-width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
    .section-head { max-width: 1120px; margin-bottom: clamp(32px, 4vw, 52px); }
    .section-label {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 22px;
      color: rgb(233 240 244 / .9);
      font-size: 10px;
      letter-spacing: .24em;
      text-transform: uppercase;
    }
    .section-label::before { content: ""; width: 34px; height: 1px; background: rgb(176 217 234 / .45); }
    .section-title {
      max-width: none;
      margin: 0;
      color: var(--ink);
      font-size: clamp(22px, 2.6vw, 32px);
      font-weight: 500;
      letter-spacing: -.01em;
      line-height: 1.2;
    }
    .section-lede { max-width: 1040px; margin: 20px 0 0; color: var(--muted); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }

    /* Page header (H1 + intro), replaces hero */
    .page-header { padding: clamp(46px, 8vw, 96px) 0 clamp(20px, 3vw, 40px); }
    .page-eyebrow {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      color: rgb(233 240 244 / .9);
      font-size: 10px;
      letter-spacing: .24em;
      text-transform: uppercase;
    }
    .page-eyebrow::before { content: ""; width: 34px; height: 1px; background: rgb(176 217 234 / .45); }
    .page-h1 {
      margin: 0;
      max-width: 900px;
      color: var(--ink);
      font-size: clamp(30px, 4.2vw, 54px);
      font-weight: 500;
      letter-spacing: .01em;
      line-height: 1.12;
    }
    .page-intro {
      margin: 26px 0 0;
      max-width: 760px;
      color: var(--muted);
      font-size: clamp(15px, 1.3vw, 18px);
      line-height: 1.62;
    }

    /* Tally overview: three live counts at the top of the page */
    .tally-section { padding: clamp(6px, 1.4vw, 18px) 0 clamp(30px, 4vw, 52px); }
    .tally-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(14px, 1.6vw, 22px);
    }
    .tally-card {
      display: block;
      position: relative;
      overflow: hidden;
      text-decoration: none;
      border: 1px solid rgb(205 228 237 / .15);
      border-radius: 24px;
      padding: clamp(24px, 2.6vw, 36px);
      background: linear-gradient(160deg, rgb(16 21 26 / .94), rgb(7 10 13 / .88));
      box-shadow: 0 30px 90px rgb(0 0 0 / .5), inset 0 1px rgb(255 255 255 / .07);
      backdrop-filter: blur(22px);
      transition: translate 500ms var(--ease), border-color 500ms var(--ease), box-shadow 500ms var(--ease);
    }
    .tally-card:hover,
    .tally-card:focus-visible {
      translate: 0 -4px;
      border-color: rgb(205 228 237 / .3);
      box-shadow: 0 40px 110px rgb(0 0 0 / .58), inset 0 1px rgb(255 255 255 / .1);
    }
    .tally-card:focus-visible { outline: 1px solid rgb(176 217 234 / .55); outline-offset: 3px; }
    .tally-num {
      display: block;
      color: var(--ink);
      font-size: clamp(44px, 5.6vw, 68px);
      font-weight: 500;
      letter-spacing: -.02em;
      line-height: 1;
    }
    .tally-title {
      display: block;
      margin-top: 14px;
      color: var(--ink);
      font-size: clamp(16px, 1.4vw, 20px);
      font-weight: 500;
      letter-spacing: -.01em;
    }
    .tally-label {
      display: block;
      margin-top: 6px;
      color: rgb(233 240 244 / .9);
      font-size: 10px;
      letter-spacing: .2em;
      text-transform: uppercase;
    }
    @media (max-width: 560px) {
      .tally-grid { grid-template-columns: 1fr; }
    }

    /* Tier blocks */
    .tier { position: relative; padding: clamp(28px, 4vw, 46px) 0; border-top: 1px solid rgb(211 232 239 / .09); }
    .tier:first-of-type { border-top: 0; }
    .tier-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid rgb(205 228 237 / .15);
      border-radius: 30px;
      padding: clamp(26px, 3.2vw, 44px);
      background: linear-gradient(160deg, rgb(16 21 26 / .94), rgb(7 10 13 / .88));
      box-shadow: 0 30px 90px rgb(0 0 0 / .5), inset 0 1px rgb(255 255 255 / .07);
      backdrop-filter: blur(22px);
    }
    .tier-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: .9;
      background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 20%), rgb(128 205 233 / .10), transparent 58%);
    }
    .tier-inner { position: relative; z-index: 2; }
    .tier-index { color: rgb(233 240 244 / .9); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
    .tier-h2 {
      margin: 14px 0 0;
      max-width: 820px;
      color: var(--ink);
      font-size: clamp(21px, 2.5vw, 31px);
      font-weight: 500;
      letter-spacing: -.02em;
      line-height: 1.16;
    }
    .tier-pain {
      margin: 18px 0 0;
      max-width: 760px;
      color: rgb(233 240 244 / .9);
      font-size: clamp(13px, 1.05vw, 15px);
      line-height: 1.55;
      letter-spacing: .01em;
    }
    .tier-body { margin: 26px 0 0; max-width: 820px; }
    .tier-body p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: clamp(14px, 1.1vw, 16px);
      line-height: 1.68;
    }
    .tier-body p:last-child { margin-bottom: 0; }
    .tier-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
    .tier-tags span {
      padding: 9px 14px;
      border: 1px solid rgb(200 227 237 / .12);
      border-radius: 999px;
      color: rgb(233 240 244 / .9);
      background: rgb(255 255 255 / .025);
      font-size: 10px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .tier-note { margin: 24px 0 0; color: rgb(233 240 244 / .9); font-size: 12px; line-height: 1.6; }

    /* Tier demos (V4): demo boxes + overview link under each tier */
    .tier-demos { margin: 34px 0 0; padding-top: 30px; border-top: 1px solid rgb(211 232 239 / .09); }
    .tier-demos-label { color: rgb(233 240 244 / .9); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
    .demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); margin-top: 18px; }
    .demo-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .demo-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgb(205 228 237 / .13); border-radius: 18px; background: rgb(255 255 255 / .022); transition: border-color 400ms var(--ease); }
    .demo-card:hover { border-color: rgb(205 228 237 / .26); }
    .demo-media { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; color: rgb(233 240 244 / .9); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(160deg, rgb(20 26 32 / .9), rgb(9 12 15 / .85)); border-bottom: 1px solid rgb(205 228 237 / .1); }
    .demo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .demo-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
    .demo-title { margin: 0; color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
    .demo-desc { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
    .demo-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 18px; border: 1px solid rgb(205 228 237 / .22); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: .04em; transition: border-color 400ms var(--ease), background 400ms var(--ease); }
    .demo-link:hover, .demo-link:focus-visible { border-color: rgb(205 228 237 / .4); background: rgb(255 255 255 / .04); }
    .demo-link:focus-visible { outline: 1px solid rgb(176 217 234 / .55); outline-offset: 3px; }
    @media (max-width: 640px) { .demo-grid { grid-template-columns: 1fr; } }

    /* Footer reused from home */
    .site-footer { position: relative; z-index: 1; border-top: 1px solid rgb(211 232 239 / .09); margin-top: clamp(40px, 6vw, 80px); }
    .footer-inner { width: 80vw; max-width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 48px; display: flex; justify-content: space-between; gap: 24px; color: rgb(233 240 244 / .9); font-size: 12px; }
    .footer-links { display: flex; gap: 22px; }
    .footer-links a { color: inherit; text-decoration: none; }
    .footer-links a:hover { color: var(--ink); }

    .reveal { opacity: 0; translate: 0 18px; transition: opacity 800ms var(--ease), translate 800ms var(--ease); }
    .reveal.is-visible { opacity: 1; translate: 0 0; }

    @media (max-width: 760px) {
      .nav-shell { grid-template-columns: 1fr auto; width: calc(100% - 24px); padding-left: 10px; }
      .nav-links { display: none; }
      .brand-meta { display: none; }
      .brand img { width: 34px; height: 34px; }
      .page-h1 { font-size: clamp(28px, 8vw, 40px); }
    }
    @media (max-width: 560px) {
      .content-wrap { width: calc(100% - 24px); max-width: none; }
      .tier-shell { border-radius: 24px; padding: 26px; }
      .footer-inner { align-items: flex-start; flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal { opacity: 1; translate: none; }
    }
  
    /* V4 demo: github/closed badge + empty state (shared by subpages) */
    .demo-gh { display: inline-block; margin-top: auto; padding-top: 12px; color: rgb(176 217 234 / .82); font-size: 11px; letter-spacing: .06em; text-decoration: none; }
    .demo-gh:hover, .demo-gh:focus-visible { color: var(--ink); }
    .demo-gh-closed { color: rgb(233 240 244 / .9); }
    .demo-empty { grid-column: 1 / -1; padding: 26px; border: 1px dashed rgb(205 228 237 / .18); border-radius: 18px; color: rgb(233 240 244 / .9); font-size: 13px; text-align: center; letter-spacing: .04em; }

    /* V4 demo: pipeline flow line (style A: human readable name + one line arrow flow) */
    .demo-pipeline { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
    .demo-arrow { color: rgb(176 217 234 / .55); padding: 0 3px; }

/* FAQ always expanded, no click to toggle (all FAQs open by default) */
details.faq-item > summary.faq-q { cursor: default; pointer-events: none; }
details.faq-item > summary.faq-q::after { display: none !important; }
