/* ============================================================
   webhookvault.net — the night pamphlet
   Committed single-theme: the observatory has no day shift.
   Phosphor canon at marketing scale: void + aurora + grain,
   glass panels, whisper edges, ONE phosphor life-color.
   DM Sans carries display, Manrope the prose, DM Mono the machine.
   ============================================================ */


:root {
    --void: #07090F;
    --glass: rgba(16, 22, 34, .62);
    --glass-brt: rgba(24, 32, 48, .55);
    --inset: rgba(10, 14, 22, .5);
    --pane: #0A0E16;

    --ink-hi: #F2F6FA;
    --ink-md: #9FADBF;
    --ink-lo: #7B899C;

    --ph: #3CE8B4;
    --ph-brt: #6FF4CB;
    --ph-dim: rgba(60, 232, 180, .08);
    --ph-edge: rgba(60, 232, 180, .25);
    --ph-ink: #05231A;

    --amber: #FFC46B;
    --amber-ln: rgba(255, 196, 107, .35);
    --red: #FF7A88;
    --red-ln: rgba(255, 122, 136, .35);
    --blue: #7DC4FF;

    --edge: rgba(255, 255, 255, .045);
    --edge-faint: rgba(255, 255, 255, .028);
    --edge-brt: rgba(255, 255, 255, .10);

    --font-display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;

    --r-l: 16px;
    --r-m: 12px;
    --container: 1200px;
    --shadow-amb: 0 20px 60px rgba(2, 4, 8, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--void);
    color: var(--ink-md);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[hidden] { display: none !important; }

/* Atmosphere: two aurora radials fixed behind everything, grain above them. */
.atmos {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 45% at 22% -8%, rgba(38, 84, 120, .5), transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 12%, rgba(24, 96, 82, .35), transparent 70%),
        var(--void);
}
.grain {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(60, 232, 180, .25); color: var(--ink-hi); }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--ph);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-hi);
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin: 0;
    text-wrap: balance;
}
p { margin: 0; }
a { color: var(--ph); text-decoration: none; }
a:hover { color: var(--ph-brt); }
.mono { font-family: var(--font-mono); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7, 9, 15, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--edge-faint);
}
.site-nav .row {
    display: flex; align-items: center; gap: 26px;
    height: 64px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; font-size: 17px;
    color: var(--ink-hi); letter-spacing: -0.01em;
}
.nav-brand:hover { color: var(--ink-hi); }
.brand-mark {
    display: inline-block; width: 22px; height: 22px; flex: none;
    background: currentColor;
    -webkit-mask: url(/assets/logo.svg) center / contain no-repeat;
    mask: url(/assets/logo.svg) center / contain no-repeat;
}
.nav-spacer { flex: 1; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Primary nav: a floating glass pill, the house tab language at site scale. */
.nav-pill {
    display: flex; align-items: center; gap: 2px;
    background: rgba(16, 22, 34, .55);
    border: 1px solid var(--edge-brt);
    border-radius: 999px; padding: 4px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-left: 8px;
}
.pill-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
    color: var(--ink-md); padding: 7px 15px; border-radius: 999px;
    border: none; background: none; cursor: pointer; text-decoration: none;
    transition: background .15s ease, color .15s ease;
    white-space: nowrap;
}
.pill-link:hover { color: var(--ink-hi); background: rgba(255, 255, 255, .06); }
.pill-link .chev { transition: transform .18s ease; opacity: .7; }
.pill-link[aria-expanded="true"] { color: var(--ink-hi); background: rgba(255, 255, 255, .06); }
.pill-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-drop { position: relative; }
.drop-panel {
    position: absolute; top: calc(100% + 14px); left: -12px;
    width: 560px; padding: 10px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    background: rgba(13, 18, 28, .92);
    border: 1px solid var(--edge-brt);
    border-radius: var(--r-l);
    box-shadow: var(--shadow-amb), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 120;
}
.drop-panel::before { content: ""; position: absolute; top: -15px; left: 0; right: 0; height: 16px; }
.drop-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px; border-radius: var(--r-m);
    color: var(--ink-md); transition: background .14s ease;
}
.drop-item:hover { background: rgba(255, 255, 255, .05); color: var(--ink-md); }
.drop-item .di-ic {
    flex: none; width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    color: var(--ph); background: var(--ph-dim);
    border: 1px solid var(--ph-edge);
}
.drop-item .di-ic.amber { color: var(--amber); background: rgba(255,196,107,.08); border-color: var(--amber-ln); }
.drop-item b { display: block; color: var(--ink-hi); font-size: 13.5px; font-weight: 700; }
.drop-item i { display: block; font-style: normal; font-size: 12px; color: var(--ink-lo); margin-top: 2px; line-height: 1.45; }

.nav-burger {
    display: none; margin-left: auto;
    color: var(--ink-hi); background: none; border: 1px solid var(--edge-brt);
    border-radius: 10px; padding: 7px 9px; cursor: pointer;
}
.mobile-sheet {
    display: none; flex-direction: column; gap: 2px;
    padding: 10px 20px 18px;
    border-top: 1px solid var(--edge-faint);
    background: rgba(7, 9, 15, .97);
}
.mobile-sheet a {
    color: var(--ink-md); font-size: 15px; font-weight: 600;
    padding: 11px 6px; border-radius: 8px;
}
.mobile-sheet a:hover { color: var(--ink-hi); }
.mobile-sheet .sheet-ctas { display: flex; gap: 10px; margin-top: 12px; }
/* .mobile-sheet a outweighs .btn-primary; restate button ink or the CTA is
   mint-on-mint. */
.mobile-sheet .sheet-ctas .btn-primary { color: var(--ph-ink); }
.mobile-sheet .sheet-ctas .btn-ghost { color: var(--ink-hi); }
.mobile-sheet .sheet-ctas .btn { flex: 1; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
    border-radius: 999px; padding: 11px 22px;
    border: 1px solid transparent; cursor: pointer;
    transition: all .16s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--ph); color: var(--ph-ink);
    box-shadow: 0 0 24px rgba(60, 232, 180, .35);
}
.btn-primary:hover { background: var(--ph-brt); color: var(--ph-ink); box-shadow: 0 0 34px rgba(60, 232, 180, .5); }
.btn-glass {
    background: var(--glass-brt); color: var(--ink-hi);
    border-color: var(--edge-brt);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { color: var(--ink-hi); border-color: rgba(255, 255, 255, .2); }
.btn-ghost { color: var(--ink-md); }
.btn-ghost:hover { color: var(--ink-hi); }
.btn-lg { font-size: 16px; padding: 14px 28px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 40px; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: 56px; align-items: center;
}
.hero h1 {
    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 800;
    letter-spacing: -0.035em;
}
.hero h1 .silent { color: var(--ink-lo); position: relative; white-space: nowrap; }
.hero h1 .silent::after {
    content: ""; position: absolute; left: 0; right: 0; top: 54%;
    height: 2px; background: var(--amber);
    box-shadow: 0 0 12px rgba(255, 196, 107, .8);
    transform: scaleX(0); transform-origin: left;
    animation: flatline 1.1s .9s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes flatline { to { transform: scaleX(1); } }
.hero-sub {
    margin: 22px 0 30px; font-size: 18px; color: var(--ink-md);
    max-width: 60ch; line-height: 1.7;
}
.hero-sub strong { color: var(--ink-hi); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-lo); letter-spacing: .04em; }

/* The hero feed: the product's soul, animated. */
.feed-panel {
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: var(--r-l);
    box-shadow: var(--shadow-amb), inset 0 1px 0 rgba(255, 255, 255, .05);
    backdrop-filter: blur(18px);
    overflow: hidden;
}
.feed-head {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 18px; border-bottom: 1px solid var(--edge-faint);
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
    color: var(--ink-lo);
}
.feed-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--ph); margin-left: auto; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ph); box-shadow: 0 0 10px var(--ph); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.feed-rows { padding: 4px 0; min-height: 318px; }
.feed-row {
    display: grid; grid-template-columns: auto auto 1fr auto;
    gap: 12px; align-items: center;
    padding: 10px 18px;
    border-bottom: 1px solid var(--edge-faint);
    font-family: var(--font-mono); font-size: 12.5px;
    opacity: 0; transform: translateY(-6px);
    animation: rowIn .4s ease forwards;
}
@keyframes rowIn { to { opacity: 1; transform: none; } }
.feed-row .t { color: var(--ink-lo); font-size: 11px; font-variant-numeric: tabular-nums; }
.feed-row .m {
    font-size: 10px; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px;
    border: 1px solid var(--ph-edge); color: var(--ph);
}
.feed-row .ev { color: var(--ink-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-row .st { display: inline-flex; align-items: center; gap: 6px; color: var(--ph); font-size: 11px; }
.feed-row .st .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.feed-row.is-alarm { background: rgba(255, 196, 107, .05); }
.feed-row.is-alarm .m { border-color: var(--amber-ln); color: var(--amber); }
.feed-row.is-alarm .ev { color: var(--amber); }
.feed-row.is-alarm .st { color: var(--amber); }
.feed-alarm-note {
    padding: 12px 18px; font-family: var(--font-mono); font-size: 11.5px;
    color: var(--amber); border-top: 1px solid var(--amber-ln);
    background: rgba(255, 196, 107, .04);
    display: flex; gap: 10px; align-items: center;
    opacity: 0; animation: rowIn .5s ease forwards; animation-delay: var(--d, 0s);
}

/* ---------- demo strip ---------- */
.demo-strip { padding: 46px 0 8px; }
.demo-card {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: rgba(5, 8, 13, .8);
    border: 1px solid var(--ph-edge);
    border-radius: var(--r-l);
    padding: 18px 22px;
    box-shadow: inset 0 0 40px rgba(60, 232, 180, .05);
}
.demo-card .lbl { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-hi); white-space: nowrap; }
.demo-card code {
    font-family: var(--font-mono); font-size: 13px; color: var(--ink-hi);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 240px;
}
.demo-card code b { color: var(--ph); font-weight: 400; text-shadow: 0 0 12px rgba(60, 232, 180, .5); }
.copy-btn {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
    color: var(--ink-md); background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
    padding: 5px 14px; cursor: pointer;
}
.copy-btn:hover { color: var(--ink-hi); border-color: rgba(255, 255, 255, .25); }

/* ---------- sections ---------- */
.section { padding: 110px 0 0; }
.section-tail { padding-bottom: 110px; }
.kicker {
    font-family: var(--font-display); font-size: 12px; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase; color: var(--ph);
    margin-bottom: 14px;
}
.kicker.amber { color: var(--amber); }
.section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.section .lede { margin-top: 18px; font-size: 17px; max-width: 78ch; line-height: 1.7; }
.section .lede strong { color: var(--ink-hi); font-weight: 600; }

.split {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px; align-items: center; margin-top: 26px;
}
/* Grid items default to min-width:auto, which lets a wide child (the diagram
   SVG) blow the track past the viewport on phones — copy runs off-screen and
   overflow-x:hidden makes it unreachable. Never again. */
.split > *, .hero-grid > * { min-width: 0; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .split-copy { order: 2; }
.split-copy h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.split-copy p { margin-top: 14px; }
.split-copy p strong { color: var(--ink-hi); font-weight: 600; }
.split-copy .points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split-copy .points li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.split-copy .points li::before { content: "▪"; color: var(--ph); font-size: 10px; }
.split-copy .go { display: inline-flex; margin-top: 22px; font-weight: 700; font-size: 14.5px; }

/* product shots framed as glass */
.shot-frame {
    border-radius: var(--r-l);
    border: 1px solid var(--edge-brt);
    box-shadow: var(--shadow-amb);
    overflow: hidden;
    background: var(--pane);
    position: relative;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame.glow { box-shadow: var(--shadow-amb), 0 0 80px rgba(60, 232, 180, .07); }
.shot-caption {
    margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px;
    letter-spacing: .05em; color: var(--ink-lo); text-align: center;
}

/* code pane (verification block, docs snippets) */
.code-pane {
    background: var(--pane);
    border: 1px solid var(--edge-brt);
    border-radius: var(--r-l);
    overflow: hidden;
    box-shadow: var(--shadow-amb);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.75;
}
.code-pane .cp-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-bottom: 1px solid var(--edge-faint);
    font-size: 11px; letter-spacing: .06em; color: var(--ink-lo);
}
.code-pane .cp-head .ok { margin-left: auto; color: var(--ph); display: inline-flex; gap: 6px; align-items: center; }
.code-pane pre { margin: 0; padding: 18px 20px; overflow-x: auto; color: #D7E4F2; }
.ck { color: #6FF4CB; } .cs { color: #B9E8FF; } .cn { color: #FFC46B; }
.cc { color: #66738A; } .cf { color: #D9B8FF; }

/* ---------- stats strip ---------- */
.stats {
    margin-top: 100px;
    border-top: 1px solid var(--edge-faint);
    border-bottom: 1px solid var(--edge-faint);
    background: rgba(10, 14, 22, .35);
}
.stats .row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 26px; padding: 44px 0;
}
.stat b {
    display: block; font-family: var(--font-display); font-weight: 800;
    font-size: 34px; color: var(--ink-hi); letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.stat b .u { color: var(--ph); }
.stat span { font-size: 13.5px; color: var(--ink-lo); }

/* ---------- pricing ---------- */
.tier-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-top: 44px;
}
.tier {
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: var(--r-l);
    padding: 26px 24px;
    display: flex; flex-direction: column; gap: 0;
    backdrop-filter: blur(12px);
}
.tier.hot { border-color: var(--ph-edge); box-shadow: 0 0 60px rgba(60, 232, 180, .08); position: relative; }
.tier .flag {
    position: absolute; top: -11px; left: 22px;
    font-family: var(--font-display); font-size: 10.5px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    background: var(--ph); color: var(--ph-ink);
    border-radius: 999px; padding: 3px 12px;
}
.tier h3 { font-size: 17px; font-weight: 800; }
.tier .price { margin-top: 12px; font-family: var(--font-display); }
.tier .price b { font-size: 38px; font-weight: 800; color: var(--ink-hi); letter-spacing: -0.03em; }
.tier .price span { font-size: 13px; color: var(--ink-lo); }
.tier .for { margin: 8px 0 16px; font-size: 13px; color: var(--ink-lo); min-height: 38px; }
.tier ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.tier ul li { display: flex; gap: 9px; align-items: baseline; }
.tier ul li::before { content: "✓"; color: var(--ph); font-size: 11px; font-weight: 700; }
.tier ul li.dim { color: var(--ink-lo); }
.tier ul li.dim::before { content: "·"; }
.tier ul b { color: var(--ink-hi); font-weight: 700; white-space: nowrap; }
.tier .btn { margin-top: auto; justify-content: center; }
.price-note { margin: 26px auto 0; font-size: 14px; color: var(--ink-lo); max-width: 68ch; text-align: center; }
.price-note strong { color: var(--ink-md); }

/* ---------- FAQ ---------- */
.faq { margin-top: 60px; display: grid; gap: 10px; max-width: 820px; }
.faq details {
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: var(--r-m);
    padding: 0 22px;
}
.faq summary {
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
    color: var(--ink-hi); padding: 17px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-lo); font-size: 20px; font-weight: 400; transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; max-width: 64ch; font-size: 14.5px; }
.faq details p strong { color: var(--ink-hi); }

/* ---------- closing CTA ---------- */
.closer { padding: 130px 0 120px; text-align: center; }
.closer h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin: 0 auto; max-width: 26ch; }
.closer .lede { margin: 18px auto 30px; }
.closer .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.mega-foot {
    border-top: 1px solid var(--edge-faint);
    background: rgba(5, 7, 12, .6);
    padding: 64px 0 40px;
    font-size: 13.5px;
}
.foot-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 34px;
}
.foot-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-brand .tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-lo); letter-spacing: .04em; }
.foot-col h4 {
    font-family: var(--font-display); font-size: 11px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-lo);
    margin-bottom: 14px;
}
.foot-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-md); }
.foot-col a:hover { color: var(--ink-hi); }
.foot-col .soon { color: var(--ink-lo); font-size: 10px; font-family: var(--font-mono); letter-spacing: .06em; margin-left: 6px; }
.foot-base {
    margin-top: 48px; padding-top: 22px;
    border-top: 1px solid var(--edge-faint);
    display: flex; gap: 18px; align-items: center;
    font-size: 12.5px; color: var(--ink-lo); flex-wrap: wrap;
}
.foot-base .sp { flex: 1; }
.foot-base a { color: var(--ink-lo); }
.foot-base a:hover { color: var(--ink-md); }

/* ---------- subpage scaffolding ---------- */
.page-hero { padding: 84px 0 10px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lede { margin-top: 18px; font-size: 17px; max-width: 78ch; line-height: 1.7; }
.page-hero .lede strong { color: var(--ink-hi); }
.page-hero .hero-ctas { margin-top: 28px; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step {
    background: var(--glass); border: 1px solid var(--edge);
    border-radius: var(--r-l); padding: 24px 22px;
}
.step .n {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
    color: var(--ph); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; }
.step code { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-hi); }

.prose { max-width: 76ch; }
.prose p { margin-top: 16px; font-size: 15.5px; }
.prose p strong { color: var(--ink-hi); font-weight: 600; }
.prose h2 { margin-top: 54px; font-size: 26px; }
.prose h3 { margin-top: 34px; font-size: 19px; }
.prose ul { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 8px; font-size: 15px; }
.prose li::marker { color: var(--ph); }

/* Editorial two-column: heading rail left, content right — fills the
   container instead of stranding a 76ch prose block beside dead space. */
.duo {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: 64px; align-items: start;
}
.duo-rail { position: sticky; top: 92px; }
.duo-rail .kicker { margin-bottom: 12px; }
.duo-rail h2 { font-size: clamp(26px, 2.6vw, 34px); }
.rail-note { margin-top: 14px; color: var(--ink-lo); font-size: 15px; line-height: 1.6; max-width: 36ch; }
.duo .prose { max-width: none; }
.duo .prose > :first-child { margin-top: 0; }

/* Provider wall */
.pv-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pv-tile {
    display: flex; flex-direction: column; gap: 3px;
    background: var(--glass); border: 1px solid var(--edge);
    border-radius: var(--r-m); padding: 18px 18px 15px;
    color: var(--ink-md);
    transition: border-color .15s ease, transform .15s ease;
}
a.pv-tile:hover { border-color: var(--ph-edge); transform: translateY(-2px); color: var(--ink-md); }
.pv-mark {
    width: 26px; height: 26px; margin-bottom: 9px;
    background: var(--ink-hi); opacity: .85;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: left center;
    mask-size: contain; mask-repeat: no-repeat; mask-position: left center;
}
.pv-mark.pv-mono {
    background: none; opacity: 1;
    display: grid; place-items: center;
    border: 1px solid var(--edge-brt); border-radius: 7px;
    font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-hi);
}
.pv-tile b { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--ink-hi); }
.pv-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-lo); }
.pv-more { margin-top: 26px; font-size: 14px; color: var(--ink-lo); line-height: 1.8; max-width: none; }
.pv-more span { color: var(--ink-md); }

/* Homepage logo strip: quiet social proof under the hero */
.logo-strip { padding: 38px 0 6px; }
.ls-label {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
    color: var(--ink-lo); text-align: center; margin-bottom: 20px;
}
.ls-row { display: flex; flex-wrap: wrap; gap: 26px 38px; align-items: center; justify-content: center; }
.ls-mark {
    width: 26px; height: 26px; background: var(--ink-hi); opacity: .5;
    transition: opacity .15s ease;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
    mask-size: contain; mask-repeat: no-repeat; mask-position: center;
}
.ls-mark:hover { opacity: .9; }
.ls-more { font-size: 13.5px; font-weight: 600; }

/* Section intro: heading rail left, lede right — the width is used by
   structure instead of stranding a capped paragraph beside dead space. */
.sec-head {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 16px 72px; align-items: end; margin-bottom: 10px;
}
.sec-head .lede { margin-top: 0; max-width: none; padding-bottom: 4px; }

/* Page hero: copy left, an "at a glance" card right — the hero's right half
   carries substance instead of only the watermark. */
.page-hero .container {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 72px; align-items: center;
}
.page-hero .hero-copy { min-width: 0; }
.page-hero .lede { max-width: none; }
.hero-facts {
    background: var(--glass); border: 1px solid var(--edge);
    border-radius: var(--r-l); box-shadow: var(--shadow-amb);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 24px 26px;
}
.hero-facts .hf-k {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
    color: var(--ink-lo); margin-bottom: 14px;
}
.hero-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hero-facts li { display: flex; gap: 11px; align-items: baseline; font-size: 14.5px; color: var(--ink-md); line-height: 1.5; }
.hero-facts li::before {
    content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ph); box-shadow: 0 0 8px rgba(60, 232, 180, .5);
    transform: translateY(-2px);
}
.hero-facts .mono { font-size: 13px; }

/* honest comparison table */
.vs-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 14.5px; }
.vs-table th, .vs-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--edge-faint); vertical-align: top; }
.vs-table th {
    font-family: var(--font-display); font-size: 12px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; color: var(--ink-lo);
}
.vs-table td:first-child { color: var(--ink-hi); font-weight: 600; }
.vs-table .yes { color: var(--ph); }
.vs-table .no { color: var(--ink-lo); }
.vs-table .part { color: var(--amber); }

.scroll-x { overflow-x: auto; max-width: 100%; }

/* diagrams */
.diagram-wrap {
    background: var(--glass); border: 1px solid var(--edge);
    border-radius: var(--r-l); padding: 30px; overflow-x: auto;
    max-width: 100%;
}
.diagram-wrap svg { display: block; width: 100%; height: auto; min-width: 520px; }

/* scroll reveal — gated on .js so content is visible when JS never runs */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .feed-row, .feed-alarm-note { animation: none; opacity: 1; transform: none; }
    .hero h1 .silent::after { animation: none; transform: scaleX(1); }
    .live-dot { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sec-head { grid-template-columns: 1fr; gap: 10px; align-items: start; }
    .sec-head .lede { max-width: 78ch; }
    .page-hero .container { grid-template-columns: 1fr; gap: 30px; }
    .page-hero .lede { max-width: 78ch; }
    .hero-facts { max-width: 560px; }
    .duo { grid-template-columns: 1fr; gap: 26px; }
    .duo-rail { position: static; }
    .rail-note { max-width: none; }
    .pv-wall { grid-template-columns: repeat(3, 1fr); }
    .split, .split.flip { grid-template-columns: 1fr; gap: 30px; }
    .split.flip .split-copy { order: 0; }
    .stats .row { grid-template-columns: repeat(2, 1fr); }
    .tier-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .step-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .site-nav .row { gap: 10px; }
    .nav-brand { font-size: 15px; }
    .btn { padding: 9px 14px; font-size: 13.5px; }
}
@media (max-width: 900px) {
    /* The pill folds into a burger + full-width sheet; primary destinations
       stay one tap away instead of vanishing. */
    .nav-pill { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: inline-flex; }
    .mobile-sheet:not([hidden]) { display: flex; }
}
@media (max-width: 640px) {
    .pv-wall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ls-row { gap: 20px 26px; }
    .tier-grid { grid-template-columns: 1fr; }
    .stats .row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero { padding-top: 64px; }
    .section { padding-top: 80px; }
}

/* ── Brand watermark: the mark, huge and quiet, behind the hero ─────────── */
/* overflow clip: the watermark deliberately bleeds past the right edge; without
   clipping it widens the page scroll area on phones. */
.hero { position: relative; overflow: hidden; overflow: clip; }
.hero-watermark {
    position: absolute; z-index: -1; pointer-events: none;
    right: -160px; top: -90px; width: 640px; height: 640px;
    background: linear-gradient(200deg, var(--ph), #1B6D57 70%);
    opacity: .055;
    -webkit-mask: url(/assets/logo.svg) center / contain no-repeat;
    mask: url(/assets/logo.svg) center / contain no-repeat;
    transform: rotate(8deg);
}
.page-hero { position: relative; overflow: hidden; overflow: clip; }
.page-hero .hero-watermark { right: -120px; top: -120px; width: 520px; height: 520px; }

/* Footer brand: a real lockup, not a whisper. */
.foot-brand .nav-brand { font-size: 21px; }
.foot-brand .brand-mark { width: 30px; height: 30px; color: var(--ph); }

/* ── Motion on the inner pages ──────────────────────────────────────────── */
/* Watchdog timeline: pulses land one by one, the alarm rises last. Driven by
   the reveal observer adding .in to the wrapper. */
.js .diagram-wrap .wd-p { opacity: 0; }
.js .in .wd-p { animation: wdPop .5s cubic-bezier(.2,.9,.3,1.4) forwards; }
.js .in .wd-p:nth-of-type(1) { animation-delay: .15s; }
.js .in .wd-p:nth-of-type(2) { animation-delay: .35s; }
.js .in .wd-p:nth-of-type(3) { animation-delay: .55s; }
.js .in .wd-p:nth-of-type(4) { animation-delay: .75s; }
.js .in .wd-p:nth-of-type(5) { animation-delay: 1.35s; }
.js .in .wd-p:nth-of-type(6) { animation-delay: 1.55s; }
@keyframes wdPop { to { opacity: 1; } }
.js .diagram-wrap .wd-miss { opacity: 0; }
.js .in .wd-miss { animation: wdPop .4s ease forwards 1.05s; }
.js .diagram-wrap .wd-alarm { opacity: 0; transform: translateY(8px); }
.js .in .wd-alarm { animation: wdAlarm .55s ease forwards 1.9s; }
@keyframes wdAlarm { to { opacity: 1; transform: none; } }

/* Outbox flow: traffic marches along the pipeline. */
.js .in .flow-ln { stroke-dasharray: 7 6; animation: flowMarch 1.2s linear infinite; }
@keyframes flowMarch { to { stroke-dashoffset: -13; } }
.js .in .flow-retry { animation: pulse 1.8s ease-in-out infinite; }

/* Cards answer the cursor. */
.tier, .step { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.tier:hover, .step:hover { transform: translateY(-4px); border-color: var(--edge-brt); }
.tier.hot:hover { box-shadow: 0 8px 70px rgba(60, 232, 180, .12); }
.shot-frame { transition: transform .3s ease; }
.split:hover .shot-frame, .split:hover ~ * .shot-frame { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
    .js .diagram-wrap .wd-p, .js .diagram-wrap .wd-miss, .js .diagram-wrap .wd-alarm { opacity: 1; transform: none; animation: none; }
    .js .in .flow-ln, .js .in .flow-retry { animation: none; }
    .tier, .step, .shot-frame { transition: none; }
}
