/* Sprott, bold concept. One page inside one bound: the ride runs behind everything,
   the frame around the viewport is the bound, and each product moment lights it. */

@property --a { syntax: '<angle>'; inherits: true; initial-value: 0deg; }

:root {
  --bg: #070607; --ink: #0B0A0B; --surface: #111113; --surface2: #27272a;
  --text: #FAFAFA; --text-sec: #D4D4D8; --muted: #A1A1AA; --faint: #3F3F46;
  --gold: #C9A96E; --accent: #C9A96E; --gold-hi: #E8D5A3; --accent-subtle: rgba(201,169,110,.06);
  --ember: #FF9D55; --ember-2: #D44A1C; --ember-3: #7A200E; --cream: #FFF2E0;
  --border: rgba(201,169,110,.10); --border-hover: rgba(201,169,110,.45);
  --success: #22c55e; --error: #ef4444; --warning: #fb923c;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-mono: var(--mono);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --inset: 14px;
}
html { background: var(--bg); scroll-behavior: smooth; }
body { background: transparent; }
body::after { /* grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── the ride, fixed behind the page ── */
#field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#field canvas { position: absolute; top: 0; }
.attractor-layer.fly { opacity: 0; transition: opacity 1.6s ease; }
html.still .attractor-layer.fly { transition: none; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 55% at 74% 52%, rgba(240,110,50,.09), transparent 70%),
    linear-gradient(to right, rgba(7,6,7,.78), rgba(7,6,7,.45) 34%, rgba(7,6,7,0) 52%);
  transition: opacity .8s ease; }
body.dim .veil { opacity: 1; }
.dimmer { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: rgba(7,6,7,.62); opacity: 0; transition: opacity .9s ease; }
body.deep .dimmer { opacity: 1; }

/* ── the bound ── */
.bound { position: fixed; inset: var(--inset); z-index: 40; pointer-events: none; border-radius: 22px;
  border: 1px solid rgba(201,169,110,.13); --a: 20deg; transition: --a 1.8s var(--ease); }
.bound .arc { position: absolute; inset: -1px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--a), transparent 0deg 290deg, rgba(255,157,85,.0) 300deg, rgba(212,74,28,.7) 330deg, var(--ember) 350deg, var(--cream) 357deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 7px rgba(255,120,50,.55)); opacity: .9; transition: opacity .6s ease; }
.bound.drift { animation: drift 26s linear infinite; }
@keyframes drift { to { --a: 380deg; } }
.bound.flare .arc { animation: flare 1.4s var(--ease) 1; }
@keyframes flare { 0% { opacity: .5; } 25% { opacity: 1; filter: drop-shadow(0 0 16px rgba(255,140,60,.95)); } 100% { opacity: .9; } }
.bound .tk { position: absolute; width: 10px; height: 10px; border-color: rgba(232,213,163,.5); border-style: solid; border-width: 0; }
.bound .tk.tl { left: 10px; top: 10px; border-left-width: 1px; border-top-width: 1px; }
.bound .tk.tr { right: 10px; top: 10px; border-right-width: 1px; border-top-width: 1px; }
.bound .tk.bl { left: 10px; bottom: 10px; border-left-width: 1px; border-bottom-width: 1px; }
.bound .tk.br { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }
.hud { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: rgba(161,161,170,.62); white-space: nowrap; text-transform: uppercase; }
.hud b { color: var(--gold-hi); font-weight: 500; }
.hud-bl { left: 30px; bottom: 16px; }
.hud-br { right: 30px; bottom: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.hud-br .ok { color: var(--ember); }
.rail { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; align-items: flex-end; pointer-events: auto; }
.rail a { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(161,161,170,.5); display: flex; gap: 8px; align-items: center; transition: color .3s; }
.rail a i { display: block; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease), background .3s; }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.rail a.on { color: var(--ember); }
.rail a.on i { width: 30px; }
.rail a:hover span { opacity: 1; transform: none; }

/* ── nav ── */
.nav { position: fixed; top: var(--inset); left: var(--inset); right: var(--inset); z-index: 50; background: linear-gradient(to bottom, rgba(7,6,7,.94), rgba(7,6,7,.72) 70%, rgba(7,6,7,0)); border: 0; border-radius: 22px 22px 0 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav .nav-links { display: flex !important; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 26px; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn-sm { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 9px; background: var(--gold); color: #09090B; }
.nav .btn-sm:hover { background: var(--gold-hi); }

/* ── type ── */
.mono-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.disp { font-family: var(--display); font-optical-sizing: auto; font-weight: 700; letter-spacing: -0.045em; line-height: .9; }
.hot { background: linear-gradient(100deg, var(--cream) 0%, var(--ember) 38%, var(--ember-2) 78%, #8a2a12 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

main { position: relative; z-index: 2; }
.wrap { max-width: 1440px; padding: 0 clamp(26px, 6.4vw, 112px); }

/* ── hero ── */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 72px; position: relative; }
.hero .mono-k { margin-bottom: 26px; display: flex; gap: 12px; align-items: center; }
.hero .mono-k::before { content: ''; width: 34px; height: 1px; background: var(--ember); }
.hero h1 { font-size: clamp(3.4rem, 1rem + 7.4vw, 8.6rem); }
.hero h1 .l1, .hero h1 .l2 { display: block; white-space: nowrap; padding-bottom: .06em; }
.hero .sub { margin-top: 30px; max-width: 34rem; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--text-sec); }
.hero .sub em { color: var(--text); }
.actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15.5px; font-weight: 600; transition: background .2s, transform .2s var(--ease), border-color .2s; }
.btn-gold { background: var(--gold); color: #09090B; box-shadow: 0 10px 40px -10px rgba(201,169,110,.55); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(250,250,250,.16); color: var(--text); background: rgba(10,9,10,.5); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(250,250,250,.34); }
.install { margin-top: 18px; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border: 1px solid rgba(201,169,110,.28); background: rgba(10,9,10,.72); backdrop-filter: blur(10px); border-radius: 12px; padding: 6px 6px 6px 16px; }
.install code { font-size: 14px; color: var(--text); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.install code::-webkit-scrollbar { display: none; }
.install code b { color: var(--ember); font-weight: 500; margin-right: 10px; }
.install button { flex: none; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.05); }
.install button:hover { color: var(--text); background: rgba(255,255,255,.1); }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.note a { color: var(--gold); }
.note code { color: var(--text-sec); font-size: 12.5px; }
.index { position: absolute; left: 0; right: 0; bottom: 56px; }
.index .wrap { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.index a { display: inline-flex; gap: 10px; align-items: baseline; }
.index a b { color: var(--ember); font-weight: 500; }
.index a:hover { color: var(--text); }

/* load */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; }
.js .d1 { animation-delay: .1s; } .js .d2 { animation-delay: .22s; } .js .d3 { animation-delay: .4s; } .js .d4 { animation-delay: .55s; } .js .d5 { animation-delay: .68s; } .js .d6 { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── stops ── */
.stop { min-height: 118vh; display: flex; align-items: center; padding: 140px 0; position: relative; }
.stop .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.stop-copy .num { font-family: var(--display); font-weight: 200; font-size: clamp(5rem, 3rem + 7vw, 11rem); line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,157,85,.55); margin-bottom: 22px; }
.stop-copy .mono-k { margin-bottom: 18px; }
.stop-copy h2 { font-size: clamp(2.4rem, 1rem + 4vw, 4.9rem); max-width: 11ch; }
.stop-copy p.b { margin-top: 24px; max-width: 30rem; font-size: 1.06rem; line-height: 1.65; color: var(--text-sec); }
.stop-copy p.b b { color: var(--text); font-weight: 600; }
.facts { margin-top: 26px; display: flex; flex-direction: column; gap: 0; max-width: 30rem; border-top: 1px solid rgba(201,169,110,.14); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(201,169,110,.14); font-size: 14.5px; color: var(--text-sec); }
.facts div span:last-child { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); text-align: right; }
.facts div .y { color: var(--success); } .facts div .n { color: var(--ember); }

/* materialize from where the path brushed the bound */
.art { position: relative; }
.js .art > .m { opacity: 0; filter: blur(14px) saturate(.4); transform: scale(.94) translateX(var(--mx, 40px)); clip-path: circle(0% at var(--cx, 100%) var(--cy, 50%));
  transition: opacity .9s var(--ease), filter 1.2s var(--ease), transform 1.4s var(--ease), clip-path 1.5s var(--ease); }
.js .stop.on .art > .m { opacity: 1; filter: none; transform: none; clip-path: circle(150% at var(--cx, 100%) var(--cy, 50%)); }
.js .stop.on .art > .m.m2 { transition-delay: .25s; }
.spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgba(255,157,85,.25), 0 0 30px 8px rgba(255,120,50,.6); opacity: 0; pointer-events: none; z-index: 5; }
.js .stop.on .spark { animation: spark 1.6s var(--ease) 1 forwards; }
@keyframes spark { 0% { opacity: 0; transform: scale(.2); } 20% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0; transform: scale(.6); } }

/* card shells */
.card { background: rgba(12,11,12,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid rgba(201,169,110,.22); border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid rgba(201,169,110,.12); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }
.card-h .d { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.card-h .lab { margin-left: auto; color: var(--ember); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }

/* 01 the exit */
.exit { padding: 20px 18px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--text-sec); }
.exit .who { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.exit pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.exit .p { color: var(--ember); }
.tok { display: inline-block; border-radius: 6px; padding: 0 6px; }
.tok.ph { background: rgba(201,169,110,.12); color: var(--gold-hi); border: 1px solid rgba(201,169,110,.35); }
.tok.real { background: rgba(255,120,50,.12); color: var(--cream); border: 1px solid rgba(255,140,60,.5); box-shadow: 0 0 24px -4px rgba(255,120,50,.5); }
.gate { position: relative; margin: 18px -18px; height: 64px; display: flex; align-items: center; justify-content: center; }
.gate::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--ember-2) 15%, var(--cream) 50%, var(--ember-2) 85%, transparent); box-shadow: 0 0 18px 2px rgba(255,110,40,.5); }
.gate span { position: relative; background: #0d0b0b; border: 1px solid rgba(255,140,60,.45); border-radius: 999px; padding: 4px 12px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.packet { position: absolute; left: 50%; top: -60px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 14px 4px rgba(255,140,60,.8); opacity: 0; }
.stop.on .packet { animation: packet 3.2s var(--ease) infinite 1.2s; }
@keyframes packet { 0% { top: -60px; opacity: 0; } 15% { opacity: 1; } 50% { top: 29px; opacity: 1; transform: scale(2.2); } 85% { top: 110px; opacity: .9; transform: none; } 100% { top: 120px; opacity: 0; } }
.ok200 { margin-top: 12px; display: flex; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted); }
.ok200 b { color: var(--success); font-weight: 600; }
.aside { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .02em; }

/* 02 the pause */
.pause { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; }
.phone { width: 290px; border-radius: 40px; padding: 9px; background: #141416; border: 1px solid rgba(201,169,110,.4); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(255,120,50,.25); }
.screen { position: relative; border-radius: 32px; overflow: hidden; background: #09090b; height: 560px; display: flex; flex-direction: column; font-family: var(--sans); }
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-size: 12px; font-weight: 600; }
.sbar .isl { width: 76px; height: 20px; border-radius: 999px; background: #000; }
.sbar .bat { width: 16px; height: 8px; border-radius: 2px; border: 1px solid var(--muted); }
.url { margin: 6px 12px 10px; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 11px; color: var(--muted); text-align: center; font-family: var(--mono); }
.grant { padding: 6px 14px 18px; }
.grant h4 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 12px; }
.gcard { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 14px 12px; }
.gcard .src { font-size: 11.5px; color: var(--muted); }
.gcard .src b { color: var(--text-sec); font-weight: 600; }
.gcard .what { margin-top: 8px; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.gcard .req { margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.meth { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #fbbf24; background: rgba(251,191,36,.12); border-radius: 5px; padding: 2px 6px; flex: none; }
.gcard .path { font-family: var(--mono); font-size: 11px; color: var(--text-sec); line-height: 1.45; overflow-wrap: anywhere; }
.gcard .cov { margin-top: 12px; padding: 8px 10px; border-radius: 9px; font-size: 12px; line-height: 1.5; background: rgba(255,255,255,.04); color: var(--text-sec); }
.gcard .bt { display: flex; gap: 8px; margin-top: 14px; }
.gcard .bt span { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.gcard .bt .ap { flex: 1; background: var(--gold); color: #0a0a0a; }
.gcard .bt .rj { padding: 0 14px; border: 1px solid var(--border-hover); color: var(--text-sec); font-weight: 400; font-size: 12.5px; }
.fid { position: absolute; inset: 0; pointer-events: none; }
.fid .sh { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .5s; }
.fid .glyph { position: absolute; top: 8px; left: 50%; width: 92px; height: 92px; margin-left: -46px; border-radius: 26px; background: #000; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease); }
.fid .glyph svg { stroke: #86efac; }
.fid .sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #1c1c1e; border-radius: 22px 22px 0 0; padding: 22px 20px 26px; color: #fff; transform: translateY(105%); transition: transform .7s var(--ease); }
.fid .sheet .t { font-size: 20px; font-weight: 700; margin-top: 10px; }
.fid .sheet .q { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.82); margin-top: 6px; }
.fid .sheet .dn { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.8); }
.fid .sheet .dn i { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid #3b82f6; display: flex; align-items: center; justify-content: center; }
.phone.s1 .fid .sheet { transform: none; }
.phone.s1 .fid .sh { opacity: 1; }
.phone.s2 .fid .glyph { opacity: 1; transform: none; }
.phone.s2 .fid .sheet { transform: none; } .phone.s2 .fid .sh { opacity: 1; }
.phone.s3 .fid .sheet, .phone.s3 .fid .glyph { transform: translateY(105%); opacity: 0; }
.phone.s3 .fid .glyph { transform: scale(.7); }
.phone.s3 .gcard .bt .ap { background: rgba(34,197,94,.14); color: var(--success); }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(12,11,12,.8); border: 1px solid rgba(201,169,110,.16); backdrop-filter: blur(10px); }
.rule .rm { font-family: var(--mono); font-size: 11.5px; color: var(--text-sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rule .rm .meth { margin-right: 6px; color: var(--text-sec); background: rgba(255,255,255,.06); }
.rule .rd { flex: none; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.rd.al { background: rgba(34,197,94,.12); color: var(--success); }
.rd.ao { background: rgba(201,169,110,.12); color: var(--gold-hi); }
.rd.ae { background: rgba(251,146,60,.14); color: var(--warning); }
.rd.nv { background: rgba(239,68,68,.12); color: var(--error); }
.rule.live { border-color: rgba(255,140,60,.6); box-shadow: 0 0 40px -10px rgba(255,120,50,.6); }
.rules .cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* console replica (components/landing/console-shots.tsx) */
.cs-win { background: rgba(9,9,11,.92); backdrop-filter: blur(14px); border: 1px solid var(--border-hover); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.85); font-size: 13px; color: var(--text); font-family: var(--sans); }
.cs-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: #0c0c0e; }
.cs-top .d { width: 9px; height: 9px; border-radius: 50%; background: #3f3f46; }
.cs-top .u { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-crumb { display: flex; align-items: center; gap: 8px; padding: 12px 18px 0; font-size: 12.5px; color: var(--muted); }
.cs-crumb b { color: var(--text); font-weight: 600; }
.cs-kind { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--border-hover); border-radius: 999px; padding: 1px 7px; }
.cs-tabs { display: flex; gap: 18px; padding: 10px 18px 0; border-bottom: 1px solid var(--border); overflow: hidden; white-space: nowrap; }
.cs-tabs span { padding: 0 0 9px; font-size: 12.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.cs-tabs span.on { color: var(--text); font-weight: 600; border-bottom-color: var(--accent); }
.cs-body { padding: 16px 18px 18px; }
.cs-list { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.cs-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.cs-tile { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 9px 12px; }
.cs-tile b { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-tile span { font-size: 11px; color: var(--muted); }
.cs-act { display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px 86px 70px 78px 70px; gap: 10px; align-items: center; padding: 9px 14px; }
.cs-act + .cs-act { border-top: 1px solid var(--border); }
.cs-act.h { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.025); }
.cs-act > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; color: var(--text-sec); }
.cs-act .ago { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cs-act .tg { font-family: var(--mono); font-size: 11.5px; }
.cs-act .tg i { font-style: normal; color: var(--muted); }
.cs-m { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: var(--text-sec); background: rgba(255,255,255,.06); border-radius: 999px; padding: 2px 7px; margin-right: 6px; }
.cs-pill { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.cs-pill.g { background: rgba(34,197,94,.12); color: var(--success); }
.cs-pill.r { background: rgba(239,68,68,.12); color: var(--error); }
.cs-pill.a { background: rgba(251,146,60,.12); color: var(--warning); }
.cs-pill.n { background: var(--surface2); color: var(--muted); }
.stream { position: relative; height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.stream .cs-act { transition: background 1.6s ease; }
.stream .cs-act.new { animation: rowin .9s var(--ease); background: rgba(255,140,60,.10); }
@keyframes rowin { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.cs-lr { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 9px 14px; border-top: 1px solid var(--border); }
.cs-lr .main { flex: 1; min-width: 0; }
.cs-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-meta code { font-size: 11px; }
.cs-av { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--border); flex: none; }
.cs-sw { width: 34px; height: 20px; border-radius: 999px; position: relative; flex: none; border: 1px solid var(--border-hover); transition: background .3s, border-color .3s; }
.cs-sw i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: left .3s var(--ease), background .3s; }
.cs-sw.on { background: var(--accent); border-color: var(--accent); }
.cs-sw.on i { left: 16px; background: #0a0a0a; }
.cs-microlabel { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 12px 14px 10px; }
.sw-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* 04 the braid */
.braid { position: relative; }
.braid svg { width: 100%; height: auto; display: block; overflow: visible; }
.braid .bnd { fill: none; stroke: rgba(232,213,163,.32); stroke-width: 1; }
.braid .tr { fill: none; stroke-width: 1.15; opacity: .32; }
.braid .cm { fill: none; stroke-width: 2.4; stroke-linecap: round; filter: url(#glow); }
.braid .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.braid .vault { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; fill: var(--gold-hi); text-transform: uppercase; }
.braid-agents { margin: -18px 18px 0 auto; max-width: 430px; position: relative; }
.braid-agents .cs-lr .who { font-size: 11px; }

/* connect strip */
.connect { padding: 120px 0 80px; position: relative; }
.connect h2 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.2rem); max-width: 16ch; }
.connect p.b { margin-top: 18px; max-width: 34rem; color: var(--text-sec); font-size: 1.06rem; }
.lanes { margin-top: 46px; display: flex; flex-direction: column; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.lane { display: flex; gap: 12px; width: max-content; animation: lane 48s linear infinite; }
.lane.rev { animation-direction: reverse; animation-duration: 62s; }
.lane span { font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(201,169,110,.2); background: rgba(12,11,12,.7); color: var(--text-sec); white-space: nowrap; }
.lane span.ag { border-color: rgba(255,140,60,.35); color: var(--cream); }
@keyframes lane { to { transform: translateX(-50%); } }
.lane-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* proof */
.proof { padding: 80px 0 140px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,169,110,.16); border: 1px solid rgba(201,169,110,.16); border-radius: 18px; overflow: hidden; }
.proof-grid > div { background: rgba(9,8,9,.9); backdrop-filter: blur(10px); padding: 34px 30px 32px; }
.proof-grid .mono-k { color: var(--muted); }
.proof-grid h3 { margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.proof-grid p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.proof-grid a { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--gold); }

/* egg finale (egg3.js) */
.egg { height: 460vh; position: relative; z-index: 3; }
.egg-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: transparent; }
#field { transition: opacity .25s linear; }
.egg-fig { transition: opacity .25s linear; }
.egg-fig { position: absolute; inset: 0; pointer-events: none; }
.fig-layer { position: absolute; left: 0; top: 0; }
.lockup-xl { position: absolute; left: 0; top: 0; display: flex; align-items: center; color: var(--text); }
.lockup-xl .mk { width: var(--mk, 160px); height: var(--mk, 160px); flex: none; position: relative; }
.lockup-xl .mk img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.lockup-xl .name { font-size: var(--lk-fs, 120px); font-weight: 400; letter-spacing: 0.01em; line-height: 1; opacity: 0; }
.lockup-xl .slogan { margin-top: .5em; font-size: max(10.5px, calc(var(--lk-fs, 120px) * .13)); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; opacity: 0; }
.egg-line { position: absolute; left: 0; right: 0; text-align: center; font-size: var(--fs-small); color: var(--muted); opacity: 0; }
.egg-cta { position: absolute; left: 0; right: 0; bottom: 9vh; display: flex; flex-direction: column; align-items: center; gap: 4px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s ease, transform .8s var(--ease); }
.egg-cta.on { opacity: 1; transform: none; pointer-events: auto; }
.egg-cta .note { text-align: center; }

.footer { position: relative; z-index: 3; background: var(--bg); padding: 70px 0 90px; border-top: 1px solid rgba(201,169,110,.1); }
.footer .row { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer .agent-line { font-size: 13px; color: var(--muted); max-width: 52rem; margin-bottom: 40px; }
.footer .agent-line code { color: var(--text-sec); font-size: 12.5px; }

/* ── phone & narrow ── */
@media (max-width: 1080px) {
  .stop .wrap { grid-template-columns: minmax(0, 1fr); }
  .art, .stop-copy { min-width: 0; }
  .rule .rm { min-width: 0; }
  .stop { min-height: 0; padding: 110px 0; }
  .pause { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .rules { width: 100%; }
}
@media (max-width: 860px) {
  :root { --inset: 7px; }
  .bound { border-radius: 16px; }
  .hud-bl, .rail { display: none; }
  .hud-br { right: 18px; bottom: 10px; font-size: 9.5px; }
  .nav-inner { height: 56px; padding: 0 16px; }
  .nav .nav-links > a:not(.btn-sm) { display: none !important; }
  .veil { background: linear-gradient(to bottom, rgba(7,6,7,.3), rgba(7,6,7,.55)); }
  .hero { padding: 104px 0 120px; justify-content: flex-end; }
  .hero h1 { font-size: clamp(3.2rem, 15.5vw, 5rem); }
  .hero h1 .l1, .hero h1 .l2 { white-space: normal; }
  .nav { border-radius: 16px 16px 0 0; }
  .hero .sub { margin-top: 22px; }
  .install code { font-size: 12px; }
  .index { bottom: 26px; }
  .index .wrap { gap: 10px 18px; font-size: 10.5px; }
  .stop { padding: 96px 0; }
  .stop-copy .num { font-size: 5.4rem; margin-bottom: 14px; }
  .phone { width: min(290px, 82vw); }
  .screen { height: 540px; }
  .cs-tiles { grid-template-columns: repeat(2, 1fr); }
  .cs-act { grid-template-columns: 30px minmax(0, 1fr) 84px 70px; }
  .cs-act > .w { display: none; }
  .braid-agents { margin: -8px 0 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .lane span { font-size: 13.5px; padding: 8px 14px; }
  .egg-cta { bottom: 7vh; padding: 0 18px; }
  .egg-cta .install { max-width: 100%; }
}

/* ── no motion: everything is simply there ── */
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .art > .m { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
  .bound.drift, .bound .arc, .lane, .packet, .spark, .stream .cs-act.new { animation: none !important; }
  .bound { transition: none; }
  html { scroll-behavior: auto; }
}
html.still .js .rise, html.still .rise { opacity: 1; transform: none; animation: none; }

/* ── v3: hero in three layers, the rules stop, the hourglass, a short proof ── */
.hero h1 { font-size: clamp(3.2rem, 1rem + 6.6vw, 8rem); }
.hero .value { margin-top: 30px; max-width: 40rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); line-height: 1.45; color: var(--text-sec); letter-spacing: -0.005em; }
.hero .value code { font-size: .86em; color: var(--gold-hi); background: rgba(201,169,110,.1); border: 1px solid rgba(201,169,110,.25); border-radius: 6px; padding: 0 6px; }
.hero .value em { color: var(--text); }
.brandline { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-hi); }
.brandline i { display: block; width: 34px; height: 1px; background: var(--ember); }
.hero .actions { margin-top: 30px; }
.hero .actions .install { margin-top: 0; height: 50px; }
.pause .side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feed .cs-act { grid-template-columns: 34px minmax(0, 1fr) 76px; }
.feed .cs-act + .cs-act { border-top: 1px solid var(--border); }
.feed .cs-act.asks { background: rgba(255,140,60,.08); box-shadow: inset 2px 0 0 var(--ember); }
.feed .cs-act.asks .tg { color: var(--cream); }
.stop.on .feed .cs-act.asks { animation: askpulse 2.4s ease-in-out infinite; }
@keyframes askpulse { 50% { background: rgba(255,140,60,.18); } }
.feed-foot { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feed-foot .hot1 { color: var(--ember); }
.teamrow .cs-lr { border-top: 1px solid var(--border); }
.teamrow .cs-pill { white-space: nowrap; }
.connect-head .num { font-family: var(--display); font-weight: 200; font-size: clamp(5rem, 3rem + 7vw, 11rem); line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,157,85,.55); margin-bottom: 22px; }
.connect-head .mono-k { margin-bottom: 18px; }
.connect-head h2 { max-width: 14ch; }
.hourglass { margin: 64px auto 0; max-width: 980px; display: flex; flex-direction: column; align-items: center; }
.hourglass .row-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.hourglass .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; max-width: 860px; }
.hourglass .pills span { font-size: 14px; padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(201,169,110,.22); background: rgba(12,11,12,.78); color: var(--text-sec); white-space: nowrap; }
.hourglass .pills span.ag { border-color: rgba(255,140,60,.38); color: var(--cream); }
.hourglass .pills span.any { border-style: dashed; color: var(--muted); }
.hourglass .wires { display: block; width: 100%; max-width: 640px; height: 84px; margin: 6px auto; overflow: visible; }
.hourglass .wires path { fill: none; stroke: rgba(255,157,85,.42); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 3 9; animation: wire 1.4s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -12; } }
.hub { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.hub::before { content: ''; position: absolute; inset: -50px -90px; background: radial-gradient(ellipse, rgba(255,140,60,.16), transparent 65%); pointer-events: none; }
.hub-badge { position: relative; width: 78px; height: 78px; border-radius: 22px; border: 1px solid var(--ember); background: linear-gradient(160deg, rgba(255,140,60,.2), rgba(255,140,60,.04)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 50px rgba(255,120,50,.35); }
.hub-badge img { width: 34px; height: auto; }
.hub-name { position: relative; font-size: 1.05rem; font-weight: 500; letter-spacing: .01em; }
.hub-chip { position: absolute; right: calc(50% + 66px); top: 26px; font-family: var(--mono); font-size: 11.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--ember); color: var(--cream); white-space: nowrap; background: rgba(12,11,12,.8); }
.proof { padding: 40px 0 150px; }
.proof-lines { max-width: 760px; border-top: 1px solid rgba(201,169,110,.18); }
.proof-lines p { padding: 16px 0; border-bottom: 1px solid rgba(201,169,110,.12); font-size: 1.02rem; color: var(--muted); line-height: 1.55; }
.proof-lines p b { color: var(--text); font-weight: 600; margin-right: 6px; }
.proof-lines .gold-link { display: inline-block; margin-top: 18px; color: var(--gold); font-size: 15px; }
@media (max-width: 860px) {
  .hero h1 { font-size: clamp(2.9rem, 13.5vw, 4.4rem); }
  .hero .actions { width: 100%; }
  .hero .actions .install { max-width: 100%; }
  .brandline { font-size: 10.5px; }
  .hub-chip { display: none; }
  .hourglass .pills span { font-size: 12.5px; padding: 6px 11px; }
  .hourglass .wires { height: 56px; }
  .feed .cs-act { grid-template-columns: 30px minmax(0, 1fr) 70px; }
  .feed .cs-act > .w { display: none; }
  .teamrow .cs-lr { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .hourglass .wires path, .stop.on .feed .cs-act.asks { animation: none !important; } }

.inbox .tl { font-family: var(--mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }

.calm { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(201,169,110,.16); border: 1px solid rgba(201,169,110,.16); border-radius: 14px; overflow: hidden; max-width: 34rem; }
.calm > div { background: rgba(9,8,9,.96); padding: 14px 16px 15px; }
.calm b { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.calm span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.stop-copy p.b.closer { margin-top: 20px; color: var(--text); font-weight: 600; }
.stop-copy h2 { max-width: 13ch; }
@media (max-width: 860px) { .calm { grid-template-columns: 1fr; } }

/* approvals inbox (components/approvals/approvals-inbox.tsx), compact */
.inbox .sec { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--border-hover); flex: none; display: inline-flex; align-items: center; justify-content: center; }
.cb.on { background: var(--accent); border-color: var(--accent); }
.cb.on::after { content: ''; width: 8px; height: 4px; border: 2px solid #0a0a0a; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.ibar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; background: rgba(24,24,27,.94); border-top: 1px solid var(--border-hover); }
.ibar .c { font-size: 13px; color: var(--text-sec); font-variant-numeric: tabular-nums; }
.ibar .c small { display: block; font-size: 11.5px; color: var(--muted); }
.ibar .g { margin-left: auto; font-size: 13px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border-hover); color: var(--text-sec); }
.ibar .p { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: #09090b; }
.tl { font-family: var(--mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; }

/* personal edition: no price, the source one click away; price only for teams */
.note a.src { color: var(--text-sec); margin-left: 6px; border-bottom: 1px solid rgba(250,250,250,.2); }
.note a.src:hover { color: var(--text); }
.team-price { margin-top: 18px; font-size: 15px; }
.team-price a { color: var(--gold); }

/* team overview slot (/home/overview/): an iframe on desktop, its still image on phones */
#braid { flex-direction: column; align-items: stretch; justify-content: center; }
.ov-wrap { margin-top: 96px; }
.ov-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.ov-label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.ov-open { font-size: 13px; color: var(--muted); }
.ov-open:hover { color: var(--text); }
.ov-frame { position: relative; border: 1px solid rgba(201,169,110,.26); border-radius: 16px; overflow: hidden; background: #070607; box-shadow: 0 50px 120px -40px rgba(0,0,0,.85); }
.ov-frame iframe { display: block; width: 100%; height: clamp(640px, 54vw, 780px); border: 0; background: #070607; }
.ov-still img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .ov-wrap { margin-top: 56px; } .ov-head { flex-direction: column; gap: 6px; } }
#braid .wrap.ov-wrap { display: block; }

/* 02 approvals: the pipeline */
.pipe-stop .pipe-wrap { display: block; }
.pipe-stop .stop-copy { max-width: 46rem; }
.pipe-stop .stop-copy h2 { max-width: 16ch; }
.pipe-stop .stop-copy p.b { margin-top: 18px; }
.pipe-stop .stop-copy p.b + p.b { margin-top: 6px; }
.pipe-stop .art { margin-top: 48px; }
.pipe { position: relative; height: 400px; border: 1px solid rgba(201,169,110,.18); border-radius: 18px; background: rgba(10,9,10,.72); overflow: hidden; }
.pipe-track { position: absolute; left: 0; right: 0; bottom: 74px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,213,163,.28) 8%, rgba(232,213,163,.28) 92%, transparent); }
.pipe-flow { position: absolute; inset: 0; }
.pchip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font-family: var(--mono); font-size: 11px; color: var(--muted); background: rgba(17,17,19,.94); border: 1px solid rgba(255,255,255,.08); white-space: nowrap; will-change: transform; }
.pchip i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); transition: background .3s; }
.pchip.past { color: var(--text-sec); }
.pchip.past i { background: var(--success); }
.pchip.hot { border-color: rgba(255,140,60,.7); color: var(--cream); box-shadow: 0 0 24px -6px rgba(255,120,50,.7); }
.pchip.hot i { background: var(--ember); }
.pchip.ok { border-color: rgba(34,197,94,.45); }
.pipe-lab { position: absolute; bottom: 96px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(161,161,170,.7); }
.pipe-lab.l { left: 18px; } .pipe-lab.r { right: 18px; }
.pipe-gate { position: absolute; top: 0; bottom: 0; width: 0; }
.pg-line { position: absolute; left: 0; top: 170px; bottom: 30px; width: 1px; background: linear-gradient(to bottom, transparent, rgba(232,213,163,.35)); }
.pg-mark { position: absolute; left: -18px; bottom: 56px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ember); background: #120d0b; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px -4px rgba(255,120,50,.5); z-index: 2; }
.pg-mark img { width: 16px; height: auto; }
.pg-lab { position: absolute; left: 0; bottom: 22px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.pipe-lift { position: absolute; left: 0; top: 0; pointer-events: none; }
.pipe-lift path { fill: none; stroke: var(--ember); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .4s; }
.pipe.lifted .pipe-lift path { opacity: .7; }
.pipe-card { position: absolute; width: 290px; padding: 13px 16px 14px; border-radius: 12px; border: 1px solid rgba(255,140,60,.6); background: rgba(16,12,11,.96); box-shadow: 0 20px 60px -20px rgba(0,0,0,.9), 0 0 40px -12px rgba(255,120,50,.5); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease), border-color .4s; }
.pipe-card.up { opacity: 1; transform: none; }
.pipe-card .pc-k { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.pipe-card .pc-k .a { display: none; color: var(--success); }
.pipe-card.done { border-color: rgba(34,197,94,.55); box-shadow: 0 20px 60px -20px rgba(0,0,0,.9); }
.pipe-card.done .pc-k .w { display: none; } .pipe-card.done .pc-k .a { display: inline; }
.pipe-card b { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.pipe-card .pc-m { display: block; margin-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--text-sec); }
.pipe-phone { position: absolute; top: 24px; width: 150px; height: 270px; border-radius: 28px; border: 1px solid rgba(201,169,110,.35); background: #0b0b0d; padding: 34px 14px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: .35; transition: opacity .5s, box-shadow .5s, border-color .5s; }
.pipe-phone .pp-isl { position: absolute; top: 9px; left: 50%; width: 46px; height: 13px; margin-left: -23px; border-radius: 999px; background: #000; }
.pipe-phone .pp-what { font-size: 13px; font-weight: 600; color: var(--text); visibility: hidden; }
.pipe-phone .pp-who { margin-top: 3px; font-family: var(--mono); font-size: 10px; color: var(--muted); visibility: hidden; }
.pipe-phone .pp-fid { margin-top: 30px; width: 58px; height: 58px; }
.pipe-phone .pp-fid svg { width: 100%; height: 100%; stroke: var(--faint); transition: stroke .3s; }
.pipe-phone .pp-fid .c { opacity: 0; transition: opacity .3s; }
.pipe-phone .pp-state { margin-top: 12px; font-size: 12px; color: var(--muted); }
.pipe-phone.on { opacity: 1; border-color: rgba(255,140,60,.55); box-shadow: 0 0 60px -18px rgba(255,120,50,.6); }
.pipe-phone.on .pp-what, .pipe-phone.on .pp-who { visibility: visible; }
.pipe-phone.on .pp-fid svg { stroke: #3b82f6; }
.pipe-phone.ok .pp-fid svg { stroke: var(--success); }
.pipe-phone.ok .pp-fid .f { opacity: 0; } .pipe-phone.ok .pp-fid .c { opacity: 1; }
.pipe-phone.ok .pp-state { color: var(--success); font-weight: 600; }
@media (max-width: 860px) {
  .pipe { height: 430px; }
  .pipe-card { width: calc(100% - 150px); padding: 11px 12px 12px; }
  .pipe-card b { font-size: 14px; }
  .pipe-phone { width: 112px; height: 210px; top: 18px; padding: 28px 8px 12px; border-radius: 22px; }
  .pipe-phone .pp-what { font-size: 11px; } .pipe-phone .pp-who { font-size: 9px; }
  .pipe-phone .pp-fid { margin-top: 16px; width: 44px; height: 44px; }
  .pipe-lab { bottom: 96px; }
}

/* 05 connect once: two lanes converge through the mark */
.conv { position: relative; height: 520px; margin-top: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.conv-k { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.conv-k.top { top: 0; } .conv-k.bot { bottom: 0; }
.conv-lane { position: absolute; left: 0; display: flex; gap: 16px; will-change: transform; }
.conv-lane.top { top: 28px; } .conv-lane.bot { bottom: 28px; }
.tile2 { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 18px 0 12px; border-radius: 16px; border: 1px solid rgba(201,169,110,.2); background: rgba(13,12,13,.92); white-space: nowrap; flex: none; }
.tile2 b { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; flex: none; }
.tile2 span { font-size: 15.5px; color: var(--text); font-weight: 500; }
.conv-lane.top .tile2 { border-color: rgba(255,140,60,.32); }
.conv-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.conv-wires path { fill: none; stroke: rgba(255,157,85,.5); stroke-width: 1.2; stroke-dasharray: 3 8; animation: wire 1.6s linear infinite; }
.conv-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.conv-hub::before { content: ''; position: absolute; inset: -60px -110px; background: radial-gradient(ellipse, rgba(255,140,60,.18), transparent 65%); pointer-events: none; }
.conv-hub .hub-badge { width: 92px; height: 92px; border-radius: 26px; }
.conv-hub .hub-badge img { width: 40px; }
.conv-hub .hub-chip { top: 32px; right: calc(50% + 74px); }
@media (max-width: 860px) {
  .conv { height: 440px; margin-top: 40px; }
  .tile2 { height: 52px; padding: 0 14px 0 9px; gap: 9px; border-radius: 13px; }
  .tile2 b { width: 32px; height: 32px; font-size: 14px; border-radius: 9px; }
  .tile2 span { font-size: 13.5px; }
  .conv-hub .hub-badge { width: 72px; height: 72px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { .conv-wires path { animation: none !important; } }

/* 04 the team: the overview is the visual; the agent access card proves the one-click revoke */
.team-stop .wrap:not(.ov-wrap) { align-items: end; }
.team-stop .ov-wrap { margin-top: 64px; }
.team-agents { max-width: 520px; margin-left: auto; }
.team-agents .cs-lr { border-top: 1px solid var(--border); }
.team-stop .stop-copy h2 { max-width: 16ch; }

/* 02 approvals, v2: several lanes (5 on desktop, 3 on phones), the phone in its own column */
.pipe { height: 460px; }
.pipe-track { display: none; }
.pipe-flow { position: absolute; left: 0; top: 0; bottom: 0; right: 240px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 92%, transparent); }
.lane-l { position: absolute; left: 0; right: 0; height: 1px; background: rgba(232,213,163,.12); }
.lane-k { position: absolute; left: 44px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: rgba(161,161,170,.55); }
.pipe-lab { bottom: auto; top: 16px; }
.pipe-lab.l { left: 44px; }
.pipe-lab.r { right: auto; }
.pipe-gate { z-index: 1; }
.pg-line { top: 22px; bottom: 22px; background: linear-gradient(to bottom, transparent, rgba(232,213,163,.32) 12%, rgba(232,213,163,.32) 88%, transparent); }
.pg-mark { bottom: auto; top: calc(var(--gy, 50%) - 18px); }
.pg-lab { bottom: 6px; }
.pipe-lift path { fill: none; stroke: var(--ember); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0; transition: opacity .4s; }
.pipe-card { z-index: 3; width: 260px; }
.pipe-phone { top: 0; width: 150px; height: 270px; z-index: 3; }
@media (max-width: 860px) {
  .pipe { height: 520px; }
  .pipe-flow { right: 0; bottom: auto; height: 270px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .lane-k { left: 22px; }
  .pipe-lab { display: none; }
  .pg-lab { bottom: 4px; }
  .pipe-card { width: calc(100% - 156px); }
  .pipe-phone { width: 118px; height: 214px; }
}

/* 02 approvals fits one laptop screen (1440x900 and up, header included) */
@media (min-width: 861px) {
  .pipe-stop { min-height: 0; padding: 76px 0 64px; }
  .pipe-stop .stop-copy .num { font-size: 4.2rem; margin-bottom: 10px; }
  .pipe-stop .stop-copy .mono-k { margin-bottom: 12px; }
  .pipe-stop .stop-copy { max-width: none; }
  .pipe-stop .stop-copy h2 { max-width: none; font-size: clamp(2.4rem, 1rem + 2.6vw, 3.6rem); }
  .pipe-stop .stop-copy p.b { margin-top: 12px; }
  .pipe-stop .stop-copy p.b + p.b { margin-top: 2px; }
  .pipe-stop .art { margin-top: 26px; }
  .pipe { height: 372px; }
  .pipe-phone { width: 136px; height: 236px; padding-top: 30px; }
  .pipe-phone .pp-fid { margin-top: 20px; width: 50px; height: 50px; }
}

/* 04 the team: a compact header, then the overview as the one visual (fits one laptop screen) */
.team-stop { min-height: 0; padding: 60px 0 72px; }
.team-stop .team-head .mono-k { margin-bottom: 12px; }
.team-stop .team-head .mono-k b { color: var(--ember); font-weight: 500; }
.team-stop .team-head h2 { max-width: 22ch; font-size: clamp(2.2rem, 1rem + 2.6vw, 3.6rem); line-height: .95; }
.team-stop .team-head p.b { margin-top: 12px; max-width: none; font-size: 1rem; color: var(--text-sec); }
.team-stop .team-head .team-price { margin-left: 10px; color: var(--gold); white-space: nowrap; }
#braid .wrap.ov-wrap { display: block; margin-top: 22px; }
.ov-frame.live { overflow: hidden; }
.ov-frame iframe { display: block; border: 0; background: #070607; }
.ov-frame .ov-still { display: block; width: 100%; height: auto; }
.ov-cap { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .team-stop { padding: 72px 0; } .team-stop .team-head .team-price { display: inline-block; margin: 6px 0 0; } }
.team-stop .wrap.team-head { display: block; }

/* 05 lanes: names only (no marks or letter badges) */
.tile2 { height: 52px; padding: 0 22px; gap: 0; border-radius: 14px; }
.tile2 b { display: none; }
.tile2 span { font-size: 16px; font-weight: 500; letter-spacing: -0.005em; }
.tile2.any { border-style: dashed; }
.tile2.any span { color: var(--muted); }
@media (max-width: 860px) { .tile2 { height: 44px; padding: 0 16px; } .tile2 span { font-size: 14px; } }

/* 04 know your agent: one call, step by step; each card leads with its point, and the steps SUDP provides
   sit inside a dashed bound */
.chain-stop .chain-wrap { display: block; }
.chain-stop .stop-copy h2 { max-width: 18ch; }
.chain-stop .stop-copy p.b { max-width: 40rem; }
.chain-links { margin-top: 18px; display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: 15px; }
.chain-links a { color: var(--gold); }
.chain-links a:hover { color: var(--gold-hi); }
.chain-stop .art { margin-top: 52px; }
.chain { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1fr); grid-template-rows: 54px auto 18px; }
.chain > * { min-width: 0; }
.ch-bound { grid-column: 3 / 6; grid-row: 1 / 4; margin: 0 -14px; border: 1px dashed rgba(255,157,85,.55); border-radius: 20px; background: rgba(255,120,50,.025); }
.ch-sudp-h { grid-column: 3 / 6; grid-row: 1; display: flex; align-items: center; gap: 14px; }
.ch-sudp-h b { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(100deg, var(--cream), var(--ember) 60%, var(--ember-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-sudp-h span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.n1 { grid-column: 1; grid-row: 2; } .l2 { grid-column: 2; grid-row: 2; } .n2 { grid-column: 3; grid-row: 2; } .l3 { grid-column: 4; grid-row: 2; }
.n3 { grid-column: 5; grid-row: 2; } .l4 { grid-column: 6; grid-row: 2; } .n4 { grid-column: 7; grid-row: 2; }
.ch-node { position: relative; padding: 16px 16px 18px; border-radius: 14px; border: 1px solid rgba(201,169,110,.16); background: rgba(12,11,12,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: .42; transition: opacity .5s ease, border-color .5s ease, box-shadow .6s ease; }
.ch-node.lit { opacity: 1; border-color: rgba(255,140,60,.5); box-shadow: 0 0 46px -16px rgba(255,120,50,.55); }
.ch-k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
.ch-t { margin-top: 8px; min-height: 2.5em; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--text); }
.ch-node small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
/* 1: who the agent is */
.ch-id { margin-top: 14px; display: flex; align-items: center; gap: 11px; }
.ch-av { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--accent); background: var(--accent-subtle); border: 1px solid var(--border-hover); flex: none; }
.ch-id b { font-size: 14.5px; font-weight: 600; color: var(--text); }
/* 2: the one call, the only place it is shown */
.ch-ask { margin-top: 14px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(201,169,110,.32); background: rgba(201,169,110,.07); }
.ch-ask b { font-size: 14.5px; font-weight: 600; color: var(--text); }
/* 3: the key, used once; another call asks again */
.ch-tok { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(201,169,110,.22); background: rgba(255,255,255,.02); font-size: 14px; font-weight: 600; color: var(--text); }
.ch-tok em { font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--success); padding: 2px 8px; border-radius: 999px; background: rgba(34,197,94,.12); opacity: 0; transition: opacity .4s ease .5s; }
.ch-node.lit .ch-tok em { opacity: 1; }
.ch-again { margin-top: 8px; padding: 9px 12px; border-radius: 10px; border: 1px dashed rgba(239,68,68,.32); font-size: 12.5px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .5s ease 1.1s, transform .6s var(--ease) 1.1s; }
.ch-again em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--error); }
.ch-node.lit .ch-again { opacity: 1; transform: none; }
/* 4: the record, with both signatures */
.ch-rec { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--text-sec); }
.ch-rec b { font-weight: 500; }
.ch-rec .cs-pill { opacity: .5; transition: opacity .4s; }
.ch-node.lit .ch-rec .cs-pill { opacity: 1; }
.ch-sigs { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.ch-sigs li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-sec); }
.kid { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--cream); padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(255,140,60,.5); background: rgba(255,140,60,.08); }
.ch-sigs i { position: relative; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; border: 1px solid var(--faint); flex: none; transition: border-color .3s, background .3s; }
.ch-sigs i::after { content: ''; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #0a0a0a; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) scale(.4); opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.ch-node.lit .ch-sigs i { border-color: var(--success); background: var(--success); }
.ch-node.lit .ch-sigs i::after { opacity: 1; transform: rotate(45deg); }
.ch-node.lit .ch-sigs li:nth-child(1) i, .ch-node.lit .ch-sigs li:nth-child(1) i::after { transition-delay: .35s; }
.ch-node.lit .ch-sigs li:nth-child(2) i, .ch-node.lit .ch-sigs li:nth-child(2) i::after { transition-delay: .6s; }
.ch-link { position: relative; align-self: center; height: 1px; background: rgba(232,213,163,.16); }
.ch-link::after { content: ''; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--ember-2), var(--cream)); box-shadow: 0 0 10px 1px rgba(255,120,50,.6); transition: width .5s var(--ease); }
.ch-link::before { content: ''; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 12px 3px rgba(255,140,60,.8); opacity: 0; }
.ch-link.lit::after { width: 100%; }
.ch-link.lit::before { animation: chdot .55s var(--ease) 1 forwards; }
@keyframes chdot { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@keyframes chdotv { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
@media (max-width: 1080px) {
  .chain { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 560px; }
  .chain > * { grid-column: 1; }
  .n1 { grid-row: 1; } .l2 { grid-row: 2; } .ch-sudp-h { grid-row: 3; } .n2 { grid-row: 4; } .l3 { grid-row: 5; } .n3 { grid-row: 6; } .l4 { grid-row: 8; } .n4 { grid-row: 9; }
  .ch-bound { grid-column: 1; grid-row: 3 / 8; margin: 0 -12px; }
  .chain::after { content: ''; grid-column: 1; grid-row: 7; height: 16px; }
  .ch-sudp-h { padding: 16px 2px 14px; flex-wrap: wrap; gap: 4px 12px; }
  .ch-t { min-height: 0; }
  .ch-link { align-self: auto; justify-self: start; margin-left: 28px; width: 1px; height: 30px; }
  .ch-link::after { width: 1px; height: 0; transition: height .5s var(--ease); background: linear-gradient(180deg, var(--ember-2), var(--cream)); }
  .ch-link.lit::after { width: 1px; height: 100%; }
  .ch-link::before { left: -3px; top: 0; }
  .ch-link.lit::before { animation: chdotv .55s var(--ease) 1 forwards; }
}
@media (min-width: 861px) {
  .chain-stop { min-height: 0; padding: 110px 0 96px; }
  .chain-stop .stop-copy .num { font-size: 4.2rem; margin-bottom: 10px; }
  .chain-stop .stop-copy .mono-k { margin-bottom: 12px; }
  .chain-stop .stop-copy h2 { max-width: none; font-size: clamp(2.4rem, 1rem + 2.6vw, 3.6rem); }
  .chain-stop .stop-copy p.b { margin-top: 14px; }
  .chain-stop .art { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-node, .ch-tok em, .ch-again, .ch-link::after, .ch-sigs i, .ch-sigs i::after { transition: none !important; }
  .ch-link::before { display: none; }
}

/* 02 connect once rides the rail like the other stops */
.connect { scroll-margin-top: 40px; }
.team-stop .team-head p.b { max-width: 50rem; }
.chain-links { gap: 10px 26px; }
@media (max-width: 860px) {
  .hero { padding-bottom: 172px; }
  .index { bottom: 36px; }
  .index .wrap { gap: 8px 16px; }
}
/* connect once closes the page before the finale */
.connect { padding-bottom: 150px; }

/* ── one rhythm: every section has the same space above and below; the side-by-side
   sections size to their content instead of a tall minimum ── */
@media (min-width: 861px) {
  .stop, .pipe-stop, .chain-stop, .team-stop { min-height: 0; padding: 112px 0; }
  .connect { padding: 112px 0 168px; }
}
@media (max-width: 860px) {
  .stop, .pipe-stop, .chain-stop, .team-stop { padding: 84px 0; }
  .connect { padding: 84px 0 120px; }
}
.team-stop .team-head .num { font-family: var(--display); font-weight: 200; font-size: 4.2rem; line-height: .8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,157,85,.55); margin-bottom: 14px; }
.team-stop .team-head .mono-k { margin-bottom: 12px; }
/* connect once: "Any agent" and "Any API" read as invitations, not as disabled tiles */
.tile2.any { border-style: solid; border-color: rgba(255,157,85,.45); }
.tile2.any span { color: var(--gold-hi); }
