/* =========================================================
   ARGUS — Marketing site styles
   Built strictly on tokens.css. No new colors, no new sizes.
   ========================================================= */

/* ---------- Reset (minimal, semantic) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
table { border-collapse: separate; border-spacing: 0; }
:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-radius: 2px; }

/* ---------- Type roles (built on tokens) ---------- */
.eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: var(--t-eyebrow); letter-spacing: var(--tr-eyebrow);
  line-height: var(--lh-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot { color: var(--accent); font-size: 10px; line-height: 1; }

.h1 {
  font-family: var(--font-mono); font-weight: 600;
  font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1);
  color: var(--fg-primary); margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-mono); font-weight: 600;
  font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2);
  color: var(--fg-primary); margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: var(--t-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3);
  color: var(--fg-primary); margin: 0;
}
.h4 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: var(--t-h4); line-height: var(--lh-h4);
  color: var(--fg-primary); margin: 0;
}

.body-lg {
  font-family: var(--font-body); font-size: var(--t-body-lg);
  line-height: var(--lh-body-lg); color: var(--fg-secondary);
  margin: 0;
}
.body { color: var(--fg-secondary); margin: 0; }
.body--primary { color: var(--fg-primary); }
.cap {
  font-family: var(--font-mono); font-size: var(--t-caption);
  letter-spacing: var(--tr-caption); text-transform: uppercase;
  color: var(--fg-muted);
}
.mono { font-family: var(--font-mono); }
.acc { color: var(--accent); }
.fg-primary { color: var(--fg-primary); }
.fg-secondary { color: var(--fg-secondary); }
.fg-muted { color: var(--fg-muted); }
.fg-faint { color: var(--fg-faint); }

/* ---------- Layout ---------- */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 var(--s-7);
}
.container--wide { max-width: 1320px; }

.section {
  padding: var(--s-12) 0;
  position: relative;
}
.section--tight { padding: var(--s-10) 0; }
.section--hero { padding: var(--s-12) 0 var(--s-10); }
.section--close {
  padding: var(--s-12) 0 var(--s-13);
  border-top: 1px solid var(--line-faint);
}

.divider { border-top: 1px solid var(--line-faint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 23, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-faint);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600;
  font-size: 15px; color: var(--fg-primary);
  letter-spacing: -0.01em;
}
.brand .glyph { color: var(--accent); display: inline-flex; }
.nav {
  display: flex; align-items: center; gap: var(--s-7);
  font-family: var(--font-mono); font-size: 13px;
  color: var(--fg-secondary);
}
.nav a { padding: 4px 0; transition: color var(--d-fast) var(--ease-out); }
.nav a:hover { color: var(--fg-primary); }
.nav a[aria-current="page"] { color: var(--accent); }

.header-cta { display: inline-flex; align-items: center; gap: var(--s-5); }

/* Skip link */
.skip-link {
  position: absolute; left: -10000px; top: 0;
  background: var(--accent); color: var(--fg-inverse);
  padding: 8px 12px; border-radius: var(--r-3);
  font-family: var(--font-mono); font-size: 13px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: var(--r-3);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--d-fast) var(--ease-out),
              border-color var(--d-fast) var(--ease-out),
              color var(--d-fast) var(--ease-out),
              transform var(--d-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform var(--d-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(2px); }

.btn--primary {
  background: var(--accent);
  color: var(--fg-inverse);
}
.btn--primary:hover { background: #f0bf66; }

.btn--secondary {
  background: transparent;
  color: var(--fg-primary);
  border: 1px solid var(--line-medium);
}
.btn--secondary:hover { border-color: var(--line-strong); background: var(--bg-surface); }

.btn--small { height: 36px; padding: 0 14px; font-size: 12px; }

/* ---------- Pills & chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid;
  background: var(--bg-surface);
  color: var(--fg-secondary);
  border-color: var(--line-medium);
}
.pill .pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.pill--dev { color: var(--env-dev); background: var(--env-dev-bg); border-color: var(--env-dev-line); }
.pill--staging { color: var(--env-staging); background: var(--env-staging-bg); border-color: var(--env-staging-line); }
.pill--prod { color: var(--env-prod); background: var(--env-prod-bg); border-color: var(--env-prod-line); }
.pill--prod .pill-dot { animation: argus-pulse 2s ease-out infinite; }

.bool {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--fg-secondary);
}
.bool .led {
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5) inset;
}
.bool--on .led { background: var(--on); box-shadow: 0 0 8px var(--on-bg), 0 0 0 1px rgba(0,0,0,.5) inset; }
.bool--off .led { background: var(--off); box-shadow: 0 0 8px var(--off-bg), 0 0 0 1px rgba(0,0,0,.5) inset; }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-4);
  padding: var(--s-7);
}
.card--accent { border-color: var(--accent-line); }

/* ---------- Operator panel (the hero/product surface) ---------- */
.op-panel {
  background: var(--bg-surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-5);
  overflow: hidden;
}
.op-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
}
.op-panel__head .live {
  display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
}
.op-panel__head .live .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--env-prod);
  animation: argus-pulse 2s ease-out infinite;
}
.op-panel__body { padding: var(--s-4) 0; }

/* Tenant rows */
.tenant-row {
  display: grid;
  grid-template-columns: 36px 1fr auto auto auto;
  align-items: center; gap: var(--s-5);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--line-faint);
}
.tenant-row:last-child { border-bottom: 0; }
.tenant-row .glyph {
  width: 32px; height: 32px; border-radius: var(--r-3);
  background: var(--bg-raised); color: var(--fg-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
}
.tenant-row .name {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-primary);
  font-feature-settings: "tnum";
}
.tenant-row .id {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.op-panel__foot {
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--line-faint);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---------- Code block ---------- */
.code {
  background: var(--bg-raised);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-4);
  overflow: hidden;
}
.code__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted);
}
.code__head .right { display: inline-flex; gap: var(--s-4); align-items: center; }
.code__head .live {
  display: inline-flex; align-items: center; gap: 6px; color: var(--accent);
}
.code__head .live .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--env-prod);
  animation: argus-pulse 2s ease-out infinite;
}
.copy-btn {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted); padding: 4px 8px; border-radius: var(--r-2);
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.copy-btn:hover { color: var(--fg-primary); background: var(--bg-overlay); }
.copy-btn[data-copied="true"] { color: var(--env-prod); }

.code pre {
  margin: 0; padding: var(--s-6) var(--s-7);
  font-family: var(--font-mono); font-size: var(--t-code);
  line-height: var(--lh-code); color: var(--fg-primary);
  overflow-x: auto;
}
.tok-k { color: #c4a3ff; }
.tok-s { color: #98d18e; }
.tok-c { color: var(--fg-faint); font-style: italic; }
.tok-n { color: #5fb3d4; }
.tok-p { color: var(--fg-muted); }

/* ---------- Lattice backdrop ---------- */
.lattice {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at center, var(--fg-muted) 0.7px, transparent 1.0px);
  background-size: 24px 24px;
  opacity: 0.16;
  mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, #000 30%, transparent 70%);
  pointer-events: none;
}
.lattice--center {
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, #000 30%, transparent 70%);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-12) 0 var(--s-10);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: var(--s-7); }
.hero__h1 {
  font-family: var(--font-mono); font-weight: 600;
  font-size: var(--t-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1);
  color: var(--fg-primary); margin: 0;
}
.hero__sub { max-width: 540px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-6); }
.hero__ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }

/* ---------- Section heading group ---------- */
.section-head {
  display: flex; flex-direction: column; gap: var(--s-5);
  margin-bottom: var(--s-9);
  max-width: 720px;
}
.section-head--centered { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head--wide { max-width: 880px; }

/* ---------- Problem grid ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7);
}
.vignette { display: flex; flex-direction: column; gap: var(--s-4); }
.vignette__num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
}
.vignette__num .num { color: var(--accent); }
.vignette__h { font-family: var(--font-mono); font-size: 17px; line-height: 1.32; color: var(--fg-primary); margin: 0; font-weight: 500; }
.vignette__body { color: var(--fg-secondary); font-size: 14px; line-height: 1.55; }

/* ---------- Wedge breath ---------- */
.wedge {
  display: flex; flex-direction: column; gap: var(--s-7);
  align-items: flex-start; max-width: 940px;
}
.wedge__lead {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 44px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fg-primary); margin: 0;
  text-wrap: balance;
}
.wedge__lead em { font-style: normal; color: var(--accent); }

/* ---------- Product 3-card grid ---------- */
.three-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}
.pcard { display: flex; flex-direction: column; gap: var(--s-6); }
.pcard__h { font-family: var(--font-mono); font-size: 18px; color: var(--fg-primary); margin: 0; font-weight: 600; }
.pcard__body { color: var(--fg-secondary); font-size: 14px; line-height: 1.55; }
.pcard__widget { margin-top: auto; }

/* Mini matrix widget */
.mini-matrix { width: 100%; font-family: var(--font-mono); font-size: 12px; }
.mini-matrix th, .mini-matrix td {
  padding: 8px 10px; text-align: center;
  border-bottom: 1px solid var(--line-faint);
  color: var(--fg-secondary);
}
.mini-matrix thead th { color: var(--fg-muted); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; }
.mini-matrix th:first-child, .mini-matrix td:first-child { text-align: left; color: var(--fg-primary); }
.mini-matrix .on { color: var(--env-prod); }
.mini-matrix .off { color: var(--off); }
.mini-matrix .partial { color: var(--env-staging); }

/* Audit row stream widget */
.audit-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: var(--s-4); align-items: center;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono); font-size: 12px;
}
.audit-row:last-child { border-bottom: 0; }
.audit-row .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--env-prod);
  animation: argus-pulse 2s ease-out infinite;
}
.audit-row .static-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-muted);
  margin-left: 1px;
}
.audit-row__line { color: var(--fg-secondary); }
.audit-row__line .k { color: var(--fg-muted); }
.audit-row__line .v { color: var(--fg-primary); }
.audit-row__ts { color: var(--fg-muted); font-size: 11px; }

/* Rollout slider */
.rollout {
  display: flex; flex-direction: column; gap: var(--s-3);
  font-family: var(--font-mono); font-size: 12px;
}
.rollout__bar {
  height: 8px; border-radius: var(--r-pill);
  background: var(--bg-raised);
  overflow: hidden; position: relative;
}
.rollout__fill {
  height: 100%; width: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: var(--r-pill);
}
.rollout__row {
  display: flex; justify-content: space-between; color: var(--fg-muted);
}
.rollout__row .v { color: var(--fg-primary); }

/* ---------- Six-step ribbon ---------- */
.ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-5);
}
.ribbon__step {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6) var(--s-5);
  background: var(--bg-surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-4);
}
.ribbon__num {
  font-family: var(--font-mono); font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent);
}
.ribbon__h {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-primary);
}
.ribbon__detail {
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
  color: var(--fg-secondary);
  word-break: break-word;
}

/* Vertical ribbon (used on /how-it-works) — step label above body, not left rail */
.ribbon--vertical { display: flex; flex-direction: column; gap: var(--s-5); }
.ribbon--vertical .ribbon__step {
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-5);
  padding: var(--s-7);
}
.ribbon--vertical .ribbon__num {
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  color: var(--accent);
}
.ribbon--vertical .ribbon__detail { font-size: 13px; }

/* ---------- Wedge "where Argus fits" ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-faint);
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--bg-surface);
}
.fit-grid__head {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: var(--s-5) var(--s-6);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line-faint);
}
.fit-grid__cell {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--line-faint);
  font-size: 14px; color: var(--fg-secondary); line-height: 1.55;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.fit-grid__cell:last-child { border-right: 0; }
.fit-grid__title { font-family: var(--font-mono); font-size: 13px; color: var(--fg-primary); font-weight: 600; }
.fit-grid__caption {
  grid-column: 1 / -1; padding: var(--s-5) var(--s-6);
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-faint); letter-spacing: 0.04em;
}

/* ---------- Capability matrix ---------- */
.cap-matrix {
  width: 100%; font-family: var(--font-mono); font-size: 13px;
}
.cap-matrix th, .cap-matrix td {
  padding: var(--s-4) var(--s-5);
  text-align: center; vertical-align: middle;
  border-bottom: 1px solid var(--line-faint);
}
.cap-matrix thead th {
  font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); border-bottom: 1px solid var(--line-soft);
}
.cap-matrix th.feat, .cap-matrix td.feat { text-align: left; color: var(--fg-primary); }
.cap-matrix .own { color: var(--accent); }
.cap-matrix th.own, .cap-matrix td.own { background: var(--accent-soft); }
.cap-matrix .cell-on { color: var(--env-prod); }
.cap-matrix .cell-partial { color: var(--env-staging); }
.cap-matrix .cell-off { color: var(--fg-muted); }
.cap-matrix tfoot td {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-faint); padding-top: var(--s-5);
  text-align: left; border-bottom: 0;
}

/* ---------- Founder note ---------- */
.founder {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--s-7);
  align-items: start;
  max-width: 880px;
}
.founder__avatar {
  width: 96px; height: 96px; border-radius: var(--r-pill);
  background: var(--bg-raised); border: 1px solid var(--line-faint);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-secondary);
  font-family: var(--font-mono); font-size: 32px; font-weight: 600;
  letter-spacing: -0.02em;
}
.founder__body { display: flex; flex-direction: column; gap: var(--s-5); }
.founder__sig {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-muted);
  display: inline-flex; gap: var(--s-4); align-items: center;
}

/* ---------- FAQ ---------- */
.faq-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-9);
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--line-faint);
}
.faq-group__title {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.faq-list { display: flex; flex-direction: column; gap: var(--s-7); }
.faq-q {
  display: flex; flex-direction: column; gap: var(--s-3);
}
.faq-q__h {
  font-family: var(--font-mono); font-size: 17px;
  color: var(--fg-primary); margin: 0; font-weight: 500; line-height: 1.32;
}
.faq-q__h::before { content: "▸  "; color: var(--accent); }
.faq-q__a { color: var(--fg-secondary); font-size: 14px; line-height: 1.6; max-width: 680px; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: var(--s-6); }
.form__field { display: flex; flex-direction: column; gap: var(--s-3); }
.form__label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.form__label .req { color: var(--accent); margin-left: 4px; }
.form__hint {
  font-family: var(--font-body); font-size: 12px; color: var(--fg-muted);
  line-height: 1.5;
}
.form__input,
.form__textarea,
.form__select {
  background: var(--bg-base);
  border: 1px solid var(--line-medium);
  border-radius: var(--r-3);
  padding: 10px 12px;
  color: var(--fg-primary);
  font-family: var(--font-body); font-size: 14px;
  transition: border-color var(--d-fast) var(--ease-out);
  width: 100%;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none; border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__textarea { min-height: 110px; resize: vertical; }
.form__select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' fill='none' stroke='%236c7387' stroke-width='1.4'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form__check { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--fg-secondary); font-size: 13px; line-height: 1.5; }
.form__check input { margin-top: 3px; accent-color: var(--accent); }
.form__actions { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-5);
  padding: var(--s-9);
}
.form-card--mid { background: var(--bg-base); border-color: var(--line-faint); padding: var(--s-7); }

/* ---------- Tables (generic, dark) ---------- */
.tbl {
  width: 100%; font-family: var(--font-body); font-size: 14px;
}
.tbl th, .tbl td {
  padding: var(--s-4) var(--s-5); text-align: left;
  border-bottom: 1px solid var(--line-faint);
  color: var(--fg-secondary);
}
.tbl thead th {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); border-bottom: 1px solid var(--line-soft);
}
.tbl td.num { font-family: var(--font-mono); color: var(--fg-primary); font-feature-settings: "tnum"; }

/* ---------- Architecture diagram ---------- */
.arch {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--bg-surface);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-4);
  padding: var(--s-7);
}
.arch__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s-6); align-items: center;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-3);
  background: var(--bg-base);
  border: 1px solid var(--line-faint);
}
.arch__row--tenant {
  background: var(--accent-soft);
  border-color: var(--accent-line);
}
.arch__lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; flex-direction: column; gap: 2px;
}
.arch__lbl strong {
  font-size: 16px; letter-spacing: 0.02em; text-transform: none;
  color: var(--fg-primary);
}
.arch__row--tenant .arch__lbl strong { color: var(--accent); }
.arch__chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.arch__chip {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--bg-raised); color: var(--fg-secondary);
  border: 1px solid var(--line-faint);
}
.arch__chip--accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }

/* ---------- Roadmap columns ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
}
.roadmap__col header {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-faint);
  margin-bottom: var(--s-5);
}
.roadmap__col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.roadmap__col li {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-secondary);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.roadmap__col li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

/* ---------- "What this replaces" list ---------- */
.replaces { display: flex; flex-direction: column; gap: var(--s-4); max-width: 720px; }
.replaces li {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-faint);
  color: var(--fg-secondary); font-size: 14px; line-height: 1.55;
}
.replaces li::before { content: "—"; color: var(--accent); font-family: var(--font-mono); }

/* ---------- Demo placeholder ---------- */
.demo-frame {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line-faint);
  border-radius: var(--r-5);
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.demo-frame .play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--fg-inverse);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: var(--shadow-glow-accent);
}
.demo-frame .demo-cap {
  position: absolute; bottom: var(--s-6); left: var(--s-6);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-muted); letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-sunken);
  border-top: 1px solid var(--line-faint);
  padding: var(--s-12) 0 var(--s-7);
  margin-top: var(--s-12);
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--s-9);
  margin-bottom: var(--s-9);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-brand .tagline { color: var(--fg-secondary); font-size: 13px; max-width: 260px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-muted); margin: 0 0 var(--s-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-secondary);
  transition: color var(--d-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--fg-primary); }
.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s-7);
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.site-footer__pulse { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__pulse .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--env-prod);
  animation: argus-pulse 2s ease-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-9); }
  .three-card { grid-template-columns: 1fr; }
  .ribbon { grid-template-columns: 1fr 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid__cell { border-right: 0; border-bottom: 1px solid var(--line-faint); }
  .arch__row { grid-template-columns: 1fr; gap: var(--s-3); }
  .roadmap { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .faq-group { grid-template-columns: 1fr; gap: var(--s-5); }
  .problem-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root {
    /* H1 to 40px on phone, H2 to 28px */
    --t-h1: 40px;
    --t-h2: 28px;
  }
  .container { padding: 0 var(--s-5); }
  .section { padding: var(--s-10) 0; }
  .nav { display: none; }
  .header-cta .btn { padding: 0 12px; font-size: 12px; }
  .problem-grid { grid-template-columns: 1fr; }
  .ribbon { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: var(--s-4); align-items: flex-start; }
  .founder { grid-template-columns: 64px 1fr; gap: var(--s-5); }
  .founder__avatar { width: 64px; height: 64px; font-size: 22px; }
  .form-card { padding: var(--s-6); }
  .wedge__lead { font-size: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .pill--prod .pill-dot,
  .live .live-dot,
  .audit-row .pulse,
  .site-footer__pulse .dot { animation: none !important; box-shadow: none !important; }
}
