:root {
  --bg: #040507;
  --glass: rgba(14, 16, 24, .42);
  --glass-2: rgba(255, 255, 255, .035);
  --glass-b: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .08);
  --dim: #8A8F9B;
  --mute: #A3A8B3;
  --text: #E4E6EA;
  --white: #F7F8FA;
  --accent: #8F9BFF;
  --alarm: #FF6B8A;
  --ok: #7CF5C4;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --gutter: clamp(20px, 3vw, 44px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-anchor: none; }
::selection { background: var(--accent); color: var(--bg); }
a { color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.space { position: fixed; inset: 0; z-index: 0; }
.space canvas { display: block; width: 100%; height: 100%; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
main, .foot { position: relative; z-index: 2; }
main { pointer-events: none; }
main > section:not(.hero), .foot { pointer-events: auto; }
.space-dim { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 80% 70% at 30% 40%, rgba(4, 5, 7, .5), rgba(4, 5, 7, .72)); }
html.locked, html.locked body { overflow: hidden; }

.eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text); }
.hero .eyebrow i { font-style: normal; color: var(--accent); letter-spacing: 0; }

/* split-word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.split .w > span { display: inline-block; transform: translateY(105%); transform-origin: left bottom; opacity: 0; transition: transform 1.1s var(--ease), opacity .8s var(--ease); transition-delay: calc(var(--i) * 55ms + .05s); }
.split.in .w > span, .loaded .hero .split .w > span { transform: none; opacity: 1; }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px var(--gutter); transition: padding .5s var(--ease); }
.top::before { content: ''; position: absolute; inset: 0 0 -60px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: linear-gradient(180deg, rgba(4, 5, 7, .92) 0%, rgba(4, 5, 7, .6) 45%, rgba(4, 5, 7, 0) 100%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%); }
.scrolled .top { padding-top: 14px; padding-bottom: 14px; }
.scrolled .top::before { opacity: 1; }
.logo { justify-self: start; color: var(--white); text-decoration: none; font: 700 19px/0.92 var(--sans); letter-spacing: -0.04em; position: relative; }
.logo i { position: absolute; right: -14px; bottom: 2px; width: 9px; height: 5px; border-radius: 9px 9px 0 0; background: var(--white); }
.pill-nav { display: flex; align-items: center; gap: 2px; height: 46px; box-sizing: border-box; padding: 5px; border-radius: 99px; background: rgba(12, 14, 20, .38); border: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.pill-nav a { color: var(--mute); text-decoration: none; font-size: 13px; padding: 8px 16px; border-radius: 99px; transition: color .25s, background .25s; }
.pill-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.cta { justify-self: end; display: inline-flex; gap: 10px; align-items: center; height: 46px; box-sizing: border-box; padding: 0 8px 0 20px; border-radius: 99px; background: var(--white); color: #0B0C0F; text-decoration: none; font-size: 13.5px; font-weight: 600; transition: transform .35s var(--ease), box-shadow .35s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(143, 155, 255, .35); }

/* ---------- hero ---------- */
.hero { position: relative; height: max(740px, 100svh); pointer-events: none; }
.hero a, .hero button, .hero .card, .hero .focus { pointer-events: auto; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 5, 7, .7) 0%, rgba(4, 5, 7, .25) 38%, rgba(4, 5, 7, 0) 60%); }
.hero-copy { position: absolute; left: calc(var(--gutter) + clamp(0px, 2.4vw, 44px)); top: 50%; margin-top: -250px; z-index: 3; max-width: 560px; will-change: transform, opacity; }
.hero h1 { margin: 0 0 26px; font: 300 clamp(46px, 5vw, 80px)/0.98 var(--sans); letter-spacing: -0.068em; color: var(--white); margin-left: -0.04em; }
.sub { margin: 0 0 36px; max-width: 450px; color: var(--mute); font-size: 16.5px; line-height: 1.6; }
.hero .eyebrow, .hero .sub, .hero .arrow-link { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.loaded .hero .eyebrow { opacity: 1; transform: none; }
.loaded .hero .sub { opacity: 1; transform: none; transition-delay: .55s; }
.loaded .hero .arrow-link { opacity: 1; transform: none; transition-delay: .7s; }

.arrow-link { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 0 0 14px; color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.arrow-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .3); transform-origin: left; transition: background .3s; }
.arrow-link::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 1; }
.arrow-link:hover::before { transform: scaleX(1); }
.arrow-link i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); font-style: normal; font-size: 13px; line-height: 1; transition: background .35s, color .35s, transform .5s var(--ease), border-color .35s; }
.arrow-link:hover i { background: var(--white); color: #0B0C0F; border-color: var(--white); transform: rotate(45deg); }

.vertical { position: absolute; right: 26px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; margin: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); z-index: 3; }
.vertical::after { content: ''; display: block; width: 1px; height: 80px; background: var(--line); margin: 18px auto 0; }

.tooltip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(10, 12, 16, .8); border: 1px solid var(--glass-b); backdrop-filter: blur(10px); font-size: 12.5px; color: var(--white); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.tooltip i { width: 7px; height: 7px; border-radius: 50%; }
.tooltip.on { opacity: 1; }

.hero-foot { position: absolute; left: calc(var(--gutter) + clamp(0px, 2.4vw, 44px)); right: var(--gutter); bottom: 26px; z-index: 4; display: grid; grid-template-columns: 1fr auto; align-items: center; opacity: 0; transition: opacity 1.4s var(--ease) 1.2s; }
.loaded .hero-foot, .loaded .vertical { opacity: 1; }
.vertical { opacity: 0; transition: opacity 1.4s var(--ease) 1.2s; }
.hint { margin: 0; font-size: 11.5px; color: var(--dim); }
.hint span { margin-right: 10px; color: var(--mute); display: inline-block; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.focus { justify-self: end; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.f-num { font-size: 10.5px; color: var(--c, var(--dim)); padding-top: 3px; font-variant-numeric: tabular-nums; }
.f-main { display: flex; flex-direction: column; max-width: 260px; }
.f-main b { font-weight: 500; font-size: 14px; color: var(--white); transition: opacity .3s; }
.f-main span { font-size: 11.5px; color: var(--mute); }

/* ---------- sections ---------- */
.sec { position: relative; max-width: 1200px; margin: 0 auto; padding: 160px var(--gutter) 30px; }
.sec h2 { margin: 0 0 26px; font: 300 clamp(40px, 5vw, 76px)/1.0 var(--sans); letter-spacing: -0.066em; color: var(--white); max-width: 13.5em; }
.lede { margin: 0 0 64px; max-width: 610px; color: #B8BCC6; font-size: 18px; text-shadow: 0 1px 24px rgba(4, 5, 7, .8); }
.sec h3 { margin: 18px 0 8px; font: 500 18px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--white); }
.muted { color: var(--mute); font-size: 15px; margin: 0 0 12px; }
.glass { position: relative; padding: 32px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(16px) saturate(130%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

[data-reveal] { opacity: 0; transform: translateY(12px); filter: blur(2px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* tilt + sheen */
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s, opacity 1.1s var(--ease), filter 1.1s var(--ease); }
.tilt.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .09), transparent 45%); }
.tilt:hover::after { opacity: 1; }

/* how it works */
.how-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { min-height: 46vh; padding: 28px 0; display: flex; flex-direction: column; justify-content: center; opacity: .45; transform: translateX(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.steps li.on { opacity: 1; transform: none; }
.s-n { font: 500 12.5px var(--mono); color: #AEB6FF; }
.steps h3 { margin: 10px 0 12px; font: 300 clamp(28px, 3vw, 40px)/1.08 var(--sans); letter-spacing: -0.055em; }
.steps p { margin: 0; max-width: 440px; color: #B8BCC6; font-size: 16px; }
.how-viz { position: sticky; top: 14vh; height: 72vh; display: grid; place-items: center; }
#pipeline { width: 100%; height: 100%; overflow: visible; }
.p-edge { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1.4; transition: stroke .6s; }
.p-edge.done { stroke: url(#pg); stroke-width: 1.6; }
.p-node .p-ring { fill: rgba(10, 12, 18, .8); stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; transition: stroke .5s, r .5s; }
.p-node .p-core { fill: var(--dim); transition: fill .5s; }
.p-node .p-halo { fill: var(--accent); opacity: 0; filter: url(#pglow); transition: opacity .5s; }
.p-node.done .p-core { fill: var(--accent); }
.p-node.done .p-ring { stroke: rgba(143, 155, 255, .5); }
.p-node.on .p-core { fill: var(--white); }
.p-node.on .p-ring { stroke: var(--white); }
.p-node.on .p-halo { opacity: .35; animation: halo 2s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .12; } }
.p-l { fill: var(--mute); font: 500 15px var(--sans); letter-spacing: -0.01em; transition: fill .5s; }
.p-s { fill: var(--dim); font: 400 11px var(--mono); }
.p-node.on .p-l, .p-node.done .p-l { fill: var(--white); }
.p-dot { fill: #DCE1FF; filter: drop-shadow(0 0 4px #8F9BFF); }

/* clock */
.clock-row { display: grid; grid-template-columns: auto auto minmax(240px, 1fr); gap: 56px; align-items: end; margin-bottom: 44px; }
.big { display: flex; flex-direction: column; }
.big-n { font: 200 clamp(44px, 5.4vw, 92px)/0.95 var(--sans); letter-spacing: -0.055em; color: var(--white); font-variant-numeric: tabular-nums; display: inline-block; white-space: nowrap; }
#dropX { min-width: 3.4ch; }
.big-n.accent { background: linear-gradient(120deg, #fff 10%, #8F9BFF 60%, #7CF5C4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-u { margin-top: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.note { margin: 0; max-width: 340px; font-size: 14px; color: var(--mute); }
/* exposure */
.stat { overflow: hidden; }
.ring { position: absolute; right: 26px; top: 26px; width: 150px; height: 150px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 10; }
.ring-fg { fill: none; stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 527.8; stroke-dashoffset: 527.8; transform-origin: 100px 100px; transform: rotate(calc(var(--o, 0) * 360deg)); transition: stroke-dashoffset 2s var(--ease) .3s; }
.in .ring-fg { stroke-dashoffset: calc(527.8 * (1 - var(--p))); }
.ring-fg.sol { stroke: url(#none); stroke: var(--alarm); filter: drop-shadow(0 0 6px rgba(255, 107, 138, .6)); }
.ring-fg.reuse { stroke: var(--alarm); }
.ring-fg.p2pk { stroke: #B5507A; transition-delay: 1s; }
.ring-fg.tr { stroke: var(--accent); transition-delay: 1.6s; }
.ring-c { position: absolute; right: 26px; top: 26px; width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; }
.ring-c b { font: 300 26px/1 var(--sans); letter-spacing: -0.04em; color: var(--white); }
.ring-c span { font-size: 9.5px; line-height: 1.35; color: var(--mute); margin-top: 6px; }
.stat-k { margin: 0 0 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.stat-n { margin: 60px 0 14px; font: 200 clamp(36px, 4.2vw, 62px)/1 var(--sans); letter-spacing: -0.055em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-n small { font-size: .3em; margin-left: 10px; letter-spacing: .1em; color: var(--dim); font-weight: 500; }
.stat-sub { margin: 0 0 14px; color: var(--mute); font-size: 15px; max-width: 440px; }
.stat-sub em { color: var(--white); }
.src { margin: 0; color: var(--dim); font-size: 12.5px; }

.check { margin-top: 100px; }
.check-h { font: 300 clamp(30px, 3.2vw, 46px)/1.1 var(--sans) !important; letter-spacing: -0.05em !important; margin-bottom: 26px !important; }
.checker { display: flex; gap: 8px; max-width: 820px; padding: 6px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(16px); transition: border-color .3s, box-shadow .3s; }
.checker:focus-within { border-color: rgba(143, 155, 255, .6); box-shadow: 0 0 0 6px rgba(143, 155, 255, .12), 0 0 60px rgba(143, 155, 255, .15); }
.checker input { flex: 1; min-width: 0; padding: 12px 18px; background: transparent; border: 0; outline: none; color: var(--white); font: 400 14.5px var(--mono); }
.checker input::placeholder { color: var(--dim); font-family: var(--sans); }
.checker button { padding: 12px 22px; border-radius: 99px; border: 0; background: var(--white); color: #0B0C0F; font: 600 14px var(--sans); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.checker button:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255, 255, 255, .2); }
.examples { margin-top: 16px; font-size: 13.5px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.examples button { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; cursor: pointer; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.examples button:hover { color: var(--white); border-color: var(--white); }
.result { margin-top: 30px; max-width: 820px; padding: 30px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(16px); animation: cardIn .7s var(--ease); }
.r-verdict { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.r-verdict h3 { margin: 0 !important; font: 300 30px/1.1 var(--sans) !important; letter-spacing: -0.045em !important; }
.r-ind { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); flex: none; }
.result.bad .r-ind { background: var(--alarm); box-shadow: 0 0 0 0 rgba(255, 107, 138, .5); animation: ping2 1.8s infinite; }
@keyframes ping2 { 100% { box-shadow: 0 0 0 12px rgba(255, 107, 138, 0); } }
.result.good .r-ind { background: var(--ok); }
.result.neutral .r-ind { background: var(--accent); }
.r-why { color: var(--text); margin: 0 0 22px; }
.r-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 22px; margin: 0 0 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.r-facts dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.r-facts dd { margin: 4px 0 0; font-size: 14px; color: var(--white); word-break: break-all; }
.r-facts .mono { font-family: var(--mono); font-size: 12.5px; }
.r-todo { margin: 0 0 12px; color: var(--text); }
.r-note { margin: 0; font-size: 13px; color: var(--dim); }

/* randomness */
.rand-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; }
.bits-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bits-head .k { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.bits-head b { font: 300 34px/1.1 var(--sans); letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.countdown { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.countdown svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.cd-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2.5; }
.cd-fg { fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.countdown span { font: 400 11px var(--mono); color: var(--text); }
.bits { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; }
.bits i { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, .06); transition: background .4s, box-shadow .4s; }
.bits i.on { background: #A9B3FF; box-shadow: 0 0 6px rgba(143, 155, 255, .55); }
.bits.flip i { animation: flip .7s var(--ease) both; animation-delay: var(--d); }
@keyframes flip { 0% { transform: scale(.2) rotate(90deg); background: #fff; } 60% { transform: scale(1.25); } }
.hex { margin: 18px 0 0; font: 400 11px/1.6 var(--mono); color: var(--dim); word-break: break-all; }
.sources h3:first-of-type { margin-top: 4px; }
.pulses { list-style: none; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.pulses li { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 8px 0; font: 400 12px var(--mono); animation: cardIn .6s var(--ease) both; }
.p-idx { color: var(--accent); }
.p-val { color: var(--mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-val .dim { color: var(--dim); }
.p-time { color: var(--dim); }
.pulses li.fresh .p-val { color: var(--white); }

.closing-sec { text-align: left; padding-bottom: 60px; }
.closing-sec h2 { max-width: 15em; }
.foot { max-width: 1200px; margin: 0 auto; padding: 100px var(--gutter) 60px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--dim); }
.foot span:last-child { max-width: 640px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split .w > span, [data-reveal], .hero .eyebrow, .hero .sub, .hero .arrow-link, .hero-foot, .vertical { opacity: 1; transform: none; filter: none; transition: none; }
  .grain { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } .principles { grid-template-columns: repeat(2, 1fr); } .principles div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 900px) {
  .pill-nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .two, .rand-grid { grid-template-columns: 1fr; }
  .clock-row { grid-template-columns: 1fr 1fr; }
  .note { grid-column: 1 / -1; }
    .how-wrap { grid-template-columns: 1fr; }
  .how-viz { display: none; }
  .steps li { min-height: auto; opacity: 1; transform: none; }
}
@media (max-width: 680px) {
  .hero { height: max(780px, 100svh); }
  .hero-shade { background: linear-gradient(0deg, rgba(4, 5, 7, .95) 0%, rgba(4, 5, 7, .6) 45%, rgba(4, 5, 7, 0) 65%); }
  .hero-copy { top: auto; bottom: 104px; transform: none; right: var(--gutter); }
  .hero h1 { font-size: 46px; }
  .sub { font-size: 15px; margin-bottom: 26px; }
  .hero-foot { grid-template-columns: 1fr; justify-items: center; bottom: 20px; }
  .hint, .focus, .vertical { display: none; }
  .cta { padding: 10px 16px; font-size: 12.5px; }
  .agent-grid, .principles { grid-template-columns: 1fr; }
  .principles div + div { border-left: 0; padding-left: 0; }
  .clock-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .big-n { font-size: 11vw; min-width: 0; }
  .glass { padding: 24px; }
  .ring, .ring-c { width: 110px; height: 110px; right: 16px; top: 16px; }
  .ring-c span { display: none; }
  .stat-n { margin-top: 90px; }
  .checker { border-radius: 18px; flex-wrap: wrap; }
  .checker button { width: 100%; }
  .bits { gap: 2px; }
}

/* ---------- agents ---------- */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; padding: 24px 22px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-b); backdrop-filter: blur(16px); overflow: hidden; cursor: pointer; min-height: 260px; }
.agent:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.agent::before { content: ''; position: absolute; left: -30%; top: -60%; width: 160%; height: 100%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .08; transition: opacity .5s; pointer-events: none; }
.agent:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.agent:hover::before { opacity: .22; }
.a-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.a-glyph svg { width: 40px; height: 40px; transition: transform .8s var(--ease); display: block; }
.agent:hover .a-glyph svg { transform: rotate(60deg) scale(1.08); }
.a-num { font: 400 11.5px var(--mono); color: var(--dim); }
.a-name { display: block; margin: 0 0 10px; font: 500 19px/1.3 var(--sans); letter-spacing: -0.02em; color: var(--white); }
.a-job { display: block; font-size: 13.5px; color: var(--mute); line-height: 1.55; flex: 1; }
.a-open { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--c); }
.a-open i { font-style: normal; transition: transform .4s var(--ease); }
.agent:hover .a-open i { transform: translate(2px, -2px); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.principles div { padding: 24px 24px 0 0; }
.principles div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.principles b { display: block; font-weight: 500; color: var(--white); margin-bottom: 6px; }
.principles span { font-size: 14px; color: var(--mute); }

/* ---------- agent page ---------- */
.agent-page { position: fixed; inset: 0; z-index: 80; }
.ap-scrim { position: absolute; inset: 0; background: rgba(3, 4, 6, .6); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease); }
.agent-page.open .ap-scrim { opacity: 1; }
.ap-panel { position: absolute; top: 16px; bottom: 16px; right: 16px; width: min(1080px, calc(100% - 32px)); overflow-y: auto; overscroll-behavior: contain; padding: 30px clamp(22px, 4vw, 52px) 40px; border-radius: 28px; background: linear-gradient(180deg, rgba(14, 16, 24, .92), rgba(8, 9, 13, .96)); border: 1px solid var(--glass-b); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); transform: translateX(40px); opacity: 0; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.agent-page.open .ap-panel { transform: none; opacity: 1; }
.ap-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 320px; border-radius: 28px 28px 0 0; background: radial-gradient(ellipse 60% 100% at 20% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); pointer-events: none; }
.ap-panel > * { position: relative; }
.ap-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.ap-crumb { font: 400 11px var(--mono); letter-spacing: .12em; color: var(--dim); }
.ap-close { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 16px; border-radius: 99px; border: 1px solid var(--glass-b); font-size: 13px; color: var(--text); transition: background .3s, border-color .3s; }
.ap-close:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
.ap-close:focus-visible { outline: 1px solid rgba(255, 255, 255, .35); outline-offset: 3px; }
.ap-close i { font-style: normal; font-size: 18px; line-height: 1; }
.ap-head { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; }
.ap-glyph svg { width: 92px; height: 92px; display: block; animation: spinIn 1.2s var(--ease) both; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--c) 50%, transparent)); }
@keyframes spinIn { from { transform: rotate(-120deg) scale(.4); opacity: 0; } }
.ap-name { margin: 0; font: 300 clamp(44px, 5.4vw, 76px)/1 var(--sans); letter-spacing: -0.055em; color: var(--white); }
.ap-tag { margin: 8px 0 0; font-size: 20px; font-weight: 300; color: var(--c); letter-spacing: -0.02em; }
.ap-long { margin: 0 0 40px; max-width: 760px; font-size: 17px; line-height: 1.7; color: #BFC3CC; }
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ap-card { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.ap-wide { grid-column: span 2; }
.ap-live { grid-column: 1 / -1; display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 8px 28px; }
.ap-live h3 { grid-column: 1 / -1; margin-bottom: 4px; }
.ap-live .ap-note { margin: 0; }
.ap-card h3 { margin: 0 0 18px; font: 500 11px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.ap-panel.show .ap-card, .ap-panel.show .ap-long, .ap-panel.show .ap-head > div, .ap-panel.show .ap-nav { animation: rise .8s var(--ease) both; animation-delay: calc(.12s + var(--d, 0) * 70ms); }
.ap-panel.show .ap-long { --d: -1; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.ap-facts dl { margin: 0; display: grid; gap: 14px; }
.ap-facts dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--c); margin-bottom: 3px; }
.ap-facts dd { margin: 0; font-size: 14px; color: var(--text); line-height: 1.5; }
.ap-note { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); }
.radar { width: 100%; height: auto; display: block; overflow: visible; }
.r-ring { fill: none; stroke: rgba(255, 255, 255, .07); }
.r-axis { stroke: rgba(255, 255, 255, .07); }
.r-shape { fill: color-mix(in srgb, var(--c) 22%, transparent); stroke: var(--c); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: grow 1.2s var(--ease) .4s both; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 45%, transparent)); }
@keyframes grow { from { transform: scale(0); opacity: 0; } }
.r-dot { fill: var(--c); animation: fadeIn .4s ease both; animation-delay: calc(1s + var(--i) * 80ms); }
@keyframes fadeIn { from { opacity: 0; } }
.r-lab { fill: var(--mute); font: 500 11px var(--sans); }
.ap-loop { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.ap-loop::before { content: ''; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(180deg, var(--c), transparent); opacity: .5; }
.ap-loop::after { content: ''; position: absolute; left: 12px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); animation: travel 3.2s var(--ease) infinite; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
.ap-loop li { position: relative; display: flex; gap: 14px; align-items: baseline; padding: 9px 0; font-size: 14px; color: var(--text); line-height: 1.45; }
.ap-loop li span { flex: none; width: 24px; font: 400 11px var(--mono); color: var(--c); text-align: center; background: #0B0C11; position: relative; z-index: 1; }
.network { width: 100%; height: auto; display: block; overflow: visible; }
.n-edge { stroke: var(--c); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: .55; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.n-center circle { fill: #0B0C11; stroke: var(--c); stroke-width: 1.6; }
.n-center .n-halo { fill: var(--c); stroke: none; opacity: .15; animation: halo 2.4s ease-in-out infinite; }
.n-center text { fill: var(--white); font: 500 13px var(--sans); }
.n-center .n-mid { fill: var(--c); stroke: none; }
.n-node { cursor: pointer; animation: fadeIn .6s var(--ease) both; animation-delay: calc(.5s + var(--k) * 100ms); }
.n-node circle { fill: #0B0C11; stroke: var(--c); stroke-width: 1.2; transition: r .3s; }
.n-node .n-core { fill: var(--c); stroke: none; }
.n-node:hover circle:first-child, .n-node:focus-visible circle:first-child { stroke-width: 2.4; }
.n-node:focus { outline: none; }
.n-name { fill: var(--white); font: 500 13px var(--sans); }
.n-why { fill: var(--dim); font: 400 11px var(--sans); }
.ap-ex-t { margin: 0 0 8px; font: 500 17px/1.3 var(--sans); color: var(--white); letter-spacing: -0.02em; }
.ap-ex { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.6; }
.ap-live-viz { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.ap-live-viz i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 35%, transparent), transparent); height: 12%; animation: idle 2.4s ease-in-out infinite; }
.ap-live-viz i:nth-child(odd) { animation-delay: -.8s; } .ap-live-viz i:nth-child(3n) { animation-delay: -1.6s; }
@keyframes idle { 50% { height: 26%; } }
.ap-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ap-nav button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.ap-nav button:last-child { justify-content: flex-end; text-align: right; }
.ap-nav button:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); }
.ap-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ap-nav small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 3px; }
.ap-nav span { font-size: 18px; font-weight: 300; color: var(--white); letter-spacing: -0.02em; }
.ap-nav i { font-style: normal; color: var(--mute); font-size: 18px; }

/* ---------- curve chart ---------- */
.chart { margin: 0; padding: 24px 24px 8px; }
.chart-head { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.chart-box { position: relative; margin: 10px 0 6px; }
#curveChart { width: 100%; height: auto; display: block; overflow: visible; }
.c-grid { stroke: rgba(255, 255, 255, .05); }
.c-tick { fill: var(--dim); font: 400 11px var(--mono); }
.c-line { fill: none; stroke: url(#cg); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.c-glow { fill: none; stroke: url(#cg); stroke-width: 6; opacity: 0; }
.c-fill { fill: url(#cfade); opacity: 0; transition: opacity 1.6s var(--ease) 1.6s; }
.play .c-line { animation: draw 2.4s var(--ease) .2s forwards; }
.play .c-glow { animation: glowIn 1.4s ease 1.6s forwards; }
.play .c-fill { opacity: 1; }
@keyframes glowIn { to { opacity: .22; } }
.c-next { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 4 6; opacity: 0; transition: opacity 1s 2.4s; animation: flow 1.2s linear infinite; }
.c-next-dot { fill: var(--ok); opacity: 0; transition: opacity 1s 2.6s; }
.play .c-next, .play .c-next-dot { opacity: .9; }
.c-pt { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(.4s + var(--i) * .4s); cursor: pointer; }
.play .c-pt { opacity: 1; }
.c-dot { fill: #0A0B10; stroke: #C9D0FF; stroke-width: 1.8; transition: r .3s var(--ease), fill .3s; }
.c-pt.best .c-dot { fill: var(--white); stroke: var(--white); }
.c-pt.alt .c-dot { stroke: var(--mute); stroke-dasharray: 2 2; }
.c-ring { fill: none; stroke: #C9D0FF; stroke-width: 1; opacity: 0; transition: opacity .3s; }
.c-pt.hot .c-ring { opacity: .6; }
.c-pt.hot .c-dot { fill: #C9D0FF; }
.c-scan { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 2 4; opacity: 0; transition: opacity .2s; pointer-events: none; }
.c-tip { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; gap: 2px; width: 200px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 12, 18, .9); border: 1px solid var(--glass-b); backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s, transform .25s var(--ease); }
.c-tip.on { opacity: 1; }
.c-tip span { font: 400 11px var(--mono); color: var(--dim); }
.c-tip b { font-weight: 500; color: var(--white); font-size: 14px; }
.c-tip em { font-style: normal; color: var(--mute); font-size: 12.5px; }
.c-legend { list-style: none; margin: 0; padding: 18px 0 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.c-legend li { padding: 4px 16px 4px 0; transition: opacity .3s; cursor: default; }
.c-legend li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.c-legend:hover li:not(.hot) { opacity: .45; }
.lg-y { display: block; font: 400 11px var(--mono); color: var(--dim); }
.c-legend b { display: block; margin: 2px 0; font-weight: 500; font-size: 14px; color: var(--white); }
.lg-v { font-size: 12.5px; color: var(--mute); }
.c-legend .best b { color: #C9D0FF; }
.c-legend .next b, .c-legend .next .lg-v { color: var(--ok); }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr; } .ap-wide { grid-column: auto; } .c-legend { grid-template-columns: repeat(2, 1fr); gap: 12px 0; } .c-legend li:nth-child(odd) { border-left: 0; padding-left: 0; } .ap-panel { top: 8px; bottom: 8px; right: 8px; width: calc(100% - 16px); } }
@media (max-width: 680px) { .ap-live { grid-template-columns: 1fr; } .ap-head { flex-direction: column; align-items: flex-start; gap: 14px; } .ap-glyph svg { width: 64px; height: 64px; } .ap-nav { grid-template-columns: 1fr; } }
@media (max-width: 1080px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } .principles { grid-template-columns: repeat(2, 1fr); } .principles div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 680px) { .agent-grid, .principles { grid-template-columns: 1fr; } .principles div + div { border-left: 0; padding-left: 0; } .agent { min-height: 0; } }

.scrolled .hero-foot, .scrolled .vertical { opacity: 0 !important; transition: opacity .5s; }
@media (max-width: 680px) { .hero-copy { left: var(--gutter); top: auto; margin-top: 0; } .hero-foot { left: var(--gutter); } }

[hidden] { display: none !important; }

/* ---------- refinements ---------- */
/* CTA arrow sits in its own disc, echoing the nav's inner pills */
.cta span[aria-hidden] { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0B0C0F; color: var(--white); font-size: 12px; transition: transform .35s var(--ease); }
.cta:hover span[aria-hidden] { transform: rotate(45deg); }

/* agent cards: gradient hairline border, lift and tinted glow on hover, standby dot */
.agent { border-color: transparent; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.agent::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 55%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: background .45s; }
.agent:hover { transform: translateY(-4px); box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.agent:hover::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, transparent), rgba(255, 255, 255, .06) 60%, transparent); }
.a-open .a-state { display: inline-flex; align-items: center; gap: 8px; }
.a-open .a-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); animation: standby 2.8s ease-out infinite; }
@keyframes standby { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* pipeline: the active node gets a large breathing halo, the rest step back */
.p-node { transition: opacity .5s var(--ease); }
.p-node:not(.on):not(.done) { opacity: .5; }
.p-node .p-halo { transform-box: fill-box; transform-origin: center; }
.p-node.on .p-halo { opacity: .55; r: 40; }
.p-node.on .p-ring { r: 21; }
.p-comet { fill: #fff; filter: drop-shadow(0 0 6px #8F9BFF) drop-shadow(0 0 14px #8F9BFF); }
.p-trail { fill: none; stroke: url(#pg); stroke-width: 2.2; stroke-linecap: round; opacity: .85; filter: drop-shadow(0 0 5px rgba(143, 155, 255, .8)); }

/* chart: dotted gridlines and a richer tooltip */
.c-grid { stroke: rgba(255, 255, 255, .11); stroke-dasharray: 2 4; }
.c-tip { width: 230px; }
.c-tip .c-meta { display: flex; justify-content: space-between; gap: 10px; font: 400 11px var(--mono); color: var(--dim); }
.c-tip .c-n { font: 500 12.5px var(--mono); color: #C9D0FF; margin-top: 6px; }
.c-tip .c-src { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--mute); }
.c-pt { cursor: pointer; }

/* address checker: terminal prompt feel, presets as code tags */
.checker { position: relative; }
.checker::before { content: '>'; align-self: center; padding-left: 16px; font: 500 15px var(--mono); color: var(--accent); }
.checker input { padding-left: 10px; letter-spacing: .01em; caret-color: var(--accent); }
.examples { align-items: center; gap: 8px; }
.examples button { padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .03); font: 400 12px var(--mono); color: var(--mute); transition: color .2s, border-color .2s, background .2s; }
.examples button:hover { color: var(--white); border-color: rgba(143, 155, 255, .45); background: rgba(143, 155, 255, .1); }
@media (prefers-reduced-motion: reduce) { .agent:hover { transform: none; } .a-open .a-state::before { animation: none; } }
.c-legend li { cursor: pointer; }

.split.instant .w > span, [data-reveal].instant { transition: none !important; }

/* taller header */
.top { padding-top: 26px; padding-bottom: 26px; }
.pill-nav { height: 56px; padding: 6px; }
.pill-nav a { padding: 11px 18px; font-size: 13.5px; }
.cta { height: 56px; padding: 0 9px 0 24px; font-size: 14px; }
.cta span[aria-hidden] { width: 38px; height: 38px; }
@media (max-width: 1180px) { .pill-nav a { padding: 11px 13px; } }

/* shared site menu: dropdown on narrow screens */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-btn { display: grid; place-content: center; gap: 5px; order: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); background: rgba(12, 14, 20, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; }
  .menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
  .menu-open .menu-btn i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
  .cta { order: 1; height: 48px; padding: 0 6px 0 18px; font-size: 13px; }
  .cta span[aria-hidden] { width: 34px; height: 34px; }
  .pill-nav { display: none; }
  .menu-open .pill-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% - 8px); left: 12px; right: 12px; height: auto; padding: 8px; border-radius: 22px; background: rgba(10, 12, 18, .94); animation: menuIn .3s var(--ease); }
  .menu-open .pill-nav a { padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
}
@media (max-width: 520px) { .top .cta { display: none; } .top { grid-template-columns: 1fr auto; } }

/* agents: tagline on cards, first target, rollout status */
.a-tag { display: block; margin: -4px 0 8px; font-size: 13px; color: var(--c); font-weight: 500; }
.ap-first { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--white); }
.ap-note a { color: var(--text); }
.rollout { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: -36px 0 40px; padding: 16px 20px; border-radius: 18px; background: rgba(143, 155, 255, .06); border: 1px solid rgba(143, 155, 255, .2); font-size: 14.5px; color: var(--mute); }
.rollout b { color: var(--white); font-weight: 600; }
.rollout a { color: var(--text); }
.ro-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #FFD28A; box-shadow: 0 0 0 0 rgba(255, 210, 138, .5); animation: standby 2.8s ease-out infinite; --c: #FFD28A; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* menu: gliding highlight, soft press, page fades */
.pill-nav { position: relative; }
.pill-nav.has-ind a, .pill-nav.has-ind a:hover, .pill-nav.has-ind a[aria-current="page"] { background: transparent !important; position: relative; z-index: 1; }
.pill-nav a.on, .pill-nav a[aria-current="page"] { color: var(--white); }
.nav-ind { position: absolute; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 99px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 22px rgba(143, 155, 255, .22);
  transition: transform .5s cubic-bezier(.22, 1.2, .36, 1), width .5s cubic-bezier(.22, 1.2, .36, 1), opacity .3s; }
.nav-ind.press { animation: navPress .35s var(--ease); }
@keyframes navPress { 50% { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .08)); } }
.pill-nav a { transition: color .3s; }
.pill-nav a { transition: color .3s, transform .25s var(--ease); }
.pill-nav a:active { transform: scale(.98); }
html { background: #040507; color-scheme: dark; }
/* page change: a dark veil fades over the page and lifts on the next one (never the browser's white) */
body::after { content: ''; position: fixed; inset: 0; z-index: 300; background: #040507; pointer-events: none; opacity: 0; transition: opacity .32s cubic-bezier(.4, 0, .2, 1); animation: veilOut .55s cubic-bezier(.4, 0, .2, 1); }
html.leaving body::after { opacity: 1; animation: none; }
@keyframes veilOut { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 900px) { .nav-ind { display: none; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; transition: none; } }

/* exposure cards: ring sits in its own column, never over the numbers */
.stat { display: grid; grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "k ring" "n ring" "sub sub" "src src"; column-gap: 24px; align-items: start; }
.stat .stat-k { grid-area: k; margin: 2px 0 0; }
.stat .stat-n { grid-area: n; margin: 22px 0 26px; font-size: clamp(34px, 3.4vw, 54px); white-space: nowrap; }
.stat .stat-sub { grid-area: sub; }
.stat .src { grid-area: src; }
.stat .ring, .stat .ring-c { grid-area: ring; position: relative; right: auto; top: auto; width: 132px; height: 132px; }
.stat .ring-c { padding: 18px; }
.stat .ring-c b { font-size: 24px; }
.stat .ring-c span { font-size: 10.5px; }
@media (max-width: 680px) {
  .stat { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 14px; }
  .stat .ring, .stat .ring-c { width: 96px; height: 96px; }
  .stat .ring-c b { font-size: 19px; }
  .stat .stat-n { margin-top: 14px; font-size: 9vw; }
}

/* randomness panel: label above number, pulse values truncate cleanly */
.bits-head > div { display: flex; flex-direction: column; gap: 6px; }
.pulses li { grid-template-columns: 84px minmax(0, 1fr) auto; }
.p-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* closing calls to action */
.close-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: -24px; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 99px; font: 600 14.5px var(--sans); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, background .3s, border-color .3s, color .3s; }
.btn-primary { background: var(--white); color: #0B0C0F; }
.btn-primary i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; background: #0B0C0F; color: var(--white); font-size: 11px; transition: transform .35s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(143, 155, 255, .35); }
.btn-primary:hover i { transform: rotate(45deg); }
.btn-ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); font-weight: 500; }
.btn-ghost:hover { color: var(--white); border-color: rgba(143, 155, 255, .5); background: rgba(143, 155, 255, .08); }

/* footer */
.foot { display: block; max-width: 1200px; padding: 80px var(--gutter) 56px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.foot .logo { font-size: 22px; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 32px 64px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links b { font-size: 12.5px; font-weight: 500; color: var(--dim); margin-bottom: 4px; }
.foot-links a { color: var(--mute); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--white); }
.foot-note { margin: 0; max-width: 720px; font-size: 12.5px; line-height: 1.6; color: var(--dim); }
@media (max-width: 680px) { .foot-links { grid-template-columns: 1fr 1fr; gap: 28px; } .close-cta { margin-top: -10px; } .close-cta a { width: 100%; justify-content: center; } }

/* exposure cards on phones: ring beside the label, number gets the full width */
@media (max-width: 680px) {
  .stat { grid-template-areas: "k ring" "n n" "sub sub" "src src"; }
  .stat .stat-n { margin-top: 4px; font-size: 11vw; }
}

/* performance: content cards keep the frosted look without live-blurring the moving 3D scene behind them.
   Only the small header keeps a real blur. */
.glass, .agent, .checker, .ap-panel, .rollout { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.glass, .agent { background: linear-gradient(180deg, rgba(18, 20, 30, .78), rgba(10, 12, 18, .82)); }
.checker { background: rgba(12, 14, 20, .82); }
.agent, .glass { will-change: auto; }
.space canvas { transform: translateZ(0); }

.foot .foot-legal { display: flex; gap: 20px; margin: 0 0 14px; font-size: 13px; }
.foot .foot-legal a { color: var(--mute); text-decoration: none; }
.foot .foot-legal a:hover { color: var(--white); }

/* hero call to action, above the fold */
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); pointer-events: auto; }
.loaded .hero-cta { opacity: 1; transform: none; transition-delay: .7s; }
@media (max-width: 520px) { .hero-cta a { flex: 1 1 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .hero-cta { opacity: 1; transform: none; } }

/* privacy notice */
.notice { position: fixed; z-index: 120; left: 20px; bottom: 20px; max-width: 460px; padding: 18px 20px; border-radius: 20px; background: rgba(12, 14, 20, .96); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.notice.on { opacity: 1; transform: none; }
.notice p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
.notice b { color: var(--white); font-weight: 600; }
.notice a { color: var(--text); }
.notice-btns { display: flex; gap: 8px; justify-content: flex-end; }
.notice .btn-primary, .notice .btn-ghost { height: 40px; padding: 0 16px; font-size: 13px; }
/* sticky phone CTA */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta { display: block; position: fixed; z-index: 110; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateY(140%); transition: transform .5s var(--ease); }
  .m-cta.on { transform: none; }
  .m-cta .btn-primary { width: 100%; justify-content: center; height: 54px; box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
  .notice { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .notice, .m-cta { transition: none; } }

/* form error states */
.search.invalid, .checker.invalid { border-color: rgba(255, 107, 138, .6) !important; box-shadow: 0 0 0 5px rgba(255, 107, 138, .1) !important; }
.field-err { display: flex; gap: 8px; align-items: center; margin: 10px 0 0 6px; font-size: 13.5px; color: #FF8FA6; }
.field-err::before { content: '!'; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 107, 138, .18); font: 700 10px var(--sans); color: var(--alarm); flex: none; }
.field-err[hidden] { display: none; }
/* loading skeletons */
.skel { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.11) 40%, rgba(255,255,255,.05) 80%); background-size: 300% 100%; animation: skel 1.4s ease-in-out infinite; }
.skel.lg { height: 34px; border-radius: 10px; } .skel.sm { height: 10px; } .skel.c { width: 28px; height: 28px; border-radius: 50%; }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.hero-cta .btn-ghost { background: rgba(8, 10, 16, .78); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.hero-cta .btn-ghost:hover { background: rgba(20, 24, 40, .9); }
.search input:focus-visible, .checker input:focus-visible { outline: none; }

/* no flash of content before animations: elements that animate in start hidden from the very first frame.
   Headlines are split into words in the HTML itself. .js is set in <head>; .js-ready is a safety net that
   shows everything if scripts are slow or fail, without ever hiding something that was already shown. */
.js .split:not(.split-ready) { visibility: hidden; }
.js-ready .hero .split .w > span, .js-ready .hero .sub, .js-ready .hero-cta, .js-ready .hero-foot { opacity: 1; transform: none; }
.js .eyebrow:not(.dec-on), .js .tool-page .kpi .k:not(.dec-on), .js .tool-page .hero-num .k:not(.dec-on) { visibility: hidden; }
.js-ready .split, .js-ready .eyebrow, .js-ready .kpi .k, .js-ready .hero-num .k { visibility: visible; }

/* hero shade is pinned to the screen (and fades as you scroll) so its edge never slides across the planet */
.hero-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* X account link */
.x-link { display: inline-flex; align-items: center; gap: 8px; }
.x-ico { width: 15px; height: 15px; flex: none; }
.foot-links { grid-template-columns: repeat(4, minmax(120px, auto)); }
@media (max-width: 680px) { .foot-links { grid-template-columns: 1fr 1fr; } }

/* contract address button */
.ca-btn { cursor: pointer; padding: 0 18px 0 8px; gap: 12px; }
.ca-btn .ca-tag { display: grid; place-items: center; height: 36px; padding: 0 12px; border-radius: 99px; background: rgba(143, 155, 255, .14); color: #C9CEFF; font: 600 12px var(--sans); letter-spacing: .02em; }
.ca-btn .ca-val { font: 500 14px var(--mono); color: var(--text); white-space: nowrap; transition: color .25s; }
.ca-btn .ca-ico { width: 16px; height: 16px; color: var(--dim); transition: color .25s; }
.ca-btn:disabled { cursor: default; }
.ca-btn:disabled .ca-val { font-family: var(--sans); color: var(--mute); }
.ca-btn:disabled .ca-ico { display: none; }
.ca-btn:disabled:hover { color: var(--text); border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.ca-btn:not(:disabled):hover .ca-ico { color: var(--white); }
.ca-btn.copied .ca-val, .ca-btn.copied .ca-ico { color: #7CF5C4; }
@media (max-width: 520px) { .hero-cta .ca-btn { flex: 1 1 100%; justify-content: center; } }

/* logo mark */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 21px/1 var(--sans); letter-spacing: -0.045em; }
.logo img { display: block; width: 34px; height: 34px; margin: 0 -2px; }
.logo span { transform: translateY(-1px); }
.foot .logo { font-size: 24px; }
.foot .logo img { width: 40px; height: 40px; }

/* header: follow on X */
.x-cta b { font-weight: 600; }
.x-cta span[aria-hidden] svg { width: 15px; height: 15px; display: block; }
.x-cta:hover span[aria-hidden] { transform: scale(1.08); }
@media (max-width: 520px) {
  .top { grid-template-columns: 1fr auto auto; }
  .top .x-cta { display: inline-flex; padding: 0; width: 48px; justify-content: center; }
  .top .x-cta b { display: none; }
  .top .x-cta span[aria-hidden] { background: none; color: #0B0C0F; }
}
