:root {
  --midnight: #06152E;
  --midnight-deep: #040E20;
  --navy: #0A2148;
  --signal: #1687FF;
  --sky: #42B6FF;
  --royal: #1553F1;
  --cloud: #F6F8FC;
  --slate: #5C6B82;
  --white: #FFFFFF;
  --success: #16A36A;
  --warning: #F2A51A;
  --error: #E5484D;

  --text: var(--navy);
  --text-2: var(--slate);
  --text-inv: var(--white);
  --text-inv-2: rgba(226, 234, 248, .74);
  --border: rgba(10, 33, 72, .1);
  --border-inv: rgba(246, 248, 252, .12);

  --grad: linear-gradient(135deg, var(--sky) 0%, var(--signal) 55%, var(--royal) 100%);
  --grad-text: linear-gradient(100deg, #8FD6FF 0%, var(--sky) 30%, var(--signal) 70%, #5B8CFF 100%);

  --font: "Inter", Arial, Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 21, 46, .06), 0 12px 32px rgba(6, 21, 46, .08);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.625rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .85em; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .975rem/1 var(--font);
  padding: .95rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 24px rgba(22, 135, 255, .35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(22, 135, 255, .45); }
.btn-ghost { color: var(--white); border-color: var(--border-inv); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { color: var(--navy); border-color: var(--border); background: var(--white); }
.btn-outline:hover { border-color: var(--signal); color: var(--signal); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: .9rem; }
.eyebrow-inverse { color: var(--sky); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-2); font-size: .8rem; }
.muted-inverse { color: var(--text-inv-2); font-size: .9rem; max-width: 34ch; margin-top: 1rem; }
.fine { font-size: .78rem; color: var(--text-2); margin-top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 21, 46, .85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border-inv);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { font-weight: 800; font-size: 1.15rem; line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-weight: 500; font-size: .7rem; color: var(--text-inv-2); margin-top: 3px; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--text-inv-2); font-size: .9rem; font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #0F3A7A 0%, transparent 60%), linear-gradient(180deg, var(--midnight) 0%, var(--midnight-deep) 100%);
  color: var(--text-inv);
  padding: 88px 0 104px;
}
.hero-glow {
  position: absolute; inset: auto -10% -40% auto; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(22,135,255,.25), transparent 65%); pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.65; color: var(--text-inv-2); margin-top: 1.5rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-tags { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; color: var(--text-inv-2); }
.hero-tags li::before { content: "✓"; color: var(--sky); margin-right: .4rem; font-weight: 700; }

/* App window mockup */
.app-window {
  background: #0B1E3F; border: 1px solid var(--border-inv); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(66,182,255,.08) inset;
  overflow: hidden; font-size: .8rem;
}
.app-bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: #081833; border-bottom: 1px solid var(--border-inv); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A3B5C; }
.dots i:nth-child(1) { background: #E5484D; } .dots i:nth-child(2) { background: #F2A51A; } .dots i:nth-child(3) { background: #16A36A; }
.app-title { font-weight: 600; color: var(--white); }
.app-note { margin-left: auto; color: var(--text-inv-2); font-size: .72rem; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: .8rem .6rem; border-right: 1px solid var(--border-inv); }
.app-side span { padding: .42rem .65rem; border-radius: 8px; color: var(--text-inv-2); }
.app-side span.active { background: rgba(22,135,255,.18); color: var(--white); font-weight: 600; }
.app-main { padding: 1rem 1.1rem; }
.app-head { display: flex; align-items: center; justify-content: space-between; color: var(--white); font-size: .95rem; margin-bottom: .9rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(22,163,106,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,106,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,106,0); } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.kpi { background: rgba(255,255,255,.04); border: 1px solid var(--border-inv); border-radius: 10px; padding: .65rem .7rem; display: flex; flex-direction: column; gap: .25rem; }
.kpi span { color: var(--text-inv-2); font-size: .7rem; line-height: 1.25; }
.kpi b { color: var(--white); font-size: 1.4rem; line-height: 1; }
.kpi-danger { border-color: rgba(229,72,77,.4); background: rgba(229,72,77,.1); }
.kpi-danger b { color: #FF8A8E; }
.mini-table { width: 100%; border-collapse: collapse; margin-top: 1rem; color: var(--text-inv-2); }
.mini-table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; padding: .5rem .4rem; border-bottom: 1px solid var(--border-inv); }
.mini-table td { padding: .6rem .4rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.mini-table td:first-child { color: var(--white); }

.pill { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 600; white-space: nowrap; }
.pill-open { background: rgba(22,135,255,.18); color: #7CC4FF; }
.pill-esc { background: rgba(229,72,77,.18); color: #FF8A8E; }
.pill-review { background: rgba(242,165,26,.18); color: #FFC861; }
.pill-clear, .pill-active { background: rgba(22,163,106,.18); color: #4FD39A; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%); color: var(--text-inv); }
.section-dark .section-lead { color: var(--text-inv-2); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-lead { color: var(--text-2); font-size: 1.075rem; line-height: 1.7; margin-top: 1rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse > :first-child { order: 2; }

.checks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: var(--signal); background: rgba(22,135,255,.12);
}
.checks-inverse li { color: var(--text-inv-2); }
.checks-inverse li::before { color: var(--sky); background: rgba(66,182,255,.15); }

/* Simulation */
.sim { padding: 28px; }
.sim-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.sim-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; flex: 1; }
.sim-stats div { display: flex; flex-direction: column; }
.sim-stats b { font-size: 2rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.sim-stats span { font-size: .82rem; color: var(--text-2); }

.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 28px 0 18px; }
.pipeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.stage {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--cloud); border: 1px solid var(--border); border-radius: 12px; padding: .75rem .5rem;
  font-weight: 600; font-size: .88rem; transition: border-color .2s, background .2s, color .2s;
}
.stage.on { border-color: var(--signal); background: rgba(22,135,255,.08); color: var(--signal); }
.stage-ico { font-size: 1rem; }
.pipeline-token {
  position: absolute; z-index: 2; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px rgba(22,135,255,.2); opacity: 0;
  transition: left .45s ease, opacity .2s, background .2s;
}
.pipeline-token.pass { background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,106,.2); }
.pipeline-token.alert { background: var(--warning); box-shadow: 0 0 0 4px rgba(242,165,26,.25); }
.pipeline-token.block { background: var(--error); box-shadow: 0 0 0 4px rgba(229,72,77,.25); }

.sim-current { background: var(--cloud); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: .9rem 1rem; font-size: .92rem; min-height: 3.2rem; }
.sim-current b { font-weight: 600; }

.sim-tabs { display: flex; gap: .25rem; margin-top: 1.25rem; border-bottom: 1px solid var(--border); }
.sim-tabs button { background: none; border: 0; padding: .6rem .9rem; font: 600 .88rem var(--font); color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sim-tabs button.active { color: var(--signal); border-bottom-color: var(--signal); }
.sim-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.sim-list li { display: grid; grid-template-columns: 70px 1fr auto; gap: .8rem; align-items: center; padding: .65rem .25rem; border-bottom: 1px solid var(--border); font-size: .88rem; animation: slideIn .35s ease; }
.sim-list li time { font-family: var(--mono); font-size: .75rem; color: var(--text-2); }
.sim-list li .meta { color: var(--text-2); font-size: .8rem; }
.sim-list .empty { display: block; color: var(--text-2); text-align: center; padding: 1.5rem; }
.sim .pill-open { background: rgba(22,135,255,.12); color: var(--royal); }
.sim .pill-esc { background: rgba(229,72,77,.12); color: #C0262B; }
.sim .pill-review { background: rgba(242,165,26,.15); color: #A86A00; }
.sim .pill-clear { background: rgba(22,163,106,.12); color: #0E7A4E; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.features-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.feature h3 { margin: .9rem 0 .4rem; }
.feature p { color: var(--text-2); font-size: .94rem; }
.ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(22,135,255,.1); color: var(--signal); font-size: 1.25rem;
}

/* Channel diagram */
.channel-diagram { padding: 28px; }
.diagram-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1rem; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.channel { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; background: var(--cloud); display: flex; flex-direction: column; gap: .3rem; }
.channel b { font-size: .95rem; }
.channel span { font-size: .78rem; color: var(--text-2); line-height: 1.4; }
.flow-lines { width: 100%; height: 56px; }
.flow-lines path { fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.hub { background: var(--grad); color: var(--white); border-radius: 14px; padding: 1.2rem; text-align: center; box-shadow: 0 12px 30px rgba(22,135,255,.3); }
.hub b { display: block; font-size: 1.05rem; }
.hub span { font-size: .85rem; opacity: .85; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(22,135,255,.35); }
.module .num { font-family: var(--mono); font-size: .8rem; color: var(--signal); font-weight: 500; }
.module h3 { margin: .6rem 0 .5rem; }
.module p { color: var(--text-2); font-size: .94rem; }

/* Code card */
.code-card { background: var(--midnight-deep); border: 1px solid var(--border-inv); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.code-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--border-inv); font-size: .85rem; font-weight: 600; }
.code { margin: 0; padding: 1.4rem 1.2rem; font-family: var(--mono); font-size: .9rem; line-height: 1.85; color: #D6E2F5; overflow-x: auto; }
.code .c { color: #6C7FA0; font-style: italic; }
.code .k { color: var(--sky); font-weight: 500; }
.code .o { color: #FF9EC4; }
.code .n { color: #FFC861; }
.code .s { color: #4FD39A; }
.code-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.2rem 1.2rem; }
.code-tags span { font-size: .75rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--border-inv); color: var(--text-inv-2); }

/* Risk card */
.risk-card { padding: 28px; }
.risk-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.bars { display: grid; gap: .9rem; }
.bar-row { display: grid; grid-template-columns: 80px 1fr 44px; gap: .8rem; align-items: center; font-size: .88rem; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 12px; background: var(--cloud); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.in-view .bar i { width: var(--w); }
.lvl-low { background: var(--success); }
.lvl-med { background: var(--warning); }
.lvl-high { background: #F26B1A; }
.lvl-vhigh { background: var(--error); }
.risk-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 1.6rem; }
.risk-tiles div { border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; background: var(--cloud); }
.risk-tiles b { display: block; font-size: 1.5rem; line-height: 1.1; }
.risk-tiles span { font-size: .8rem; color: var(--text-2); }

/* Governance */
.gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gov { padding: 26px; box-shadow: none; }
.gov h3 { margin: 1rem 0 .4rem; }
.gov p { color: var(--text-2); font-size: .94rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--white); font-weight: 700; }
.steps h3 { margin: 1rem 0 .5rem; }
.steps p { color: var(--text-2); font-size: .95rem; }

/* CTA */
.cta { background: radial-gradient(900px 500px at 15% 0%, #0F3A7A 0%, transparent 60%), var(--midnight); color: var(--text-inv); }
.cta .section-lead { color: var(--text-inv-2); max-width: 46ch; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.demo-form { padding: 28px; color: var(--text); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.demo-form input, .demo-form select, .demo-form textarea {
  font: 400 .95rem var(--font); color: var(--text); width: 100%;
  padding: .75rem .85rem; border: 1px solid var(--border); border-radius: 10px; background: var(--cloud);
  transition: border-color .15s, box-shadow .15s;
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(22,135,255,.18); background: var(--white); }
.demo-form .invalid { border-color: var(--error); }
.demo-form textarea { resize: vertical; }
.form-status { font-size: .88rem; min-height: 1.2em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--error); }

/* Footer */
.site-footer { background: var(--midnight-deep); color: var(--text-inv); padding: 56px 0 24px; border-top: 1px solid var(--border-inv); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 2rem 4rem; }
.footer-cols h4 { margin: 0 0 .9rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer-cols a { display: block; color: var(--text-inv-2); font-size: .9rem; padding: .25rem 0; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-inv); font-size: .82rem; color: var(--text-inv-2); }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: var(--white); font-weight: 700; box-shadow: 0 8px 24px rgba(22,135,255,.35);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Header scroll state + active link */
.site-header { transition: background .2s, box-shadow .2s; }
.site-header.scrolled { background: rgba(4, 14, 32, .94); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.nav-links a.active:not(.btn) { color: var(--white); }
.nav-links a:not(.btn) { position: relative; }
@media (min-width: 901px) {
  .nav-links a.active:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--grad); }
}

/* Hero product badge */
.product-badge { display: inline-flex; align-items: center; gap: .85rem; padding: .5rem 1.1rem .5rem .5rem; margin-bottom: 1.6rem; border: 1px solid var(--border-inv); border-radius: 999px; background: rgba(255,255,255,.04); }
.product-badge img { width: 52px; height: 52px; filter: drop-shadow(0 6px 16px rgba(22,135,255,.35)); }
.product-badge div { display: flex; flex-direction: column; line-height: 1.25; }
.product-badge span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.product-badge strong { font-size: .95rem; color: var(--white); }

/* Network analytics */
.net-card { background: var(--midnight-deep); border: 1px solid var(--border-inv); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.net { width: 100%; height: auto; padding: 8px 12px 0; }
.net .edges line { stroke: rgba(160, 190, 235, .28); stroke-width: 1.5; }
.net .edges line.hot { stroke: #FF6B70; stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
.net circle { stroke: var(--midnight-deep); stroke-width: 3; }
.net .n-cust { fill: var(--sky); }
.net .n-wallet { fill: #4FD39A; }
.net .n-agent { fill: var(--warning); }
.net .n-flag { fill: var(--error); }
.net .n-hub { fill: #FF8A8E; }
.net .n-hub-ring { fill: none; stroke: rgba(229,72,77,.5); stroke-width: 2; transform-origin: 265px 185px; animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.net text { fill: var(--text-inv-2); font: 500 11px var(--mono); }
.net-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: .75rem 1.2rem 1.2rem; font-size: .78rem; color: var(--text-inv-2); }
.net-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .4rem; vertical-align: -1px; }
.lg-cust { background: var(--sky); } .lg-wallet { background: #4FD39A; } .lg-agent { background: var(--warning); } .lg-flag { background: var(--error); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.section-head-left { text-align: left; margin: 0; position: sticky; top: 100px; }
.text-link { color: var(--signal); font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--cloud); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, background .2s; }
.faq details[open] { background: var(--white); border-color: rgba(22,135,255,.35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--signal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--text-2); }

@media (max-width: 1080px) {
  .net-card { order: 2; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .section-head-left { position: static; }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .product-badge img { width: 44px; height: 44px; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse > :first-child { order: 0; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .gov-grid, .features-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--midnight); border-bottom: 1px solid var(--border-inv); padding: .5rem 24px 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--border-inv); }
  .nav-links .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sim-stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .app-note { display: none; }
  .modules, .gov-grid, .features-4, .channels, .field-row { grid-template-columns: 1fr; }
  .sim { padding: 20px; }
  .sim-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sim-stats b { font-size: 1.6rem; }
  .pipeline { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .stage { flex-direction: column; font-size: .68rem; padding: .55rem .2rem; gap: .2rem; }
  .sim-list li { grid-template-columns: 1fr auto; }
  .sim-list li time { grid-column: 1 / -1; }
  .flow-lines { height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
