/* Tier-1 pass (2026-10-27), loaded last on every page. Tokens aligned with the Trace app (Geist, accent #2f6bff);
   the River palette appears only in interaction moments (the spotlight border, focus). Status tags, demo numbers,
   founder-input placeholders, the hero product view, and the fixes for blank reveals, strikethrough and loops. */
:root {
  --accent: #2f6bff; --accent-hover: #1f55e6; --ink: #0a2540; --slate: #4f5f7d; --muted: #5f6e8e;
  --line: rgba(10, 37, 64, .08); --line-2: rgba(10, 37, 64, .14); --surface: #fff; --subtle: #f6f8fb;
  --river: linear-gradient(90deg, #2ee6d6, #22b8ff, #2f6bff, #7b5cff, #ff5fa2, #ffc46b);
  --ok: #0f6b34; --ok-bg: #e3f6e9; --warn: #8a5a00; --warn-bg: #fff3dc; --bad: #b4232f; --bad-bg: #fdecee;
  --ease: cubic-bezier(.2, 0, 0, 1); --t1: 120ms; --t2: 180ms; --t3: 240ms;
}
.tnum, .kpi b, .tt td, .chain time { font-variant-numeric: tabular-nums; }

/* Founder-input placeholders: hidden in production, visible with ?founder-inputs=1 */
.fi-d { display: none; } html.fi-dev .fi-d { display: inline-block; padding: 2px 8px; border: 1px dashed #d97706; border-radius: 6px; background: #fff7e6; color: #8a4b00; font: 500 12.5px/1.5 var(--mono); }
html.fi-dev .fi-p { display: none; }
.fi-p:empty { display: none; }

/* Status tags: one vocabulary (Available / In design-partner preview / Planned) */
.stat { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 12.5px/1 var(--font); font-style: normal; white-space: nowrap; }
.stat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.stat-av { background: var(--ok-bg); color: var(--ok); } .stat-pv { background: #e8f0ff; color: #1f4fd1; } .stat-pl { background: #eef1f5; color: #4a5875; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: 14.5px; color: var(--slate); max-width: 52ch; position: relative; z-index: 5; }

/* Scroll reveal: content is visible by default; the enhancement is a short fade from .6, once */
.reveal { opacity: .6; transform: translateY(8px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Nav: an opaque pill, so the hero ribbon never bleeds through it */
.nav-in { background: rgba(255, 255, 255, .96); }
.nav.stuck .nav-in { background: #fff; }
/* the live-demo card, in the language of the app's "See Trace at work" card: the River fills its lower half, a white
   panel floats over it (v64) */
.mm-feature { justify-content: flex-start; padding: 12px 12px 84px; gap: 0; background: #fff; box-shadow: inset 0 0 0 1px #e3e8ef; transition: box-shadow .2s; }
.mm-feature:hover { box-shadow: inset 0 0 0 1px #c9d3e2, 0 10px 28px -14px rgba(10, 37, 64, .3); }
.mm-feature canvas { position: absolute; inset: auto; left: -30%; top: -10px; width: 160%; height: 470px; z-index: -1; }
.mm-panel { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 37, 64, .07), 0 12px 30px -12px rgba(10, 37, 64, .28); }
.mm-feature .mm-panel > span { max-width: none; font-size: 13.5px; line-height: 1.45; }
.mm-feature em { margin-top: 4px; } .mm-feature em svg { transition: transform .2s; } .mm-feature:hover em svg { transform: translateX(3px); }
.mm-feature { min-height: 0; }
.mm-feature b { color: var(--ink); } .mm-feature span { color: var(--slate); } .mm-feature em { color: var(--accent); }
.menu-cta { display: grid; gap: 8px; margin: 16px 0 0; } .menu-cta .btn { justify-content: center; width: 100%; }

/* Demo numbers: outcome bar, threshold bar, verdict pill */
.ob5 svg, .thr svg { display: block; width: 100%; height: 10px; border-radius: 5px; overflow: hidden; }
.o-a { fill: #2f6bff; background: #2f6bff; } .o-b { fill: #9dbcff; background: #9dbcff; } .o-c { fill: #cfd6e4; background: #cfd6e4; }
.o-d { fill: #f5a524; background: #f5a524; } .o-e { fill: #e5484d; background: #e5484d; }
.ob5 ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; font-size: 13px; color: var(--slate); }
.ob5 li { display: inline-flex; align-items: center; gap: 6px; } .ob5 li i { width: 9px; height: 9px; border-radius: 2px; } .ob5 li b { color: var(--ink); font-weight: 600; }
.ob5.sm ul { font-size: 12px; gap: 4px 12px; }
.thr { margin: 18px 0 16px; } .thr-bg { fill: #e9eef6; } .thr-v { fill: var(--accent); } .thr-m { fill: var(--ink); }
.thr p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; font-size: 12.5px; color: var(--muted); } .thr p b { color: var(--ink); font-weight: 600; }
.pill-v { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 13px; font-weight: 500; white-space: nowrap; }

/* Home: the hero's product view, below the copy (the right side stays the river's) */
.hp-sec { position: relative; z-index: 2; margin-top: -24px; padding-bottom: 96px; }
.hp-app { margin: 0 auto; max-width: 1040px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(20, 45, 110, .35); overflow: hidden; }
.hp-app .b-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--subtle); border-bottom: 1px solid var(--line); }
.hp-app .b-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.hp-app .b-bar span { margin: 0 auto; padding: 3px 30px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 12px var(--mono); color: var(--muted); }
.hp-in { padding: 28px 32px 26px; }
.hp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hp-k { font-size: 13px; color: var(--muted); } .hp-t { margin-top: 4px; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.kpi { padding: 16px 18px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.kpi span { display: block; font-size: 13px; color: var(--muted); } .kpi b { display: block; margin: 6px 0 2px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.kpi small { font-size: 12.5px; color: var(--muted); }
.hp-f { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); } .hp-f b { color: var(--ink); }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr; } .hp-in { padding: 20px 18px; } .hp-top { flex-direction: column; } .hp-sec { padding-bottom: 64px; margin-top: 0; } }

/* Home: why now, calm metric tiles instead of gradient numerals */
.why-now { padding: 112px 0 104px; }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 48px 0 0; padding: 0 64px; }
.tiles li { padding: 22px 22px 24px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tiles b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: #fff; } .tiles span { display: block; margin-top: 8px; font-size: 15px; color: #a9bbdc; }
.src { margin-top: 22px; padding: 0 64px; font-size: 13.5px; color: var(--muted); } .src.on-dark { color: #8aa3cf; } .src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.src.on-dark a:hover { color: #fff; }

/* Home: phases */
.phases { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 28px; padding: 0 64px; }
.phases li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -32px rgba(50, 50, 93, .3); }
.phases h3 { font-size: 20px; font-weight: 600; color: var(--ink); } .phases p { flex: 1; font-size: 15.5px; }
.ph-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8f0ff; color: var(--accent); font-size: 13px; font-weight: 600; }
.m-rows2 { list-style: none; margin: 14px 0 0; padding: 0; font-size: 12.5px; }
.m-rows2 li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--slate); }
.m-rows2 b { color: var(--ink); font-weight: 500; } .m-rows2 em { font-style: normal; color: var(--muted); min-width: 108px; text-align: right; }
.win-body .ob5 { margin-top: 12px; }
.mosaic p i { display: inline-block; }

/* Home: walkthrough on the dark band; outcome tags on the example cards */
.walk { margin-top: 48px; padding: 0 64px; }
.stack-sec.bento-sec { overflow: hidden; }
.wa-tag.ok { background: var(--ok-bg); color: var(--ok); }
.wa-yes { animation: none !important; }
.jr-art { background: linear-gradient(160deg, #eef3ff, #f6f8fb); }
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font: 12.5px/1.4 var(--mono); }
.chain li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .chain b { font-weight: 500; }
.chain code { padding: 1px 7px; border-radius: 4px; background: #e8f0ff; color: #1f4fd1; font-size: 11.5px; }
.chain-n { margin-top: 10px; font-size: 12px; color: var(--muted); }
.jr-log .chain li { border-color: rgba(138, 163, 207, .16); padding: 7px 0; } .jr-log .chain code { background: rgba(47, 107, 255, .32); color: #cfe0ff; }
.jr-log .chain-n { color: #8aa3cf; font-size: 11px; } .jr-log .chain b { color: #fff; }

/* Home: controls, pricing teaser, founders */
.controls { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 0; padding: 0 64px; }
.controls li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.controls b { color: var(--ink); font-weight: 600; } .controls span { flex: 1; } .controls .more { margin-top: 0; }
.steps.tease { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 56px; padding: 0 64px; }
.steps.tease .step { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.steps.tease h3 { font-size: 18px; color: var(--ink); } .steps.tease .price { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; } .steps.tease .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.steps.tease p:not(.price) { flex: 1; font-size: 15.5px; }
.vs::after { background: #fff; }
.founders { padding-bottom: 32px; }
.fd { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 14px; padding: 0 64px; }
.fd-c { padding: 22px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); background: #fff; font-size: 15.5px; }
.fd-c:has(.fi-p:empty):not(.fd-k) { display: none; } html.fi-dev .fd-c { display: block; }
.fd-k a:not(.more) { color: var(--accent); }
@media (max-width: 960px) {
  .tiles, .phases, .controls, .steps.tease, .fd { grid-template-columns: 1fr; padding: 0 24px; } .walk, .src { padding: 0 24px; }
  .vs span:not(.t) { text-decoration: none; }
}

/* Closing card: the live demo's Replay result */
.rr .r-card { transform: none; } .rr .r-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rr-k { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.rr .r-big { margin-top: 14px; } .rr .r-note { margin-top: 14px; font-size: 12.5px; } .rr .r-note a { color: var(--accent); }
.rr code { font-size: 11.5px; }

/* Forms: honeypot, states */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.ok { color: #b8f5d0; } .form-msg.err { color: #ffd0d6; }
.cform .form-msg.ok { color: var(--ok); } .cform .form-msg.err { color: var(--bad); }
.form[aria-busy="true"] button, .cform[aria-busy="true"] button { opacity: .6; pointer-events: none; }

/* River hover (tiny detail). Palette: teal #2EE6D6, sky #22B8FF, blue #2F6BFF, periwinkle #6E9BFF, violet #7B5CFF, pink #FF5FA2, amber #FFC46B, coral #FF966E.
   Glow shows only on hover or keyboard focus; opacity and transform only; nothing loops. */
:root { --river: conic-gradient(from 210deg, #2EE6D6, #22B8FF, #2F6BFF, #6E9BFF, #7B5CFF, #FF5FA2, #FF966E, #FFC46B, #2EE6D6); --river-line: linear-gradient(90deg, #2EE6D6, #22B8FF, #2F6BFF, #7B5CFF, #FF5FA2, #FF966E); }
.btn-primary, .btn-glow, .btn-white, .btn-frost, .btn-ghost, .btn-quiet, .btn-line, .btn-onhero { position: relative; }
.btn-primary::before, .btn-glow::before, .btn-white::before, .btn-frost::before, .btn-line::before, .btn-onhero::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--river); pointer-events: none; opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--t2) var(--ease); }
.btn-primary::after, .btn-glow::after, .btn-white::after, .btn-frost::after, .btn-line::after, .btn-onhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--river); filter: blur(14px); transform: scale(.92); opacity: 0; pointer-events: none;
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
.btn-primary:hover::before, .btn-glow:hover::before, .btn-white:hover::before, .btn-frost:hover::before, .btn-line:hover::before, .btn-onhero:hover::before,
.btn-primary:focus-visible::before, .btn-glow:focus-visible::before, .btn-white:focus-visible::before, .btn-frost:focus-visible::before, .btn-line:focus-visible::before, .btn-onhero:focus-visible::before { opacity: 1; }
.btn-primary:hover::after, .btn-glow:hover::after, .btn-white:hover::after, .btn-frost:hover::after, .btn-line:hover::after, .btn-onhero:hover::after,
.btn-primary:focus-visible::after, .btn-glow:focus-visible::after, .btn-white:focus-visible::after, .btn-frost:focus-visible::after, .btn-line:focus-visible::after, .btn-onhero:focus-visible::after { opacity: .32; transform: scale(1); }
.btn-primary, .btn-glow { isolation: isolate; }
/* Secondary buttons, text links and nav links: a River underline that draws in */
.btn-ghost::after, .btn-quiet::after, .hero-link::after, .nav .links > a::after, .nav .dd-btn::after, .signin::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--river-line); pointer-events: none;
  transform: scaleX(.3); transform-origin: left; opacity: 0; transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
.hero-link { position: relative; } .hero-link::after { left: 0; right: 0; bottom: -4px; }
.nav .links > a, .nav .dd-btn, .signin { position: relative; }
.btn-ghost:hover::after, .btn-quiet:hover::after, .hero-link:hover::after, .nav .links > a:hover::after, .nav .dd-btn:hover::after, .signin:hover::after,
.btn-ghost:focus-visible::after, .btn-quiet:focus-visible::after, .hero-link:focus-visible::after, .nav .links > a:focus-visible::after, .nav .dd-btn:focus-visible::after, .signin:focus-visible::after { opacity: 1; transform: scaleX(1); }
/* Cards: a 1px River border that follows the pointer (JS sets --x/--y). Hover only; off on touch and reduced motion. */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), #2EE6D6, #22B8FF 22%, #7B5CFF 48%, #FF5FA2 68%, transparent 82%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity var(--t2) var(--ease); }
.spot:focus-within::before { opacity: .8; }
@media (hover: hover) and (pointer: fine) { .spot:hover::before { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after, .btn-glow::after, .nav .links > a::after, .hero-link::after { transition: none; } .spot::before { display: none; } }

/* The 3D tilt on cards is off: cards stay still (founder taste and the tier-1 spec) */
.tilt-on { transform: none !important; }

/* Product: autonomy table from the live demo */
.tt-wrap { overflow-x: auto; margin-top: 8px; }
.tt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tt caption { caption-side: top; text-align: left; padding: 0 0 12px; font-size: 13px; color: var(--muted); }
.tt th, .tt td { padding: 11px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tt thead th { border-top: 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.tt tbody th { font-weight: 500; color: var(--ink); } .tt td { color: var(--slate); }
.tt .small { margin-left: 6px; font-size: 12px; font-style: normal; color: var(--warn); }
.lv { display: inline-flex; height: 24px; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.lv0 { background: #eef1f5; color: #4a5875; } .lv1 { background: #e8f0ff; color: #1f4fd1; } .lv2 { background: var(--ok-bg); color: var(--ok); }

/* Security: data flow */
.df { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.df > div { position: relative; padding: 20px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; }
.df > div + div::before { content: ""; position: absolute; left: -14px; top: 34px; width: 14px; height: 1px; background: var(--line-2); }
.df h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 8px; } .df dl { margin: 0; display: grid; gap: 8px; } .df dt { font-size: 12.5px; color: var(--muted); } .df dd { margin: 0; color: var(--ink); }
@media (max-width: 960px) { .df { grid-template-columns: 1fr; } .df > div + div::before { display: none; } }

/* Shared inner-page pieces */
.principle-s { font-size: 13px; color: var(--muted); margin-top: 10px; }
.note-box a, .essay a, .q a { color: var(--accent); }
.pad-top-s { padding-top: 20px !important; } .mt-xl { margin-top: 112px; }

/* Home fixes after the first look */
.jr-log .chain-n { display: none; }
.flow-hero .status-line { max-width: 40ch; }
.fd { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } .fd-k { max-width: 560px; }
.on-dk { color: #8aa3cf; } .plan .stat { align-self: flex-start; margin-bottom: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.sc-hero .panel-h b { color: #fff; } .sc-hero .chain li { border-color: rgba(255, 255, 255, .1); color: #c6d4ef; } .sc-hero .chain b { color: #fff; }
.sc-hero .chain code { background: rgba(47, 107, 255, .3); color: #cfe0ff; } .sc-hero .chain-n { color: #8aa3cf; } .sc-hero .chain li span { white-space: normal; }
.principle .stat, .feature .stat, .uc .stat { margin-top: 12px; }
.inherit { color: inherit; }
.ph-top { align-items: start; }
.scn .chain-n { display: none; } .scn .chain li { padding: 6px 0; }
@media (max-width: 720px) {
  .flow-hero .status-line { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px var(--line); }
  .m-rows2 li { grid-template-columns: 1fr auto; } .m-rows2 em { display: none; }
}
.scn .chain li span { white-space: normal; } .scn .chain, .scn .chain li { min-width: 0; }
.ev2 > *, .trl .chain, .trl .chain li { min-width: 0; } .trl .chain li span { white-space: normal; }

/* v67 nav, after Stripe: a full-width bar, the wordmark alone, links that only change colour on hover. No floating
   pill, no River underline, no glow on the button. Clear at the top of the page; white with a hairline once scrolled. */
.nav { inset: 0 0 auto 0; transition: background-color .2s, box-shadow .2s; }
.nav-in, .nav.stuck .nav-in { max-width: 1232px; height: 64px; padding: 0 24px; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.stuck, .nav.menu-open { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(10, 37, 64, .08); }
.nav .logo { gap: 0; font-size: 23px; font-weight: 700; letter-spacing: -.045em; }
.nav .links { gap: 30px; margin-left: 12px; }
.nav .links > a, .nav .dd-btn, .signin { transition: color .15s; }
.nav .links > a::after, .nav .dd-btn::after, .signin::after, .nav .btn::before, .nav .btn::after { display: none; }
.nav .links > a:hover, .nav .dd-btn:hover, .nav .dd.open .dd-btn, .signin:hover { color: var(--slate); }
.nav .links > a.active, .nav .dd-btn.active { color: var(--ink); }
.nav-cta .btn-primary { height: 36px; padding: 0 14px 0 16px; font-size: 15px; transition: background-color .15s; }
.nav-cta .btn-primary:hover { background: #1f55e6; transform: none; }
.nav .menu { margin: 0; max-width: none; border-radius: 0; box-shadow: none; }
.mm { padding-top: 0; }
.subnav { top: 64px; margin-top: 64px; }
@media (max-width: 960px) {
  .nav { inset: 0 0 auto 0; } .nav-in, .nav.stuck .nav-in { height: 56px; padding: 0 12px 0 20px; }
  .subnav { top: 56px; margin-top: 56px; }
}
/* over a dark hero (security, Trace) the bar starts white-on-dark, as Stripe's does, and turns ink once it is white */
:is(.pd, body:has(.page-hero.dk)) .nav:not(.stuck):not(.menu-open) :is(.logo, .links > a, .dd-btn, .signin, .menu-btn) { color: #fff; }
:is(.pd, body:has(.page-hero.dk)) .nav:not(.stuck):not(.menu-open) :is(.links > a, .dd-btn, .signin):hover { color: rgba(255, 255, 255, .7); }
/* the Product menu: no River border box on hover, only the colour change (founder, 2026-10-28) */
.nav .mm .spot::before { display: none; }
