:root {
  color-scheme: dark;
  --ink: #ecf8f3;
  --muted: #92a9a2;
  --dim: #587069;
  --base: #07100f;
  --panel: #0b1715;
  --panel-soft: #0f1e1b;
  --line: rgba(184, 237, 216, .13);
  --mint: #83f3bd;
  --mint-strong: #4cda99;
  --cyan: #74d6ed;
  --amber: #ffc86b;
  --red: #ff8d7a;
  --radius: 22px;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--base); }
body { margin: 0; color: var(--ink); background: var(--base); overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; }
svg { display: block; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--mint); color: #04100d; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.ambient { position: fixed; width: 38rem; height: 38rem; border-radius: 50%; filter: blur(110px); opacity: .09; pointer-events: none; z-index: 0; }
.ambient-one { background: var(--mint); top: -18rem; right: -14rem; }
.ambient-two { background: var(--cyan); bottom: -24rem; left: -16rem; }

.site-header, main, footer { position: relative; z-index: 1; }
.site-header { width: min(calc(100% - 40px), var(--max)); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--mint); border: 1px solid rgba(131,243,189,.3); border-radius: 12px; background: rgba(131,243,189,.06); }
.brand-mark svg { width: 24px; fill: rgba(131,243,189,.09); stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: 32px; }
nav a, footer a { color: var(--muted); text-decoration: none; font-size: .84rem; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { color: var(--mint); }
.header-action { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .8rem; transition: .2s ease; }
.header-action:hover, .header-action:focus-visible { border-color: var(--mint); background: rgba(131,243,189,.08); }

.hero { width: min(calc(100% - 40px), var(--max)); min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 110px); align-items: center; padding: 86px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--mint); font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-weight: 520; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
h1 { max-width: 750px; font-size: clamp(3.5rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.7rem, 5.3vw, 5rem); }
h1 em, h2 em { color: var(--mint); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #b5c8c2; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; text-decoration: none; font-weight: 700; font-size: .84rem; transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease; }
.button:hover:not(:disabled), .button:focus-visible:not(:disabled) { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .38; }
.button.primary { background: var(--mint); color: #04110d; }
.button.secondary { border-color: var(--line); color: #cce0da; background: rgba(255,255,255,.02); }
.button.alert { border-color: rgba(255,200,107,.42); color: #ffdda0; background: rgba(255,200,107,.1); }
.honesty { max-width: 610px; margin: 28px 0 0; padding-left: 15px; border-left: 2px solid rgba(131,243,189,.38); color: var(--muted); font-size: .82rem; line-height: 1.6; }
.honesty strong { color: #cbe4db; }

.hero-visual { min-height: 520px; position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(155deg, rgba(20,42,36,.72), rgba(5,13,12,.94)); box-shadow: 0 30px 80px rgba(0,0,0,.38); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(131,243,189,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(131,243,189,.035) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.visual-topline, .visual-footer { position: relative; display: flex; justify-content: space-between; color: var(--muted); font-size: .69rem; letter-spacing: .09em; text-transform: uppercase; }
.live-dot { color: var(--mint); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(131,243,189,.08); }
.orbital { position: relative; height: 420px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(131,243,189,.14); border-radius: 50%; }
.orbit-a { width: 250px; height: 250px; }
.orbit-b { width: 390px; height: 390px; border-style: dashed; }
.core-shield { position: relative; z-index: 2; width: 132px; height: 132px; display: grid; place-items: center; padding: 18px; color: var(--mint); border: 1px solid rgba(131,243,189,.35); border-radius: 38px; background: linear-gradient(145deg, rgba(131,243,189,.15), rgba(10,24,20,.95)); box-shadow: 0 0 70px rgba(76,218,153,.15); }
.core-shield svg { width: 60px; fill: rgba(131,243,189,.04); stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.core-shield span { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.node { position: absolute; min-width: 116px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: #c4d7d1; background: rgba(8,19,17,.92); font-size: .72rem; }
.node strong { display: block; margin-top: 4px; color: var(--mint); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.node-router { top: 50px; left: 12px; }
.node-endpoint { right: 3px; top: 180px; }
.node-mail { bottom: 44px; left: 36px; }

.trust-strip { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.trust-strip p { margin: 0; padding: 0 18px; border-right: 1px solid var(--line); color: #b9ccc5; font-size: .78rem; }
.trust-strip p:first-child { padding-left: 0; }
.trust-strip p:last-child { border: 0; }
.trust-strip span { margin-right: 9px; color: var(--dim); font-family: ui-monospace, monospace; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 132px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; column-gap: 70px; align-items: end; margin-bottom: 56px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.section-heading.compact { grid-template-columns: 1fr .68fr; }

.control-grid { display: grid; grid-template-columns: 1.42fr .78fr; border: 1px solid var(--line); border-radius: var(--radius); background: #091411; overflow: hidden; box-shadow: 0 34px 90px rgba(0,0,0,.28); }
.security-surface { min-width: 0; padding: 30px; border-right: 1px solid var(--line); }
.panel-heading, .agent-heading { display: flex; align-items: center; gap: 12px; }
.panel-heading { justify-content: space-between; }
.panel-heading small, .agent-heading small { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .11em; }
.panel-heading h3, .agent-heading h3 { margin: 4px 0 0; font-size: 1.05rem; }
.posture-badge, .agent-status { padding: 6px 10px; border: 1px solid rgba(131,243,189,.22); border-radius: 999px; color: var(--mint); background: rgba(131,243,189,.06); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
[data-demo-state="alert"] .posture-badge, [data-demo-state="alert"] .agent-status { border-color: rgba(255,200,107,.33); color: var(--amber); background: rgba(255,200,107,.07); }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 26px; }
.metric-row article { min-width: 0; padding: 17px; border: 1px solid rgba(184,237,216,.09); border-radius: 14px; background: rgba(255,255,255,.018); }
.metric-row span, .metric-row small { display: block; color: var(--muted); font-size: .65rem; }
.metric-row strong { display: block; margin: 8px 0 7px; font-size: 1.62rem; letter-spacing: -.04em; }
.topology { position: relative; min-height: 245px; margin-top: 18px; padding: 22px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; align-content: center; border: 1px solid rgba(184,237,216,.09); border-radius: 15px; background-image: radial-gradient(circle at center, rgba(131,243,189,.06), transparent 58%); overflow: hidden; }
.topology-line { position: absolute; inset: 50%; width: 1px; height: 290px; background: rgba(131,243,189,.12); transform: translate(-50%,-50%) rotate(57deg); }
.topology-node { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7,16,15,.94); }
.topology-node.gateway { border-color: rgba(131,243,189,.31); }
.device-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--mint); border-radius: 9px; background: rgba(131,243,189,.07); }
.topology-node strong, .topology-node small { display: block; }
.topology-node strong { font-size: .76rem; }
.topology-node small { margin-top: 3px; color: var(--muted); font-size: .62rem; }
.topology-node i { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(131,243,189,.06); }
[data-demo-state="alert"] #demoDevice { border-color: rgba(255,141,122,.55); }
[data-demo-state="alert"] #demoDevice i { background: var(--red); }
[data-demo-state="contained"] #demoDevice { border-color: rgba(255,200,107,.46); }
[data-demo-state="contained"] #demoDevice i { background: var(--amber); }
.incident-card { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid rgba(131,243,189,.2); border-radius: 14px; background: rgba(131,243,189,.04); }
.incident-card.is-alert { border-color: rgba(255,141,122,.37); background: rgba(255,141,122,.045); }
.incident-card.is-contained { border-color: rgba(255,200,107,.35); background: rgba(255,200,107,.04); }
.incident-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--mint); background: rgba(131,243,189,.1); font-weight: 900; }
.incident-card small, .incident-card strong, .incident-card p { display: block; }
.incident-card small { color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
.incident-card strong { margin-top: 4px; font-size: .78rem; }
.incident-card p { margin: 4px 0 0; color: var(--muted); font-size: .66rem; line-height: 1.45; }
.incident-card > span { color: var(--muted); font-family: ui-monospace, monospace; font-size: .68rem; }
.agent-panel { padding: 30px; background: linear-gradient(180deg, rgba(14,30,26,.64), rgba(7,16,15,.88)); }
.agent-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.agent-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(116,214,237,.09); }
.agent-avatar span { width: 15px; height: 15px; border: 2px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(116,214,237,.06); }
.agent-status { margin-left: auto; }
.agent-log { margin: 26px 0; padding: 0; list-style: none; display: grid; gap: 17px; }
.agent-log li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; opacity: .44; }
.agent-log li.complete, .agent-log li.active { opacity: 1; }
.agent-log li > span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: .62rem; }
.agent-log li.complete > span { border-color: rgba(131,243,189,.3); color: var(--mint); background: rgba(131,243,189,.07); }
.agent-log li.active > span { border-color: rgba(255,200,107,.4); color: var(--amber); background: rgba(255,200,107,.07); }
.agent-log strong, .agent-log small { display: block; }
.agent-log strong { font-size: .76rem; }
.agent-log small { margin-top: 4px; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.action-boundary { padding: 14px; border: 1px dashed rgba(184,237,216,.16); border-radius: 12px; }
.action-boundary span { color: var(--muted); font-size: .6rem; text-transform: uppercase; letter-spacing: .11em; }
.action-boundary p { margin: 6px 0 0; font-size: .7rem; }
.demo-actions { margin-top: 18px; display: grid; gap: 8px; }
.demo-actions .button { width: 100%; }
.demo-note { margin: 16px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.demo-note strong { color: #c8dbd4; }

.architecture { border-top: 1px solid var(--line); }
.architecture-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; gap: 18px; align-items: center; }
.flow-card { min-height: 265px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.flow-card small { color: var(--mint); font-size: .63rem; letter-spacing: .12em; }
.flow-card h3 { margin: 48px 0 12px; font-size: 1.35rem; }
.flow-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.flow-card span { margin-top: auto; color: #c5d8d2; font-size: .7rem; }
.policy-card { border-color: rgba(131,243,189,.33); background: linear-gradient(145deg, rgba(131,243,189,.08), rgba(10,23,20,.96)); }
.flow-arrow { color: var(--mint); font-size: 1.4rem; text-align: center; }
.flow-arrow span { display: block; margin-bottom: 8px; color: var(--dim); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.execution-stack { display: grid; gap: 9px; }
.execution-stack article { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.execution-stack article > span { color: var(--dim); font-family: ui-monospace, monospace; font-size: .66rem; }
.execution-stack h3 { margin: 0; font-size: .83rem; }
.execution-stack p { margin: 4px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.4; }

.evidence-section { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(45px, 8vw, 110px); border-top: 1px solid var(--line); }
.evidence-intro > p:not(.eyebrow) { margin: 26px 0 0; color: var(--muted); line-height: 1.7; }
.evidence-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.evidence-links a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: #bfd2cc; text-decoration: none; font-size: .72rem; }
.evidence-links a:hover, .evidence-links a:focus-visible { border-color: var(--mint); color: var(--mint); }
.proof-register { border-top: 1px solid var(--line); }
.proof-register article { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.check, .future { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(131,243,189,.28); border-radius: 50%; color: var(--mint); background: rgba(131,243,189,.06); }
.proof-register small { color: var(--mint); font-size: .59rem; letter-spacing: .11em; }
.proof-register h3 { margin: 7px 0 7px; font-size: 1rem; }
.proof-register p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.proof-register .roadmap small, .proof-register .roadmap .future { color: var(--amber); }
.proof-register .roadmap .future { border-color: rgba(255,200,107,.28); background: rgba(255,200,107,.06); }

.visibility-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visibility-section > div:first-child { display: grid; grid-template-columns: .65fr 1fr; align-items: end; }
.visibility-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.visibility-grid article { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.visibility-grid span { color: var(--mint); font-family: ui-monospace, monospace; font-size: .63rem; }
.visibility-grid h3 { margin: 54px 0 10px; font-size: .98rem; }
.visibility-grid p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.visibility-boundary { max-width: 720px; margin: 22px 0 0 auto; color: var(--dim); font-size: .71rem; line-height: 1.6; text-align: right; }
.closing-section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 125px 0; display: grid; grid-template-columns: 1.25fr .55fr; gap: 80px; align-items: end; }
.closing-section > div:last-child p { margin: 0 0 24px; color: var(--muted); line-height: 1.65; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 30px 0 42px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
footer > p { margin: 0; color: var(--dim); font-size: .65rem; text-align: center; }
footer > div { display: flex; justify-content: flex-end; gap: 20px; }
footer a { font-size: .69rem; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; } }

@media (max-width: 980px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 660px; width: 100%; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 28px; }
  .control-grid { grid-template-columns: 1fr; }
  .security-surface { border-right: 0; border-bottom: 1px solid var(--line); }
  .architecture-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); margin: -8px 0; }
  .flow-arrow span { display: none; }
  .flow-card { min-height: 220px; }
  .evidence-section { grid-template-columns: 1fr; }
  .visibility-section > div:first-child { grid-template-columns: 1fr; }
  .visibility-section h2 { margin-top: 12px; }
  .closing-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: center; }
  footer > div { justify-content: center; }
}

@media (max-width: 680px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); height: 72px; }
  .header-action { display: none; }
  .hero, .section, .closing-section, footer, .trust-strip { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 64px 0 56px; gap: 46px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
  .hero-visual { min-height: 440px; padding: 17px; }
  .orbital { height: 350px; }
  .orbit-a { width: 190px; height: 190px; }
  .orbit-b { width: 310px; height: 310px; }
  .core-shield { width: 108px; height: 108px; border-radius: 30px; }
  .core-shield svg { width: 46px; }
  .node { min-width: 103px; font-size: .65rem; }
  .node-router { top: 38px; left: 0; }
  .node-endpoint { top: 154px; right: -7px; }
  .node-mail { bottom: 36px; left: 7px; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-strip p { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .trust-strip p:nth-child(2) { border-right: 0; }
  .trust-strip p:nth-child(3), .trust-strip p:nth-child(4) { border-bottom: 0; }
  .section { padding: 92px 0; }
  .security-surface, .agent-panel { padding: 20px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row article { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .metric-row strong { grid-row: 1 / 3; grid-column: 2; }
  .topology { grid-template-columns: 1fr; }
  .incident-card { grid-template-columns: auto 1fr; }
  .incident-card > span { grid-column: 2; }
  .visibility-grid { grid-template-columns: 1fr; }
  .visibility-grid article { min-height: 180px; }
  .visibility-grid h3 { margin-top: 34px; }
  .visibility-boundary { text-align: left; }
  .closing-section { padding: 92px 0; gap: 40px; }
}
