/* Agents Inc. — Neon-industrial landing page */

:root {
  --bg: #050505;
  --bg-1: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #171717;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --text: #f5f5f0;
  --text-dim: #9a9a92;
  --text-muted: #8a8a82;
  --accent: #ffd60a;
  --accent-2: #ffed4a;
  --accent-dim: rgba(255, 214, 10, 0.15);
  --accent-glow: rgba(255, 214, 10, 0.35);
  --danger: #ff5c5c;
  --success: var(--accent);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─────────── circuit background ─────────── */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-dim), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 110%, rgba(255, 214, 10, 0.08), transparent 60%);
}
.circuit-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.8'/></svg>");
  mix-blend-mode: overlay;
}

/* ─────────── layout ─────────── */
.page { position: relative; z-index: 2; }
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* ─────────── typography ─────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}

h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 500; }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  border-radius: 1px;
}

.mono { font-family: var(--font-mono); }

.glow-text {
  color: var(--accent);
  text-shadow: 0 0 28px var(--accent-glow);
}

/* ─────────── nav ─────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--accent);
  box-shadow: 0 0 18px var(--accent-dim);
  transition: box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}
.nav.scrolled {
  box-shadow: 0 0 0 rgba(0,0,0,0);
  border-bottom-color: rgba(255, 214, 10, 0.22);
  background: linear-gradient(180deg, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.35) 100%);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 32px; height: 32px; border-radius: 50%; }
.nav-logo .wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo .wordmark .dot { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 180ms ease;
  position: relative;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 0 0 1px var(--accent-2), 0 0 36px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

.btn-arrow { transition: transform 180ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ─────────── beveled panel ─────────── */
.panel {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 28px;
}
.panel.beveled {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.panel.glowing {
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 0 0 1px var(--accent-dim),
    0 0 40px rgba(255, 214, 10, 0.06);
}
.panel.glowing::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* Corner brackets */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--accent);
}
.brackets::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.brackets::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ─────────── hero ─────────── */
.hero {
  padding: 160px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  margin-bottom: 28px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-1);
}
.hero-kicker .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 span.ai {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
  font-style: italic;
  font-weight: 400;
}
.hero .sub {
  margin-top: 32px;
  font-size: 20px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.5;
}
@media (max-width: 720px) { .hero .sub { font-size: 17px; } }

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 620px;
}
.hero-stats .stat {
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.hero-stats .stat .lbl {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Terminal demo */
.terminal {
  background: #000;
  border: 1px solid var(--line-2);
  position: relative;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 40px 100px rgba(0,0,0,0.6), 0 0 80px rgba(255,214,10,0.08);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.terminal-bar .dots { display: flex; gap: 6px; margin-right: 8px; }
.terminal-bar .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2);
}
.terminal-bar .dots span:nth-child(1) { background: #ff5c5c; }
.terminal-bar .dots span:nth-child(2) { background: #ffd60a; }
.terminal-bar .dots span:nth-child(3) { background: #6aff9e; }
.terminal-bar .path { margin-left: auto; }

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  min-height: 420px;
  line-height: 1.7;
}
.terminal-body .prompt { color: var(--accent); }
.terminal-body .you { color: var(--text); }
.terminal-body .sys { color: var(--text-dim); }
.terminal-body .ok { color: var(--success); }
.terminal-body .hl { color: var(--accent); }
.terminal-body .task { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.terminal-body .task .check {
  width: 14px; height: 14px; border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.terminal-body .task.done .check {
  background: var(--accent); color: #000; border-color: var(--accent);
}
.terminal-body .task.running .check {
  border-color: var(--accent); color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ─────────── section headings ─────────── */
.section-head {
  margin-bottom: 64px;
  max-width: 780px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--text-dim); font-size: 18px; max-width: 620px; }

/* ─────────── problem / comparison ─────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 980px) {
  .compare { grid-template-columns: 1fr; }
  .compare .vs { display: none; }
}
.compare-col {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
}
.compare-col.diy { background: transparent; }
.compare-col.us {
  background: var(--bg-1);
  box-shadow: inset 0 0 0 1px var(--accent-dim), 0 0 60px rgba(255,214,10,0.06);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-color: transparent;
  position: relative;
}
.compare-col.us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.compare-col h3 { margin-bottom: 4px; }
.compare-col .title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.compare-col .title-row .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-col.us .title-row .badge { color: var(--accent); }
.compare-col h3 { color: var(--text); font-size: 22px; }
.compare-col.diy h3 { color: var(--text-dim); }

.step-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.step-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-list li:last-child { border-bottom: none; }
.step-list .idx {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 11px;
  width: 22px;
  flex-shrink: 0;
}
.step-list .label { flex: 1; color: var(--text-dim); }
.step-list .time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.compare-col.us .step-list .label { color: var(--text); }
.compare-col.us .step-list .time { color: var(--accent); }

.compare-col.diy .summary, .compare-col.us .summary {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.compare-col .summary .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-col .summary .v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.compare-col.diy .summary .v { color: #ff8080; }
.compare-col.us .summary .v { color: var(--accent); }

.vs {
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.vs span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  background: var(--bg);
  padding: 8px 0;
  z-index: 1;
}
.vs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
  width: 1px;
  left: 50%;
}

/* ─────────── shipped components ─────────── */
.shipped-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .shipped-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shipped-grid { grid-template-columns: 1fr; } }

.ship-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 200px;
  cursor: pointer;
  transition: all 220ms ease;
  overflow: hidden;
}
.ship-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.ship-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.ship-card:hover::before { opacity: 1; }
.ship-card .ship-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.ship-card .ship-live {
  position: absolute;
  top: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--success);
  text-transform: uppercase;
}
.ship-card .ship-live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.8s infinite;
}
.ship-card h3 {
  margin-top: 18px;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
}
.ship-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  position: relative;
}
.ship-card .url {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
  opacity: 0.7;
  word-break: break-all;
  position: relative;
}
.ship-card .ico {
  position: absolute;
  top: 60px;
  right: 24px;
  opacity: 0.15;
  transition: opacity 220ms ease;
}
.ship-card:hover .ico { opacity: 0.4; }

/* ─────────── ticker ─────────── */
.ticker {
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  position: relative;
}
.ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #000;
}
.ticker-head .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-head .lbl .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.4s infinite;
}
.ticker-head .stats {
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.ticker-head .stats b { color: var(--accent); font-weight: 500; margin-left: 4px; }

.ticker-rows {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.tx-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr 90px 90px;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  animation: slideIn 380ms ease;
}
.tx-row:last-child { border-bottom: none; }
@media (max-width: 720px) {
  .tx-row { grid-template-columns: 60px 1fr 80px; }
  .tx-row .hide-mob { display: none; }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tx-row .time { color: var(--text-muted); font-size: 11px; }
.tx-row .addr { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-row .arrow { color: var(--accent); }
.tx-row .amt { color: var(--text); text-align: right; }
.tx-row .status {
  text-align: right;
  color: var(--success);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────── calculator ─────────── */
.calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }
.calc-controls { padding: 40px; border-right: 1px solid var(--line); }
@media (max-width: 980px) { .calc-controls { border-right: none; border-bottom: 1px solid var(--line); } }
.calc-results { padding: 40px; background: #000; position: relative; }

.calc-slider-row { margin-bottom: 28px; }
.calc-slider-row:last-child { margin-bottom: 0; }
.calc-slider-row .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.calc-slider-row .head .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.calc-slider-row .head .val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
}
.calc-slider-row .head .val .cur {
  color: var(--text-muted);
  font-size: 18px;
  margin-right: 4px;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line-2);
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--accent);
  border: 2px solid #000;
  box-shadow: 0 0 12px var(--accent-glow);
  cursor: grab;
}
.slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--accent);
  border: 2px solid #000;
  box-shadow: 0 0 12px var(--accent-glow);
  cursor: grab;
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.calc-compare {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.calc-row:last-child { border-bottom: none; }
.calc-row .name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.calc-row .val-pair { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.calc-row .val-pair .main {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
}
.calc-row .val-pair .main.hi { color: #ff8080; }
.calc-row .val-pair .main.lo { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
.calc-row .val-pair .sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.calc-savings {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--accent);
  background: rgba(255, 214, 10, 0.06);
  text-align: center;
  position: relative;
}
.calc-savings::before, .calc-savings::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
}
.calc-savings::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.calc-savings::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.calc-savings .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.calc-savings .v {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 32px var(--accent-glow);
  margin-top: 8px;
  line-height: 1;
}
.calc-savings .sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ─────────── launchpad ─────────── */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.lp-card .num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
  line-height: 1;
}
.lp-card .u {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}
.lp-card h3 { margin-top: 20px; font-size: 18px; }
.lp-card p { color: var(--text-dim); font-size: 14px; margin-top: 10px; line-height: 1.5; }

/* ─────────── team ─────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
}
.team-card .avatar {
  width: 64px; height: 64px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.team-card .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}
.team-card .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-card .bio {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ─────────── CTA ─────────── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}
.cta-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 48px;
  background: radial-gradient(ellipse at center, rgba(255,214,10,0.12), transparent 70%), var(--bg-1);
  border: 1px solid var(--line);
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.cta-box h2 { margin-bottom: 20px; }
.cta-box p { color: var(--text-dim); margin-bottom: 36px; font-size: 18px; }

.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist-form input {
  flex: 1;
  background: #000;
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-color 180ms ease;
}
.waitlist-form input:focus { border-color: var(--accent); }

/* ─────────── footer ─────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
@media (max-width: 720px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* ─────────── dashboard mock ─────────── */
.dashboard {
  background: #000;
  border: 1px solid var(--line-2);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 40px 80px rgba(0,0,0,0.6);
  overflow: hidden;
}
.dash-top {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }

.dash-body { display: grid; grid-template-columns: 160px 1fr; min-height: 380px; }
@media (max-width: 600px) { .dash-body { grid-template-columns: 1fr; } .dash-side { display: none; } }
.dash-side {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-side .seg {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 10px 6px;
}
.dash-side .item {
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.dash-side .item.active { color: var(--accent); background: var(--accent-dim); }
.dash-side .item .glyph { opacity: 0.7; }

.dash-main { padding: 20px; }
.dash-hello {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.dash-hello .t { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.dash-hello .s { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.dash-hello .rev {
  text-align: right;
}
.dash-hello .rev .n {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent-glow);
}
.dash-hello .rev .l { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.kpi {
  padding: 12px;
  background: var(--bg-1);
  border: 1px solid var(--line);
}
.kpi .k { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.kpi .v { font-family: var(--font-display); font-size: 18px; color: var(--text); margin-top: 6px; }
.kpi .d { font-family: var(--font-mono); font-size: 10px; color: var(--success); margin-top: 2px; }

.dash-agents {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 12px;
}
.dash-agents h5 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.agent-row {
  display: grid;
  grid-template-columns: 1fr 60px 80px;
  gap: 8px;
  padding: 8px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
}
.agent-row:last-child { border-bottom: none; }
.agent-row .nm { display: flex; align-items: center; gap: 8px; color: var(--text); }
.agent-row .nm .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.agent-row .nm .dot.idle { background: var(--text-muted); box-shadow: none; }
.agent-row .role-t { color: var(--text-muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.agent-row .status { color: var(--accent); font-size: 10px; text-align: right; letter-spacing: 0.08em; text-transform: uppercase; }

/* ─────────── tweaks panel ─────────── */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 100;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 20px;
  width: 260px;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.tweaks-panel .tw-row { margin-bottom: 16px; }
.tweaks-panel .tw-row .tw-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: block;
}
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  width: 28px; height: 28px;
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: transform 160ms ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { border: 2px solid #fff; }

/* ─────────── section dividers ─────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  margin: 0 auto;
  max-width: 1280px;
}

.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  overflow: hidden;
}
.marquee-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 4px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.marquee-viewport {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding: 4px 36px 14px;
  animation: scroll 55s linear infinite;
}
.integration {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  transition: color 240ms ease;
  flex-shrink: 0;
}
.integration:hover { color: var(--accent); }
.integration-logo {
  display: inline-flex;
  width: 20px; height: 20px;
  color: var(--text);
}
.integration-logo svg { width: 100%; height: 100%; }
.integration-name {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: none;
  font-weight: 500;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } } }
@media (max-width: 720px) {
  .marquee { grid-template-columns: 1fr; }
  .marquee-label { border-right: none; border-bottom: 1px solid var(--line); justify-content: center; }
}

/* ─────────── flowchart ─────────── */
.flowchart {
  background: #000;
  border: 1px solid var(--line-2);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 40px 100px rgba(0,0,0,0.6), 0 0 80px rgba(255,214,10,0.08);
  padding: 20px 24px 24px;
  position: relative;
  max-height: 560px;
  display: flex;
  flex-direction: column;
}
.flow-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  position: relative;
  margin: 0 -8px;
  padding: 0 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
.flow-scroll::-webkit-scrollbar { width: 4px; }
.flow-scroll::-webkit-scrollbar-track { background: transparent; }
.flow-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
.flow-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.flow-header-left { display: flex; align-items: center; gap: 10px; }
.flow-header-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulse 1.8s infinite;
}
.flow-header-label, .flow-header-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.flow-header-time { color: var(--text-muted); }

.flow-body { position: relative; padding: 12px 0 6px; isolation: isolate; }

.flow-spine {
  position: absolute;
  top: 32px; bottom: 32px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
}
.flow-spine-line {
  position: absolute;
  inset: 0;
  background: var(--line);
}
.flow-spine-line.fill {
  top: 0; bottom: auto;
  background: linear-gradient(180deg, var(--accent), rgba(255,214,10,0.3));
  box-shadow: 0 0 10px var(--accent-glow);
  transition: height 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 14px;
  opacity: 0.2;
  transform: translateY(6px);
  transition: opacity 380ms ease, transform 380ms ease;
}
.flow-step.on { opacity: 1; transform: translateY(0); }

.flow-rail {
  grid-column: 2;
  display: flex;
  justify-content: center;
}
.flow-node {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  position: relative;
  z-index: 2;
  transition: all 280ms ease;
}
.flow-step.on .flow-node {
  border-color: var(--accent);
  background: var(--bg-1);
  box-shadow: 0 0 0 4px #000, 0 0 16px var(--accent-glow);
}
.flow-n {
  transform: rotate(-45deg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.flow-step.on .flow-n { color: var(--accent); }

.flow-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 12px 14px;
  position: relative;
  transition: border-color 280ms ease;
}
.flow-step.left .flow-card { grid-column: 1; margin-right: 16px; }
.flow-step.right .flow-card { grid-column: 3; margin-left: 16px; }
.flow-step.on .flow-card {
  border-color: var(--line-2);
  box-shadow: inset 0 0 0 1px var(--accent-dim);
}
.flow-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--line-2);
  transition: background 280ms ease;
}
.flow-step.left .flow-card::before { right: -18px; }
.flow-step.right .flow-card::before { left: -18px; }
.flow-step.on .flow-card::before {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.flow-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.flow-icon {
  width: 32px; height: 28px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 280ms ease;
}
.flow-step.on .flow-icon { color: var(--accent); }
.flow-action {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
}
.flow-detail {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 8px;
}
.flow-result {
  padding: 6px 10px;
  background: #000;
  border-left: 2px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  transition: border-color 280ms ease;
}
.flow-step.on .flow-result { border-left-color: var(--accent); }
.flow-result-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.flow-step.on .flow-result-tag { color: var(--accent); }
.flow-result-text { color: var(--text); }
.flow-result.r-quote .flow-result-text { color: var(--text-dim); font-style: italic; }
.flow-result.r-money .flow-result-text { color: var(--success); }
.flow-result.r-url .flow-result-text { color: var(--accent); }

.flow-footer {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(255,214,10,0.06);
  border: 1px dashed rgba(255,214,10,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.2;
  transition: opacity 380ms ease;
}
.flow-footer.on { opacity: 1; }
.flow-footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}
.flow-footer-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

@media (max-width: 520px) {
  .flow-step { grid-template-columns: 40px 1fr; }
  .flow-rail { grid-column: 1; }
  .flow-step.left .flow-card, .flow-step.right .flow-card {
    grid-column: 2; margin-left: 16px; margin-right: 0;
  }
  .flow-step.left .flow-card::before { right: auto; left: -16px; }
  .flow-spine { left: 20px; }
}


/* ─────────── multi-agent ─────────── */
.ma-split {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .ma-split { grid-template-columns: 1fr; } .ma-vs { display: none; } }
.ma-col {
  padding: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.ma-col.multi-col {
  position: relative;
  box-shadow: inset 0 0 0 1px var(--accent-dim);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  border-color: transparent;
}
.ma-col.multi-col::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}
.ma-col-head { margin-bottom: 20px; }
.ma-col-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.ma-col-label.bad { color: #ff8080; }
.ma-col-label.good { color: var(--accent); }
.ma-col-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 10px currentColor;
}
.ma-col-sub { margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.ma-vs { display: flex; align-items: center; justify-content: center; position: relative; }
.ma-vs span {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.2em; background: var(--bg); padding: 8px 0; z-index: 1;
}
.ma-vs::before {
  content: ''; position: absolute; inset: 0; width: 1px; left: 50%;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
}
.ma-viz { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ma-blob { position: relative; flex: 1; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.ma-blob-core { display: inline-block; }
.ma-chip {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 4px 8px;
  background: rgba(255, 92, 92, 0.08);
  border: 1px dashed rgba(255, 92, 92, 0.4);
  color: #ff8080;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: chipDrop 2.4s ease-in-out infinite;
}
@keyframes chipDrop {
  0%, 40% { opacity: 1; filter: blur(0); }
  55% { opacity: 0.3; filter: blur(1px); transform: translate(-50%, -50%) scale(0.9); }
  70% { opacity: 0.15; filter: blur(2px); transform: translate(-50%, -50%) scale(0.85) translateY(8px); }
  100% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1); }
}
.ma-team { position: relative; flex: 1; min-height: 280px; }
.ma-edges { position: absolute; inset: 0; width: 100%; height: 100%; }
.ma-role { position: absolute; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.ma-role-node {
  width: 44px; height: 44px;
  background: #000;
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; color: var(--accent);
  box-shadow: 0 0 0 4px #000, 0 0 20px var(--accent-glow);
  transform: rotate(45deg);
  margin: 0 auto;
}
.ma-role-node span { transform: rotate(-45deg); display: inline-block; }
.ma-role-label {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text);
}
.ma-role-ctx {
  font-family: var(--font-mono);
  font-size: 9px; color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.ma-task {
  position: absolute;
  left: var(--x1); top: var(--y1);
  transform: translate(-50%, -50%);
  padding: 3px 7px;
  background: rgba(255,214,10,0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: taskGo 2.2s ease-in-out forwards;
  pointer-events: none;
  z-index: 3;
}
@keyframes taskGo {
  0% { left: var(--x1); top: var(--y1); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: var(--x2); top: var(--y2); opacity: 0; }
}
.ma-viz-caption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.ma-stat-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  display: block; margin-bottom: 8px;
}
.ma-bar { height: 6px; background: var(--line); position: relative; }
.ma-bar.sm { height: 4px; }
.ma-bar-fill { height: 100%; transition: width 800ms ease; }
.ma-bar-fill.bad { background: #ff5c5c; box-shadow: 0 0 12px rgba(255,92,92,0.5); }
.ma-bar-fill.good { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.ma-bars { display: flex; flex-direction: column; gap: 4px; }
.ma-stat-detail { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.ma-table { border: 1px solid var(--line); background: var(--bg-1); margin-bottom: 32px; }
.ma-table-head, .ma-table-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ma-table-head { border-bottom: 1px solid var(--line-2); background: #000; }
.ma-table-head .ma-cell {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px;
}
.ma-table-head .ma-cell.s { color: #ff8080; }
.ma-table-head .ma-cell.m { color: var(--accent); }
.ma-table-row { border-bottom: 1px solid var(--line); }
.ma-table-row:last-child { border-bottom: none; }
.ma-cell { padding: 16px 20px; font-size: 14px; }
.ma-table-row .ma-cell.k {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.ma-table-row .ma-cell.s { color: var(--text-dim); }
.ma-table-row .ma-cell.m { color: var(--text); font-weight: 500; }
@media (max-width: 720px) {
  .ma-table-head, .ma-table-row { grid-template-columns: 1fr; }
  .ma-table-row .ma-cell { padding: 10px 20px; }
  .ma-table-row .ma-cell.k { padding-top: 18px; border-top: 1px solid var(--line-2); }
  .ma-table-head .ma-cell.k { display: none; }
}
.ma-footer {
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 0 0;
  border-top: 1px dashed var(--line-2);
}

/* ─────────── Agent chat feed (hero right column) ─────────── */
.agent-feed {
  margin-top: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  position: relative;
  overflow: hidden;
}
.agent-feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5,5,5,0.85) 100%) no-repeat 0 100% / 100% 32px,
    linear-gradient(0deg, transparent 0%, rgba(5,5,5,0.5) 100%) no-repeat 0 0 / 100% 24px;
  pointer-events: none;
  z-index: 2;
}
.agent-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-2);
}
.agent-feed-head .agent-feed-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s infinite;
}
.agent-feed-label { color: var(--text); }
.agent-feed-spacer { flex: 1; }
.agent-feed-time { color: var(--accent); }

.agent-feed-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 158px;
}
.agent-msg {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
  animation: agent-msg-in 420ms ease both;
}
@keyframes agent-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.agent-msg-who {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-msg-text { color: var(--text-dim); }
.agent-msg-pay .agent-msg-who,
.agent-msg-pay .agent-msg-text { color: var(--accent); }
.agent-msg-cto .agent-msg-who { color: var(--accent-2); }

/* ─────────── Strengthened final CTA ─────────── */
.cta-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 680px;
  margin: 36px auto 36px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.cta-promises .prom {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--line-2);
}
.cta-promises .prom:last-child { border-right: none; }
.cta-promises .prom-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cta-promises .prom-v {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}
.cta-promises .prom-v .ac { color: var(--accent); }
@media (max-width: 680px) {
  .cta-promises { grid-template-columns: 1fr; }
  .cta-promises .prom { border-right: none; border-bottom: 1px solid var(--line-2); }
  .cta-promises .prom:last-child { border-bottom: none; }
}
.cta-micro {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cta-micro span { display: inline-flex; align-items: center; gap: 8px; }
.cta-micro .tick { color: var(--accent); }
