    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      color-scheme: dark;
      --bg: #0a0d12;
      --bg-elev: #11161e;
      --bg-elev-2: #141a23;
      --fg: #e6edf3;
      --fg-soft: #adbac7;
      --muted: #8b949e;
      --dim: #6e7681;
      --line: #1f2630;
      --line-hi: #2d3540;
      --green: #3fb950;
      --green-soft: #7ee787;
      --green-deep: #1e7a30;
      --green-glow: rgba(63,185,80,0.35);
      --blue: #58a6ff;
      --purple: #a371f7;
      --amber: #ffa940;
      --accent: var(--green-soft);
      --radius: 14px;
      --shadow-lg: 0 24px 60px -18px rgba(0,0,0,0.6);
      --shadow-md: 0 12px 36px -12px rgba(0,0,0,0.5);
      --maxw: 1120px;
      --space: clamp(60px, 9vw, 96px);
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--fg);
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, system-ui, sans-serif;
      font-size: 16px; line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      min-height: 100vh;
      overflow-x: hidden;
    }
    body::before {
      content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
      background:
        radial-gradient(circle 900px at 12% -5%, rgba(63,185,80,0.10), transparent 45%),
        radial-gradient(circle 700px at 92% 12%, rgba(88,166,255,0.06), transparent 50%),
        radial-gradient(circle 800px at 60% 100%, rgba(163,113,247,0.045), transparent 55%);
    }
    /* faint grid texture */
    body::after {
      content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.4;
      background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(circle 700px at 50% 0%, #000, transparent 80%);
      -webkit-mask-image: radial-gradient(circle 700px at 50% 0%, #000, transparent 80%);
    }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
    a { color: var(--green-soft); text-decoration: none; transition: color 0.15s ease; }
    a:hover { color: #b6f5b9; }
    a:focus-visible, button:focus-visible, summary:focus-visible, .copy-btn:focus-visible {
      outline: 2px solid var(--green-soft);
      outline-offset: 3px;
      border-radius: 6px;
    }
    code, pre, kbd { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; }
    code { background: rgba(2,6,12,0.6); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--accent); }
    h1, h2, h3 { text-wrap: balance; }
    .skip {
      position: absolute; left: -999px; top: 0; z-index: 200;
      background: var(--green); color: #04210a; padding: 10px 16px; border-radius: 0 0 8px 0;
      font-weight: 700; font-size: 14px;
    }
    .skip:focus { left: 0; }

    /* ─── NAV ────────────────────────────────────────────── */
    nav.top {
      position: sticky; top: 0; z-index: 60;
      background: rgba(10,13,18,0.72);
      backdrop-filter: blur(16px) saturate(1.4);
      -webkit-backdrop-filter: blur(16px) saturate(1.4);
      border-bottom: 1px solid var(--line);
    }
    nav.top .inner {
      max-width: var(--maxw); margin: 0 auto;
      padding: 13px 24px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px;
    }
    .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; font-size: 16px; letter-spacing: -0.2px; }
    .brand:hover { color: var(--fg); }
    .brand-logo { display: block; filter: drop-shadow(0 0 14px rgba(63,185,80,0.5)); }
    nav.top .links { display: flex; gap: 6px; align-items: center; }
    nav.top .links a:not(.cta) { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
    nav.top .links a:not(.cta):hover { color: var(--fg); background: rgba(255,255,255,0.04); }
    nav.top .cta {
      background: linear-gradient(180deg, #2ea043, var(--green-deep));
      color: #fff !important;
      padding: 8px 15px;
      border-radius: 9px;
      font-size: 13px;
      font-weight: 600;
      margin-left: 6px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 14px -6px var(--green-glow);
    }
    nav.top .cta:hover { filter: brightness(1.08); }
    .nav-toggle {
      display: none; background: rgba(255,255,255,0.04);
      border: 1px solid var(--line-hi); border-radius: 9px;
      width: 40px; height: 38px; cursor: pointer; color: var(--fg);
      align-items: center; justify-content: center; flex-direction: column; gap: 4px;
    }
    .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    @media (max-width: 860px) {
      .nav-toggle { display: flex; }
      nav.top .links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(10,13,18,0.97);
        backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        padding: 14px 20px 20px;
        transform: translateY(-8px); opacity: 0; pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
      }
      nav.top .links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
      nav.top .links a:not(.cta) { padding: 12px 14px; font-size: 16px; }
      nav.top .cta { margin: 6px 0 0; text-align: center; padding: 12px; }
    }

    /* ─── HERO ───────────────────────────────────────────── */
    header.hero { padding: clamp(64px, 11vw, 110px) 24px clamp(48px, 7vw, 72px); text-align: center; }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 9px;
      padding: 6px 15px;
      background: rgba(63,185,80,0.07);
      border: 1px solid rgba(63,185,80,0.28);
      border-radius: 999px;
      font-size: 12.5px; color: var(--accent); font-weight: 500;
      margin-bottom: 26px;
      box-shadow: inset 0 0 20px rgba(63,185,80,0.05);
    }
    .hero-tag-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--green); box-shadow: 0 0 12px var(--green);
      animation: pulse 1.8s ease-in-out infinite;
    }
    @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.82); } }
    h1 {
      font-size: clamp(38px, 6.4vw, 72px);
      line-height: 1.02;
      letter-spacing: -2px;
      font-weight: 800;
      max-width: 960px;
      margin: 0 auto 24px;
    }
    h1 .grad {
      background: linear-gradient(115deg, #7ee787 0%, #58a6ff 60%, #a371f7 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-sub {
      color: var(--fg-soft);
      font-size: clamp(16px, 1.7vw, 20px);
      line-height: 1.6;
      max-width: 680px;
      margin: 0 auto 36px;
    }
    .hero-sub strong { color: var(--fg); font-weight: 600; }
    .hero-sub .hl { color: var(--green-soft); font-weight: 600; }
    .hero-cmd {
      display: inline-flex; align-items: center; gap: 10px;
      max-width: 760px; width: 100%;
      background: rgba(2,6,12,0.78);
      border: 1px solid var(--line-hi);
      border-radius: 13px;
      padding: 13px 14px;
      box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.03);
      font-family: "SF Mono", ui-monospace, Menlo, monospace;
      font-size: 13px;
      text-align: left;
    }
    .hero-cmd::before { content: "$"; color: var(--dim); padding-left: 4px; }
    .hero-cmd code {
      flex: 1; background: transparent; border: 0; padding: 0;
      color: var(--green-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .copy-btn {
      background: #1f2630; color: var(--fg);
      border: 1px solid var(--line-hi);
      padding: 6px 13px; border-radius: 7px;
      font-size: 12px; font-weight: 600;
      cursor: pointer; font-family: inherit;
      transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
      flex-shrink: 0;
    }
    .copy-btn:hover { background: #2d3540; }
    .copy-btn.copied { background: rgba(63,185,80,0.16); color: var(--green-soft); border-color: var(--green); }
    .hero-actions {
      display: flex; gap: 12px; justify-content: center;
      margin-top: 22px; flex-wrap: wrap;
    }
    .btn {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 12px 24px;
      border-radius: 11px;
      font-size: 14.5px; font-weight: 600;
      cursor: pointer; border: 1px solid transparent;
      transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
      font-family: inherit;
    }
    .btn.primary {
      background: linear-gradient(180deg, #3fb950, var(--green-deep));
      color: #fff; border-color: var(--green-deep);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 6px 20px -8px var(--green-glow);
    }
    .btn.primary:hover {
      filter: brightness(1.1);
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 12px 28px -8px var(--green-glow);
      color: #fff;
    }
    .btn.subtle {
      background: rgba(22,27,34,0.6);
      color: var(--fg);
      border-color: var(--line-hi);
    }
    .btn.subtle:hover { background: rgba(22,27,34,0.95); border-color: #404a55; transform: translateY(-2px); color: var(--fg); }
    .hero-mini {
      margin-top: 20px;
      color: var(--dim);
      font-size: 12.5px;
    }
    /* trust strip */
    .trust-strip {
      margin-top: 44px;
      display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
      font-size: 12.5px; color: var(--muted);
    }
    .trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
    .trust-strip svg { flex-shrink: 0; }

    /* ─── SECTION SCAFFOLD ────────────────────────────────── */
    section.block { padding: var(--space) 0; border-top: 1px solid var(--line); }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: 11px;
      letter-spacing: 1.4px;
      color: var(--muted);
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 14px;
      padding: 4px 11px;
      background: var(--bg-elev);
      border: 1px solid var(--line);
      border-radius: 999px;
    }
    .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
    h2.section {
      font-size: clamp(28px, 3.4vw, 42px);
      letter-spacing: -1px;
      margin-bottom: 14px;
      line-height: 1.12;
      font-weight: 800;
    }
    h2.section em { color: var(--accent); font-style: normal; }
    .lede { color: var(--fg-soft); max-width: 660px; margin-bottom: 38px; font-size: clamp(15px, 1.4vw, 17px); }

    /* badge pills (status labels) */
    .pill {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
      padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
      vertical-align: middle;
    }
    .pill.live { background: rgba(63,185,80,0.13); color: var(--green-soft); border: 1px solid rgba(63,185,80,0.3); }
    .pill.exp { background: rgba(255,169,64,0.12); color: var(--amber); border: 1px solid rgba(255,169,64,0.3); }
    .pill.phase { background: rgba(88,166,255,0.12); color: var(--blue); border: 1px solid rgba(88,166,255,0.3); }
    .pill.smoke { background: rgba(163,113,247,0.13); color: var(--purple); border: 1px solid rgba(163,113,247,0.3); }
    .pill .ld { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

    /* ─── LIGHTHOUSE (headline feature) ───────────────────── */
    .lighthouse-grid {
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      gap: clamp(28px, 4vw, 56px);
      align-items: center;
    }
    @media (max-width: 880px) { .lighthouse-grid { grid-template-columns: 1fr; gap: 32px; } }
    .lh-copy h2 { margin-bottom: 16px; }
    .lh-points { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
    .lh-points li { display: flex; gap: 13px; align-items: flex-start; color: var(--fg-soft); font-size: 14.5px; }
    .lh-check {
      flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
      background: rgba(63,185,80,0.13); border: 1px solid rgba(63,185,80,0.3);
      display: flex; align-items: center; justify-content: center; margin-top: 1px;
    }
    .lh-points li strong { color: var(--fg); font-weight: 600; }

    /* search demo card */
    .lh-demo {
      background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
      border: 1px solid var(--line-hi);
      border-radius: 18px;
      padding: 20px;
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
    }
    .lh-demo::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(circle 360px at 80% -10%, rgba(63,185,80,0.12), transparent 60%);
    }
    .lh-search {
      display: flex; align-items: center; gap: 10px;
      background: rgba(2,6,12,0.6); border: 1px solid var(--line-hi);
      border-radius: 11px; padding: 11px 14px; position: relative; z-index: 1;
    }
    .lh-search svg { flex-shrink: 0; color: var(--muted); }
    .lh-search .q { color: var(--fg); font-size: 14px; flex: 1; }
    .lh-search .caret { width: 2px; height: 16px; background: var(--green-soft); animation: blink 1.1s step-end infinite; }
    @keyframes blink { 50% { opacity: 0; } }
    .lh-toggle {
      display: flex; align-items: center; gap: 9px; justify-content: space-between;
      margin: 14px 2px 6px; font-size: 12.5px; color: var(--fg-soft); position: relative; z-index: 1;
    }
    .lh-switch {
      width: 40px; height: 22px; border-radius: 999px;
      background: rgba(63,185,80,0.3); border: 1px solid rgba(63,185,80,0.5);
      position: relative; flex-shrink: 0;
    }
    .lh-switch::after {
      content: ""; position: absolute; top: 1px; right: 1px;
      width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft);
      box-shadow: 0 0 10px var(--green-glow);
    }
    .lh-results { margin-top: 12px; display: grid; gap: 9px; position: relative; z-index: 1; }
    .lh-row {
      background: rgba(2,6,12,0.45); border: 1px solid var(--line);
      border-radius: 10px; padding: 11px 13px;
    }
    .lh-row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
    .lh-row-title { font-size: 13.5px; color: var(--fg); font-weight: 600; }
    .lh-row-url { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .prov {
      flex-shrink: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px;
      padding: 2px 8px; border-radius: 999px; text-transform: uppercase;
    }
    .prov.you { background: rgba(63,185,80,0.14); color: var(--green-soft); border: 1px solid rgba(63,185,80,0.3); }
    .prov.trusted { background: rgba(88,166,255,0.13); color: var(--blue); border: 1px solid rgba(88,166,255,0.3); }
    .lh-foot {
      margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
      font-size: 11px; color: var(--dim); position: relative; z-index: 1;
    }
    .lh-foot b { color: var(--green-soft); }

    /* ─── FEATURE TILES ───────────────────────────────────── */
    .tiles {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 18px;
    }
    .tile {
      background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 26px;
      transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
      position: relative;
    }
    .tile:hover {
      border-color: var(--line-hi);
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
    .tile-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 17px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 6px 16px -8px rgba(0,0,0,0.5);
      color: #fff;
    }
    .tile-icon.t1 { background: linear-gradient(135deg, #238636, #3fb950); }
    .tile-icon.t2 { background: linear-gradient(135deg, #1f6feb, #58a6ff); }
    .tile-icon.t3 { background: linear-gradient(135deg, #8957e5, #bc8cff); }
    .tile-icon.t4 { background: linear-gradient(135deg, #bb6a1a, #ffa940); }
    .tile-icon.t5 { background: linear-gradient(135deg, #1a8c7a, #2dd4bf); }
    .tile-icon.t6 { background: linear-gradient(135deg, #b3308a, #f471b5); }
    .tile h3 {
      font-size: 18px; font-weight: 700;
      margin-bottom: 9px; letter-spacing: -0.2px;
      display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    }
    .tile p { color: var(--fg-soft); font-size: 14px; }
    .tile p + p { margin-top: 10px; }

    /* ─── PIPELINE / TRUST DIAGRAM ────────────────────────── */
    .pipeline {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
      counter-reset: pstep;
    }
    @media (max-width: 880px) { .pipeline { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 480px) { .pipeline { grid-template-columns: 1fr; } }
    .pstep {
      background: var(--bg-elev); border: 1px solid var(--line);
      border-radius: 12px; padding: 20px 18px; position: relative;
    }
    .pstep .num {
      counter-increment: pstep; font-family: ui-monospace, monospace;
      font-size: 12px; font-weight: 700; color: var(--accent);
      display: inline-flex; align-items: center; justify-content: center;
      width: 26px; height: 26px; border-radius: 8px;
      background: rgba(63,185,80,0.1); border: 1px solid rgba(63,185,80,0.28);
      margin-bottom: 12px;
    }
    .pstep .num::before { content: counter(pstep, decimal-leading-zero); }
    .pstep h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; color: var(--fg); }
    .pstep p { font-size: 12.5px; color: var(--fg-soft); }

    /* ─── KILLER PROPERTY ────────────────────────────────── */
    .killer-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: clamp(28px, 4vw, 52px);
      align-items: center;
    }
    @media (max-width: 800px) { .killer-grid { grid-template-columns: 1fr; gap: 32px; } }
    .killer-vis {
      position: relative;
      background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
      border: 1px solid var(--line-hi);
      border-radius: 18px;
      padding: 24px;
      box-shadow: var(--shadow-lg);
    }
    .killer-vis-row {
      display: flex; align-items: center; gap: 13px;
      padding: 13px 0;
      font-size: 13.5px;
      color: var(--fg-soft);
      border-bottom: 1px dashed var(--line);
    }
    .killer-vis-row:last-child { border-bottom: 0; }
    .killer-vis-row .icon {
      width: 34px; height: 34px;
      display: flex; align-items: center; justify-content: center;
      border-radius: 9px;
      flex-shrink: 0;
      font-size: 16px;
    }
    .icon-up { background: rgba(63,185,80,0.15); color: var(--green); }
    .icon-relay { background: rgba(88,166,255,0.15); color: var(--blue); }
    .icon-off { background: rgba(248,81,73,0.12); color: #f85149; }
    .killer-vis-row b { color: var(--fg); font-weight: 600; }

    /* ─── ECOSYSTEM CARDS ─────────────────────────────────── */
    .eco-spotlight {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
    }
    @media (max-width: 760px) { .eco-spotlight { grid-template-columns: 1fr; } }
    .ecosystem {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 14px;
    }
    .eco-card {
      background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
      border: 1px solid var(--line);
      border-radius: 13px;
      padding: 22px;
      display: flex; flex-direction: column;
      transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    }
    .eco-card:hover {
      border-color: var(--line-hi);
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
    .eco-card.big { padding: 26px; }
    .eco-icon {
      width: 44px; height: 44px;
      border-radius: 11px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; font-weight: 800; color: #0a0d12;
      margin-bottom: 15px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    }
    .eco-icon.hr { background: linear-gradient(135deg, #00ff41, #3eaf55); color: #002b0e; }
    .eco-icon.pb { background: linear-gradient(135deg, #ff6600, #fbbf24); }
    .eco-icon.app { background: linear-gradient(135deg, #58a6ff, #79c0ff); }
    .eco-name {
      font-size: 17px; font-weight: 700;
      color: var(--fg);
      margin-bottom: 7px;
      display: flex; align-items: center; gap: 9px;
    }
    .eco-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
    .eco-desc { font-size: 13.5px; color: var(--fg-soft); flex: 1; margin-bottom: 15px; }
    .eco-link {
      font-family: ui-monospace, monospace;
      font-size: 11px; color: var(--muted);
      overflow-wrap: anywhere;
      display: inline-flex; align-items: center; gap: 6px;
    }
    .eco-link strong { color: var(--accent); }
    .companions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
    .companion {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--bg-elev); border: 1px solid var(--line);
      border-radius: 999px; padding: 7px 15px; font-size: 13px; color: var(--fg-soft);
    }
    .companion .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

    /* ─── QUICKSTART ─────────────────────────────────────── */
    .install-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(24px, 4vw, 44px); align-items: start; }
    @media (max-width: 820px) { .install-grid { grid-template-columns: 1fr; } }
    .terminal {
      background: #0d1117;
      border: 1px solid var(--line-hi);
      border-radius: 13px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    .terminal-bar {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 14px;
      background: rgba(22,27,34,0.7);
      border-bottom: 1px solid var(--line);
    }
    .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
    .dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
    .terminal-title { flex: 1; text-align: center; font-size: 11px; color: var(--dim); font-family: ui-monospace, monospace; }
    .terminal-body { padding: 18px 22px; font-family: ui-monospace, monospace; font-size: 13px; line-height: 1.9; color: var(--fg-soft); overflow-x: auto; }
    .terminal-body .prompt { color: var(--green); margin-right: 10px; user-select: none; }
    .terminal-body .comment { color: var(--dim); font-style: italic; }
    .terminal-body .key { color: var(--blue); }
    .copy-inline {
      margin-top: 14px; display: flex; align-items: center; gap: 10px;
      background: rgba(2,6,12,0.7); border: 1px solid var(--line-hi);
      border-radius: 11px; padding: 12px 14px;
      font-family: ui-monospace, monospace; font-size: 12.5px;
    }
    .copy-inline code { flex: 1; background: transparent; border: 0; padding: 0; color: var(--green-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .step-list {
      counter-reset: step;
      list-style: none;
    }
    .step-list li {
      counter-increment: step;
      position: relative;
      padding-left: 40px;
      margin-bottom: 16px;
      color: var(--fg-soft);
      font-size: 14px;
    }
    .step-list li::before {
      content: counter(step);
      position: absolute; left: 0; top: -1px;
      width: 27px; height: 27px;
      background: var(--bg-elev);
      border: 1px solid var(--line-hi);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 700; color: var(--accent);
      font-family: ui-monospace, monospace;
    }
    .step-list strong { color: var(--fg); }
    .callout {
      margin-top: 28px; font-size: 13.5px; padding: 16px 18px;
      background: rgba(255,169,64,0.06); border: 1px solid rgba(255,169,64,0.2);
      border-left: 3px solid var(--amber); border-radius: 8px;
      color: var(--fg-soft);
    }
    .callout strong { color: var(--amber); }

    /* ─── SPEC TABLE ─────────────────────────────────────── */
    .spec {
      background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }
    .spec table { width: 100%; border-collapse: collapse; }
    .spec th, .spec td {
      padding: 15px 24px;
      text-align: left;
      font-size: 14px;
      vertical-align: top;
      border-top: 1px solid var(--line);
    }
    .spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
    .spec th {
      color: var(--muted);
      font-weight: 600;
      width: 200px;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      font-size: 11px;
      white-space: nowrap;
    }
    .spec td { color: var(--fg); }
    .spec tr:hover td, .spec tr:hover th { background: rgba(255,255,255,0.015); }
    @media (max-width: 620px) {
      .spec th, .spec td { display: block; width: auto; padding: 6px 18px; }
      .spec th { padding-top: 15px; }
      .spec td { padding-bottom: 15px; border-top: 0; }
      .spec tr { border-top: 1px solid var(--line); }
      .spec tr:first-child { border-top: 0; }
    }

    /* ─── FAQ ─────────────────────────────────────────────── */
    .faq details {
      background: var(--bg-elev);
      border: 1px solid var(--line);
      border-radius: 11px;
      padding: 17px 22px;
      margin-bottom: 11px;
      transition: border-color 0.15s ease, background 0.15s ease;
    }
    .faq details[open] { border-color: var(--line-hi); background: var(--bg-elev-2); }
    .faq summary {
      cursor: pointer; list-style: none;
      display: flex; justify-content: space-between; gap: 16px; align-items: center;
      font-weight: 600; font-size: 15.5px;
      color: var(--fg);
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after {
      content: "+";
      color: var(--muted);
      font-size: 24px; line-height: 1;
      width: 22px; height: 22px;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.2s ease, color 0.2s ease;
      flex-shrink: 0;
    }
    .faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
    .faq details p {
      margin-top: 13px;
      color: var(--fg-soft);
      font-size: 14px;
      line-height: 1.72;
    }

    /* ─── FINAL CTA ──────────────────────────────────────── */
    .final {
      padding: var(--space) 24px;
      text-align: center;
      border-top: 1px solid var(--line);
      background: radial-gradient(circle 700px at 50% -10%, rgba(63,185,80,0.10), transparent 60%);
    }
    .final h2 {
      font-size: clamp(30px, 3.8vw, 46px);
      letter-spacing: -1px;
      margin-bottom: 16px;
      font-weight: 800;
    }
    .final p {
      color: var(--fg-soft);
      max-width: 560px;
      margin: 0 auto 30px;
      font-size: clamp(15px, 1.4vw, 17px);
    }

    /* ─── FOOTER ─────────────────────────────────────────── */
    footer {
      padding: 56px 24px 36px;
      border-top: 1px solid var(--line);
      background: rgba(0,0,0,0.22);
      color: var(--dim);
      font-size: 13.5px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 36px;
      margin-bottom: 40px;
    }
    @media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
    @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
    .footer-brand p { margin-top: 12px; max-width: 280px; color: var(--muted); }
    .footer-title {
      color: var(--fg);
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-size: 11px;
      font-weight: 700;
      margin-bottom: 14px;
    }
    footer ul { list-style: none; }
    footer li { padding: 5px 0; }
    footer li a { color: var(--muted); }
    footer li a:hover { color: var(--fg); }
    footer li .tag { color: var(--dim); font-size: 12px; }
    .footer-meta {
      padding-top: 26px;
      border-top: 1px solid var(--line);
      display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
      font-size: 12.5px;
      color: var(--dim);
    }
    .footer-meta code { font-size: 11px; }
    .footer-meta .badges { display: flex; flex-wrap: wrap; gap: 8px; }

    .key-block {
      font-family: ui-monospace, monospace;
      font-size: 11px;
      color: var(--accent);
      background: rgba(2,6,12,0.6);
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 6px 10px;
      overflow-wrap: anywhere;
      display: inline-block;
      max-width: 100%;
    }

    /* ─── SCROLL REVEAL ──────────────────────────────────── */
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
    .reveal.in { opacity: 1; transform: none; }
    .reveal.d1 { transition-delay: 0.08s; }
    .reveal.d2 { transition-delay: 0.16s; }
    .reveal.d3 { transition-delay: 0.24s; }

    /* ─── REDUCED MOTION ─────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
      }
      .reveal { opacity: 1 !important; transform: none !important; }
    }

/* ─────────────────────────────────────────────────────────────────────────
   Multi-page additions (features / apps / docs subpages + cross-page nav)
   ───────────────────────────────────────────────────────────────────────── */

/* active state for the cross-page nav */
.nav.top .links a.active { color: var(--fg); }
.nav.top .links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-soft), var(--green-deep));
}

/* compact page hero for subpages (the landing keeps its big .hero) */
.page-hero { padding: clamp(72px, 12vh, 130px) 0 0; position: relative; z-index: 1; }
.page-hero .wrap { text-align: left; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.page-hero .lede { max-width: 660px; margin-top: 16px; }

/* app catalogue grid */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-top: 8px; }
.app-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.app-card:hover { border-color: var(--line-hi); transform: translateY(-2px); background: var(--bg-elev-2); }
.app-card .app-name { font-size: 16px; font-weight: 650; color: var(--fg); letter-spacing: -0.2px; }
.app-card .app-cat { font-family: "SF Mono", Menlo, monospace; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.app-card p { color: var(--fg-soft); font-size: 14px; margin: 0; }

/* docs layout: sticky table-of-contents + content column */
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; margin-top: 8px; }
.doc-toc { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.doc-toc a { color: var(--muted); padding: 4px 0; border-left: 2px solid transparent; padding-left: 12px; transition: color 140ms ease, border-color 140ms ease; }
.doc-toc a:hover { color: var(--fg); border-left-color: var(--line-hi); }
.doc-section { scroll-margin-top: 86px; margin-bottom: 44px; }
.doc-section h2 { font-size: 24px; margin-bottom: 12px; letter-spacing: -0.3px; }
.doc-section h3 { font-size: 15px; margin: 22px 0 8px; color: var(--fg); }
.doc-section p, .doc-section li { color: var(--fg-soft); }
.doc-section ul, .doc-section ol { margin: 8px 0 8px 20px; }
.doc-section li { margin-bottom: 6px; }
.doc-section code, .app-card code { background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-family: "SF Mono", Menlo, monospace; font-size: 0.86em; color: var(--green-soft); }
.doc-section pre { background: #06080c; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin: 12px 0; }
.doc-section pre code { background: none; border: none; padding: 0; color: var(--fg-soft); font-size: 12.5px; line-height: 1.7; }
@media (max-width: 820px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px; } }
