:root {
  color-scheme: dark;
  --bg: #080907;
  --ink: #f7f4ec;
  --muted: rgba(247, 244, 236, 0.68);
  --quiet: rgba(247, 244, 236, 0.46);
  --line: rgba(247, 244, 236, 0.14);
  --line-strong: rgba(247, 244, 236, 0.24);
  --surface: rgba(247, 244, 236, 0.055);
  --surface-strong: rgba(247, 244, 236, 0.092);
  --paper: #eee8da;
  --paper-ink: #12130f;
  --paper-muted: rgba(18, 19, 15, 0.64);
  --accent: #c8e37f;
  --accent-soft: rgba(200, 227, 127, 0.14);
  --gold: #c49a57;
  --max: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(200, 227, 127, 0.06), transparent 30vw),
    linear-gradient(180deg, #080907 0%, #0d0e0b 46%, #080907 100%);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

img,
canvas { display: block; }

h1,
h2,
h3,
p { margin: 0; }

h1 {
  font-size: clamp(68px, 10.5vw, 148px);
  line-height: 0.86;
  font-weight: 700;
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.96;
  font-weight: 700;
}

h3 {
  font-size: clamp(21px, 2.1vw, 32px);
  line-height: 1.05;
  font-weight: 700;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
  padding: 18px clamp(20px, 4vw, 52px);
  background:
    linear-gradient(180deg, rgba(8, 9, 7, 0.86), rgba(8, 9, 7, 0.66));
  border-bottom: 1px solid rgba(247, 244, 236, 0.095);
  backdrop-filter: blur(22px) saturate(130%);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
}

.brand-mark img {
  width: 120px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--quiet);
  font: 600 11px/1 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.site-nav a,
.header-action,
.primary-action,
.secondary-action,
.product-strip {
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active { color: var(--ink); }

.site-nav a.is-active {
  text-shadow: 0 0 18px rgba(247, 244, 236, 0.18);
}

.header-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  background: rgba(247, 244, 236, 0.08);
  box-shadow: inset 0 1px 0 rgba(247, 244, 236, 0.09);
}

.header-action:hover,
.header-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(247, 244, 236, 0.42);
  background: rgba(247, 244, 236, 0.12);
}

.primary-action,
.secondary-action {
  min-height: 52px;
  padding: 0 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.primary-action {
  color: #101108;
  background: var(--accent);
  border-color: var(--accent);
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-1px);
  background: #dceca0;
  border-color: #dceca0;
}

.secondary-action { background: rgba(247, 244, 236, 0.07); }

.hero {
  position: relative;
  min-height: 88svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.58fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding: calc(var(--header-h) + 48px) clamp(20px, 5vw, 72px) 74px;
}

.hero-canvas,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #080907;
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.97) 0%, rgba(8, 9, 7, 0.78) 38%, rgba(8, 9, 7, 0.38) 66%, rgba(8, 9, 7, 0.82) 100%),
    linear-gradient(180deg, rgba(8, 9, 7, 0.2) 0%, rgba(8, 9, 7, 0) 48%, rgba(8, 9, 7, 0.92) 100%);
}

.hero-content {
  width: min(690px, 100%);
  padding-top: 14px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font: 600 12px/1.45 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 680px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(27px, 3.8vw, 52px);
  line-height: 1;
  font-weight: 700;
}

.hero-copy {
  max-width: 600px;
  margin-top: 20px;
  color: rgba(247, 244, 236, 0.76);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
}

.origin-line {
  max-width: 600px;
  margin-top: 18px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-soft);
  color: rgba(247, 244, 236, 0.72);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.45;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(247, 244, 236, 0.18);
  background: rgba(247, 244, 236, 0.045);
  color: rgba(247, 244, 236, 0.78);
  font: 600 11px/1.2 "JetBrains Mono", monospace;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(247, 244, 236, 0.06);
}

.mission-control {
  position: relative;
  justify-self: end;
  width: min(500px, 100%);
  border: 1px solid rgba(247, 244, 236, 0.2);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(200, 227, 127, 0.14), transparent 26vw),
    linear-gradient(135deg, rgba(247, 244, 236, 0.1), rgba(247, 244, 236, 0.03)),
    rgba(10, 12, 9, 0.74);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.mission-control::before,
.page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(200, 227, 127, 0.06) 42%, transparent 58%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.08), transparent 28%);
  opacity: 0.72;
  pointer-events: none;
}

.mission-control::after,
.page-visual::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 227, 127, 0.72), transparent);
  transform: translateX(-38%);
  animation: panelScan 7.2s ease-in-out infinite;
  pointer-events: none;
}

.mission-control > *,
.page-visual > * {
  position: relative;
  z-index: 1;
}

.mission-topline,
.surface-topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font: 600 11px/1.4 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.mission-query {
  padding: 22px 18px;
  color: var(--ink);
  font-size: clamp(22px, 2.7vw, 32px);
  line-height: 1.06;
  font-weight: 700;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.mission-grid div {
  position: relative;
  min-height: 138px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 360ms ease, border-color 360ms ease;
}

.mission-grid div:nth-child(2n) { border-right: 0; }
.mission-grid div:nth-last-child(-n+2) { border-bottom: 0; }

.mission-grid span {
  display: block;
  color: var(--gold);
  font: 600 11px/1 "JetBrains Mono", monospace;
}

.mission-grid strong {
  display: block;
  margin-top: 30px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.08;
}

.mission-grid em {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.32;
}

.mission-grid div::after,
.visual-flow div::after,
.theater-console div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 2px solid transparent;
  background: linear-gradient(90deg, rgba(200, 227, 127, 0.08), transparent 44%);
  opacity: 0;
  z-index: 0;
  transition: opacity 420ms ease, border-color 420ms ease;
  pointer-events: none;
}

.mission-grid div > *,
.visual-flow div > *,
.theater-console div > * {
  position: relative;
  z-index: 1;
}

.mission-grid div.is-active,
.visual-flow div.is-active,
.theater-console div.is-active {
  background: rgba(200, 227, 127, 0.035);
}

.mission-grid div.is-active::after,
.visual-flow div.is-active::after,
.theater-console div.is-active::after {
  border-left-color: rgba(200, 227, 127, 0.72);
  opacity: 1;
}

.mission-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.04);
}

.mission-ledger div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.mission-ledger div:last-child { border-right: 0; }

.mission-ledger span,
.ticker-track span,
.loop-column span,
.replace-grid span,
.dossier-heading span,
.dossier-rows span {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.mission-ledger strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
}

.mission-ledger em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.hero-tape {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  color: rgba(247, 244, 236, 0.64);
  font: 600 12px/1.3 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.evidence-ticker-section {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.025);
}

.ticker-track {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-width: max-content;
  padding: 16px clamp(20px, 5vw, 72px);
  animation: tickerMove 42s linear infinite;
}

.ticker-track strong {
  color: rgba(247, 244, 236, 0.78);
  font: 600 12px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.03);
}

.metric {
  min-height: 230px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

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

.metric strong {
  display: block;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 74px);
  line-height: 0.9;
}

.metric span {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.46;
}

.productivity-section,
.decision-record-section,
.data-plane-section,
.decision-loop-section,
.edge-section,
.vertical-section,
.replace-section,
.product-index,
.product-section,
.trust-section,
.final-cta,
.product-page-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-lede {
  display: block;
  max-width: 980px;
}

.section-lede > p:last-child {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.productivity-section {
  padding: clamp(78px, 10vw, 132px) 0 clamp(30px, 6vw, 72px);
}

.decision-record-section {
  padding: clamp(84px, 11vw, 142px) 0 clamp(34px, 6vw, 78px);
}

.record-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.84fr) minmax(240px, 1fr) minmax(240px, 1fr) minmax(220px, 0.84fr);
  gap: 1px;
  margin-top: clamp(42px, 7vw, 76px);
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
}

.record-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(200, 227, 127, 0.1), transparent);
  transform: translateX(-120%);
  animation: signalScan 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.record-panel {
  position: relative;
  min-height: 360px;
  padding: clamp(24px, 3.2vw, 36px);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(200, 227, 127, 0.08), transparent 24vw),
    #080907;
  overflow: hidden;
}

.record-panel::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 227, 127, 0.1), rgba(200, 227, 127, 0.72), rgba(200, 227, 127, 0.1));
  transform-origin: left;
  animation: productFlow 3.7s ease-in-out infinite;
}

.record-panel:nth-child(2)::after { animation-delay: 0.45s; }
.record-panel:nth-child(3)::after { animation-delay: 0.9s; }
.record-panel:nth-child(4)::after { animation-delay: 1.35s; }

.record-panel span,
.vertical-grid span {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.record-panel strong {
  display: block;
  margin-top: 72px;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.04;
}

.record-panel em {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.45;
}

.productivity-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(230px, 0.58fr) minmax(220px, 0.78fr);
  align-items: center;
  gap: clamp(18px, 4vw, 46px);
  min-height: 420px;
  margin-top: clamp(42px, 7vw, 76px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(200, 227, 127, 0.1), transparent 30vw),
    linear-gradient(135deg, rgba(247, 244, 236, 0.065), rgba(247, 244, 236, 0.018));
  overflow: hidden;
}

.productivity-visual::before,
.productivity-visual::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 227, 127, 0.82), transparent);
  transform-origin: left;
  animation: productFlow 3.2s ease-in-out infinite;
}

.productivity-visual::before {
  left: 25%;
  right: 55%;
}

.productivity-visual::after {
  left: 56%;
  right: 23%;
  animation-delay: 0.8s;
}

.productivity-column,
.productivity-core {
  position: relative;
  z-index: 1;
}

.productivity-column {
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(8, 9, 7, 0.68);
}

.productivity-column span,
.productivity-core strong,
.theater-core span,
.theater-output span,
.theater-console span {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.productivity-column strong {
  display: block;
  margin-top: 72px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.03;
}

.productivity-column em {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
  line-height: 1.45;
}

.productivity-core {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(200, 227, 127, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 227, 127, 0.22), rgba(200, 227, 127, 0.035) 58%, rgba(8, 9, 7, 0.88) 78%);
  text-align: center;
}

.productivity-core span {
  color: var(--ink);
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.9;
  font-weight: 700;
}

.productivity-core strong {
  width: min(160px, 70%);
  color: var(--accent);
}

.productivity-core i {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(200, 227, 127, 0.22);
  border-radius: 50%;
  animation: coreSpin 18s linear infinite;
}

.data-plane-section { padding: clamp(80px, 11vw, 140px) 0 clamp(66px, 9vw, 116px); }

.signal-wall {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(250px, 0.78fr) minmax(210px, 0.76fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  min-height: 460px;
  margin-top: clamp(46px, 8vw, 88px);
  padding: clamp(24px, 4vw, 50px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 227, 127, 0.1), transparent 33%),
    linear-gradient(90deg, rgba(247, 244, 236, 0.04), rgba(247, 244, 236, 0.01));
  overflow: hidden;
}

.signal-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 244, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 74%);
  opacity: 0.55;
}

.signal-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 36%;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 227, 127, 0.12) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: signalScan 7.5s ease-in-out infinite;
  pointer-events: none;
}

.signal-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.signal-lines path {
  fill: none;
  stroke: rgba(200, 227, 127, 0.34);
  stroke-width: 1.15;
  stroke-dasharray: 8 16;
  animation: flowDash 6s linear infinite;
}

.signal-lines path:nth-child(2),
.signal-lines path:nth-child(4) {
  stroke: rgba(212, 160, 77, 0.34);
  animation-duration: 7.5s;
  animation-direction: reverse;
}

.signal-lines circle {
  fill: var(--accent);
  filter: drop-shadow(0 0 14px rgba(200, 227, 127, 0.72));
}

.signal-stage,
.signal-core {
  position: relative;
  z-index: 2;
}

.signal-stage {
  display: grid;
  gap: 14px;
}

.signal-stage span,
.signal-core span,
.product-strip span,
.surface-label,
.surface-side > span,
.workflow-step span,
.trust-list li::marker,
.page-kicker,
.mini-panel span,
.alert-stack span {
  color: var(--gold);
  font: 600 12px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.signal-stage strong {
  display: block;
  min-height: 54px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 8, 0.72);
  color: rgba(247, 244, 236, 0.9);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.05;
}

.signal-core {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(200, 227, 127, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 227, 127, 0.18), rgba(200, 227, 127, 0.03) 50%, transparent 70%),
    rgba(9, 11, 8, 0.78);
  box-shadow: inset 0 0 60px rgba(200, 227, 127, 0.08);
}

.core-ring,
.signal-core::before,
.signal-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.core-ring {
  inset: 4%;
  border: 1px solid rgba(200, 227, 127, 0.2);
  animation: coreSpin 20s linear infinite;
}

.signal-core::before {
  inset: 15%;
  border: 1px solid rgba(247, 244, 236, 0.12);
  animation: coreSpin 16s linear infinite reverse;
}

.signal-core::after {
  inset: 27%;
  border: 1px solid rgba(212, 160, 77, 0.24);
  animation: coreSpin 12s linear infinite;
}

.signal-core strong {
  position: relative;
  z-index: 1;
  width: min(138px, 60%);
  padding: 8px 0;
  border-top: 1px solid rgba(247, 244, 236, 0.13);
  color: var(--ink);
  font: 700 clamp(16px, 2vw, 24px)/1 "DM Sans", sans-serif;
  text-align: center;
}

.signal-core span {
  position: relative;
  z-index: 1;
  color: var(--accent);
}

.decision-loop-section {
  padding: clamp(42px, 7vw, 82px) 0 clamp(82px, 12vw, 150px);
}

.loop-console {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(42px, 7vw, 76px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(200, 227, 127, 0.09), transparent 26vw),
    rgba(247, 244, 236, 0.025);
  overflow: hidden;
}

.loop-column {
  position: relative;
  min-height: 310px;
  padding: clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--line);
}

.loop-column:last-child { border-right: 0; }

.loop-column::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(200, 227, 127, 0.1), rgba(200, 227, 127, 0.86), rgba(200, 227, 127, 0.1));
  transform-origin: left;
  animation: loopPulse 3.2s ease-in-out infinite;
}

.loop-column:nth-child(2)::after { animation-delay: 0.35s; }
.loop-column:nth-child(3)::after { animation-delay: 0.7s; }
.loop-column:nth-child(4)::after { animation-delay: 1.05s; }

.loop-column strong {
  display: block;
  margin-top: 76px;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.05;
}

.loop-column p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.edge-section {
  padding: 0 0 clamp(82px, 12vw, 150px);
}

.edge-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(42px, 7vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.edge-item {
  min-height: 360px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.045), rgba(247, 244, 236, 0.012));
}

.edge-item:last-child { border-right: 0; }

.edge-item span {
  color: var(--gold);
  font: 600 12px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.edge-item h3 {
  max-width: 420px;
  margin-top: 74px;
}

.edge-item p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.vertical-section {
  padding: 0 0 clamp(82px, 12vw, 150px);
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(42px, 7vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vertical-grid article {
  min-height: 330px;
  padding: clamp(24px, 3.4vw, 36px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.042), rgba(247, 244, 236, 0.012));
}

.vertical-grid article:last-child { border-right: 0; }

.vertical-grid h3 {
  margin-top: 74px;
}

.vertical-grid p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.replace-section {
  padding: 0 0 clamp(82px, 12vw, 150px);
}

.replace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(34px, 6vw, 62px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.replace-grid div {
  min-height: 250px;
  padding: clamp(26px, 4vw, 44px);
  border-right: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.025);
}

.replace-grid div:last-child {
  border-right: 0;
  background: linear-gradient(135deg, rgba(200, 227, 127, 0.08), rgba(247, 244, 236, 0.018));
}

.replace-grid strong {
  display: block;
  margin-top: 52px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.04;
}

.product-index { padding: 0 0 clamp(82px, 12vw, 150px); }

.product-strips {
  display: grid;
  margin-top: clamp(42px, 7vw, 76px);
  border-top: 1px solid var(--line);
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(270px, 0.42fr) minmax(260px, 0.36fr) auto;
  gap: clamp(18px, 4vw, 54px);
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at var(--spot-x, 70%) var(--spot-y, 50%), rgba(200, 227, 127, 0.09), transparent 28vw),
    transparent;
}

.product-strip:hover,
.product-strip:focus-visible {
  transform: translateX(8px);
}

.product-strip p,
.workflow-copy p,
.workflow-step p,
.trust-list p,
.trust-list li,
.alert-stack em,
.mini-panel p,
.page-copy p,
.page-feature p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.product-strip em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.product-matrix {
  margin-top: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.025);
  overflow: hidden;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(170px, 1fr) minmax(190px, 1.12fr) minmax(180px, 1.08fr) minmax(170px, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.matrix-row:last-child { border-bottom: 0; }

.matrix-head {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
  background: rgba(247, 244, 236, 0.04);
}

.matrix-row strong {
  color: var(--ink);
  font-size: 18px;
}

.matrix-row span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(40px, 7vw, 96px);
  padding: clamp(86px, 12vw, 152px) clamp(20px, 5vw, 72px);
  background: var(--paper);
  color: var(--paper-ink);
}

.workflow-section .section-kicker { color: #735719; }

.workflow-copy {
  position: sticky;
  top: calc(var(--header-h) + 42px);
  align-self: start;
}

.workflow-copy p:last-child {
  max-width: 560px;
  margin-top: 26px;
  color: var(--paper-muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.workflow-rail {
  display: grid;
  gap: 18px;
}

.workflow-step {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(18, 19, 15, 0.18);
  background: rgba(255, 255, 255, 0.32);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.workflow-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--paper-ink);
  transform: scaleY(0.18);
  transform-origin: top;
  transition: transform 260ms ease, background 260ms ease;
}

.workflow-step.is-active {
  transform: translateX(-8px);
  border-color: rgba(18, 19, 15, 0.42);
  background: rgba(255, 255, 255, 0.55);
}

.workflow-step.is-active::before {
  transform: scaleY(1);
  background: #6b5018;
}

.workflow-step h3 {
  max-width: 430px;
  margin-top: 54px;
  color: var(--paper-ink);
}

.workflow-step p {
  margin-top: 18px;
  color: var(--paper-muted);
}

.product-section { padding: clamp(92px, 13vw, 170px) 0; }

.product-surface {
  position: relative;
  margin-top: clamp(44px, 7vw, 82px);
  border: 1px solid rgba(247, 244, 236, 0.18);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(200, 227, 127, 0.12), transparent 26vw),
    linear-gradient(135deg, rgba(247, 244, 236, 0.1), rgba(247, 244, 236, 0.025)),
    #0d0f0b;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.surface-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  min-height: 520px;
}

.surface-main {
  padding: clamp(28px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.surface-main h3 {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 0.98;
}

.alert-stack {
  display: grid;
  margin-top: clamp(42px, 7vw, 82px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.alert-stack div {
  display: grid;
  grid-template-columns: minmax(120px, 0.2fr) minmax(220px, 0.55fr) minmax(120px, 0.25fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.alert-stack div:last-child { border-bottom: 0; }
.alert-stack strong { font-size: clamp(18px, 2vw, 27px); }

.surface-side { padding: 26px; }

.surface-side ol {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.surface-side li {
  position: relative;
  padding-left: 24px;
}

.surface-side li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--quiet);
  border-radius: 50%;
}

.surface-side li.is-done::before,
.surface-side li.is-live::before {
  border-color: var(--accent);
  background: var(--accent);
}

.surface-side li.is-live { color: var(--ink); }

.surface-side li.is-live::after {
  content: "";
  position: absolute;
  top: 1px;
  left: -3px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(200, 227, 127, 0.58);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(70px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding-left: 22px;
  border-left: 2px solid var(--accent-soft);
}

.final-cta {
  padding: clamp(88px, 14vw, 170px) 0 clamp(96px, 14vw, 180px);
  text-align: center;
}

.final-cta h2 {
  max-width: 980px;
  margin: 0 auto;
}

.final-actions { justify-content: center; }

.product-page-hero {
  position: relative;
  min-height: 74svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 0.42fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: calc(var(--header-h) + 70px) clamp(20px, 5vw, 72px) clamp(58px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.product-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 36%, rgba(200, 227, 127, 0.13), transparent 26vw),
    radial-gradient(circle at 30% 68%, rgba(212, 160, 77, 0.11), transparent 30vw),
    linear-gradient(135deg, #080907 0%, #10130d 54%, #080907 100%);
}

.product-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(247, 244, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, black 0%, transparent 86%);
}

.page-copy {
  width: min(860px, 100%);
}

.page-title {
  max-width: 860px;
  font-size: clamp(44px, 5.15vw, 76px);
  line-height: 0.96;
}

.page-copy p:not(.page-kicker) {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(18px, 1.52vw, 21px);
  line-height: 1.42;
  color: rgba(247, 244, 236, 0.76);
}

.page-visual {
  position: relative;
  justify-self: end;
  width: min(480px, 100%);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(200, 227, 127, 0.12), transparent 26vw),
    linear-gradient(145deg, rgba(247, 244, 236, 0.1), rgba(247, 244, 236, 0.025)),
    rgba(10, 12, 9, 0.74);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.visual-body {
  display: grid;
}

.visual-primary {
  min-height: 196px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.visual-primary span,
.visual-flow span {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.visual-primary strong {
  display: block;
  margin-top: 48px;
  color: var(--ink);
  font-size: clamp(27px, 2.75vw, 39px);
  line-height: 1.04;
}

.visual-flow {
  display: grid;
}

.visual-flow div {
  position: relative;
  padding: 18px 20px 18px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 360ms ease;
}

.visual-flow div:last-child { border-bottom: 0; }

.visual-flow div::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(200, 227, 127, 0.72), rgba(200, 227, 127, 0.08));
}

.visual-flow div.is-active::before {
  background: linear-gradient(180deg, rgba(200, 227, 127, 1), rgba(200, 227, 127, 0.18));
  box-shadow: 0 0 16px rgba(200, 227, 127, 0.28);
}

.visual-flow strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.visual-flow em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
}

.page-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.035), transparent 42%, rgba(200, 227, 127, 0.025));
}

.page-proof-row div {
  min-height: 170px;
  padding: clamp(24px, 3.4vw, 36px);
  border-right: 1px solid var(--line);
}

.page-proof-row div:last-child { border-right: 0; }

.page-proof-row strong {
  display: block;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 0.95;
}

.page-proof-row span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.page-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.036), rgba(247, 244, 236, 0.014));
}

.page-trust-strip div {
  min-height: 168px;
  padding: clamp(24px, 3.4vw, 36px);
  border-right: 1px solid var(--line);
}

.page-trust-strip div:last-child { border-right: 0; }

.page-trust-strip span {
  color: var(--gold);
  font: 600 11px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.page-trust-strip strong {
  display: block;
  margin-top: 38px;
  color: var(--ink);
  font-size: clamp(19px, 1.72vw, 25px);
  line-height: 1.08;
}

.product-theater {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 130px) 0 clamp(24px, 6vw, 70px);
}

.product-page-section > .product-theater {
  width: 100%;
  padding-top: 0;
}

.theater-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 1px;
  margin-top: clamp(42px, 7vw, 76px);
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
}

.theater-map,
.theater-console {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(200, 227, 127, 0.1), transparent 32vw),
    linear-gradient(135deg, rgba(247, 244, 236, 0.03), transparent 56%),
    #080907;
  overflow: hidden;
}

.theater-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 244, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
}

.theater-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 227, 127, 0.09), transparent);
  transform: translateX(-120%);
  animation: signalScan 8s ease-in-out infinite;
  pointer-events: none;
}

.theater-node,
.theater-core,
.theater-output {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  background: rgba(8, 9, 7, 0.82);
  backdrop-filter: blur(12px);
}

.theater-node {
  min-width: 126px;
  padding: 12px 14px;
  color: rgba(247, 244, 236, 0.82);
  font: 600 11px/1.25 "JetBrains Mono", monospace;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(247, 244, 236, 0.055);
  transition: border-color 360ms ease, background 360ms ease, color 360ms ease, transform 360ms ease;
}

.theater-node.is-active {
  color: var(--ink);
  border-color: rgba(200, 227, 127, 0.5);
  background: rgba(27, 35, 20, 0.9);
  transform: translateY(-2px);
}

.node-a { left: 8%; top: 14%; }
.node-b { left: 9%; bottom: 18%; }
.node-c { right: 10%; top: 16%; }
.node-d { right: 8%; bottom: 18%; }

.theater-core {
  left: 50%;
  top: 50%;
  width: min(230px, 42%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-color: rgba(200, 227, 127, 0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 227, 127, 0.18), rgba(200, 227, 127, 0.035) 64%, rgba(8, 9, 7, 0.88) 78%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.theater-core::before {
  content: "";
  position: absolute;
  inset: -14%;
  border: 1px solid rgba(200, 227, 127, 0.2);
  border-radius: 50%;
  animation: coreBreath 4.6s ease-in-out infinite;
}

.theater-core > * {
  position: relative;
  z-index: 1;
}

.theater-core strong {
  width: min(150px, 72%);
  color: var(--ink);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.theater-output {
  left: 50%;
  bottom: 34px;
  width: min(330px, calc(100% - 48px));
  padding: 18px 20px;
  transform: translateX(-50%);
}

.theater-output strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.1;
}

.beam {
  position: absolute;
  z-index: 0;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 227, 127, 0.8), transparent);
  transform-origin: left;
  animation: beamSweep 3.6s ease-in-out infinite;
}

.beam::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(200, 227, 127, 0.72);
  animation: beamDot 3.6s ease-in-out infinite;
}

.beam-two {
  transform: rotate(26deg);
  animation-delay: 0.7s;
}

.beam-two::after { animation-delay: 0.7s; }

.beam-three {
  transform: rotate(-26deg);
  animation-delay: 1.4s;
}

.beam-three::after { animation-delay: 1.4s; }

.theater-console {
  display: grid;
}

.theater-console div {
  position: relative;
  min-height: 170px;
  padding: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  transition: background 360ms ease;
}

.theater-console div:last-child { border-bottom: 0; }

.theater-console strong {
  display: block;
  margin-top: 38px;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.05;
}

.theater-console em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.42;
}

.product-page-section {
  padding: clamp(82px, 12vw, 150px) 0;
}

.page-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 7vw, 76px);
  background: var(--line);
  border: 1px solid var(--line);
}

.highlights-grid .page-feature {
  min-height: 280px;
}

.page-feature {
  min-height: 320px;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 227, 127, 0.08), transparent 22vw),
    #080907;
}

.page-feature h3 { margin-top: 70px; }
.page-feature p { margin-top: 18px; }

.page-operation-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.045), rgba(247, 244, 236, 0.015));
}

.page-operation-strip div {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.page-operation-strip div:last-child { border-right: 0; }

.page-operation-strip span {
  color: var(--gold);
  font: 600 12px/1.35 "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.page-operation-strip strong {
  display: block;
  margin-top: 48px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.page-operation-strip em {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.42;
}

.case-dossier {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  margin-top: clamp(28px, 5vw, 52px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dossier-heading {
  padding: clamp(24px, 4vw, 40px);
  border-right: 1px solid var(--line);
}

.dossier-heading h3 {
  margin-top: 60px;
  font-size: clamp(26px, 3.5vw, 50px);
}

.dossier-rows {
  display: grid;
}

.dossier-rows div {
  padding: 24px clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.dossier-rows div:last-child { border-bottom: 0; }

.dossier-rows strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.12;
}

.dossier-rows em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
}

.mini-terminal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.45fr);
  margin-top: clamp(44px, 7vw, 82px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 24%, rgba(200, 227, 127, 0.1), transparent 26vw),
    rgba(247, 244, 236, 0.035);
}

.mini-panel {
  min-height: 430px;
  padding: clamp(24px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.mini-panel:last-child { border-right: 0; }

.mini-panel h3 {
  margin-top: 18px;
  font-size: clamp(28px, 4vw, 54px);
}

.mini-panel p { margin-top: 20px; }

.mini-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.mini-list strong { color: var(--ink); }

[data-reveal] {
  opacity: 1;
  transform: translateY(16px);
  transition: transform 700ms ease;
}

[data-reveal].is-visible { transform: translateY(0); }

@keyframes pulse {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.86);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes flowDash {
  to { stroke-dashoffset: -144; }
}

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

@keyframes signalScan {
  0%, 18% { transform: translateX(-120%); opacity: 0; }
  34%, 64% { opacity: 1; }
  82%, 100% { transform: translateX(320%); opacity: 0; }
}

@keyframes tickerMove {
  to { transform: translateX(-100%); }
}

@keyframes loopPulse {
  0%, 100% { opacity: 0.18; transform: scaleX(0.24); }
  50% { opacity: 0.9; transform: scaleX(1); }
}

@keyframes productFlow {
  0%, 100% { opacity: 0.18; transform: scaleX(0.24); }
  48%, 58% { opacity: 0.9; transform: scaleX(1); }
}

@keyframes beamSweep {
  0%, 100% { opacity: 0.18; transform: scaleX(0.24); }
  50% { opacity: 0.85; transform: scaleX(1); }
}

@keyframes beamDot {
  0%, 16% { opacity: 0; transform: translateX(0); }
  34%, 74% { opacity: 1; }
  100% { opacity: 0; transform: translateX(58vw); }
}

@keyframes coreBreath {
  0%, 100% { opacity: 0.18; transform: scale(0.94); }
  50% { opacity: 0.55; transform: scale(1.03); }
}

@keyframes panelScan {
  0%, 100% { opacity: 0; transform: translateX(-42%); }
  18%, 62% { opacity: 0.84; }
  78% { opacity: 0; transform: translateX(42%); }
}

@media (max-width: 1040px) {
  .hero,
  .product-page-hero,
  .section-lede,
  .workflow-section,
  .trust-section,
  .productivity-visual,
  .record-visual,
  .theater-grid,
  .mini-terminal,
  .case-dossier { grid-template-columns: 1fr; }

  .mission-control {
    justify-self: stretch;
    width: 100%;
    max-width: 720px;
  }

  .page-visual {
    justify-self: stretch;
    width: 100%;
    max-width: 720px;
  }

  .metric-band,
  .loop-console,
  .edge-rail,
  .vertical-grid,
  .page-proof-row,
  .page-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .metric:nth-child(2n),
  .page-proof-row div:nth-child(2n),
  .page-trust-strip div:nth-child(2n),
  .vertical-grid article:nth-child(2n) { border-right: 0; }

  .metric:nth-child(-n+2),
  .page-trust-strip div:nth-child(-n+2),
  .vertical-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .product-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .matrix-head { display: none; }

  .matrix-row span::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font: 600 10px/1.25 "JetBrains Mono", monospace;
    text-transform: uppercase;
  }

  .workflow-copy { position: static; }
  .surface-body { grid-template-columns: 1fr; }

  .surface-main,
  .mini-panel,
  .dossier-heading {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mini-panel:last-child { border-bottom: 0; }
}

@media (max-width: 820px) {
  :root { --header-h: 112px; }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 18px 10px;
    overflow: hidden;
  }

  .brand-mark { min-width: 0; }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(247, 244, 236, 0.16);
    border-radius: 999px;
    background: rgba(247, 244, 236, 0.045);
    font-size: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, black 0%, black calc(100% - 34px), transparent 100%);
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 9px;
    border-radius: 999px;
  }

  .site-nav a.is-active,
  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(247, 244, 236, 0.09);
  }

  .brand-mark img { width: 104px; }

  .header-action {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    max-inline-size: 100vw;
    min-height: 820px;
    padding: calc(var(--header-h) + 34px) 18px 58px;
    overflow: hidden;
  }

  .hero-content,
  .page-copy,
  .mission-control,
  .page-visual,
  .productivity-visual,
  .theater-grid {
    min-width: 0;
    max-width: 100%;
  }

  .hero-content,
  .page-copy,
  .page-title,
  .page-copy p:not(.page-kicker),
  .hero-statement,
  .hero-copy,
  .origin-line,
  .hero-actions,
  .mission-control,
  .page-visual {
    max-width: calc(100vw - 36px);
  }

  h1,
  .page-title,
  .hero-statement,
  .hero-copy,
  .origin-line,
  .mission-query,
  .visual-primary strong,
  .final-cta h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 9, 7, 0.97) 0%, rgba(8, 9, 7, 0.78) 74%, rgba(8, 9, 7, 0.58) 100%),
      linear-gradient(180deg, rgba(8, 9, 7, 0.18) 0%, rgba(8, 9, 7, 0.08) 48%, rgba(8, 9, 7, 0.94) 100%);
  }

  .hero-tape {
    position: static;
    margin-top: 44px;
  }

  .mission-grid,
  .mission-ledger,
  .metric-band,
  .productivity-visual,
  .record-visual,
  .loop-console,
  .edge-rail,
  .vertical-grid,
  .replace-grid,
  .page-proof-row,
  .page-trust-strip,
  .page-feature-grid,
  .page-operation-strip { grid-template-columns: 1fr; }

  .mission-grid div,
  .mission-grid div:nth-child(2n),
  .mission-grid div:nth-last-child(-n+2),
  .metric,
  .metric:nth-child(2n),
  .productivity-column,
  .record-panel,
  .mission-ledger div,
  .loop-column,
  .replace-grid div,
  .page-proof-row div,
  .page-proof-row div:nth-child(2n),
  .page-trust-strip div,
  .page-trust-strip div:nth-child(2n),
  .edge-item,
  .vertical-grid article,
  .dossier-heading,
  .dossier-rows div,
  .page-operation-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mission-grid div:last-child,
  .metric:last-child,
  .productivity-column:last-child,
  .record-panel:last-child,
  .mission-ledger div:last-child,
  .loop-column:last-child,
  .replace-grid div:last-child,
  .page-proof-row div:last-child,
  .page-trust-strip div:last-child,
  .edge-item:last-child,
  .vertical-grid article:last-child,
  .dossier-heading:last-child,
  .dossier-rows div:last-child,
  .page-operation-strip div:last-child { border-bottom: 0; }

  .productivity-visual::before,
  .productivity-visual::after {
    left: 50%;
    right: auto;
    top: 30%;
    width: 1px;
    height: 38%;
    transform-origin: top;
  }

  .theater-map,
  .theater-console { min-height: 430px; }

  .signal-wall {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
  }

  .signal-lines { display: none; }

  .signal-core {
    width: min(270px, 100%);
    justify-self: center;
  }

  .workflow-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .alert-stack div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(54px, 16vw, 82px); }
  h2 { font-size: clamp(36px, 11vw, 58px); }
  .hero-statement {
    max-width: min(100%, 350px);
    font-size: clamp(27px, 8vw, 37px);
  }
  .hero-content,
  .hero-copy,
  .origin-line,
  .mission-control,
  .mission-query {
    max-width: 354px;
  }

  .mission-control {
    justify-self: start;
    width: min(100%, 354px);
  }

  .hero-copy {
    font-size: 17px;
    overflow-wrap: anywhere;
  }
  .page-title {
    max-width: min(100%, 340px);
    font-size: clamp(36px, 10vw, 44px);
  }

  .page-copy p:not(.page-kicker) {
    max-width: min(100%, 340px);
  }

  .product-page-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 52px);
  }

  .page-visual {
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  }

  .visual-topline { flex-direction: column; }

  .visual-primary strong,
  .theater-console strong {
    font-size: clamp(24px, 7vw, 32px);
    word-break: break-word;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-page-hero .hero-actions,
  .product-page-section .hero-actions,
  .final-actions {
    width: 100%;
    max-width: min(100%, 340px);
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    max-width: 100%;
  }

  .mission-topline,
  .surface-topbar { flex-direction: column; }

  .data-plane-section,
  .productivity-section,
  .decision-record-section,
  .decision-loop-section,
  .edge-section,
  .vertical-section,
  .replace-section,
  .product-index,
  .product-section,
  .trust-section,
  .final-cta,
  .product-page-section,
  .product-theater { width: calc(100% - 32px); }

  .productivity-core {
    width: min(260px, 100%);
    justify-self: center;
  }

  .theater-map { min-height: 480px; }

  .theater-node {
    min-width: 108px;
    padding: 10px 12px;
    font-size: 10px;
  }

  .theater-core {
    width: min(190px, 58%);
  }

  .theater-output {
    bottom: 22px;
    width: calc(100% - 28px);
  }
}

@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;
  }

  .signal-lines circle { display: none; }

  [data-reveal] { transform: none; }
}
