/* Verdion website styles. Navy surfaces, maroon as fills and lines only (never as text).
   Sora for headings and UI, Inter for body text, JetBrains Mono for record IDs. */

@font-face { font-family: "Sora"; src: url("/fonts/Sora.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0A1222;          /* page */
  --bg-2: #0D1628;        /* alternate section */
  --card: #111C31;
  --card-2: #17243D;
  --line: #22324E;
  --line-2: #33476B;
  --crimson: #a8184c;     /* logo crimson: lines, marks */
  --fill: #8a1538;        /* fills with white text */
  --fill-2: #7a003c;
  --outline: #b52358;
  --press: #4b0028;
  --text: #FFFFFF;
  --text-2: #B9C3D6;
  --dim: #8291AE;
  --steel: #9FB4D6;       /* neutral data colour for illustrations */
  --ok: #5FA88B;          /* muted green, illustrations only */
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
  --r-s: 9px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
svg[viewBox="0 0 24 24"] { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--text); text-decoration-color: var(--outline); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--text); margin: 0; letter-spacing: -.015em; font-weight: 650; }
h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono, code { font-family: var(--mono); font-size: .86em; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--outline); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fill); color: #fff; padding: 10px 16px; border-radius: 8px; font-family: var(--head); }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 96px 0; overflow: clip; }
section.tight { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Labels, heads ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--crimson); border-radius: 2px; }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { margin-top: 16px; font-size: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .kicker { justify-content: center; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 600px; }
.line { display: inline; background: linear-gradient(var(--crimson), var(--crimson)) 0 92% / 100% 4px no-repeat; padding-bottom: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px; font: 600 15.5px/1 var(--head); text-decoration: none; color: #fff; border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; white-space: nowrap; cursor: pointer; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, var(--fill), var(--fill-2)); border-color: var(--outline); box-shadow: 0 8px 24px -10px #a8184c99, inset 0 1px 0 #ffffff22; }
.btn-primary:hover { box-shadow: 0 10px 30px -8px #b52358bb, inset 0 1px 0 #ffffff33; transform: translateY(-1px); }
.btn-primary:active { background: var(--press); transform: none; }
.btn-ghost { background: #ffffff06; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--outline); background: #ffffff0a; }
.btn-ghost:active { background: var(--press); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px var(--head); color: var(--text); text-decoration: none; border-bottom: 2px solid var(--crimson); padding-bottom: 4px; }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.more:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #0A1222cc; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: #0A1222ee; }
.site-header .wrap { display: flex; align-items: center; height: 74px; gap: 28px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font: 500 15px/1 var(--head); color: var(--text-2); text-decoration: none; padding: 10px 13px; border-radius: 8px; position: relative; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--crimson); transform: scaleX(0); transition: transform .25s var(--ease); border-radius: 2px; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.header-end { display: flex; align-items: center; gap: 10px; }
.header-end .btn { height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 30px 60px -20px #000c; }
.menu-panel a { padding: 13px 14px; border-radius: 9px; font: 500 16px var(--head); color: var(--text-2); text-decoration: none; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: #ffffff08; color: #fff; }
.menu-panel .btn { justify-content: center; margin-top: 8px; color: #fff; }
@media (max-width: 1120px) {
  .nav, .header-end > .btn { display: none; }
  .menu { display: block; }
  .header-end { margin-left: auto; }
}

/* ---------- Background grid ---------- */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 70% at 70% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(60% 70% at 70% 30%, #000 10%, transparent 75%); }
.glow-bg { position: absolute; pointer-events: none; width: 900px; height: 900px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(closest-side, #8a153840, transparent 70%); }

/* ---------- Hero (home) ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pills li { font: 500 13px/1 var(--head); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; background: #ffffff05; }

/* Hero visual: signals in, verdict out */
.sv { perspective: 1600px; }
.sv-stage { position: relative; transform: rotateY(-14deg) rotateX(7deg); transform-style: preserve-3d; transition: transform .8s var(--ease); display: grid; grid-template-columns: 196px 1fr; grid-template-rows: auto auto; gap: 16px 18px; }
.sv:hover .sv-stage { transform: rotateY(-6deg) rotateX(3deg); }
.sv-col { display: grid; gap: 10px; align-content: center; transform: translateZ(-30px); }
.sv-lab { font: 600 11px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.sig { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--line-2); border-radius: 10px; padding: 10px 12px; display: grid; gap: 3px; }
.sig b { font: 600 13px/1.25 var(--head); color: #fff; }
.sig span { font: 500 11.5px/1 var(--mono); color: var(--dim); }
.sig.hot { border-left-color: var(--crimson); }
.inv { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px #ffffff05 inset; transform: translateZ(20px); }
.inv-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inv-top img { width: 34px; height: auto; }
.inv-top b { font: 600 14px var(--head); color: #fff; }
.inv-top .id { margin-left: auto; font: 500 12px var(--mono); color: var(--dim); }
.inv h3 { font-size: 16px; margin: 14px 0 10px; }
.steps { display: grid; gap: 7px; }
.steps li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.steps em { font: 600 11px/1.6 var(--head); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.steps .ck { color: var(--text-2); }
.out { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; transform: translateZ(50px); }
.ans { background: var(--card); border: 1px solid var(--line-2); border-radius: 11px; padding: 12px 14px; display: grid; gap: 4px; box-shadow: 0 24px 40px -24px #000; }
.ans em { font: 600 10.5px/1 var(--head); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ans b { font: 650 15px/1.25 var(--head); color: #fff; }
.ans span { font-size: 12.5px; line-height: 1.4; }
.ans.verdict { background: linear-gradient(160deg, var(--fill), var(--fill-2)); border-color: var(--outline); }
.ans.verdict em, .ans.verdict span { color: #ffffffcc; }
.flow { position: absolute; inset: 0; pointer-events: none; transform: translateZ(0); }
.flow path { fill: none; stroke: var(--crimson); stroke-width: 1.5; stroke-dasharray: 4 8; opacity: .7; animation: dash 3.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -48; } }

/* ---------- Page hero ---------- */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 860px; margin-bottom: 22px; }
.page-hero .lead { max-width: 680px; }
.page-hero .emblem-mark { position: absolute; right: 28px; top: -20px; width: 300px; opacity: .07; pointer-events: none; }

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.split.top { align-items: start; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* Plain rows with an icon */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin-bottom: 6px; }
.rows p { font-size: 16px; }
.rows.cols { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
.rows.cols > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.rows.cols3 { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
.rows.cols3 > li { grid-template-columns: 1fr; gap: 14px; border-top: 1px solid var(--line); border-bottom: 0; padding: 28px 0 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #a8184c33, #4b002833); border: 1px solid #b5235866; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Numbered row (used only where there is an order) */
.numrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.numrow li { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.numrow li + li { padding-left: 28px; }
.numrow li:last-child { border-right: 0; }
.num { display: block; font: 600 13px var(--mono); color: var(--dim); margin-bottom: 14px; }
.num::after { content: ""; display: block; width: 24px; height: 2px; background: var(--crimson); margin-top: 10px; }
.numrow h3 { margin-bottom: 8px; }
.numrow p { font-size: 16px; }

/* 3D cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: linear-gradient(170deg, var(--card-2), var(--card) 60%); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; transform-style: preserve-3d; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--crimson), transparent 70%); opacity: .8; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), #b5235822, transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: #b5235888; box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #b5235833; }
.card:hover::after { opacity: 1; }
.card .ico { margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; }
.card .tag { position: absolute; right: 18px; top: 22px; font: 500 11.5px var(--mono); color: var(--dim); }

/* ---------- Product window (mock-ups) ---------- */
.win { background: linear-gradient(180deg, #121E35, #0E182B); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 60px 100px -50px #000, 0 0 0 1px #ffffff06 inset; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12.5px var(--head); color: var(--dim); }
.win-bar img { height: 16px; width: auto; }
.win-bar .ex { margin-left: auto; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.win-body { padding: 20px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 600 11.5px/1 var(--head); color: #fff; background: #ffffff10; border: 1px solid var(--line-2); white-space: nowrap; }
.badge.mal { background: linear-gradient(160deg, var(--fill), var(--fill-2)); border-color: var(--outline); }
.badge.sus { background: #4b0028; border-color: var(--outline); }
.badge.ok { background: #1E3A33; border-color: #2F5B4E; }
.badge.n { background: #1B2740; }
.id { font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* Queue mock (home) */
.queue li { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.queue li:last-child { border-bottom: 0; }
.queue b { color: #fff; font-weight: 500; display: block; line-height: 1.35; }
.queue small { color: var(--dim); font-size: 12px; }
.queue-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; border-top: 1px solid var(--line); margin-top: 6px; font: 500 13px var(--head); color: var(--text-2); }

/* Statement band */
.statement { border: 1px solid var(--line-2); border-radius: 18px; padding: 40px 44px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; background: linear-gradient(110deg, #8a153822, transparent 55%), var(--card); }
.statement h2 { font-size: clamp(24px, 2.6vw, 34px); }
.statement p { max-width: 560px; }

/* ---------- Tabs (CSS only: radio inputs, works without JS) ---------- */
.tabs { position: relative; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 26px; }
.tab-list label { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 10px; border: 1px solid var(--line); font: 500 14.5px/1 var(--head); color: var(--text-2); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.tab-list label svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-list label:hover { color: #fff; border-color: var(--line-2); }
.tab-panel { display: none; }
#t1:checked ~ .tab-list label[for="t1"], #t2:checked ~ .tab-list label[for="t2"], #t3:checked ~ .tab-list label[for="t3"], #t4:checked ~ .tab-list label[for="t4"], #t5:checked ~ .tab-list label[for="t5"], #t6:checked ~ .tab-list label[for="t6"] { color: #fff; border-color: var(--outline); background: linear-gradient(160deg, var(--fill), var(--fill-2)); }
#t1:focus-visible ~ .tab-list label[for="t1"], #t2:focus-visible ~ .tab-list label[for="t2"], #t3:focus-visible ~ .tab-list label[for="t3"], #t4:focus-visible ~ .tab-list label[for="t4"], #t5:focus-visible ~ .tab-list label[for="t5"], #t6:focus-visible ~ .tab-list label[for="t6"] { outline: 2px solid #fff; outline-offset: 2px; }
#t1:checked ~ .tab-panels .p1, #t2:checked ~ .tab-panels .p2, #t3:checked ~ .tab-panels .p3, #t4:checked ~ .tab-panels .p4, #t5:checked ~ .tab-panels .p5, #t6:checked ~ .tab-panels .p6 { display: grid; }
.tab-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; animation: fadeup .35s var(--ease); }
.tab-panel .txt h3 { font-size: 26px; margin-bottom: 14px; }
.tab-panel .txt p { margin-bottom: 20px; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* small mock parts */
.mk-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mk-row:last-child { border-bottom: 0; }
.mk-row b { color: #fff; font-weight: 500; }
.mk-row .r { margin-left: auto; }
.mk-row > svg { width: 18px; height: 18px; stroke: var(--ok); stroke-width: 2.4; }
.mk-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 15px var(--head); color: #fff; }
.mk-title .r { margin-left: auto; }
.mk-sub { font: 600 11px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 16px 0 6px; }
.chk { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.xmark { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--dim); stroke-width: 2.2; stroke-linecap: round; }
.bubble { max-width: 88%; padding: 12px 15px; border-radius: 13px; font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; }
.bubble.me { margin-left: auto; background: #1F2E4C; color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { background: var(--card); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.bubble.ai b { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 500 12px var(--head); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 11px; }
.meter { height: 8px; border-radius: 4px; background: #ffffff0d; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--fill-2), var(--outline)); border-radius: 4px; }
.sla { display: grid; grid-template-columns: 76px 1fr 64px; gap: 12px; align-items: center; font-size: 13.5px; padding: 8px 0; }
.sla em { font-style: normal; text-align: right; font: 500 12px var(--head); color: var(--text-2); }

/* ---------- Patterns: Map ---------- */
.map { position: relative; }
.map > input { position: absolute; opacity: 0; pointer-events: none; }
.map-ui { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; }
.map-side { border-right: 1px solid var(--line); padding: 18px; display: grid; gap: 6px; align-content: start; }
.map-side .mk-sub { margin-top: 0; }
.map-side label { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.map-side label b { font: 600 14.5px var(--head); color: #fff; }
.map-side label span { font-size: 13px; line-height: 1.45; color: var(--dim); }
.map-side label:hover { background: #ffffff06; }
.map-stage { position: relative; min-height: 460px; perspective: 1200px; overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, #15213a, #0E182B 70%); }
.map-plane { position: absolute; inset: 6% 4% 2%; transform: rotateX(36deg) rotateZ(-8deg); transform-style: preserve-3d; transition: transform 1s var(--ease); background-image: linear-gradient(#ffffff0c 1px, transparent 1px), linear-gradient(90deg, #ffffff0c 1px, transparent 1px); background-size: 40px 40px; border: 1px solid #ffffff10; border-radius: 12px; }
.map:hover .map-plane { transform: rotateX(28deg) rotateZ(-4deg); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-svg .e { stroke: #9FB4D640; stroke-width: 1.6; fill: none; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.map-svg .n { transition: opacity .4s; }
.map-svg .n .s { fill: #1B2944; stroke: #9FB4D6; stroke-width: 1.6; transition: fill .4s, stroke .4s; }
.map-svg .n text { font: 600 13px var(--mono); fill: #B9C3D6; }
.map-legend { position: absolute; left: 16px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 14px; font: 500 12px var(--head); color: var(--dim); }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend svg { width: 14px; height: 14px; fill: #1B2944; stroke: #9FB4D6; stroke-width: 1.6; }
.map-note { position: absolute; left: 16px; top: 14px; max-width: 290px; background: #0A1222e6; border: 1px solid var(--line-2); border-left: 3px solid var(--crimson); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.map-note b { display: block; font: 600 13.5px var(--head); color: #fff; margin-bottom: 3px; }
.map-note p { display: none; }
/* active signal: highlight its nodes and edges */
.map-svg [data-s] { opacity: 1; }
#s1:checked ~ .map-ui label[for="s1"], #s2:checked ~ .map-ui label[for="s2"], #s3:checked ~ .map-ui label[for="s3"], #s4:checked ~ .map-ui label[for="s4"], #s5:checked ~ .map-ui label[for="s5"] { background: linear-gradient(110deg, #8a153840, #ffffff04); border-color: #b5235888; }
#s1:focus-visible ~ .map-ui label[for="s1"], #s2:focus-visible ~ .map-ui label[for="s2"], #s3:focus-visible ~ .map-ui label[for="s3"], #s4:focus-visible ~ .map-ui label[for="s4"], #s5:focus-visible ~ .map-ui label[for="s5"] { outline: 2px solid #fff; outline-offset: 2px; }
#s1:checked ~ .map-ui .map-note .n1, #s2:checked ~ .map-ui .map-note .n2, #s3:checked ~ .map-ui .map-note .n3, #s4:checked ~ .map-ui .map-note .n4, #s5:checked ~ .map-ui .map-note .n5 { display: block; }
#s1:checked ~ .map-ui .s1 .s, #s2:checked ~ .map-ui .s2 .s, #s3:checked ~ .map-ui .s3 .s, #s4:checked ~ .map-ui .s4 .s, #s5:checked ~ .map-ui .s5 .s { fill: var(--fill); stroke: #ff5c8f; }
#s1:checked ~ .map-ui .s1 text, #s2:checked ~ .map-ui .s2 text, #s3:checked ~ .map-ui .s3 text, #s4:checked ~ .map-ui .s4 text, #s5:checked ~ .map-ui .s5 text { fill: #fff; }
#s1:checked ~ .map-ui .e.s1, #s2:checked ~ .map-ui .e.s2, #s3:checked ~ .map-ui .e.s3, #s4:checked ~ .map-ui .e.s4, #s5:checked ~ .map-ui .e.s5 { stroke: #d9356b; stroke-width: 2.6; }

/* trends */
.trends { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trend { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.trend header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.trend h3 { font-size: 20px; }
.trend > p { font-size: 15px; margin-bottom: 16px; }
.trend svg.spark { width: 100%; height: 60px; margin: 6px 0 12px; }
.spark path { fill: none; stroke: var(--outline); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark path.base { stroke: #9FB4D650; stroke-width: 1.5; }
.spark path.area { fill: url(#sparkfill); stroke: none; }
.trend .mk-row { font-size: 13.5px; }

/* signals list */
.signals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signals li { padding: 26px 22px 26px 0; }
.signals li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.signals svg { width: 64px; height: 44px; margin-bottom: 16px; fill: none; stroke: #9FB4D6; stroke-width: 1.6; }
.signals svg .h { stroke: #d9356b; fill: var(--fill); }
.signals h3 { font-size: 18px; margin-bottom: 6px; }
.signals p { font-size: 15px; }

/* ---------- Pipeline (platform) ---------- */
.pipe { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pipe::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; background: var(--line-2); }
.pipe::after { content: ""; position: absolute; left: 4%; top: 31px; height: 2px; width: 0; background: linear-gradient(90deg, var(--fill-2), var(--outline)); transition: width 3.6s linear; }
.pipe.is-run::after { width: 92%; }
.pipe li { position: relative; z-index: 1; }
.pipe .pk { width: 62px; height: 62px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 18px; transition: background .4s, border-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * .6s); }
.pipe .pk svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pipe.is-run .pk, .pipe li:hover .pk { background: linear-gradient(160deg, var(--fill), var(--fill-2)); border-color: var(--outline); box-shadow: 0 12px 30px -12px #a8184caa; }
.pipe li:hover .pk { transition-delay: 0s; }
.pipe .num { margin-bottom: 6px; }
.pipe .num::after { display: none; }
.pipe h3 { font-size: 17px; margin-bottom: 6px; }
.pipe p { font-size: 14.5px; line-height: 1.5; }
.verdicts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.verdicts .badge { height: 32px; padding: 0 14px; font-size: 13px; }
.verdicts small { margin-left: 8px; font: 500 13px var(--head); color: var(--dim); }

/* ---------- Agents map ---------- */
.team { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: center; }
.team-col { display: grid; gap: 12px; }
.agent { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 13px; border: 1px solid var(--line); background: var(--card); transition: border-color .25s, transform .25s var(--ease), background .25s; }
.agent:hover, .agent:focus-within { border-color: #b5235899; transform: translateY(-2px); background: var(--card-2); }
.agent .ico { width: 44px; height: 44px; }
.agent h3 { font-size: 16.5px; margin-bottom: 4px; }
.agent p { font-size: 14.5px; line-height: 1.5; }
.agent .eg { margin-top: 8px; font-size: 13.5px; color: var(--dim); border-left: 2px solid var(--crimson); padding-left: 10px; }
.core { text-align: center; position: relative; }
.core-ring { position: relative; width: 260px; height: 260px; margin: 0 auto 18px; display: grid; place-items: center; }
.core-ring::before, .core-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid #b5235866; }
.core-ring::before { inset: 0; border-style: dashed; animation: spin 60s linear infinite; }
.core-ring::after { inset: 28px; border-color: var(--line-2); }
.core-ring .halo { position: absolute; inset: 40px; border-radius: 50%; background: radial-gradient(closest-side, #8a153866, transparent); }
.core-ring img { position: relative; width: 150px; height: auto; filter: drop-shadow(0 16px 30px #000a); }
.core h3 { font-size: 22px; }
.core p { font: 500 14px var(--head); color: var(--text-2); margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* supporting specialists band */
.supporting { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 40px; align-items: start; }
.supporting-head h3 { font-size: 20px; margin-bottom: 6px; }
.supporting-head p { font-size: 15.5px; }
.supporting ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.supporting .agent { background: transparent; border-style: dashed; }
.agent .for { margin-top: 8px; font: 500 12.5px var(--head); color: var(--text-2); }
.agent .for::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--crimson); vertical-align: middle; margin-right: 8px; }

/* activity console */
.console { font-size: 14px; }
.feed li { display: grid; grid-template-columns: 70px 34px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed time { font: 500 12px/2.1 var(--mono); color: var(--dim); }
.feed .fi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #ffffff08; border: 1px solid var(--line-2); }
.feed .fi svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed .fi img { width: 20px; }
.feed b { font: 600 13.5px var(--head); color: #fff; display: block; }
.feed span { line-height: 1.5; }
.feed li.is-lead .fi { background: linear-gradient(160deg, var(--fill), var(--fill-2)); border-color: var(--outline); }
.js .feed[data-play] li { opacity: .18; transition: opacity .4s; }
.js .feed[data-play] li.on { opacity: 1; }

/* commands */
.cmds { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cmds li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.cmds q { font: 600 17px/1.35 var(--head); color: #fff; quotes: "\201C" "\201D"; }
.cmds span { font-size: 15.5px; }

/* ---------- Security ---------- */
.mask { display: grid; gap: 12px; }
.mask-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 13px; padding: 18px 20px; }
.mask-card .mk-sub { margin-top: 0; }
.mask-card p { font: 500 15px/1.7 var(--mono); color: var(--text); }
.mask-card mark { background: #ffffff10; color: #fff; border-radius: 4px; padding: 1px 5px; border: 1px solid var(--line-2); }
.mask-card.masked mark { background: #4b0028; border-color: var(--outline); }
.mask-gate { display: flex; align-items: center; gap: 12px; font: 600 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); padding: 0 8px; }
.mask-gate::before, .mask-gate::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--crimson), transparent); }

.df { display: grid; grid-template-columns: 1fr 260px 1fr; gap: 0; align-items: center; }
.df-col { display: grid; gap: 14px; }
.df-node { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.df-node .ico { width: 42px; height: 42px; }
.df-node b { font: 600 15.5px var(--head); color: #fff; display: block; margin-bottom: 3px; }
.df-node span { font-size: 14px; line-height: 1.5; display: block; }
.df-wire { position: absolute; top: 50%; width: 40px; height: 2px; background: var(--line-2); overflow: hidden; }
.df-l .df-wire { right: -41px; }
.df-r .df-wire { left: -41px; }
.df-wire i { position: absolute; top: 0; width: 14px; height: 2px; background: var(--outline); animation: pkt 2.4s linear infinite; animation-delay: calc(var(--i) * .5s); }
.df-l .df-wire i { animation-direction: reverse; }
.df-r .df-wire i { animation-direction: normal; }
.df-r.in .df-wire i { animation-direction: reverse; }
@keyframes pkt { from { left: -14px; } to { left: 40px; } }
.df-server { margin: 0 40px; aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--outline); background: radial-gradient(closest-side, #8a153855, transparent), var(--card-2); display: grid; place-content: center; text-align: center; gap: 8px; padding: 20px; box-shadow: 0 0 0 8px #a8184c14, 0 40px 80px -40px #000; }
.df-server img { width: 92px; margin: 0 auto 6px; }
.df-server b { font: 650 17px var(--head); color: #fff; }
.df-server span { font-size: 13.5px; line-height: 1.45; }

.ai-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.keep li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 9px 0; font: 500 13.5px var(--head); }
.keep .meter { height: 10px; }

/* ---------- Why: comparison ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 600 14px var(--head); color: var(--text-2); border-bottom-color: var(--line-2); }
.cmp thead th.us { background: linear-gradient(160deg, var(--fill), var(--fill-2)); color: #fff; border-radius: 12px 12px 0 0; }
.cmp tbody th { font: 600 14.5px var(--head); color: #fff; width: 20%; }
.cmp td.us { background: #8a153814; color: #fff; border-left: 1px solid #b5235855; border-right: 1px solid #b5235855; }
.cmp tbody tr:last-child td.us { border-bottom: 1px solid #b5235855; border-radius: 0 0 12px 12px; }
.cmp-wrap { overflow-x: auto; }

.notlist li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.notlist svg { width: 22px; height: 22px; fill: none; stroke: var(--outline); stroke-width: 2.2; stroke-linecap: round; margin-top: 3px; }
.notlist h3 { margin-bottom: 4px; }
.notlist p { font-size: 16px; }

/* ---------- Integrations ---------- */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-wall li { flex: 0 0 calc((100% - 60px) / 6); height: 100px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 12px; transition: border-color .25s, transform .25s var(--ease); }
.logo-wall li:hover { border-color: var(--line-2); transform: translateY(-2px); }
.logo-wall img { flex: none; max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .75; }
.logo-wall img.premono { filter: none; }
.logo-wall .nm { font: 500 12px var(--head); color: var(--dim); }
.lw-note { text-align: center; font-size: 13px; color: var(--dim); margin-top: 20px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border: 1px solid var(--outline); border-radius: 20px; padding: 64px 48px; text-align: center; background: radial-gradient(70% 120% at 50% 0%, #8a153866, transparent 70%), var(--card); }
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto; }
.cta .actions { justify-content: center; }
.cta .emb { position: absolute; right: -60px; bottom: -70px; width: 360px; opacity: .08; pointer-events: none; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-cards .card a.addr { font: 600 clamp(18px, 2vw, 22px) var(--head); color: #fff; text-decoration: none; border-bottom: 2px solid var(--crimson); }
.contact-cards .card p { margin: 10px 0 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 17px var(--head); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { padding: 0 0 22px; max-width: 760px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.site-footer img { height: 22px; width: auto; }
.site-footer .r { margin-left: auto; display: flex; gap: 22px; font-size: 14.5px; }
.site-footer .r a { color: var(--text-2); text-decoration: none; }
.site-footer .r a:hover { color: #fff; }
.site-footer small { font-size: 14px; color: var(--dim); }

/* ---------- Reveal (below the fold only, JS adds .is-in) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .sv { max-width: 640px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .core { grid-column: 1 / -1; order: -1; }
  .pipe { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .pipe::before, .pipe::after { display: none; }
  .signals { grid-template-columns: repeat(3, 1fr); }
  .signals li:nth-child(4) { border-left: 0; padding-left: 0; }
  .signals li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .df { grid-template-columns: 1fr; gap: 18px; }
  .df-server { margin: 0 auto; width: 260px; order: -1; }
  .df-wire { display: none; }
  .logo-wall li { flex-basis: calc((100% - 24px) / 3); }
  .map-ui { grid-template-columns: 1fr; }
  .map-side { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(5, 1fr); }
  .map-side .mk-sub { grid-column: 1 / -1; }
  .map-side label span { display: none; }
}
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .split, .cols-2, .tab-panel, .statement { grid-template-columns: 1fr; gap: 36px; }
  .statement { padding: 30px 26px; gap: 16px; }
  .numrow { grid-template-columns: 1fr; }
  .numrow li, .numrow li + li { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .rows.cols, .rows.cols3 { grid-template-columns: 1fr; }
  .rows.cols3 > li { padding: 22px 0; }
  .rows.cols > li:nth-child(2) { border-top: 0; }
  .cards.three, .trends, .ai-opts, .contact-cards { grid-template-columns: 1fr; }
  .cmds { grid-template-columns: 1fr; }
  .supporting, .supporting ul { grid-template-columns: 1fr; gap: 16px; }
  .team { grid-template-columns: 1fr; }
  .site-footer .r { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .map .map-stage { min-height: 440px; }
  .wrap { padding: 0 18px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .hero { padding: 44px 0 64px; }
  .page-hero { padding: 52px 0 44px; }
  .page-hero .emblem-mark { width: 180px; right: -20px; }
  .sv-stage, .sv:hover .sv-stage { transform: none; grid-template-columns: 1fr; }
  .sv-col, .inv, .out { transform: none; }
  .sv-col { grid-template-columns: 1fr 1fr; }
  .sv-col .sv-lab { grid-column: 1 / -1; }
  .flow { display: none; }
  .out { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 0; }
  .cards { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .signals { grid-template-columns: 1fr; }
  .signals li, .signals li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .signals li:first-child { border-top: 0; }
  .logo-wall { gap: 8px; }
  .logo-wall li { flex-basis: calc((100% - 16px) / 3); height: 78px; padding: 8px; gap: 6px; }
  .logo-wall img { max-height: 26px; width: auto; }
  .logo-wall .nm { font-size: 11px; }
  .map-stage { min-height: 360px; }
  .map-side { grid-template-columns: 1fr 1fr; }
  .map-note { left: 12px; right: 12px; top: auto; bottom: 12px; max-width: none; }
  .map-legend { display: none; }
  .queue li { grid-template-columns: 1fr auto; }
  .queue li .id { display: none; }
  .tab-list { justify-content: flex-start; }
  .tab-list label { padding: 10px 12px; font-size: 13.5px; }
  .cta { padding: 44px 22px; }
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .feed li { grid-template-columns: 30px 1fr; }
  .feed time { display: none; }
  .win-body { padding: 16px; }
  .keep li { grid-template-columns: 100px 1fr; }
  .core-ring { width: 210px; height: 210px; }
  .core-ring img { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sv-stage, .map-plane { transform: none; }
  .js .feed[data-play] li { opacity: 1; }
}
