/* =============================================================================
   ORBITRA - terminal/pixel identity response site
   ============================================================================= */

:root {
  --bg: #080808;
  --bg-2: #0d0d0d;
  --panel: #111111;
  --panel-2: #181818;
  --paper: #f2efe7;
  --paper-2: #e8e2d8;
  --ink: #f7f5f0;
  --text: #151515;
  --muted: #8d8d87;
  --muted-2: #b7b2aa;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.16);
  --red: #ff1d1d;
  --blue: #1628ff;
  --cyan: #12d7c8;
  --amber: #f6b544;
  --green: #15c96e;
  --font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1320px;
  --gutter: 32px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 50%;
  z-index: 300;
  transform: translateX(-50%);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pixel-field {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  filter: saturate(1.15);
}

.pixel-field::before,
.pixel-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 2px, transparent 2px 8px),
    linear-gradient(90deg, rgba(18,215,200,0.95), rgba(22,40,255,0.9) 42%, rgba(255,29,29,0.28) 72%, transparent);
}

.pixel-field::after {
  mix-blend-mode: screen;
  opacity: 0.5;
  transform: translate(26px, 44px);
}

.pixel-field--left {
  left: -120px;
  top: 90px;
  width: 420px;
  height: 540px;
  clip-path: polygon(0 0, 66% 11%, 52% 31%, 100% 38%, 68% 48%, 82% 78%, 24% 100%, 0 88%);
}

.pixel-field--right {
  right: -120px;
  top: 150px;
  width: 520px;
  height: 570px;
  clip-path: polygon(28% 18%, 100% 0, 100% 100%, 50% 86%, 62% 68%, 12% 59%, 36% 44%, 0 29%);
}

/* Base components */
.eyebrow,
.tag,
.card-kicker,
.terminal__label,
.terminal__search,
.terminal__plan,
.sandbox__head,
.number-box,
.mode-card__tag,
.modes__status,
.record,
.matrix__head,
.matrix__cat em {
  font-family: var(--font-mono);
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--ink);
}

.section {
  position: relative;
  padding-block: 112px;
}

.section__head {
  max-width: 760px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  max-width: 820px;
  margin-top: 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.section__title--wide {
  max-width: 900px;
}

.section__body {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 19px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary,
.btn--light {
  background: var(--ink);
  color: var(--bg);
}

.btn--ghost,
.btn--outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

.btn--large {
  min-height: 52px;
  padding-inline: 26px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* Navigation */
.nav {
  position: fixed;
  inset: 24px 0 auto 0;
  z-index: 100;
  pointer-events: none;
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 34px;
  min-height: 64px;
  border: 0;
  background: transparent;
  padding: 0 var(--gutter) 0 174px;
  overflow: visible;
  isolation: isolate;
  pointer-events: auto;
}

.nav__inner::before {
  content: "";
  position: absolute;
  inset: 0 0 0 34px;
  z-index: -1;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 18px 0 28px rgba(255, 29, 29, 0.045);
  -webkit-mask: radial-gradient(circle 58px at 25px calc(50% + 8px), transparent 0 57px, #000 58px);
  mask: radial-gradient(circle 58px at 25px calc(50% + 8px), transparent 0 57px, #000 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 128px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 29, 29, 0.24));
}

.nav .brand {
  position: absolute;
  top: 50%;
  left: 0;
  align-self: center;
  flex: none;
  width: 118px;
  height: 112px;
  margin: 0;
  transform: translateY(calc(-50% + 8px));
  z-index: 2;
}

.nav .brand__logo {
  position: relative;
  z-index: 1;
  width: 108px;
}

.brand__logo--footer {
  width: 128px;
}

.nav__links,
.nav__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  margin-left: auto;
}

.nav__links a {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav__links a:hover {
  color: var(--cyan);
}

.nav__actions {
  gap: 10px;
}

.nav__toggle,
.nav__mobile {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 178px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 96px 7% auto;
  height: 460px;
  background:
    radial-gradient(circle at 50% 38%, rgba(18, 215, 200, 0.24), transparent 22%),
    radial-gradient(circle at 28% 52%, rgba(22, 40, 255, 0.22), transparent 26%),
    radial-gradient(circle at 72% 55%, rgba(255, 29, 29, 0.16), transparent 28%);
  filter: blur(18px) saturate(1.15);
  opacity: 0.82;
}

.hero::after {
  inset: 116px 12% auto;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(18, 215, 200, 0.1) 14% calc(14% + 1px), transparent calc(14% + 1px) 86%, rgba(255, 29, 29, 0.09) 86% calc(86% + 1px), transparent calc(86% + 1px)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 72px);
  mask-image: radial-gradient(circle at center, black 0 48%, transparent 75%);
  opacity: 0.78;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: 24px;
}

.hero__title {
  max-width: 1240px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero__body {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.metric-strip {
  position: relative;
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18, 215, 200, 0.45), rgba(22, 40, 255, 0.5), rgba(255, 29, 29, 0.32)),
    var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.metric-strip span {
  position: relative;
  display: flex;
  min-height: 74px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(17, 17, 17, 0.9);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.metric-strip span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue), var(--red));
  opacity: 0.72;
}

.metric-strip b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.logo-rail {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-top: 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  color: rgba(247, 245, 240, 0.36);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
}

/* Showcase */
.platform-showcase {
  position: relative;
  z-index: 1;
  padding: 64px 0 120px;
  background: var(--bg);
}

.showcase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.agent-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.18fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.terminal,
.agent-card,
.sandbox,
.product-card,
.mode-card,
.operator,
.record {
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.9);
}

.terminal,
.agent-card,
.sandbox {
  min-height: 100%;
}

.terminal {
  padding: 20px;
}

.terminal--dim {
  opacity: 0.78;
}

.terminal__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.terminal__search {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
}

.tool-row,
.connection-row,
.execution-row {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 13px;
}

.tool-row span,
.connection-row span,
.execution-row span {
  color: var(--ink);
}

.tool-row em {
  color: var(--muted);
  font-style: normal;
}

.tool-row.is-match::after {
  content: "MATCH";
  justify-self: end;
  margin-top: -28px;
  background: rgba(22, 40, 255, 0.52);
  padding: 2px 6px;
  color: var(--ink);
  font-size: 10px;
}

.terminal__plan {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.terminal__plan ol {
  margin-top: 8px;
  padding-left: 18px;
}

.agent-card {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 30px;
  background:
    linear-gradient(180deg, rgba(18, 215, 200, 0.08), transparent 42%),
    #151515;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(90deg, rgba(18,215,200,0.9) 0 18px, rgba(22,40,255,0.9) 18px 38px, rgba(255,29,29,0.55) 38px 52px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 8px);
  mix-blend-mode: screen;
}

.agent-card > * {
  position: relative;
  z-index: 1;
}

.agent-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.agent-card__mark {
  width: 13px;
  height: 13px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 29, 29, 0.16);
}

.agent-card__bubble,
.agent-card__reply {
  margin: 34px auto 0;
  max-width: 460px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}

.agent-card__steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.agent-card__steps div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.34);
  padding: 14px;
  color: var(--muted-2);
}

.agent-card__steps span {
  color: var(--cyan);
  font-family: var(--font-mono);
}

.agent-card__reply {
  background: rgba(0, 0, 0, 0.54);
}

.agent-card__reply b {
  color: var(--cyan);
}

.terminal-stack {
  display: grid;
  gap: 18px;
}

.connection-row,
.execution-row {
  grid-template-columns: 1fr auto;
}

.connection-row b,
.execution-row b {
  color: var(--green);
}

.sandbox {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 20px;
}

.sandbox__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

pre {
  overflow: auto;
  margin-top: 16px;
  color: #c7d6ff;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
}

/* Why */
.why {
  background: var(--bg);
  padding-bottom: 64px;
}

.reason-layout {
  display: grid;
  grid-template-columns: 280px 1fr 0.68fr;
  gap: 56px;
  align-items: start;
  margin-top: 72px;
}

.reason-tabs {
  display: grid;
  border: 1px solid var(--line);
}

.reason-tabs span {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.reason-tabs span:last-child {
  border-bottom: 0;
}

.reason-tabs b,
.number-box {
  color: var(--muted);
}

.reason-tabs .is-active {
  border-color: var(--blue);
  background: rgba(22, 40, 255, 0.16);
  box-shadow: inset 2px 0 0 var(--blue);
}

.reason-tabs .is-active b,
.number-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.pixel-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, rgba(18,215,200,0.72) 0 84px, rgba(22,40,255,0.76) 84px 184px, rgba(255,29,29,0.34) 184px 260px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 7px);
}

.pixel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1px);
}

.mini-console {
  position: absolute;
  z-index: 1;
  width: min(76%, 440px);
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.94);
  padding: 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  opacity: 0.36;
  transform: scale(0.985);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.mini-console.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
}

.mini-console span {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.mini-console p {
  margin-top: 10px;
  color: var(--muted-2);
}

.mini-console--top {
  top: 48px;
  left: 17%;
}

.mini-console--middle {
  top: 210px;
  right: 10%;
  background: #07162d;
}

.mini-console--bottom {
  bottom: 58px;
  left: 11%;
}

.mini-console--audit {
  right: 12%;
  bottom: 110px;
}

.reason-copy {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.reason-copy h3 {
  margin-top: 30px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.08;
}

.reason-tabs .is-active {
  color: var(--ink);
}

.reason-tabs .is-active b {
  background: var(--ink);
  color: var(--bg);
}

.reason-copy p {
  margin-top: 22px;
  color: var(--muted-2);
}

.check-list,
.steps {
  list-style: none;
  padding: 0;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  background: var(--ink);
}

/* Product band */
.product-band {
  background: var(--paper);
  color: var(--text);
}

.product-band .eyebrow {
  border-color: var(--line-dark);
  color: var(--text);
  background: transparent;
}

.product-band .section__title,
.product-band .section__body {
  color: var(--text);
}

.product-band__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: end;
}

.product-cards {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  gap: 18px;
  margin-top: 54px;
}

.product-card {
  min-height: 310px;
  padding: 26px;
  color: var(--ink);
}

.product-card--featured {
  background:
    linear-gradient(180deg, rgba(18, 215, 200, 0.12), transparent),
    var(--panel);
}

.product-card h3 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.product-card p,
.product-card a {
  display: block;
  margin-top: 20px;
  color: var(--muted-2);
}

.product-card a {
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.card-kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.response-board {
  margin-top: 54px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #0b0b0b;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.response-board__top,
.response-board__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.response-board__top .board-card + .board-card,
.response-board__bottom .board-card + .board-card {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.board-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 215, 200, 0.06), transparent 35%),
    linear-gradient(315deg, rgba(255, 29, 29, 0.08), transparent 38%),
    #0f0f0f;
}

.board-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 54px);
  opacity: 0.55;
}

.board-card--split {
  display: grid;
  min-height: 270px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.board-card--deep {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
}

.board-card__copy,
.board-card__main,
.board-card__foot {
  position: relative;
  z-index: 1;
}

.board-card__copy,
.board-card__main {
  padding: 30px;
}

.board-card__main {
  min-height: 370px;
}

.board-index {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 7px 9px;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.board-card h3 {
  max-width: 720px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
}

.board-card p {
  max-width: 62ch;
  margin-top: 18px;
  color: #d4cec4;
  font-size: 17px;
  line-height: 1.28;
}

.board-card a {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 13px;
  align-items: center;
  color: #d8d1c8;
  background: #292929;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.board-visual {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  isolation: isolate;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: #111111;
}

.board-visual::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    linear-gradient(90deg,
      #f7efb7 0 13%,
      #58f1d5 13% 29%,
      #11cadf 29% 43%,
      #0b7ff0 43% 61%,
      #1116e6 61% 73%,
      #fa7892 73% 88%,
      #f6c2ea 88% 100%);
  filter: saturate(1.22);
  transform: translate3d(-3%, 0, 0) scale(1.08);
  animation: orbitra-board-pan 8s steps(7, end) infinite;
}

.board-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 44px);
  mix-blend-mode: screen;
  opacity: 0.28;
}

.board-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 134px;
  height: 110px;
  border-radius: 10px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translate(-50%, -50%);
}

.board-chip--core::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle at 35% 30%, rgba(247, 245, 240, 0.95), transparent 18%),
    linear-gradient(135deg, var(--cyan), var(--blue) 60%, var(--red));
  box-shadow: 0 0 25px rgba(18, 215, 200, 0.62);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: orbitra-board-float 3.4s var(--ease) infinite;
}

.board-chip--stack::before,
.board-chip--stack::after {
  content: "";
  position: absolute;
  left: 35px;
  right: 35px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), #17b7ff, var(--blue));
  box-shadow: 0 0 16px rgba(18, 215, 200, 0.56);
  animation: orbitra-board-scan 2.8s ease-in-out infinite;
}

.board-chip--stack::before {
  top: 34px;
}

.board-chip--stack::after {
  bottom: 34px;
  animation-delay: 420ms;
}

.board-beam,
.board-pulse {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.8;
  box-shadow: 0 10px 0 rgba(18, 215, 200, 0.62), 0 -10px 0 rgba(18, 215, 200, 0.62);
  animation: orbitra-board-signal 2.6s ease-in-out infinite;
}

.board-beam--left {
  left: calc(50% - 76px);
}

.board-beam--right {
  right: calc(50% - 76px);
}

.board-pulse {
  width: 1px;
  height: 46px;
  background: transparent;
  border-left: 1px solid rgba(18, 215, 200, 0.85);
  border-right: 1px solid rgba(18, 215, 200, 0.42);
  box-shadow: 8px 0 0 rgba(18, 215, 200, 0.38), -8px 0 0 rgba(18, 215, 200, 0.38);
  transform: translateY(-50%);
}

.board-pulse--one {
  left: calc(50% - 76px);
}

.board-pulse--two {
  right: calc(50% - 76px);
}

.board-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0c;
}

.board-rail span {
  min-height: 39px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.01);
}

.board-rail span:nth-child(1),
.board-rail span:nth-child(4),
.board-rail span:nth-child(7),
.board-rail span:nth-child(10) {
  grid-column: span 2;
}

.board-rail span:nth-child(3n + 1) {
  animation: orbitra-board-cell 5s ease-in-out infinite;
}

.board-code {
  max-width: 740px;
  margin: 58px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.board-code__bar {
  display: flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #656565;
  font-family: var(--font-mono);
  font-size: 13px;
}

.board-code__bar span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2c2c2c;
}

.board-code__bar strong {
  margin-left: 4px;
  font-weight: 500;
}

.board-code pre {
  margin: 0;
  padding: 24px 22px 26px;
  overflow-x: auto;
}

.board-code code {
  display: block;
  color: #f1eee7;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre;
}

.board-code code span {
  display: inline-block;
  width: 26px;
  color: #515151;
  user-select: none;
}

.board-code code em {
  color: #76f3c7;
  font-style: normal;
}

.board-card__foot {
  padding: 26px 30px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
}

.board-card__foot p {
  max-width: 66ch;
  margin-top: 0;
}

.proof-orbit {
  position: relative;
  width: min(100%, 620px);
  height: 312px;
  margin: 18px auto 0;
  overflow: hidden;
}

.proof-orbit::before {
  content: "";
  position: absolute;
  inset: 38px 0;
  background:
    linear-gradient(90deg, transparent 0 33%, rgba(255, 255, 255, 0.13) 33% calc(33% + 1px), transparent calc(33% + 1px) 66%, rgba(255, 255, 255, 0.13) 66% calc(66% + 1px), transparent calc(66% + 1px)),
    linear-gradient(180deg, transparent 0 50%, rgba(255, 255, 255, 0.13) 50% calc(50% + 1px), transparent calc(50% + 1px));
  opacity: 0.6;
}

.proof-orbit__axis {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.proof-orbit__axis--x {
  top: 52%;
}

.proof-orbit__axis--y {
  top: 75%;
}

.proof-orbit__shape {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.proof-orbit__shape--outer {
  width: 250px;
  height: 250px;
  border: 3px solid rgba(247, 245, 240, 0.68);
  animation: orbitra-proof-pulse 3.2s ease-in-out infinite;
}

.proof-orbit__shape--inner {
  width: 130px;
  height: 130px;
  border: 1px solid rgba(18, 215, 200, 0.45);
  animation: orbitra-proof-inner 3.2s ease-in-out infinite;
}

.proof-orbit__node {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  background: #f7f5f0;
  box-shadow: 0 0 18px rgba(247, 245, 240, 0.38);
}

.proof-orbit__node--top {
  left: 50%;
  top: calc(52% - 126px);
  transform: translate(-50%, -50%);
}

.proof-orbit__node--left {
  left: calc(50% - 126px);
  top: 52%;
  transform: translate(-50%, -50%);
}

.proof-orbit__node--right {
  left: calc(50% + 126px);
  top: 52%;
  transform: translate(-50%, -50%);
}

.proof-orbit__node--bottom {
  left: 50%;
  top: calc(52% + 126px);
  transform: translate(-50%, -50%);
}

.trust-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: min(560px, calc(100vw - 32px));
}

.trust-notice[hidden] {
  display: none;
}

.trust-notice__panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(18, 215, 200, 0.12), transparent 40%),
    linear-gradient(315deg, rgba(255, 29, 29, 0.12), transparent 38%),
    rgba(14, 14, 14, 0.96);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.trust-notice__kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.trust-notice p {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.35;
}

.trust-notice__checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-notice__checks span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.trust-notice__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.trust-notice__accept,
.trust-notice__decline {
  white-space: nowrap;
}

@keyframes orbitra-board-pan {
  0%,
  100% {
    transform: translate3d(-3%, 0, 0) scale(1.08);
  }
  50% {
    transform: translate3d(6%, -3%, 0) scale(1.12);
  }
}

@keyframes orbitra-board-float {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -57%) rotate(45deg) scale(1.08);
  }
}

@keyframes orbitra-board-scan {
  0%,
  100% {
    filter: hue-rotate(0deg);
    transform: translateX(0);
  }
  50% {
    filter: hue-rotate(44deg);
    transform: translateX(8px);
  }
}

@keyframes orbitra-board-signal {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
}

@keyframes orbitra-board-cell {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.01);
  }
  50% {
    background: rgba(18, 215, 200, 0.07);
  }
}

@keyframes orbitra-proof-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(0.98);
    border-color: rgba(247, 245, 240, 0.56);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.04);
    border-color: rgba(247, 245, 240, 0.92);
  }
}

@keyframes orbitra-proof-inner {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    border-color: rgba(18, 215, 200, 0.32);
  }
  50% {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.12);
    border-color: rgba(18, 215, 200, 0.68);
  }
}

@media (max-width: 1180px) {
  .board-card--split {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  }

  .board-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 920px) {
  .response-board__top,
  .response-board__bottom {
    grid-template-columns: 1fr;
  }

  .response-board__top .board-card + .board-card,
  .response-board__bottom .board-card + .board-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .board-card--split {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  }

  .board-card--deep {
    min-height: auto;
  }

  .board-code {
    margin-top: 44px;
  }
}

@media (max-width: 620px) {
  .response-board {
    margin-top: 34px;
  }

  .board-card--split {
    grid-template-columns: 1fr;
  }

  .board-card__copy,
  .board-card__main,
  .board-card__foot {
    padding: 18px;
  }

  .board-card h3 {
    font-size: 26px;
  }

  .board-card p {
    font-size: 16px;
  }

  .board-visual {
    min-height: 190px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .board-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 96px;
  }

  .board-rail span {
    grid-column: span 1 !important;
    min-height: 32px;
  }

  .board-code {
    margin-top: 34px;
  }

  .board-code__bar {
    min-height: 42px;
    padding-inline: 14px;
  }

  .board-code pre {
    padding: 18px 14px 20px;
  }

  .board-code code {
    font-size: 12px;
    line-height: 1.65;
  }

  .board-code code span {
    width: 21px;
  }

  .proof-orbit {
    height: 250px;
  }

  .proof-orbit__shape--outer {
    width: 190px;
    height: 190px;
    border-width: 2px;
  }

  .proof-orbit__shape--inner {
    width: 96px;
    height: 96px;
  }

  .proof-orbit__node--top {
    top: calc(52% - 96px);
  }

  .proof-orbit__node--left {
    left: calc(50% - 96px);
  }

  .proof-orbit__node--right {
    left: calc(50% + 96px);
  }

  .proof-orbit__node--bottom {
    top: calc(52% + 96px);
  }

  .trust-notice {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }

  .trust-notice__panel {
    grid-template-columns: 1fr;
  }

  .trust-notice__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trust-notice__accept,
  .trust-notice__decline {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .board-visual::before,
  .board-chip--core::before,
  .board-chip--stack::before,
  .board-chip--stack::after,
  .board-beam,
  .board-pulse,
  .board-rail span,
  .proof-orbit__shape--outer,
  .proof-orbit__shape--inner {
    animation: none;
  }
}

/* Autonomy */
.autonomy {
  background: var(--bg);
  padding-bottom: 64px;
}

.modes {
  margin-top: 54px;
}

.modes__switch {
  position: relative;
  display: grid;
  width: min(100%, 540px);
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  padding: 4px;
  background: var(--panel);
}

.modes__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  background: var(--ink);
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease);
}

.modes__tab {
  position: relative;
  z-index: 1;
  min-height: 46px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.modes__tab.is-active {
  color: var(--bg);
}

.modes__stage {
  position: relative;
  margin-top: 20px;
}

.modes__panel {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.modes__panel.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.modes__panel-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 18px;
  background: rgba(17, 17, 17, 0.78);
}

.modes__text {
  padding: 24px;
}

.modes__text h3 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
}

.modes__text p,
.mode-card p {
  margin-top: 14px;
  color: var(--muted-2);
}

.mode-card {
  min-height: 270px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
}

.mode-card code {
  color: var(--cyan);
  font-family: var(--font-mono);
}

.mode-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mode-card__actions span {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.steps li {
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 13px;
}

.steps .done {
  color: var(--cyan);
}

.steps .active {
  border-color: var(--red);
  color: var(--ink);
}

.modes__status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.modes__status-line {
  color: var(--cyan);
}

/* Evidence */
.evidence {
  background: var(--bg-2);
}

.evidence__head {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 42px;
  align-items: end;
}

.evidence__head .eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
}

.evidence__head .section__title,
.evidence__head .section__body {
  margin-top: 0;
}

.matrix {
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.matrix__head,
.matrix__row {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr 0.85fr 0.95fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.matrix__head {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.matrix__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-size: 15px;
}

.matrix__row:last-child {
  border-bottom: 0;
}

.matrix__cat {
  display: grid;
  gap: 3px;
}

.matrix__cat b {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.matrix__cat em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.matrix span[data-led] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.matrix span[data-led]::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--muted);
}

.matrix span[data-led="on"] {
  color: var(--cyan);
}

.matrix span[data-led="on"]::before {
  background: var(--cyan);
}

.matrix span[data-led="warn"]::before {
  background: var(--amber);
}

.matrix span[data-led="off"]::before {
  background: rgba(255, 255, 255, 0.18);
}

.matrix__row--orbitra {
  background: rgba(255, 29, 29, 0.1);
}

.matrix__row--orbitra .matrix__cat b {
  color: var(--red);
}

.audit-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
  margin-top: 88px;
}

.audit-grid h3 {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.02;
}

.audit-grid p {
  margin-top: 20px;
  color: var(--muted-2);
}

.record {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.record::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(18, 215, 200, 0.14) 50%, transparent 58% 100%);
  transform: translateX(-55%);
  animation: orbitra-record-sheen 13s ease-in-out infinite;
}

.record::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 215, 200, 0.08), transparent 28%, rgba(255, 29, 29, 0.06)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 34px);
  opacity: 0.34;
  animation: orbitra-record-breathe 9s ease-in-out infinite;
}

.record__head,
.record__line {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 90px 130px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 18px;
  font-size: 13px;
}

.record__head {
  grid-template-columns: 1fr auto;
  color: var(--muted);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.025);
  animation: orbitra-record-head 7s ease-in-out infinite;
}

.record__line:last-child {
  border-bottom: 0;
}

.record__line {
  overflow: hidden;
  animation: orbitra-record-row 12s ease-in-out infinite;
}

.record__line::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(18, 215, 200, 0.08), transparent);
  transform: translateX(-120%);
  animation: orbitra-record-line-scan 12s ease-in-out infinite;
}

.record__line:nth-child(2) {
  animation-delay: 0ms;
}

.record__line:nth-child(3) {
  animation-delay: 450ms;
}

.record__line:nth-child(4) {
  animation-delay: 900ms;
}

.record__line:nth-child(5) {
  animation-delay: 1350ms;
}

.record__line:nth-child(6) {
  animation-delay: 1800ms;
}

.record__line:nth-child(2)::before {
  animation-delay: 0ms;
}

.record__line:nth-child(3)::before {
  animation-delay: 450ms;
}

.record__line:nth-child(4)::before {
  animation-delay: 900ms;
}

.record__line:nth-child(5)::before {
  animation-delay: 1350ms;
}

.record__line:nth-child(6)::before {
  animation-delay: 1800ms;
}

.record__line span {
  color: var(--muted);
}

.record__line b {
  color: var(--cyan);
  font-size: 12px;
  animation: orbitra-record-status 6s ease-in-out infinite;
}

.record__line em {
  color: var(--muted-2);
  font-style: normal;
}

@keyframes orbitra-record-sheen {
  0%,
  34% {
    transform: translateX(-58%);
    opacity: 0;
  }
  48% {
    opacity: 0.75;
  }
  72%,
  100% {
    transform: translateX(58%);
    opacity: 0;
  }
}

@keyframes orbitra-record-breathe {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes orbitra-record-head {
  0%,
  100% {
    color: var(--muted);
  }
  50% {
    color: rgba(247, 245, 240, 0.78);
  }
}

@keyframes orbitra-record-row {
  0%,
  100% {
    background: transparent;
  }
  50% {
    background: rgba(18, 215, 200, 0.035);
  }
}

@keyframes orbitra-record-line-scan {
  0%,
  36% {
    transform: translateX(-120%);
  }
  62% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes orbitra-record-status {
  0%,
  100% {
    text-shadow: none;
  }
  50% {
    text-shadow: 0 0 14px rgba(18, 215, 200, 0.42);
  }
}

/* Team and CTA */
.team {
  background: var(--bg);
}

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

.operator {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(18, 215, 200, 0.1), transparent 36%),
    linear-gradient(315deg, rgba(255, 29, 29, 0.1), transparent 34%),
    rgba(17, 17, 17, 0.92);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.operator::before,
.operator::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.operator::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 44px);
  opacity: 0.38;
}

.operator::after {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 42%;
  border-left: 1px solid rgba(18, 215, 200, 0.22);
  border-top: 1px solid rgba(18, 215, 200, 0.22);
  background: linear-gradient(135deg, rgba(18, 215, 200, 0.07), transparent 58%);
}

.operator:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 215, 200, 0.42);
}

.operator__photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(18, 215, 200, 0.12), transparent 38%, rgba(255, 29, 29, 0.12)),
    rgba(255, 255, 255, 0.03);
}

.operator__photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.operator__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 22% 20%, rgba(18, 215, 200, 0.18), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 6px);
  mix-blend-mode: soft-light;
}

.operator__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.operator:hover .operator__photo img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.06);
}

.operator__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  z-index: 4;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  box-shadow: 0 0 18px rgba(18, 215, 200, 0.7);
  opacity: 0.72;
  animation: orbitra-photo-scan 5s ease-in-out infinite;
}

.operator__node {
  position: absolute;
  z-index: 5;
  width: 10px;
  height: 10px;
  background: var(--ink);
  box-shadow: 0 0 18px rgba(247, 245, 240, 0.38);
}

.operator__node--one {
  left: 18px;
  bottom: 18px;
}

.operator__node--two {
  right: 18px;
  top: 18px;
  background: var(--red);
  box-shadow: 0 0 20px rgba(255, 29, 29, 0.42);
}

.operator h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.operator p {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.operator em {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 22px;
  color: var(--muted-2);
  font-style: normal;
}

@keyframes orbitra-photo-scan {
  0%,
  100% {
    top: 18%;
    opacity: 0.34;
  }
  50% {
    top: 82%;
    opacity: 0.86;
  }
}

.cta {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(18,215,200,0.12), transparent 34%, rgba(255,29,29,0.13)),
    var(--bg);
}

.cta__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.cta__title {
  margin-top: 30px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 0.98;
}

.demo-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.82);
  padding: 22px;
}

.demo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.demo-form__note {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
  color: var(--ink);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  outline: none;
}

.field select option {
  color: var(--text);
}

.demo-form__submit {
  justify-self: start;
  margin-top: 6px;
}

.demo-form__note.is-success {
  color: var(--cyan);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 34px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1180px) {
  .nav__links {
    gap: 18px;
  }

  .reason-layout {
    grid-template-columns: 240px 1fr;
  }

  .reason-copy {
    grid-column: 2;
  }

  .agent-grid,
  .product-cards {
    grid-template-columns: 1fr 1fr;
  }
.fabric-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.agent-card {
    grid-column: 1 / -1;
    order: -1;
  }

  .terminal-stack {
    grid-column: auto;
  }
}

@media (min-width: 921px) {
  .why .reason-layout {
    position: sticky;
    top: 118px;
  }

  .autonomy .modes {
    position: sticky;
    top: 118px;
  }

  .autonomy .modes__panel-grid {
    min-height: 420px;
  }

  .autonomy .mode-card {
    position: relative;
    overflow: hidden;
    background:
      repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px),
      rgba(255, 255, 255, 0.03);
  }

  .autonomy .mode-card::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    height: 24%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.45;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(18, 215, 200, 0.16), transparent 42%, rgba(255, 29, 29, 0.12)),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
  }
}

@media (max-width: 920px) {
  :root {
    --gutter: 22px;
  }

  .nav {
    inset: 12px 0 auto 0;
  }

  .nav__links,
  .nav__signin {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
  }

  .nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .nav__mobile {
    display: none;
    margin-inline: var(--gutter);
    border: 1px solid var(--line);
    border-top: 0;
    background: rgba(18, 18, 18, 0.96);
    padding: 12px;
    pointer-events: auto;
  }

  .nav.is-open .nav__mobile {
    display: grid;
    gap: 4px;
  }

  .nav__mobile a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    font-family: var(--font-mono);
    text-transform: uppercase;
  }

  .hero {
    padding-top: 150px;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__title {
    font-size: 56px;
  }

  .section__title,
  .cta__title {
    font-size: 48px;
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 58px;
  }

  .logo-rail {
    gap: 22px;
    font-size: 22px;
  }

  .agent-grid,
  .reason-layout,
  .product-band__grid,
  .product-cards,
  .modes__panel-grid,
  .evidence__head,
  .audit-grid,
  .roster,
  .cta__grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .reason-copy {
    grid-column: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
    padding-left: 0;
  }

  .pixel-media {
    min-height: 460px;
  }

  .matrix__head {
    display: none;
  }

  .matrix {
    display: grid;
    gap: 12px;
    border: 0;
    background: transparent;
  }

  .matrix__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 0;
  }

  .matrix__cat {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .matrix__cat b {
    font-size: 22px;
  }

  .matrix__cat em {
    margin-top: 4px;
    font-size: 12px;
  }

  .matrix span[data-led] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: start;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 15px;
  }

  .matrix span[data-led]:last-child {
    border-bottom: 0;
  }

  .matrix span[data-led]::before {
    grid-row: 2;
    margin-top: 7px;
  }

  .matrix span[data-led]::after {
    content: attr(data-label);
    grid-column: 1 / -1;
    grid-row: 1;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .matrix__row--orbitra {
    background: rgba(255, 29, 29, 0.1);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav__inner {
    padding-left: 116px;
  }

  .nav__inner::before {
    left: 24px;
    -webkit-mask: radial-gradient(circle 42px at 19px calc(50% + 5px), transparent 0 41px, #000 42px);
    mask: radial-gradient(circle 42px at 19px calc(50% + 5px), transparent 0 41px, #000 42px);
  }

  .nav .brand {
    width: 86px;
    height: 82px;
    transform: translateY(calc(-50% + 5px));
  }

  .nav .brand__logo {
    width: 78px;
  }

  .nav__actions .btn--primary {
    display: none;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__body {
    font-size: 18px;
  }

  .hero__cta,
  .showcase__head,
  .demo-form__row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero__cta .btn,
  .showcase__head .btn,
  .demo-form__submit {
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding-block: 84px;
  }

  .section__title,
  .cta__title {
    font-size: 38px;
  }

  .section__body {
    font-size: 17px;
  }

  .agent-card,
  .terminal,
  .sandbox,
  .product-card,
  .modes__text,
  .mode-card,
  .operator,
  .demo-form {
    padding: 18px;
  }

  .agent-card__bubble,
  .agent-card__reply {
    font-size: 17px;
    padding: 18px;
  }

  .pixel-field {
    opacity: 0.44;
  }

  .pixel-field--left {
    left: -230px;
  }

  .pixel-field--right {
    right: -260px;
  }

  .record__head,
  .record__line {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .record,
  .record::before,
  .record::after,
  .record__head,
  .record__line,
  .record__line::before,
  .record__line b,
  .operator__scan {
    animation: none !important;
  }
}
