  :root {
    --navy: #080C14;
    --navy-mid: #0D1524;
    --navy-card: #111827;
    --indigo: #4F46E5;
    --indigo-light: #6366F1;
    --cyan: #00D4FF;
    --white: #F0F4FF;
    --slate: #8B9CB6;
    --slate-dim: #3A4558;
    --line: rgba(58,69,88,0.55);
    --green: #10D98C;
    --amber: #FBBF24;
    --red: #F87171;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Courier New', monospace;
    --max: 1160px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--navy); color: var(--white); font-family: var(--font-body); font-size: 15px; line-height: 1.65; overflow-x: hidden; }
  a { color: inherit; }
  .lede a, .faq p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
  .container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
  .container > *, .row > *, .bento > *, .tab-body > * { min-width: 0; }

  /* ── NAV ── */
  nav.top { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 64px; background: rgba(8,12,20,0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(79,70,229,0.12); }
  nav.top .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 2.5rem; flex-shrink: 0; }
  .brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
  .brand-text span { color: var(--cyan); }
  .brand-product { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--cyan); white-space: nowrap; }
  .links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
  .links a { font-size: 0.85rem; font-weight: 500; color: var(--slate); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
  .links a:hover { color: var(--white); }
  .links .cta-link { color: var(--white); border: 1px solid var(--slate-dim); padding: 0.4rem 0.95rem; border-radius: 999px; }
  .links .cta-link:hover { border-color: var(--cyan); }
  .menu { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
  .nav-right { display: flex; align-items: center; gap: 1.1rem; }
  .gh { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--slate); border: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
  .gh:hover, .gh:focus-visible { color: var(--white); border-color: var(--slate-dim); outline: none; }
  .gh svg { width: 18px; height: 18px; }
  .gh .tip { position: absolute; top: calc(100% + 8px); right: 0; white-space: nowrap; font-size: 0.72rem; color: var(--white); background: var(--navy-card); border: 1px solid var(--line); border-radius: 6px; padding: 0.3rem 0.6rem; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.15s, transform 0.15s; }
  .gh:hover .tip, .gh:focus-visible .tip { opacity: 1; transform: none; }

  /* ── HERO (centred, x.ai-like) ── */
  .hero { position: relative; padding: 148px 0 72px; text-align: center; overflow: hidden; }
  .hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(139,156,182,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(139,156,182,0.05) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
  .hero::after { content: ''; position: absolute; left: 50%; top: 40px; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(79,70,229,0.2), rgba(0,212,255,0.06) 45%, transparent 70%); }
  .hero .container { position: relative; z-index: 2; }
  /* data flowing along pipelines; faded behind the centred text so the headline stays easy to read */
  #flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
    mask-image: radial-gradient(ellipse 38% 32% at 50% 30%, rgba(0,0,0,0.45), #000 75%);
    -webkit-mask-image: radial-gradient(ellipse 38% 32% at 50% 30%, rgba(0,0,0,0.45), #000 75%); }
  .pill { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--slate); border: 1px solid var(--line); background: rgba(17,24,39,0.6); padding: 0.3rem 0.85rem 0.3rem 0.4rem; border-radius: 999px; text-decoration: none; }
  .pill b { font-weight: 600; color: var(--navy); background: var(--cyan); padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.035em; margin: 1.4rem auto 1.1rem; max-width: 820px; }
  .hero h1 .grad { background: linear-gradient(90deg, var(--indigo-light), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p.sub { color: var(--slate); font-size: 1.02rem; max-width: 620px; margin: 0 auto; }
  .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.72rem 1.5rem; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
  .btn-primary { background: var(--indigo); color: var(--white); }
  .btn-primary:hover { background: var(--indigo-light); transform: translateY(-1px); }
  .btn-ghost { border: 1px solid var(--slate-dim); color: var(--white); }
  .btn-ghost:hover { border-color: var(--cyan); }

  /* lifecycle rail */
  .rail-wrap { margin-top: 56px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(17,24,39,0.9), rgba(13,21,36,0.9)); padding: 28px 28px 22px; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,0.35); }
  .rail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
  .rail-head span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate); }
  .rail-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
  .rail-head .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
  .rail { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .rail::before { content: ''; position: absolute; top: 19px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--indigo), var(--cyan) 60%, var(--green)); opacity: 0.35; }
  .node { position: relative; text-align: center; }
  .dot { width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 1.5px solid var(--slate-dim); color: var(--cyan); font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; position: relative; z-index: 1; }
  .node.gate .dot { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 0 6px rgba(251,191,36,0.07); }
  .node h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; margin: 0.75rem 0 0.15rem; }
  .node p { font-size: 0.76rem; color: var(--slate); line-height: 1.45; }
  .node .who { display: inline-block; margin-top: 0.45rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.12rem 0.45rem; border-radius: 4px; background: rgba(0,212,255,0.08); color: var(--cyan); }
  .node.gate .who { background: rgba(251,191,36,0.1); color: var(--amber); }
  .dot, .node h4 { transition: border-color 0.35s, box-shadow 0.35s, color 0.35s, background 0.35s; }
  .node.active .dot { border-color: var(--cyan); background: rgba(0,212,255,0.12); box-shadow: 0 0 0 6px rgba(0,212,255,0.08), 0 0 18px rgba(0,212,255,0.45); }
  .node.gate.active .dot { border-color: var(--amber); background: rgba(251,191,36,0.14); color: var(--amber); box-shadow: 0 0 0 7px rgba(251,191,36,0.1), 0 0 20px rgba(251,191,36,0.5); }
  .node.done .dot { border-color: rgba(16,217,140,0.55); color: var(--green); }
  .node.active h4 { color: var(--cyan); }
  .node.gate.active h4 { color: var(--amber); }

  /* strip */
  .strip { border-top: 1px solid rgba(139,156,182,0.08); border-bottom: 1px solid rgba(139,156,182,0.08); padding: 18px 0; }
  .strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
  .strip small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-dim); }
  .strip span { font-family: var(--font-display); font-size: 0.85rem; color: var(--slate); }

  /* sections */
  section { padding: 96px 0; }
  .eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.7rem; }
  h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -0.025em; }
  h2 .dim { color: var(--slate); }
  .lede { color: var(--slate); font-size: 0.98rem; max-width: 560px; }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
  .alt { background: var(--navy-mid); }

  /* persona tabs */
  .tabs { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; width: fit-content; background: rgba(17,24,39,0.6); margin-bottom: 28px; flex-wrap: wrap; }
  .tab { background: none; border: 0; color: var(--slate); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; transition: background 0.2s, color 0.2s; }
  .tab:hover { color: var(--white); }
  .tab[aria-selected="true"] { background: var(--indigo); color: var(--white); }
  .tab-body { display: none; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
  .tab-body.on { display: grid; }
  .tab-body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
  .tab-body > div > p { color: var(--slate); font-size: 0.95rem; }
  .ticks { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.65rem; }
  .ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.88rem; color: var(--slate); }
  .ticks li::before { content: '✓'; width: 18px; height: 18px; border-radius: 5px; background: rgba(0,212,255,0.1); color: var(--cyan); font-size: 0.68rem; display: grid; place-items: center; margin-top: 2px; }
  .ticks b { color: var(--white); font-weight: 600; }

  .term { background: #060A11; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--navy-card); }
  .term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-dim); }
  .term-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  pre { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.65; padding: 16px 18px; overflow-x: auto; color: #C9D4F2; }
  .k { color: var(--indigo-light); } .s { color: var(--green); } .c { color: #5D6B84; } .n { color: var(--amber); } .p { color: var(--cyan); } .r { color: var(--red); }

  /* bento */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; }
  .tile { position: relative; overflow: hidden; background: var(--navy-card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color 0.25s; }
  .tile:hover { border-color: rgba(0,212,255,0.3); }
  .tile .tag { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 4px; }
  .tag.oss { background: rgba(16,217,140,0.12); color: var(--green); }
  .tag.ent { background: rgba(79,70,229,0.18); color: var(--indigo-light); }
  .tile h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0.8rem 0 0.4rem; letter-spacing: -0.01em; }
  .tile p { font-size: 0.85rem; color: var(--slate); line-height: 1.6; max-width: 460px; }
  .t-a { grid-column: span 4; } .t-b { grid-column: span 2; grid-row: span 2; } .t-c { grid-column: span 2; } .t-d { grid-column: span 2; } .t-e { grid-column: span 3; } .t-f { grid-column: span 3; }
  .t-a { background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(0,212,255,0.12), transparent 60%), var(--navy-card); }
  .t-b { background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(251,191,36,0.1), transparent 70%), var(--navy-card); }
  .keys { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.1rem; }
  .keys span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate); border: 1px solid var(--line); border-radius: 4px; padding: 0.2rem 0.5rem; background: rgba(8,12,20,0.5); }
  .quorum { margin-top: 1.3rem; display: grid; gap: 8px; }
  .qrow { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; padding: 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(8,12,20,0.5); color: var(--slate); }
  .qrow b { font-weight: 600; color: var(--white); font-family: var(--font-display); }
  .qrow .ok { color: var(--green); font-size: 0.72rem; font-weight: 600; }
  .qrow .wait { color: var(--amber); font-size: 0.72rem; font-weight: 600; }
  .qrow .no { color: var(--red); font-size: 0.72rem; font-weight: 600; }

  /* decision email */
  .mail { border-radius: 14px; overflow: hidden; background: #F7F8FB; color: #1F2633; box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06); font-family: var(--font-body); }
  .mail-chrome { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #E9ECF2; border-bottom: 1px solid #DCE0E8; }
  .mail-chrome i { width: 10px; height: 10px; border-radius: 50%; }
  .mail-chrome i:nth-child(1) { background: #FF5F57; } .mail-chrome i:nth-child(2) { background: #FEBC2E; } .mail-chrome i:nth-child(3) { background: #28C840; }
  .mail-chrome span { margin-left: 10px; font-size: 0.74rem; color: #6B7385; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mail-tools { display: flex; align-items: center; gap: 4px; padding: 7px 14px; border-bottom: 1px solid #E3E6EC; background: #FFFFFF; }
  .mail-tools button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: #4A5366; font: 500 0.74rem var(--font-body); padding: 5px 8px; border-radius: 6px; cursor: default; }
  .mail-tools button svg { width: 14px; height: 14px; }
  .mail-tools .grow { flex: 1; }
  .mail-paper { background: #FFFFFF; padding: 18px 22px 20px; }
  .mail-subj { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: #121826; line-height: 1.35; letter-spacing: -0.01em; }
  .mail-labels { display: flex; gap: 6px; margin: 8px 0 14px; flex-wrap: wrap; }
  .mail-labels span { font-size: 0.66rem; font-weight: 600; padding: 0.12rem 0.5rem; border-radius: 4px; }
  .lb-inbox { background: #EEF0F4; color: #4A5366; } .lb-ml { background: #E6F7FD; color: #0A6E8C; } .lb-act { background: #FEF3D7; color: #8A5A00; }
  .mail-from { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #EEF0F4; }
  .avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; font: 700 0.8rem var(--font-display); background: linear-gradient(135deg, #4F46E5, #00A9CC); }
  .mail-from .who { font-size: 0.82rem; color: #121826; line-height: 1.35; min-width: 0; }
  .mail-from .who b { font-weight: 600; }
  .mail-from .who span { color: #6B7385; }
  .mail-from .who small { display: block; color: #6B7385; font-size: 0.74rem; }
  .mail-from time { font-size: 0.74rem; color: #6B7385; white-space: nowrap; }
  .mail-text { padding-top: 14px; font-size: 0.86rem; line-height: 1.6; color: #2A3242; }
  .mail-text p { margin-bottom: 10px; }
  .facts { width: 100%; border-collapse: collapse; margin: 4px 0 14px; font-size: 0.8rem; }
  .facts th { text-align: left; font-weight: 500; color: #6B7385; padding: 5px 12px 5px 0; white-space: nowrap; vertical-align: top; width: 1%; }
  .facts td { padding: 5px 0; color: #1F2633; border-bottom: 1px solid #F1F2F5; }
  .facts tr:last-child td { border-bottom: 0; }
  .facts .hi { color: #C2410C; font-weight: 600; }
  .facts .ok { color: #047857; font-weight: 600; }
  .mail-cmd { display: block; font-family: var(--font-mono); font-size: 0.74rem; background: #F3F5F9; border: 1px solid #E3E6EC; border-radius: 6px; padding: 9px 11px; color: #1F2633; white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0 12px; }
  .mail-btn { display: inline-block; background: #4F46E5; color: #FFFFFF; font: 600 0.78rem var(--font-display); padding: 0.5rem 0.95rem; border-radius: 6px; text-decoration: none; }
  .mail-small { margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF0F4; font-size: 0.72rem; color: #6B7385; line-height: 1.5; }
  .mail-small b { color: #2A3242; font-weight: 600; }
  .feed { margin-top: 1.4rem; display: grid; gap: 8px; }
  .feed div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.86rem; color: var(--slate); }
  .feed i { font-style: normal; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 0.7rem; }

  /* evidence */
  .row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
  .controls { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--navy-card); }
  .controls-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--slate); }
  .controls-head b { font-family: var(--font-display); color: var(--white); font-weight: 600; }
  .tally { display: flex; gap: 6px; }
  .tally span { font-size: 0.66rem; font-weight: 600; padding: 0.1rem 0.45rem; border-radius: 4px; }
  .ctl { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 9px 16px; border-bottom: 1px solid rgba(58,69,88,0.3); font-size: 0.8rem; }
  .ctl:last-child { border-bottom: 0; }
  .ctl code { font-family: var(--font-mono); font-size: 0.72rem; color: var(--slate); }
  .ctl span { color: #C9D4F2; }
  .st { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.12rem 0.45rem; border-radius: 4px; }
  .st.pass { background: rgba(16,217,140,0.12); color: var(--green); }
  .st.info { background: rgba(0,212,255,0.1); color: var(--cyan); }
  .st.na { background: rgba(139,156,182,0.1); color: var(--slate); }

  /* editions table */
  .compare { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 0.86rem; }
  .compare-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; overflow-x: auto; }
  .compare { border: 0; }
  .compare th, .compare td { padding: 12px 18px; text-align: left; border-bottom: 1px solid rgba(58,69,88,0.35); }
  .compare thead th { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; background: var(--navy-card); }
  .compare thead th small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--slate); }
  .compare thead th.ent { background: linear-gradient(180deg, rgba(79,70,229,0.18), var(--navy-card)); }
  .compare td { color: var(--slate); }
  .compare td:first-child { color: #C9D4F2; }
  .compare td.y { color: var(--green); font-weight: 600; }
  .compare td.e { color: var(--indigo-light); font-weight: 600; }
  .compare tr:last-child td { border-bottom: 0; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 22%; text-align: center; }

  /* faq */
  .faq { display: grid; gap: 10px; }
  details { border: 1px solid var(--line); border-radius: 12px; background: var(--navy-card); padding: 0 18px; }
  summary { cursor: pointer; list-style: none; padding: 15px 0; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; color: var(--cyan); font-size: 1.1rem; line-height: 1; }
  details[open] summary::after { content: '−'; }
  details p { color: var(--slate); font-size: 0.88rem; padding: 0 28px 16px 0; max-width: none; }

  /* cta */
  .cta { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
  .cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 45% 70% at 50% 100%, rgba(79,70,229,0.18), transparent 70%); pointer-events: none; }
  .cta .container { position: relative; }
  .cta p { color: var(--slate); max-width: 520px; margin: 0.8rem auto 0; }

  footer { border-top: 1px solid rgba(139,156,182,0.1); padding: 24px 0; }
  footer .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
  footer p, footer a { font-size: 0.78rem; color: var(--slate); text-decoration: none; }
  footer nav a { margin-left: 1.2rem; }
  footer a:hover { color: var(--white); }

  .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .fade.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

  @media (max-width: 960px) {
    .sec-head, .row, .tab-body.on { grid-template-columns: 1fr; gap: 28px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .t-a, .t-e, .t-f { grid-column: span 2; } .t-b { grid-row: span 1; grid-column: span 2; } .t-c, .t-d { grid-column: span 1; }
    .rail { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
    .rail::before { display: none; }
  }
  /* The links fit on one line above 1220px; below that, the menu button. */
  @media (max-width: 1220px) {
    .menu { display: block; }
    .links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 16px 14px; background: rgba(8,12,20,0.97); border-bottom: 1px solid rgba(79,70,229,0.15); }
    .links.open { display: flex; }
    .links li { width: 100%; }
    .links a { display: block; padding: 11px 0; }
    .links .cta-link { display: inline-block; margin-top: 6px; }
  }
  @media (max-width: 720px) {
    .container { padding: 0 16px; }
    .hero { padding: 116px 0 56px; }
    section { padding: 68px 0; }
    .rail-wrap { padding: 20px 16px; }
    .rail { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
    .ctl { grid-template-columns: 48px 1fr; }
    .ctl .st { grid-column: 2; justify-self: start; }
    .compare th, .compare td { padding: 10px 12px; }
    footer nav a { margin: 0 1rem 0 0; }
  }
  @media (max-width: 640px) {
    /* The editions table becomes one card per feature: the feature, then a pill per edition. */
    .compare thead { display: none; }
    .compare, .compare tbody { display: block; width: 100%; }
    .compare tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px;
                  border-bottom: 1px solid rgba(58,69,88,0.35); }
    .compare tr:last-child { border-bottom: 0; }
    .compare td { display: block; padding: 0; border-bottom: 0; }
    .compare td:first-child { flex: 1 0 100%; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
    .compare td:not(:first-child) { width: auto; display: inline-flex; align-items: center; gap: 0.35rem;
                                    padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; line-height: 1.5;
                                    border: 1px solid var(--line); }
    .compare td:not(:first-child)::before { content: attr(data-label); font-weight: 500; }
    .compare td.y { background: rgba(16,217,140,0.08); border-color: rgba(16,217,140,0.35); }
    .compare td.y::before { color: #BFF5DD; }
    .compare td.e { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.45); }
    .compare td.e::before { color: #D3D5FF; }
    .compare td.n { font-size: 0; border-style: dashed; padding: 3px 10px; }
    .compare td.n::before { font-size: 0.78rem; color: var(--slate-dim); text-decoration: line-through; }
  }

  /* ── PROMOTION: the border check ── */
  .promo-lane { margin-top: 8px; display: grid; grid-template-columns: 200px 1fr 200px; gap: 18px; align-items: stretch; }
  .env { background: var(--navy-card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
  .env .env-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
  .env .env-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
  .env.prod .env-name i { background: var(--green); box-shadow: 0 0 10px var(--green); }
  .env dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 0.74rem; }
  .env dt { color: var(--slate); }
  .env dd { font-family: var(--font-mono); color: #C9D4F2; overflow-wrap: anywhere; }
  .env .stamp { margin-top: auto; font-size: 0.68rem; color: var(--slate); border-top: 1px dashed var(--line); padding-top: 8px; }
  .env.prod .stamp b { color: var(--green); }
  .track { position: relative; border: 1px solid var(--line); border-radius: 14px; background:
           repeating-linear-gradient(90deg, rgba(58,69,88,0.35) 0 10px, transparent 10px 20px) center 46px / 100% 1px no-repeat,
           rgba(8,12,20,0.55); padding: 18px 18px 16px; }
  .gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 1; }
  .gate { text-align: center; }
  .gate .arch { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 28px 28px 8px 8px; border: 1px solid var(--slate-dim);
                display: grid; place-items: center; color: var(--slate); background: var(--navy); transition: all 0.4s ease; }
  .gate .arch svg { width: 24px; height: 24px; }
  .gate b { display: block; font-family: var(--font-display); font-size: 0.86rem; color: var(--white); }
  .gate span { display: block; font-size: 0.72rem; color: var(--slate); line-height: 1.45; margin-top: 3px; }
  .capsule { position: absolute; z-index: 2; top: 32px; left: 18px; height: 28px; padding: 0 12px; border-radius: 14px; display: flex;
             align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--navy); white-space: nowrap;
             background: linear-gradient(90deg, var(--cyan), var(--indigo-light)); box-shadow: 0 0 18px rgba(0,212,255,0.45); opacity: 0; }
  .promo-lane.in .capsule { animation: travel 5.2s cubic-bezier(.45,.05,.35,1) 0.4s forwards; }
  .promo-lane.in .gate .arch { animation: gate-on 0.5s ease forwards; }
  .promo-lane.in .gate:nth-child(1) .arch { animation-delay: 1.0s; }
  .promo-lane.in .gate:nth-child(2) .arch { animation-delay: 2.2s; }
  .promo-lane.in .gate:nth-child(3) .arch { animation-delay: 3.4s; }
  .promo-lane.in .gate:nth-child(4) .arch { animation-delay: 4.6s; }
  .promo-lane.in .env.prod { animation: arrive 0.6s ease 5.4s both; }
  @keyframes travel { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; }
                      92% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--run, 520px)); } }
  @keyframes gate-on { to { color: var(--green); border-color: rgba(16,217,140,0.7); background: rgba(16,217,140,0.08);
                            box-shadow: 0 0 22px rgba(16,217,140,0.35); } }
  @keyframes arrive { from { border-color: var(--line); } 50% { border-color: rgba(16,217,140,0.8); box-shadow: 0 0 26px rgba(16,217,140,0.25); } to { border-color: rgba(16,217,140,0.45); } }
  .fingerprint { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 10px 14px; align-items: center;
                 font-size: 0.74rem; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--navy-card); }
  .fingerprint .k { color: var(--slate); }
  .fingerprint code { font-family: var(--font-mono); color: #C9D4F2; overflow-wrap: anywhere; }
  .fingerprint .eq { color: var(--green); font-weight: 700; font-size: 1rem; text-align: center; }
  .fingerprint .ok { color: var(--green); font-weight: 600; white-space: nowrap; }
  .turned { margin-top: 26px; }
  .turned h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 12px; }
  .turned h3 span { color: var(--slate); font-weight: 500; }
  .turned-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .turned-grid div { border: 1px solid rgba(248,113,113,0.28); background: rgba(248,113,113,0.05); border-radius: 12px; padding: 14px 16px; }
  .turned-grid b { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--white); }
  .turned-grid b i { font-style: normal; color: var(--red); font-weight: 700; }
  .turned-grid code { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--slate); line-height: 1.5; overflow-wrap: anywhere; }
  .replay { margin-top: 10px; background: none; border: 0; color: var(--cyan); font: inherit; font-size: 0.76rem; cursor: pointer; padding: 0; }
  .replay:hover { text-decoration: underline; }
  @media (max-width: 900px) {
    .promo-lane { grid-template-columns: 1fr; }
    .track { background: rgba(8,12,20,0.55); }
    .gates { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
    .capsule { display: none; }
    .fingerprint { grid-template-columns: 1fr; gap: 4px; }
    .fingerprint .eq { display: none; }
    .fingerprint .k { margin-top: 10px; font-weight: 600; }
    .fingerprint .k:first-child { margin-top: 0; }
    .fingerprint .ok { justify-self: start; }
    .turned-grid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .promo-lane.in .capsule { animation: none; }
    .promo-lane .gate .arch, .promo-lane.in .gate .arch { animation: none; color: var(--green); border-color: rgba(16,217,140,0.7); background: rgba(16,217,140,0.08); }
    .promo-lane.in .env.prod { animation: none; }
    .replay { display: none; }
  }

  /* ── FLEET VIEW (guided tour) ── */
  .fleet-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 28px; font-size: 0.78rem; color: var(--slate); }
  .fleet-flow span { border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.75rem; background: var(--navy-card); white-space: nowrap; }
  .fleet-flow span b { color: var(--white); font-weight: 600; }
  .fleet-flow i { font-style: normal; color: var(--cyan); }
  .tour { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; }
  .tour-rail { list-style: none; display: flex; flex-direction: column; gap: 6px; }
  .tour-rail button { position: relative; overflow: hidden; width: 100%; text-align: left; cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px;
    padding: 0.7rem 0.85rem; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--slate); font: inherit; transition: background 0.2s, border-color 0.2s; }
  .tour-rail button svg { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--slate-dim); transition: color 0.2s; }
  .tour-rail button b { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--white); }
  .tour-rail button small { font-size: 0.76rem; line-height: 1.4; }
  .tour-rail button:hover { background: rgba(17,24,39,0.6); }
  .tour-rail button[aria-selected="true"] { background: var(--navy-card); border-color: rgba(0,212,255,0.28); }
  .tour-rail button[aria-selected="true"] svg { color: var(--cyan); }
  .tour-rail button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--cyan), var(--indigo-light)); }
  .tour.playing .tour-rail button[aria-selected="true"]::after { animation: tour-progress var(--tour-ms, 6500ms) linear forwards; }
  @keyframes tour-progress { to { width: 100%; } }
  .browser { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #080C14; box-shadow: 0 30px 80px -30px rgba(0,212,255,0.18), 0 0 0 1px rgba(79,70,229,0.08); }
  .browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--navy-mid); border-bottom: 1px solid var(--line); }
  .browser-bar .dots { display: flex; gap: 6px; }
  .browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-dim); }
  .browser-bar .url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--slate);
    background: var(--navy); border: 1px solid var(--line); border-radius: 8px; padding: 0.3rem 0.7rem; overflow: hidden; white-space: nowrap; }
  .browser-bar .url span { overflow: hidden; text-overflow: ellipsis; }
  .browser-bar .url svg { flex: none; width: 13px; height: 13px; color: var(--green); }
  .browser-bar .url b { color: var(--white); font-weight: 400; }
  .browser-bar .iap { flex: none; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; color: var(--green); border: 1px solid rgba(16,217,140,0.45); border-radius: 999px; padding: 0.15rem 0.55rem; }
  .shot { position: relative; display: block; aspect-ratio: 1600 / 900; background: #080C14; }
  .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; color: transparent; transition: opacity 0.45s ease; }
  .shot img.on { opacity: 1; }
  .tour-caption { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 14px; font-size: 0.86rem; color: var(--slate); min-height: 3em; }
  .tour-caption b { color: var(--white); font-weight: 600; }
  .tour-caption a { flex: none; font-size: 0.78rem; color: var(--cyan); text-decoration: none; }
  .fleet-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
  .fleet-facts div { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; background: rgba(17,24,39,0.55); }
  .fleet-facts b { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.3rem; }
  .fleet-facts span { font-size: 0.82rem; color: var(--slate); line-height: 1.5; }
  @media (max-width: 960px) {
    .tour { grid-template-columns: 1fr; }
    .tour-rail { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
    .tour-rail::-webkit-scrollbar { display: none; }
    .tour-rail li { flex: none; }
    .tour-rail button { grid-template-columns: 18px auto; align-items: center; padding: 0.5rem 0.85rem; border-color: var(--line); border-radius: 999px; }
    .tour-rail button svg { grid-row: auto; width: 18px; height: 18px; margin: 0; }
    .tour-rail button small { display: none; }
    .tour-rail button::after { display: none; }
    .fleet-facts { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .fleet-facts { grid-template-columns: 1fr; }
    .browser-bar .iap { display: none; }
    .tour-caption { flex-direction: column; gap: 6px; }
  }
  @media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .tour.playing .tour-rail button[aria-selected="true"]::after { animation: none; } }
  /* New in 1.1 */
  .new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .new-grid .tile a { color: var(--cyan); text-decoration: none; font-size: 0.82rem; display: inline-block; margin-top: 0.8rem; }
  .ver { display: inline-block; margin-left: 6px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; color: var(--cyan); border: 1px solid rgba(0,212,255,0.4); border-radius: 4px; padding: 0.02rem 0.32rem; vertical-align: 2px; }
  /* Lineage */
  .lineage { margin-top: 96px; scroll-margin-top: 90px; }
  .lin-shot { margin: 0; }
  .lin-shot img, .lin-pair .browser img { display: block; width: 100%; height: auto; }
  .lin-shot figcaption, .lin-pair figcaption { margin-top: 12px; font-size: 0.86rem; color: var(--slate); line-height: 1.55; }
  .lin-shot figcaption b, .lin-pair figcaption b { color: var(--white); font-weight: 600; }
  .lin-pair { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .lin-pair figure { margin: 0; min-width: 0; }
  @media (max-width: 960px) { .new-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .new-grid { grid-template-columns: 1fr; } .lineage { margin-top: 64px; } }
  /* Synthetic data */
  .pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; }
  .pains div { border: 1px solid rgba(251,191,36,0.28); background: rgba(251,191,36,0.05); border-radius: 12px; padding: 16px 18px; }
  .pains b { display: block; font-size: 0.9rem; color: var(--white); margin-bottom: 6px; }
  .pains p { font-size: 0.82rem; color: var(--slate); line-height: 1.55; }
  .pains-head { font-family: var(--font-display); font-size: 1rem; margin-bottom: 12px; }
  .pains-head span { color: var(--slate); font-weight: 500; }
  .ctl.gate-row { grid-template-columns: 118px 1fr auto; }
  .ctl.gate-row code { color: #C9D4F2; }
  .ctl .val { font-family: var(--font-mono); font-size: 0.74rem; color: var(--slate); }
  .ctl .val b { color: var(--white); font-weight: 600; }
  .controls-foot { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--slate); line-height: 1.5; }
  .controls-foot b { color: var(--white); font-weight: 600; }
  .syn-tiles { margin-top: 44px; grid-auto-rows: minmax(170px, auto); }
  .syn-tiles .tile { grid-column: span 2; }
  .tile pre { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.55; color: var(--slate); background: rgba(8,12,20,0.5); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; overflow-x: auto; }
  .values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
  .values div { border-top: 2px solid var(--cyan); padding-top: 12px; }
  .values b { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--white); margin-bottom: 6px; }
  .values p { font-size: 0.82rem; color: var(--slate); line-height: 1.55; }
  @media (max-width: 960px) {
    .syn-tiles .tile { grid-column: span 2; }
    .values { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 720px) {
    .pains, .values { grid-template-columns: 1fr; }
    .syn-tiles .tile { grid-column: span 1; }
    .ctl.gate-row { grid-template-columns: 1fr auto; }
    .ctl.gate-row .val { grid-column: 1 / -1; grid-row: 2; }
  }
  /* Ways to run Pipewright */
  .ways { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .way { padding: 26px 0; border-bottom: 1px solid var(--line); }
  .way:first-child { padding-top: 0; }
  .way:last-child { border-bottom: 0; padding-bottom: 0; }
  .way-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .way h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.015em; }
  .way .who-runs { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 4px; }
  .who-runs.oss { background: rgba(16,217,140,0.12); color: var(--green); }
  .who-runs.gcp { background: rgba(0,212,255,0.1); color: var(--cyan); }
  .who-runs.ent { background: rgba(79,70,229,0.18); color: var(--indigo-light); }
  .way > p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; margin-top: 0.55rem; max-width: 560px; }
  .way ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 0.9rem; }
  .way li { font-size: 0.76rem; color: #C9D4F2; border: 1px solid var(--line); border-radius: 999px; padding: 0.22rem 0.65rem; background: rgba(8,12,20,0.45); }
  .way .actions { justify-content: flex-start; margin-top: 1.1rem; gap: 10px; }
  .way .btn { padding: 0.55rem 1.1rem; font-size: 0.84rem; }
  .hub { position: relative; }
  .hub svg { width: 100%; height: auto; display: block; overflow: visible; }
  .hub .node rect { fill: var(--navy-card); stroke: var(--line); stroke-width: 1; }
  .hub .node text { fill: var(--white); font-family: var(--font-display); font-size: 13px; font-weight: 600; text-anchor: middle; }
  .hub .node text.sub { fill: var(--slate); font-family: var(--font-body); font-size: 10.5px; font-weight: 400; }
  .hub .group-label { fill: var(--slate); font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; text-anchor: middle; }
  .hub .wire { fill: none; stroke: rgba(0,212,255,0.45); stroke-width: 1.4; stroke-dasharray: 3 5; animation: hub-flow 1.6s linear infinite; }
  .hub .wire.out { stroke: rgba(99,102,241,0.6); }
  .hub .core rect { fill: url(#hubgrad); stroke: none; }
  .hub .core text { fill: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 700; text-anchor: middle; }
  .hub .core text.sub { font-family: var(--font-body); font-size: 11px; font-weight: 500; fill: rgba(255,255,255,0.85); }
  .hub .dot { fill: var(--navy); stroke: rgba(0,212,255,0.7); stroke-width: 1.4; }
  @keyframes hub-flow { to { stroke-dashoffset: -16; } }
  @media (prefers-reduced-motion: reduce) { .hub .wire { animation: none; } }
  @media (max-width: 960px) {
    .ways { grid-template-columns: 1fr; gap: 36px; }
    .hub { max-width: 520px; margin: 0 auto; width: 100%; }
  }
