:root {
  --bg: #030719;
  --bg-elevated: #070d28;
  --panel: rgba(12, 18, 48, 0.72);
  --panel-strong: rgba(16, 22, 58, 0.94);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.085);
  --text: #f7f8ff;
  --text-strong: #ffffff;
  --muted: #a5afd8;
  --faint: #737da8;
  --line: rgba(183, 155, 255, 0.24);
  --line-strong: rgba(183, 155, 255, 0.46);
  --purple: #7c4dff;
  --purple-deep: #4b22bc;
  --lavender: #b79bff;
  --green: #28d596;
  --danger: #ff89a8;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --glow: 0 0 30px rgba(124, 77, 255, 0.34);
  --radius: 8px;
  --max: 1160px;
  --display: "Michroma", "Arial Black", Arial, sans-serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(14, 22, 66, 0.95), var(--bg) 34%, #020513 100%),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -2px;
  z-index: -3;
  background-image:
    linear-gradient(rgba(124, 77, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black 0%, black 68%, transparent 100%);
  animation: grid-drift 28s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(90deg, rgba(3, 7, 25, 0.7), transparent 20%, transparent 80%, rgba(3, 7, 25, 0.7));
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px max(40px, env(safe-area-inset-right)) 12px max(40px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(183, 155, 255, 0.08);
  background: rgba(3, 7, 25, 0.72);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text-strong);
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--glow);
  overflow: hidden;
}

.brand-icon img {
  width: 25px;
  height: 29px;
  object-fit: contain;
}

.brand-text,
.footer-brand span:last-child {
  font-family: var(--display);
  font-size: 15px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.site-footer a {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #d5daf5;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--lavender));
  opacity: 0;
  transform: scaleX(0.5);
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-footer a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition-property: transform, border-color, box-shadow, background;
  transition-duration: 180ms;
  transition-timing-function: ease;
}

.header-cta,
.button-primary {
  border-color: rgba(183, 155, 255, 0.64);
  background: linear-gradient(90deg, var(--purple-deep), var(--purple) 62%, var(--lavender));
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.38);
}

.button-secondary {
  background: rgba(5, 8, 28, 0.58);
  color: #d5daf5;
}

.button:hover,
.header-cta:hover,
.loop-tab:hover,
.timeline-step:hover,
.motion-item:hover,
.table-row:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 155, 255, 0.82);
  box-shadow: 0 0 24px rgba(124, 77, 255, 0.25);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 92px max(40px, calc((100vw - var(--max)) / 2));
  scroll-margin-top: 92px;
}

.hero {
  min-height: calc(88svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 64px;
  padding-top: 54px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(183, 155, 255, 0.18);
}

.hero-copy h1,
.section-heading h2,
.closing-copy h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 610px;
  font-size: 52px;
}

.hero-copy h1 span {
  display: block;
}

.accent-word {
  color: var(--lavender);
  text-shadow: 0 0 28px rgba(124, 77, 255, 0.46);
}

.hero-lead,
.section-heading p,
.closing-copy p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

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

.governance-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 132px 1fr;
  align-items: center;
  gap: 24px;
}

.orbit-shell {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(183, 155, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 36s linear infinite;
}

.orbit-shell::before,
.orbit-shell::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(183, 155, 255, 0.2);
  border-radius: 50%;
}

.orbit-shell::after {
  inset: 30%;
  border-style: solid;
}

.bridge-line {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--lavender), var(--purple), transparent);
  box-shadow: 0 0 18px rgba(124, 77, 255, 0.42);
}

.bridge-node {
  position: relative;
  z-index: 2;
  min-height: 174px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(5, 8, 28, 0.76);
  box-shadow: var(--shadow);
}

.bridge-node span,
.ctl-core span,
.motion-item small,
.section-label,
.config-diff dt,
.recommendation span,
.timeline-step span {
  display: block;
  color: var(--lavender);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.bridge-node strong {
  display: block;
  margin-top: 9px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
}

.bridge-node ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: #d9ddf7;
}

.bridge-node li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bridge-node li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(124, 77, 255, 0.88);
}

.ctl-core {
  position: relative;
  z-index: 3;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(183, 155, 255, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.34), rgba(5, 8, 28, 0.94) 72%);
  box-shadow: var(--glow), inset 0 0 30px rgba(183, 155, 255, 0.14);
}

.ctl-core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(183, 155, 255, 0.35);
  border-radius: 50%;
  animation: spin 15s linear infinite reverse;
}

.ctl-core img {
  width: 42px;
  height: 48px;
  object-fit: contain;
}

.ctl-core strong {
  display: block;
  margin-top: 4px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-signals {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.motion-item {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(5, 8, 28, 0.52);
  color: var(--text);
  text-align: center;
}

.motion-item span {
  display: block;
  margin-top: 4px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
}

.motion-item b {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.motion-item.is-active {
  border-color: rgba(183, 155, 255, 0.8);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.28), rgba(183, 155, 255, 0.06));
  box-shadow: var(--glow);
}

.governance-visual[data-mode="monitor"] .bridge-line,
.governance-visual[data-mode="monitor"] .motion-item.is-active {
  filter: hue-rotate(52deg);
}

.governance-visual[data-mode="optimize"] .orbit-shell {
  animation-duration: 18s;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 34px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.section-heading.compact {
  max-width: 560px;
}

.section-heading h2,
.closing-copy h2 {
  font-size: 40px;
}

.watchtower-section,
.loop-section,
.outcomes-section {
  border-bottom: 1px solid rgba(183, 155, 255, 0.16);
}

.governance-ledger {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(5, 8, 28, 0.56);
  overflow: hidden;
}

.governance-ledger article {
  display: grid;
  grid-template-columns: 78px 180px 1fr 1fr;
  gap: 28px;
  align-items: center;
  min-height: 118px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(183, 155, 255, 0.18);
}

.governance-ledger article:last-child {
  border-bottom: 0;
}

.governance-ledger svg {
  width: 48px;
  height: 48px;
  color: var(--lavender);
}

.governance-ledger path,
.governance-ledger rect,
.governance-ledger circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.governance-ledger h3 {
  margin: 0;
  color: var(--lavender);
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
}

.governance-ledger p {
  margin: 0;
  color: var(--muted);
}

.digital-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 42px;
  align-items: center;
}

.digital-map {
  position: relative;
  min-height: 460px;
  border: 1px solid rgba(183, 155, 255, 0.14);
  background-image:
    linear-gradient(rgba(183, 155, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 155, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 134px;
  height: 134px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(5, 8, 28, 0.76);
  box-shadow: var(--glow), 0 0 0 18px rgba(124, 77, 255, 0.06);
  z-index: 3;
}

.map-core img {
  width: 58px;
  height: 64px;
  object-fit: contain;
}

.map-node {
  position: absolute;
  z-index: 4;
  min-width: 116px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.node-agents { left: 32%; top: 26px; }
.node-tools { right: 26%; top: 60px; }
.node-data { right: 6%; top: 45%; }
.node-models { right: 17%; bottom: 64px; }
.node-policies { left: 42%; bottom: 30px; }
.node-permissions { left: 7%; bottom: 106px; }
.node-workflows { left: 10%; top: 33%; }

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-lines path {
  fill: none;
  stroke: rgba(183, 155, 255, 0.48);
  stroke-width: 1.4;
  stroke-dasharray: 4 8;
  animation: dash 10s linear infinite;
}

.twin-proof {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(5, 8, 28, 0.52);
}

.twin-proof article {
  min-height: 102px;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  align-items: start;
  padding: 22px;
  border-bottom: 1px solid rgba(183, 155, 255, 0.16);
}

.twin-proof article:last-child {
  border-bottom: 0;
}

.twin-proof span {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--lavender);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(124, 77, 255, 0.45);
}

.twin-proof h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 14px;
}

.twin-proof p {
  grid-column: 2;
  margin: 6px 0 0;
  color: var(--muted);
}

.loop-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: start;
}

.loop-section .section-heading {
  margin-bottom: 0;
}

.product-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(5, 8, 28, 0.64);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.loop-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.loop-tab {
  min-height: 56px;
  border: 0;
  border-right: 1px solid rgba(183, 155, 255, 0.16);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.loop-tab.is-active {
  color: var(--text-strong);
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.34), rgba(183, 155, 255, 0.16));
}

.product-panel {
  min-height: 410px;
  padding: 26px;
}

.panel-copy {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 24px;
}

.panel-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 24px;
  line-height: 1.16;
}

.panel-copy p {
  margin: 0;
  color: var(--muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.run-table,
.config-diff,
.metric-plot,
.signal-list,
.frontier,
.recommendation {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.table-row {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(183, 155, 255, 0.14);
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

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

.table-head {
  min-height: 44px;
  color: var(--lavender);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(124, 77, 255, 0.1);
}

.table-row.is-selected {
  color: var(--text-strong);
  background: rgba(124, 77, 255, 0.14);
}

.config-diff,
.metric-plot,
.frontier,
.recommendation {
  padding: 20px;
}

.config-diff h4,
.recommendation h4 {
  margin: 0 0 18px;
  color: var(--text-strong);
  font-size: 19px;
}

.config-diff dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.config-diff div {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 16px;
  border-bottom: 1px solid rgba(183, 155, 255, 0.13);
  padding-bottom: 12px;
}

.config-diff div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.config-diff dd {
  margin: 0;
  color: var(--text);
}

.monitor-grid,
.optimize-grid {
  grid-template-columns: 1fr 1fr;
}

.health-banner {
  grid-column: 1 / -1;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(40, 213, 150, 0.38);
  border-radius: var(--radius);
  padding: 0 20px;
  color: #bfffe7;
  background: rgba(40, 213, 150, 0.08);
  font-weight: 700;
}

.health-banner span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(40, 213, 150, 0.58);
}

.metric-plot strong {
  display: block;
  margin-bottom: 10px;
}

.metric-plot svg,
.frontier svg {
  width: 100%;
  height: auto;
}

.metric-plot path,
.frontier path {
  fill: none;
  stroke: var(--lavender);
  stroke-width: 4;
}

.metric-plot path + path {
  stroke: var(--green);
}

.signal-list {
  display: grid;
}

.signal-list div {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(183, 155, 255, 0.14);
  padding: 0 20px;
}

.signal-list div:last-child {
  border-bottom: 0;
}

.signal-list span,
.recommendation p {
  color: var(--muted);
}

.frontier circle {
  fill: rgba(183, 155, 255, 0.36);
}

.frontier .recommended {
  fill: var(--green);
  stroke: var(--text-strong);
  stroke-width: 5;
}

.recommendation span {
  color: var(--green);
  margin-bottom: 14px;
}

.onboarding-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(5, 8, 28, 0.54);
}

.timeline-step {
  position: relative;
  min-height: 180px;
  border: 0;
  border-right: 1px solid rgba(183, 155, 255, 0.24);
  padding: 22px 18px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -18px;
  z-index: 2;
  width: 36px;
  height: 100%;
  border-top: 1px solid rgba(183, 155, 255, 0.24);
  border-right: 1px solid rgba(183, 155, 255, 0.24);
  transform: skewX(13deg);
  background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.08));
  pointer-events: none;
}

.timeline-step:last-child {
  border-right: 0;
}

.timeline-step.is-active {
  background: rgba(124, 77, 255, 0.16);
}

.timeline-step strong {
  display: block;
  margin-top: 12px;
  color: var(--text-strong);
  line-height: 1.25;
}

.timeline-step small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.persona-lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.persona-lanes article {
  min-height: 174px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.persona-lanes h3 {
  margin: 0;
  color: var(--lavender);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

.persona-lanes strong {
  display: block;
  margin-top: 8px;
  color: var(--text-strong);
  font-size: 18px;
}

.persona-lanes p {
  margin: 12px 0 0;
  color: var(--muted);
}

.closing-section {
  padding-bottom: 62px;
}

.closing-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 42px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(5, 8, 28, 0.72);
  box-shadow: var(--shadow);
}

.closing-panel::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 38px;
  bottom: 38px;
  width: 1px;
  border-left: 1px dashed rgba(183, 155, 255, 0.34);
}

.closing-copy h2 {
  font-size: 39px;
}

.briefing-form {
  padding-left: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.briefing-form label {
  display: grid;
  gap: 8px;
  color: #d9ddf7;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.briefing-form input,
.briefing-form select {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(183, 155, 255, 0.32);
  border-radius: var(--radius);
  padding: 0 13px;
  background: rgba(3, 7, 25, 0.7);
  color: var(--text);
  font-family: var(--sans);
}

.briefing-form input::placeholder {
  color: var(--faint);
}

.briefing-form button {
  width: 100%;
  margin-top: 14px;
}

.form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 14px;
}

.secure-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.briefing-form.is-success {
  border-left-color: rgba(40, 213, 150, 0.72);
}

.briefing-form.is-success .secure-note {
  color: #bfffe7;
  font-weight: 700;
}

.site-footer {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px max(40px, calc((100vw - var(--max)) / 2)) 38px;
  border-top: 1px solid rgba(183, 155, 255, 0.18);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -96; }
}

@keyframes grid-drift {
  to { background-position: 46px 46px; }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    display: block;
  }

  body.nav-open .site-nav {
    position: fixed;
    left: 24px;
    right: 24px;
    top: 82px;
    display: grid;
    justify-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 28, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav a {
    padding: 0 18px;
    border-bottom: 1px solid rgba(183, 155, 255, 0.12);
  }

  body.nav-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .loop-section,
  .digital-layout,
  .closing-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .governance-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .section-heading.split,
  .panel-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .governance-ledger article {
    grid-template-columns: 56px 150px 1fr;
  }

  .governance-ledger article p:last-child {
    grid-column: 3;
  }

  .persona-lanes {
    grid-template-columns: repeat(2, 1fr);
  }

  .briefing-form {
    border-left: 0;
    border-top: 1px dashed rgba(183, 155, 255, 0.38);
    padding-left: 0;
    padding-top: 30px;
  }

  .closing-panel::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 72px 20px;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 46px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .section-heading h2,
  .closing-copy h2 {
    font-size: 31px;
  }

  .hero-lead,
  .section-heading p,
  .closing-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .form-grid,
  .panel-grid,
  .monitor-grid,
  .optimize-grid,
  .onboarding-track,
  .persona-lanes,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .governance-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 20px;
    padding-top: 26px;
  }

  .orbit-shell {
    top: 42%;
    width: 320px;
    height: 320px;
  }

  .bridge-line {
    left: 50%;
    right: auto;
    top: 120px;
    bottom: 210px;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--purple), var(--lavender), var(--purple), transparent);
  }

  .bridge-node {
    min-height: 120px;
  }

  .bridge-node ul {
    display: none;
  }

  .ctl-core {
    justify-self: center;
    margin: 4px 0;
    width: 108px;
    height: 108px;
  }

  .hero-signals {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .motion-item {
    min-height: 66px;
  }

  .governance-ledger article {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .governance-ledger article p:last-child {
    grid-column: auto;
  }

  .digital-map {
    min-height: 620px;
  }

  .map-node {
    position: static;
    width: 100%;
    margin-bottom: 8px;
  }

  .map-core,
  .map-lines {
    display: none;
  }

  .product-panel {
    padding: 20px;
  }

  .loop-tabs {
    grid-template-columns: 1fr;
  }

  .loop-tab {
    border-right: 0;
    border-bottom: 1px solid rgba(183, 155, 255, 0.16);
  }

  .loop-tab:last-child {
    border-bottom: 0;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .table-head {
    display: none;
  }

  .timeline-step {
    border-right: 0;
    border-bottom: 1px solid rgba(183, 155, 255, 0.16);
  }

  .timeline-step::after {
    display: none;
  }

  .timeline-step:last-child {
    border-bottom: 0;
  }

  .closing-panel {
    padding: 24px;
  }

  .closing-panel::before {
    display: none;
  }

  .site-footer {
    justify-items: start;
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-text,
  .footer-brand span:last-child {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 33px;
  }

  .section-heading h2,
  .closing-copy h2 {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
