:root {
  --bg: #080b12;
  --bg-deep: #05070b;
  --surface: #0e1521;
  --surface-2: #111b2a;
  --surface-3: #142033;
  --line: #26344b;
  --line-soft: rgba(114, 139, 174, 0.17);
  --text: #ecf3ff;
  --muted: #98a6ba;
  --lime: #41ff00;
  --cyan: #55e6d4;
  --violet: #8d7bff;
  --amber: #ffbe5c;
  --red: #ff667b;
  --shell: min(1180px, calc(100vw - 40px));
  --radius: 20px;
  --mono: "DejaVu Sans Mono", "Liberation Mono", Consolas, monospace;
  --sans: "DejaVu Sans", "Liberation Sans", Arial, sans-serif;
  --mx: 50%;
  --my: 20%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(65, 255, 0, 0.035), transparent 24rem),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 48, 69, 0.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 48, 69, 0.19) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 50;
  content: "";
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

::selection {
  color: var(--bg);
  background: var(--lime);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  max-width: 100%;
  overflow-wrap: break-word;
}

.shell {
  width: var(--shell);
  max-width: calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  margin-inline: auto;
}

.hero-copy,
.hero-visual,
.section-heading > *,
.evidence-grid > *,
.control-panel > *,
.deployment-grid > *,
.demo-grid > *,
.feature-card,
.platform-card {
  min-width: 0;
}

.feature-card p,
.platform-card p,
.evidence-console dd,
.console-rule,
.digest {
  overflow-wrap: anywhere;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--bg);
  background: var(--lime);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(8, 11, 18, 0.82);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 34px;
}

.brand {
  width: 172px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 21, 33, 0.72);
}

.language-switch button {
  width: 34px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: 700 10px var(--mono);
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--bg);
  background: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  gap: 18px;
  border: 1px solid rgba(85, 230, 212, 0.45);
  border-radius: 10px;
  color: var(--text);
  background: linear-gradient(110deg, rgba(85, 230, 212, 0.3), rgba(67, 126, 209, 0.3), rgba(141, 123, 255, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 44px rgba(11, 93, 123, 0.12);
  font-size: 13px;
  font-weight: 800;
  font-family: "Segoe UI", Arial, "DejaVu Sans", sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 55px rgba(85, 230, 212, 0.17);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 11px;
  font-family: "Segoe UI", Arial, "DejaVu Sans", sans-serif;
  letter-spacing: 0.02em;
}

.button-ghost {
  border-color: var(--line);
  color: var(--muted);
  background: rgba(14, 21, 33, 0.52);
  box-shadow: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 154px 0 68px;
  overflow: hidden;
}

#signal-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.hero::before {
  position: absolute;
  top: 15%;
  left: 47%;
  width: 620px;
  height: 620px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 255, 0, 0.09), transparent 68%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(141, 123, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px var(--lime);
}

.hero-orbit-a {
  top: 110px;
  right: -290px;
  width: 780px;
  height: 780px;
  animation: spin 28s linear infinite;
}

.hero-orbit-b {
  top: 260px;
  right: -110px;
  width: 410px;
  height: 410px;
  animation: spin 18s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 66px;
}

.eyebrow,
.kicker,
.card-index {
  color: var(--lime);
  font: 700 11px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(65, 255, 0, 0.85);
}

.pulse-dot::after {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1px solid rgba(65, 255, 0, 0.45);
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  from { opacity: 0.8; transform: scale(0.4); }
  to { opacity: 0; transform: scale(1.4); }
}

.hero h1,
.section-heading h2,
.evidence-copy h2,
.control-copy h2,
.deployment-copy h2,
.demo-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(43px, 5.3vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 span,
.section-heading h2 span,
.evidence-copy h2 span,
.control-copy h2 span,
.deployment-copy h2 span,
.demo-copy h2 span {
  color: var(--lime);
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 34px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 31px;
}

.hero-tags span,
.card-status {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(14, 21, 33, 0.62);
  font: 700 8px var(--mono);
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  border: 1px solid rgba(95, 118, 151, 0.38);
  border-radius: 18px;
  background: rgba(9, 14, 23, 0.86);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 80px rgba(65, 255, 0, 0.035);
  overflow: hidden;
}

.visual-topline,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  padding: 0 16px;
  color: var(--muted);
  background: rgba(14, 21, 33, 0.92);
  font: 700 8px var(--mono);
  letter-spacing: 0.08em;
}

.visual-topline {
  border-bottom: 1px solid var(--line);
}

.visual-topline > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.visual-topline i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.video-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font: 700 8px var(--mono);
  cursor: pointer;
}

.pause-icon {
  width: 7px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.video-toggle.is-paused .pause-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070c;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(85, 230, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 230, 212, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mix-blend-mode: screen;
}

.video-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(65, 255, 0, 0.1), rgba(65, 255, 0, 0.4), transparent);
  filter: blur(1px);
  animation: scan-video 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  pointer-events: none;
}

@keyframes scan-video {
  0%, 12% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  78% { opacity: 0.9; }
  92%, 100% { transform: translateX(740%); opacity: 0; }
}

.video-label {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid rgba(141, 123, 255, 0.48);
  border-radius: 4px;
  color: rgba(236, 243, 255, 0.8);
  background: rgba(8, 11, 18, 0.68);
  backdrop-filter: blur(7px);
  font: 700 7px var(--mono);
  letter-spacing: 0.05em;
}

.video-label span {
  margin-right: 5px;
  color: var(--lime);
}

.label-a { top: 8%; left: 4%; }
.label-b { top: 8%; left: 42%; }
.label-c { top: 8%; right: 4%; }

.visual-footer {
  min-height: 51px;
  border-top: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0;
}

.visual-footer .mono {
  color: var(--lime);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.metric-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 0.8fr) 1.6fr;
  margin-top: 76px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 17, 27, 0.78);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 95px;
  padding: 18px 24px;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: 0; }

.metric strong {
  color: var(--lime);
  font: 700 29px var(--mono);
}

.metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 58px;
}

.section-heading h2,
.evidence-copy h2,
.control-copy h2,
.deployment-copy h2,
.demo-copy h2 {
  margin-top: 17px;
  font-size: clamp(36px, 4vw, 57px);
}

.section-heading > p,
.evidence-copy > p,
.control-copy > p,
.deployment-copy > p,
.demo-copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  grid-column: span 2;
  min-height: 265px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(65, 255, 0, 0.045), transparent 12rem),
    linear-gradient(145deg, rgba(17, 27, 42, 0.97), rgba(11, 17, 27, 0.97));
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  border-color: rgba(65, 255, 0, 0.42);
  transform: translateY(-4px);
}

.feature-card::after {
  position: absolute;
  right: -45px;
  bottom: -75px;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(65, 255, 0, 0.09);
  border-radius: 50%;
}

.feature-card-large {
  grid-column: span 3;
  min-height: 430px;
  padding: 34px;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 37px 0 24px;
  place-items: center;
  border: 1px solid rgba(65, 255, 0, 0.45);
  border-radius: 13px;
  color: var(--lime);
  background: rgba(65, 255, 0, 0.055);
}

.feature-icon.violet {
  border-color: rgba(141, 123, 255, 0.5);
  color: var(--violet);
  background: rgba(141, 123, 255, 0.065);
}

.feature-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.platform-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.feature-card p,
.platform-card p {
  max-width: 590px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 24px 0 0;
  gap: 8px;
  list-style: none;
}

.signal-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 11, 18, 0.5);
  font: 700 8px var(--mono);
}

.signal-list li span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}

.mini-graph {
  position: absolute;
  right: 34px;
  bottom: 30px;
  width: 168px;
  height: 86px;
  opacity: 0.7;
}

.mini-graph .node {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--surface);
}

.mini-graph .n1 { top: 36px; left: 0; }
.mini-graph .n2 { top: 4px; left: 52px; }
.mini-graph .n3 { right: 48px; bottom: 5px; border-color: var(--amber); }
.mini-graph .n4 { top: 29px; right: 0; border-color: var(--lime); }

.mini-graph .path {
  position: absolute;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}

.mini-graph .p1 { top: 40px; left: 10px; width: 53px; transform: rotate(-32deg); }
.mini-graph .p2 { top: 12px; left: 62px; width: 64px; transform: rotate(46deg); }
.mini-graph .p3 { right: 8px; bottom: 14px; width: 57px; transform: rotate(-37deg); }

.prompt-fragments {
  position: absolute;
  right: 32px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px;
  opacity: 0.72;
  transform: rotate(-3deg);
}

.prompt-fragments span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 102, 123, 0.32);
  border-radius: 4px;
  color: var(--red);
  background: rgba(255, 102, 123, 0.05);
  font: 700 8px var(--mono);
}

.card-status {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: var(--lime);
}

.flow-section {
  background: linear-gradient(180deg, rgba(5, 7, 11, 0), rgba(5, 7, 11, 0.74) 38%, rgba(5, 7, 11, 0));
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding-top: 28px;
}

.pipeline-track {
  position: absolute;
  z-index: 0;
  top: 68px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.pipeline-track span {
  display: block;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: flow-track 4s ease-in-out infinite;
}

@keyframes flow-track {
  from { transform: translateX(-110%); }
  to { transform: translateX(420%); }
}

.pipeline article {
  position: relative;
  z-index: 1;
  min-height: 218px;
  padding: 24px 17px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 21, 33, 0.94);
}

.pipeline article b {
  color: var(--lime);
  font: 700 9px var(--mono);
}

.pipeline article i {
  display: block;
  width: 14px;
  height: 14px;
  margin: 18px auto 28px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime), 0 0 18px rgba(65, 255, 0, 0.42);
}

.pipeline article:nth-of-type(5) i { background: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 0 18px rgba(141, 123, 255, 0.42); }
.pipeline article:nth-of-type(6) i { background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 18px rgba(85, 230, 212, 0.42); }

.pipeline article h3 {
  margin: 0;
  font: 700 12px var(--mono);
  text-transform: uppercase;
}

.pipeline article p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.flow-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 17, 27, 0.84);
  overflow: hidden;
}

.flow-outcomes > div {
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 20px;
  column-gap: 11px;
  border-right: 1px solid var(--line);
}

.flow-outcomes > div:last-child { border-right: 0; }

.outcome-dot {
  grid-row: span 2;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px currentColor;
}

.outcome-dot.false { color: var(--cyan); background: var(--cyan); }
.outcome-dot.threat { color: var(--red); background: var(--red); }
.outcome-dot.human { color: var(--amber); background: var(--amber); }

.flow-outcomes strong { font-size: 11px; }
.flow-outcomes small { color: var(--muted); font-size: 8px; }

.evidence-grid,
.deployment-grid,
.demo-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 88px;
}

.evidence-copy > p,
.control-copy > p,
.deployment-copy > p,
.demo-copy > p {
  margin-top: 24px;
}

.proof-points {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.proof-points > div {
  display: flex;
  align-items: flex-start;
  padding-bottom: 14px;
  gap: 15px;
  border-bottom: 1px solid var(--line-soft);
}

.proof-points b {
  color: var(--violet);
  font: 700 9px var(--mono);
}

.proof-points p {
  display: grid;
  margin: 0;
  gap: 2px;
}

.proof-points strong { font-size: 12px; }
.proof-points span { color: var(--muted); font-size: 10px; }

.evidence-console {
  border: 1px solid rgba(65, 255, 0, 0.42);
  border-radius: 16px;
  background: rgba(8, 13, 21, 0.95);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38), inset 0 0 70px rgba(65, 255, 0, 0.018);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 0 15px;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.console-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.console-bar span:first-child { background: var(--red); }
.console-bar span:nth-child(2) { background: var(--amber); }
.console-bar span:nth-child(3) { background: var(--lime); }

.console-bar em {
  margin-left: auto;
  color: var(--muted);
  font: normal 8px var(--mono);
}

.console-head {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1fr;
  border-bottom: 1px solid var(--line);
}

.console-head > div {
  display: grid;
  padding: 18px 22px;
  gap: 4px;
  border-right: 1px solid var(--line);
}

.console-head > div:last-child { border: 0; }
.console-head small { color: var(--muted); font: 700 7px var(--mono); }
.console-head strong { color: var(--red); font: 700 12px var(--mono); }
.console-head > div:nth-child(2) strong { color: var(--text); }
.console-head > div:nth-child(3) strong { color: var(--violet); }

.console-rule {
  margin: 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  color: var(--red);
  background: rgba(255, 102, 123, 0.055);
  font: 700 10px var(--mono);
}

.evidence-console dl {
  margin: 0 22px;
}

.evidence-console dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.evidence-console dt,
.evidence-console dd {
  margin: 0;
  font: 8px var(--mono);
}

.evidence-console dt { color: var(--muted); }
.evidence-console dd { color: var(--text); }
.evidence-console dd.ok { color: var(--lime); }

.flow-line {
  display: flex;
  align-items: center;
  margin: 23px 22px;
  gap: 8px;
}

.flow-line span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font: 700 7px var(--mono);
}

.flow-line span:last-child { border-color: rgba(255, 102, 123, 0.55); color: var(--red); }

.flow-line i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.digest {
  padding: 13px 22px;
  color: var(--muted);
  background: var(--surface);
  font: 7px var(--mono);
}

.control-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  padding: 54px;
  gap: 70px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 100%, rgba(141, 123, 255, 0.1), transparent 30rem),
    linear-gradient(135deg, rgba(17, 27, 42, 0.98), rgba(9, 14, 23, 0.98));
}

.decision-stack {
  display: grid;
  gap: 9px;
}

.decision {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  min-height: 66px;
  padding: 10px 14px;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(8, 11, 18, 0.58);
}

.decision-code {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  font: 700 9px var(--mono);
}

.decision-code.red { color: var(--red); }
.decision-code.green { color: var(--lime); }
.decision-code.amber { color: var(--amber); }
.decision-code.violet { color: var(--violet); }

.decision p { display: grid; margin: 0; }
.decision strong { font-size: 10px; }
.decision small { color: var(--muted); font-size: 8px; }
.decision > i { color: var(--muted); font-style: normal; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.platform-card {
  position: relative;
  min-height: 300px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 21, 33, 0.88);
  overflow: hidden;
}

.platform-card h3 { margin-top: 35px; }

.provider-row,
.scope-line {
  position: absolute;
  right: 26px;
  bottom: 27px;
  left: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.provider-row span,
.scope-line span {
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  text-align: center;
  font: 700 6px var(--mono);
}

.scope-line { grid-template-columns: repeat(3, 1fr); }
.scope-line span { border-color: rgba(141, 123, 255, 0.4); color: var(--violet); }

.vault-visual {
  position: absolute;
  right: 31px;
  bottom: 24px;
  width: 100px;
  height: 78px;
  border: 1px solid rgba(65, 255, 0, 0.48);
  border-radius: 10px;
  background: rgba(65, 255, 0, 0.035);
  box-shadow: inset 0 0 24px rgba(65, 255, 0, 0.05);
}

.vault-visual::before,
.vault-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid rgba(141, 123, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.vault-visual::before { width: 43px; height: 43px; }
.vault-visual::after { width: 58px; height: 58px; }
.vault-visual span { position: absolute; inset: 30px 40px; background: var(--violet); transform: rotate(45deg); }

.deployment-section {
  background: linear-gradient(90deg, rgba(65, 255, 0, 0.025), transparent 45%);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  gap: 15px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.deployment-matrix {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: 38px 1fr auto;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(12, 18, 29, 0.9);
}

.matrix-top {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.matrix-side {
  display: grid;
  grid-row: 2;
  grid-template-rows: repeat(4, 1fr);
}

.matrix-axis span {
  color: var(--muted);
  font: 700 7px var(--mono);
  text-align: center;
}

.matrix-side span {
  display: flex;
  align-items: center;
  text-align: left;
}

.matrix-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 66px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.matrix-cells i {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-cells i::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.matrix-cells i.on::before {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 13px rgba(65, 255, 0, 0.7);
}

.matrix-note {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  padding: 20px 3px 0;
  gap: 13px;
}

.matrix-note > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.matrix-note p { display: grid; margin: 0; }
.matrix-note strong { font-size: 10px; }
.matrix-note small { color: var(--muted); font-size: 8px; }

.demo-section {
  padding-bottom: 150px;
  background:
    radial-gradient(circle at 23% 60%, rgba(65, 255, 0, 0.06), transparent 25rem),
    linear-gradient(180deg, transparent, rgba(5, 7, 11, 0.8));
}

.pilot-list {
  display: grid;
  margin-top: 32px;
  gap: 11px;
}

.pilot-list div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.pilot-list b {
  color: var(--violet);
  font: 700 9px var(--mono);
}

.pilot-list span { color: var(--text); font-size: 11px; font-weight: 700; }

.privacy-note {
  display: flex;
  align-items: center;
  margin-top: 34px;
  padding: 15px 18px;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(14, 21, 33, 0.58);
}

.privacy-note > span { color: var(--lime); font-size: 20px; }
.privacy-note p { display: grid; margin: 0; }
.privacy-note strong { font-size: 10px; }
.privacy-note small { color: var(--muted); font-size: 8px; }

.demo-form {
  position: relative;
  padding: 31px;
  border: 1px solid rgba(85, 230, 212, 0.35);
  border-radius: 19px;
  background: rgba(12, 18, 29, 0.94);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.form-head span {
  font-family: "Segoe UI", Arial, "DejaVu Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  font-variant-ligatures: none;
}
.form-head em { color: var(--lime); font: normal 7px var(--mono); letter-spacing: 0.08em; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.demo-form label {
  display: grid;
  margin-bottom: 14px;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  color: var(--text);
  background: rgba(8, 11, 18, 0.72);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.demo-form input,
.demo-form select { height: 47px; padding: 0 13px; }
.demo-form textarea { min-height: 106px; padding: 12px 13px; resize: vertical; }

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(85, 230, 212, 0.08);
}

.demo-form input::placeholder,
.demo-form textarea::placeholder { color: #5f6d80; }
.demo-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.demo-form option { color: var(--text); background: var(--surface); }

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 5px;
  gap: 10px !important;
  cursor: pointer;
}

.consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--lime);
}

.honeypot {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
}

.form-submit { width: 100%; margin-top: 5px; border: 0; }
.form-status { min-height: 18px; margin: 12px 0 0; color: var(--cyan); font-size: 9px; text-align: center; }
.form-status.is-error { color: var(--red); }

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 210px;
  padding: 38px 0;
  gap: 35px;
}

.footer-grid > div:first-child img { width: 190px; }
.footer-grid > div:first-child p { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.footer-grid > p { grid-column: 1 / -1; margin: 0; color: #657287; font: 8px var(--mono); }

.footer-links {
  display: flex;
  gap: 11px;
}

.footer-links a,
.footer-links button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: 700 8px var(--mono);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  :root { --shell: min(100% - 32px, 900px); }

  .nav { gap: 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 720px; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline-track { display: none; }
  .flow-outcomes { grid-template-columns: repeat(2, 1fr); }
  .flow-outcomes > div:nth-child(2) { border-right: 0; }
  .flow-outcomes > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence-grid,
  .deployment-grid,
  .demo-grid { grid-template-columns: 1fr; gap: 54px; }
  .evidence-console { max-width: 720px; }
  .control-panel { grid-template-columns: 1fr; gap: 45px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 245px; }
  .deployment-matrix { max-width: 720px; }
  .demo-form { max-width: 720px; }
}

@media (max-width: 800px) {
  .site-header { background: rgba(8, 11, 18, 0.92); backdrop-filter: blur(18px); }
  .nav { min-height: 70px; gap: 10px; }
  .brand { width: 132px; }
  .nav-actions .button { display: none; }
  .nav-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 10px;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
  }
  .nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; background: var(--text); transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    padding: 19px max(20px, calc((100vw - var(--shell)) / 2));
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 18, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-actions { order: 2; }
  .language-switch button { width: 28px; }

  .hero { min-height: auto; padding-top: 124px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .hero-lead { font-size: 15px; }
  .metric-strip { margin-top: 48px; }
  .bento-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card-large { grid-column: 1; min-height: 300px; }
  .feature-card-large { min-height: 400px; }
  .section { padding: 90px 0; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .control-panel { padding: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > p { grid-column: 1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .shell {
    width: auto;
    max-width: none;
    margin-left: max(12px, env(safe-area-inset-left, 0px));
    margin-right: max(12px, env(safe-area-inset-right, 0px));
  }
  body::before { background-size: 54px 54px; }
  .hero-actions { display: grid; }
  .hero-tags span { font-size: 7px; }
  .video-label { display: none; }
  .visual-footer { align-items: flex-start; padding-block: 12px; gap: 9px; flex-direction: column; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .section-heading h2,
  .evidence-copy h2,
  .control-copy h2,
  .deployment-copy h2,
  .demo-copy h2 { font-size: 37px; }
  .section-heading h2,
  .evidence-copy h2,
  .control-copy h2,
  .deployment-copy h2,
  .demo-copy h2 { overflow-wrap: anywhere; }
  .feature-card,
  .feature-card-large { padding: 24px; }
  .mini-graph,
  .prompt-fragments { opacity: 0.32; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline article { min-height: 165px; }
  .pipeline article i { margin: 12px auto 18px; }
  .flow-outcomes { grid-template-columns: 1fr; }
  .flow-outcomes > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-outcomes > div:last-child { border-bottom: 0; }
  .evidence-console dl > div { grid-template-columns: 1fr; gap: 6px; }
  .console-head { grid-template-columns: 1fr; }
  .console-head > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-line { align-items: stretch; flex-direction: column; }
  .flow-line i { width: 1px; min-height: 17px; margin-left: 18px; }
  .control-panel { padding: 26px 22px; }
  .decision { grid-template-columns: 34px 1fr; }
  .decision > i { display: none; }
  .platform-card { padding: 24px; }
  .deployment-matrix { padding: 20px 14px; grid-template-columns: 49px 1fr; }
  .matrix-cells { grid-template-rows: repeat(4, 55px); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form { padding: 24px 19px; }
  .form-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}

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