/* Radar 36 — site styles */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --ink: #0b0b14;
  --ink-2: #2a2b3a;
  --muted: #5d6075;
  --faint: #8b8ea3;
  --line: #e8e8f1;
  --line-2: #d9d9e6;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eeedff;
  --ok: #12a66a;
  --ok-soft: #e6f7ef;
  --crit: #e5484d;
  --high: #f2811d;
  --med: #e9b308;
  --low: #3b82f6;
  --teal: #0ea5a4;
  --dark: #0a0a13;
  --dark-2: #13131f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 16, 40, .05), 0 2px 8px rgba(16, 16, 40, .04);
  --shadow: 0 1px 2px rgba(16, 16, 40, .04), 0 12px 32px -8px rgba(16, 16, 40, .10);
  --shadow-lg: 0 2px 4px rgba(16, 16, 40, .04), 0 40px 80px -24px rgba(40, 30, 120, .22);
  --grad: linear-gradient(100deg, #4f46e5 0%, #7c3aed 100%);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #dcd9ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.section { padding: 136px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 96px 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
h1, .h1 { font-size: clamp(42px, 6.6vw, 86px); line-height: 1.0; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
h2, .h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
h3, .h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.head { max-width: 760px; margin-bottom: 72px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin-top: 20px; }
.head .lead { margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 550; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 8px 20px -8px rgba(11, 11, 20, .5); }
.btn-primary:hover { transform: translateY(-1px); background: var(--accent); box-shadow: 0 12px 28px -10px rgba(79, 70, 229, .7); }
.btn-ghost { border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .5); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: 15.5px; color: var(--accent); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(11, 11, 20, .05); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; background: #fff; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(124, 58, 237, .13), transparent 70%),
    radial-gradient(40% 40% at 85% 20%, rgba(79, 70, 229, .10), transparent 70%),
    radial-gradient(40% 40% at 12% 25%, rgba(14, 165, 164, .07), transparent 70%);
}
.hero-bg canvas { position: absolute; left: 50%; top: -80px; width: 1100px; height: 1100px; transform: translateX(-50%); opacity: .5; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 940px; margin: 0 auto; text-align: center; }
.hero-copy.left { margin: 0; text-align: left; max-width: 860px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .8);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill b { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-top: 28px; }
.hero .lead { margin: 28px auto 0; max-width: 680px; }
.hero-copy.left .lead { margin-left: 0; }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-copy.left .hero-actions { justify-content: flex-start; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-copy.left .hero-note { justify-content: flex-start; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 14px; height: 14px; color: var(--ok); }

/* ---------- App window + workflow sim ---------- */
.stage { position: relative; margin: 84px auto 0; max-width: 1160px; }
.stage::before { content: ""; position: absolute; inset: 8% 6% -6% 6%; background: var(--grad); filter: blur(90px); opacity: .22; border-radius: 50%; z-index: -1; }
.window { border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { height: 46px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfbfe; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e1e1ec; }
.window-title { white-space: nowrap; font-size: 13px; font-weight: 550; color: var(--ink-2); display: flex; align-items: center; gap: 8px; min-width: 0; }
.window-title span { color: var(--faint); font-weight: 450; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 550; transition: background .4s, color .4s; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.status.done { background: var(--ok-soft); color: var(--ok); } .status.done i { animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.sim { display: grid; grid-template-columns: 1fr 300px; }
.sim-canvas { position: relative; padding: 18px 10px; background-image: radial-gradient(#dfdfec 1px, transparent 1px); background-size: 18px 18px; background-color: #fcfcff; display: flex; align-items: center; }
.sim-canvas svg { width: 100%; height: auto; }
.sim-side { border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 20px; background: #fff; text-align: left; }
.side-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.progress-row { display: flex; align-items: center; gap: 14px; }
.ring { width: 58px; height: 58px; flex: none; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 6; }
.ring .track { stroke: #ececf5; } .ring .bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transition: stroke-dashoffset .8s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.progress-row strong { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.progress-row small { font-size: 12.5px; color: var(--muted); }
.sev { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sev div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.sev div span { display: inline-flex; align-items: center; gap: 7px; }
.sev div span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.sev b { font-size: 15px; color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.log { background: var(--dark); border-radius: 12px; padding: 12px 14px; height: 132px; overflow: hidden; font-family: var(--mono); font-size: 10.5px; line-height: 1.75; color: #c9c9dc; display: flex; flex-direction: column; justify-content: flex-end; }
.log p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .35s var(--ease); }
.log p i { font-style: normal; color: #6f7090; } .log p em { font-style: normal; color: #8f8bff; } .log p em.w { color: #f5b74e; } .log p em.g { color: #4fd1a1; }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } }

/* svg nodes */
.n rect.box { fill: #fff; stroke: #dcdce9; stroke-width: 1.2; transition: stroke .4s, filter .4s; }
.n { opacity: .5; transition: opacity .4s; }
.n .t { font: 500 8.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--kc); }
.n .name { font: 600 12.5px var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.n .ico { fill: var(--kc); }
.n .st { fill: #d5d5e3; transition: fill .3s; }
.n .chk { opacity: 0; transition: opacity .3s; }
.n.running, .n.done { opacity: 1; }
.n.running rect.box { stroke: var(--kc); filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--kc) 28%, transparent)); }
.n.running .st { fill: var(--kc); animation: blink 1s infinite; }
.n.done rect.box { stroke: color-mix(in srgb, var(--kc) 45%, #dcdce9); }
.n.done .st { fill: var(--ok); } .n.done .chk { opacity: 1; }
.k-trig { --kc: #12a66a; } .k-scan { --kc: #0ea5a4; } .k-agent { --kc: #7c3aed; } .k-act { --kc: #3b82f6; }
.e { fill: none; stroke: #d6d6e6; stroke-width: 1.4; }
.ef { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 5 7; opacity: 0; transition: opacity .4s; }
.ef.on { opacity: 1; animation: flow .7s linear infinite; }
.ef.fin { opacity: .55; stroke-dasharray: none; animation: none; }
@keyframes flow { to { stroke-dashoffset: -12; } }

/* ---------- Marquee ---------- */
.stack { padding: 72px 0 0; text-align: center; }
.stack p { font-size: 14px; color: var(--faint); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 3px; background: var(--c, var(--accent)); }

/* ---------- Shift (before / now) ---------- */
.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shift-card { border: 1px solid var(--line); border-radius: 24px; padding: 40px; background: #fff; position: relative; overflow: hidden; }
.shift-card.now { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow); }
.tag { display: inline-flex; height: 26px; align-items: center; padding: 0 11px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: #f0f0f6; color: var(--muted); }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.shift-card h3 { margin-top: 20px; font-size: 26px; letter-spacing: -.03em; }
.shift-card > p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.shift-viz { margin-top: 36px; height: 170px; position: relative; }
.shift-viz svg { width: 100%; height: 100%; overflow: visible; }
.sv-box { fill: #fff; stroke: var(--line-2); }
.sv-text { font: 550 12px var(--sans); fill: var(--ink-2); }
.sv-sub { font: 500 9px var(--mono); fill: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.sv-dash { fill: none; stroke: #c9c9d8; stroke-width: 1.4; stroke-dasharray: 4 5; }
.sv-line { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 7; animation: flow .8s linear infinite; }

/* ---------- Cards / grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card::after { content: ""; position: absolute; width: 320px; height: 320px; left: var(--mx, -400px); top: var(--my, -400px); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(124, 58, 237, .10), transparent); pointer-events: none; opacity: 0; transition: opacity .3s; }
.card:hover::after { opacity: 1; }
.card .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.card h3 { margin-top: 16px; font-size: 20px; }
.card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.icon svg { width: 22px; height: 22px; }

/* Question cards */
.q { padding: 40px; border-radius: 22px; }
.q .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.q h3 { margin-top: 20px; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.2; }
.q p { margin-top: 14px; font-size: 16px; }

/* ---------- Feature tabs (home) ---------- */
.tabs { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.tab-list { display: flex; flex-direction: column; }
.tab { text-align: left; padding: 24px 0 24px 24px; position: relative; border-left: 2px solid var(--line); transition: border-color .3s; }
.tab h3 { font-size: 19px; color: var(--faint); transition: color .3s; }
.tab p { font-size: 15.5px; color: var(--muted); line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.tab::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: var(--grad); }
.tab.active h3 { color: var(--ink); }
.tab.active p { max-height: 160px; opacity: 1; margin-top: 10px; }
.tab.active::before { height: 100%; }
.tabs.auto .tab.active::before { animation: tabfill var(--dur, 7s) linear forwards; }
@keyframes tabfill { from { height: 0; } to { height: 100%; } }
.tab:hover h3 { color: var(--ink); }
.tab-panels { position: relative; }
.shot { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.shot-bar { height: 34px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfe; gap: 12px; }
.shot-bar .dots i { width: 8px; height: 8px; }
.shot-bar span { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.shot img { width: 100%; height: auto; }
.tab-panels .shot { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.tab-panels .shot.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; top: 21px; height: 2px; width: 0; background: var(--grad); transition: width 2.2s var(--ease) .2s; }
.steps.in::after { width: 100%; }
.step { position: relative; padding-right: 28px; counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--accent); transition: border-color .5s, box-shadow .5s; }
.steps.in .step::before { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); transition-delay: calc(var(--i) * .4s + .2s); }
.soft .step::before { background: #fff; }
.step h3 { margin-top: 26px; font-size: 19px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.6; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.three .step { padding-right: 48px; }
.steps.three .step h3 { font-size: 22px; }
.steps.three .step p { font-size: 16px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 48px 32px 48px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat span { display: block; margin-top: 16px; font-size: 15.5px; color: var(--muted); line-height: 1.5; max-width: 220px; }

/* ---------- Audience split ---------- */
.aud { position: relative; display: flex; flex-direction: column; padding: 44px; border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; min-height: 440px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.aud:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.aud::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: .5; transition: transform .6s var(--ease), opacity .4s; }
.aud:hover::before { transform: scale(1.25); opacity: .8; }
.aud h3 { margin-top: 22px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; line-height: 1.08; max-width: 420px; position: relative; }
.aud > p { margin-top: 16px; color: var(--muted); max-width: 440px; position: relative; }
.aud ul { margin-top: 28px; display: grid; gap: 12px; position: relative; }
.aud .link-arrow { margin-top: auto; padding-top: 36px; position: relative; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.check::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- Capability table ---------- */
.cap { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.cap-row { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; padding: 24px 32px; border-top: 1px solid var(--line); transition: background .25s; }
.cap-row:first-child { border-top: 0; background: #fbfbfe; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding: 16px 32px; }
.cap-row:not(:first-child):hover { background: #fbfbfe; }
.cap-row div:first-child { font-weight: 550; font-size: 17px; letter-spacing: -.01em; }
.cap-row:first-child div:first-child { font-weight: 500; font-size: inherit; letter-spacing: inherit; }
.cap-val { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-2); }
.cap-val::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2312a66a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- Compare (today vs with) ---------- */
.compare { border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 200px 1fr 1fr; }
.cmp-head > div { padding: 20px 32px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: #fbfbfe; }
.cmp-head > div:last-child { color: var(--accent); background: var(--accent-soft); }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-row > div { padding: 30px 32px; font-size: 16.5px; line-height: 1.5; }
.cmp-row > div:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: flex; align-items: flex-start; padding-top: 34px; }
.cmp-row > div:nth-child(2) { color: var(--faint); }
.cmp-row > div:last-child { color: var(--ink); font-weight: 500; background: linear-gradient(90deg, rgba(238, 237, 255, .55), rgba(238, 237, 255, .15)); position: relative; }
.cmp-row > div:last-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease) calc(var(--i, 0) * .12s + .2s); }
.compare.in .cmp-row > div:last-child::before { transform: scaleY(1); }
.cmp-foot { text-align: center; margin-top: 40px; font-size: clamp(19px, 2vw, 24px); font-weight: 550; letter-spacing: -.02em; }

/* ---------- Feature rows (sub pages) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: 64px; align-items: center; padding: 72px 0; }
.feature:first-of-type { padding-top: 0; } .feature:last-of-type { padding-bottom: 0; }
.feature.flip { grid-template-columns: minmax(0, 7.7fr) minmax(0, 4.3fr); }
.feature.flip .f-copy { order: 2; }
.f-copy h3 { margin-top: 18px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.08; }
.f-copy ul { margin-top: 28px; display: grid; gap: 14px; }
.means { margin-top: 34px; padding: 20px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.soft .means { background: #fff; }
.means small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.means p { font-size: 17px; font-weight: 550; letter-spacing: -.015em; line-height: 1.4; }
.f-media { position: relative; }
.f-media::before { content: ""; position: absolute; inset: 10% 8% -4%; background: var(--grad); filter: blur(70px); opacity: .16; z-index: -1; border-radius: 50%; }
.f-media .shot { transition: transform .8s var(--ease); }

/* tool cloud */
.toolcloud { border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); padding: 28px; }
.toolcloud .row { display: flex; flex-wrap: wrap; gap: 10px; }
.toolcloud .row + .side-label { margin-top: 24px; }
.toolcloud .chip { height: 40px; font-size: 14px; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1s); }
@keyframes bob { 50% { transform: translateY(-4px); } }
.toolcloud .foot { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.toolcloud .foot b { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 550; }

/* ---------- Big number ---------- */
.bignum { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.bignum .num { font-size: clamp(120px, 17vw, 232px); font-weight: 600; letter-spacing: -.07em; line-height: .85; }
.bignum .num small { display: block; font-size: 15px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 18px; }
.bignum .num + p { margin-top: 26px; font-size: 19px; color: var(--muted); max-width: 340px; }
.outcomes { display: grid; gap: 0; }
.outcome { padding: 30px 0; border-top: 1px solid var(--line-2); }
.outcome:last-child { border-bottom: 1px solid var(--line-2); }
.outcome h3 { font-size: 24px; letter-spacing: -.03em; }
.outcome p { margin-top: 8px; color: var(--muted); }
.fine { margin-top: 28px; font-size: 13px; color: var(--faint); }

/* ---------- Dark sections ---------- */
.dark { background: var(--dark); color: #fff; }
.dark .lead, .dark .muted { color: #a4a6bd; }
.dark .eyebrow { color: #a5a0ff; } .dark .eyebrow::before { background: #a5a0ff; box-shadow: 0 0 0 4px rgba(165, 160, 255, .16); }
.dark .card { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.dark .card:hover { border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.dark .card p { color: #a4a6bd; }
.dark .icon { background: rgba(165, 160, 255, .12); color: #b6b1ff; }
.dark .card::after { background: radial-gradient(closest-side, rgba(140, 120, 255, .16), transparent); }

.cta { position: relative; overflow: hidden; text-align: center; padding: 148px 0; }
.cta canvas { position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; transform: translate(-50%, -50%); opacity: .55; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 95%); mask-image: radial-gradient(closest-side, #000 20%, transparent 95%); pointer-events: none; }
.cta .container { position: relative; }
.cta h2 { font-size: clamp(38px, 5.6vw, 72px); max-width: 900px; margin: 22px auto 0; }
.cta .lead { margin: 24px auto 0; max-width: 560px; }
.cta .hero-actions { margin-top: 44px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #a4a6bd; border-top: 1px solid rgba(255, 255, 255, .08); padding: 72px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.footer .brand { color: #fff; } .footer .brand img { filter: invert(1); }
.footer p { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6f7090; font-weight: 500; margin-bottom: 18px; }
.footer li + li { margin-top: 12px; }
.footer a { transition: color .2s; } .footer a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: #6f7090; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.rv-scale.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tabs { grid-template-columns: 1fr; gap: 36px; }
  .tab-list { order: 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { height: 0; width: 2px; transition: height 2.2s var(--ease) .2s; } .steps.in::after { height: 100%; width: 2px; }
  .step, .steps.three .step { padding: 0 0 0 68px; } .step::before { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 6px; }
  .feature, .feature.flip, .bignum { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .f-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sim { grid-template-columns: 1fr; } .sim-side { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; } .sim-side .log-wrap { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; } .section.tight { padding: 72px 0; }
  .container { padding: 0 20px; }
  .head { margin-bottom: 48px; }
  .hero { padding-top: 128px; }
  .stage { margin-top: 56px; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -20px rgba(16, 16, 40, .15); }
  .nav.open .nav-links a { padding: 14px 8px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a.m-cta { display: flex; margin-top: 16px; justify-content: center; background: var(--ink); color: #fff; border-radius: 999px; border: 0; }
  .shift, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .shift-card, .q, .aud { padding: 28px; } .aud { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px 32px 0; } .stat + .stat { padding-left: 20px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cap-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; } .cap-row:first-child { display: none; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div { padding: 8px 22px; } .cmp-row > div:first-child { padding: 22px 22px 4px; color: var(--accent); }
  .cmp-row > div:nth-child(2)::before { content: "Today — "; font-weight: 550; }
  .cmp-row > div:last-child { padding: 14px 22px 22px; margin-top: 6px; }
  .feature { padding: 48px 0; }
  .sim-side { grid-template-columns: 1fr; }
  .window-title span { display: none; }
  .pill { height: auto; min-height: 34px; flex-wrap: wrap; justify-content: center; padding: 6px 14px 6px 6px; border-radius: 18px; font-size: 13px; }
  .pill b { white-space: nowrap; }
  .sim-canvas { overflow-x: auto; align-items: flex-start; -webkit-overflow-scrolling: touch; }
  .sim-canvas svg { min-width: 640px; }
  .cta { padding: 104px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
.m-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv, .rv-scale { opacity: 1; transform: none; }
}

/* ---------- Sub-page extras ---------- */
.card.q h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.2; margin-top: 20px; }
.card.q p { font-size: 16px; margin-top: 14px; }
.dark .cmp-foot { color: #fff; }
.dark .card .k { color: #a5a0ff; }
.deploy { margin-top: 72px; display: flex; align-items: center; gap: 18px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.deploy p { font-size: 20px; font-weight: 550; letter-spacing: -.02em; }

/* cadence visual */
.cad-body { padding: 44px 44px 30px; display: grid; gap: 30px; text-align: left; }
.cad-row { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 24px; }
.cad-label b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.cad-label small { font-size: 13.5px; color: var(--muted); }
.cad-track { display: grid; grid-template-columns: repeat(26, 1fr); align-items: center; position: relative; }
.cad-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.cad-track i { position: relative; justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line-2); }
.cad-row.rel i.on { background: var(--ink); border-color: var(--ink); }
.cad-row.old i.on { background: var(--high); border-color: var(--high); box-shadow: 0 0 0 5px rgba(242, 129, 29, .16); }
.cad-row.new i.on { background: var(--accent); border-color: var(--accent); animation: cad 5.2s var(--ease) infinite; animation-delay: calc(var(--d) * 90ms); }
.cad-row.new .cad-label b { color: var(--accent); }
@keyframes cad { 0%, 6% { transform: scale(.3); opacity: .15; box-shadow: 0 0 0 0 rgba(79, 70, 229, .5); } 14% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 0 7px rgba(79, 70, 229, 0); } 22%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); } }
.cad-axis { margin-left: 254px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding-top: 14px; border-top: 1px dashed var(--line-2); }
@media (max-width: 860px) {
  .cad-body { padding: 26px 20px 22px; gap: 22px; }
  .cad-row { grid-template-columns: 1fr; gap: 12px; }
  .cad-track i { width: 7px; height: 7px; border-width: 1px; }
  .cad-axis { margin-left: 0; }
  .deploy { flex-direction: column; align-items: flex-start; }
}

/* ---------- Legal pages ---------- */
.legal-head { padding: 168px 0 72px; background: radial-gradient(60% 90% at 50% 0%, rgba(124, 58, 237, .09), transparent 70%); border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(40px, 5.4vw, 68px); margin-top: 22px; }
.legal-head .lead { margin-top: 22px; max-width: 720px; }
.legal { padding: 80px 0 136px; }
.legal-grid { display: grid; grid-template-columns: 280px minmax(0, 720px); gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; }
.legal-toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 16px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.legal-body section { scroll-margin-top: 104px; }
.legal-body section + section { margin-top: 56px; }
.legal-body h2 { font-size: 26px; letter-spacing: -.025em; line-height: 1.2; }
.legal-body p, .legal-body ul { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.legal-body ul { display: grid; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(79, 70, 229, .35); }
.legal-body b { font-weight: 600; color: var(--ink); }
.legal-notice { margin: 0 0 56px; padding: 24px 26px; border-radius: 16px; background: var(--accent-soft); border: 1px solid #d6d2ff; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-body .draft-note { margin: 0 0 28px; padding: 14px 18px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3d38a; font-size: 14.5px; color: #6b4a00; }
.legal-body .draft-note b { color: #6b4a00; }
@media (max-width: 1080px) {
  .legal-grid { grid-template-columns: 1fr; gap: 48px; }
  .legal-toc { position: static; max-height: none; }
}
@media (max-width: 860px) {
  .legal-head { padding: 128px 0 56px; }
  .legal { padding: 56px 0 88px; }
}
