:root {
  --bg: #07100f;
  --bg-deep: #030908;
  --panel: #0b1715;
  --panel-2: #101f1c;
  --panel-3: #152824;
  --text: #f3f7ee;
  --muted: #9aaca5;
  --faint: #6f817b;
  --line: rgba(217, 238, 226, 0.13);
  --line-strong: rgba(217, 238, 226, 0.25);
  --lime: #c8ff4d;
  --mint: #5ff2bc;
  --cyan: #58dfff;
  --orange: #ffae57;
  --violet: #c58cff;
  --red: #ff6578;
  --cheap: #55dfff;
  --mid: #c8ff4d;
  --premium: #ffae57;
  --adv: #c58cff;
  --flaky: #ff6578;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, rgba(95, 242, 188, 0.09), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(200, 255, 77, 0.06), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255,255,255,0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.017) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.wide-shell { width: min(1540px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  width: min(1440px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 20px/1 Space Grotesk, sans-serif; letter-spacing: .08em; }
.brand-mark { padding: 8px 9px; color: #06100d; background: var(--lime); border-radius: 8px; letter-spacing: -.02em; }
.topbar nav { display: flex; gap: 34px; color: var(--muted); font-size: 16px; font-weight: 600; }
.topbar nav a { transition: color .2s ease; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.github-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255,255,255,.02);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.github-link svg { width: 23px; height: 23px; fill: currentColor; }
.github-link:hover { color: var(--lime); border-color: rgba(200,255,77,.5); background: rgba(200,255,77,.06); transform: translateY(-1px); }

.button {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .github-link:focus-visible, .scenario-tab:focus-visible, input:focus-visible { outline: 3px solid rgba(200,255,77,.35); outline-offset: 3px; }
.button-primary { color: #07100f; background: var(--lime); box-shadow: 0 14px 36px rgba(200,255,77,.13); }
.button-outline { border-color: var(--line-strong); }
.button-quiet { border-color: var(--line); color: var(--muted); }
.button.compact { min-width: 108px; padding-inline: 22px; }

.hero {
  min-height: calc(100vh - 84px);
  padding: 76px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: center;
  gap: 28px 70px;
  position: relative;
}
.hero-copy-block { align-self: center; position: relative; z-index: 2; }
.eyebrow, .kicker { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .17em; }
.live-pip { display: inline-block; width: 9px; height: 9px; margin-right: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(200,255,77,.08); animation: livePulse 1.8s ease-in-out infinite; }
.hero h1 { max-width: 900px; margin: 22px 0 30px; font: 650 clamp(66px, 8.2vw, 124px)/.88 Space Grotesk, sans-serif; letter-spacing: -.075em; }
.hero-copy { max-width: 830px; margin: 0; color: var(--muted); font-size: clamp(19px, 2vw, 27px); line-height: 1.48; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 22px; }
.hero-actions .button { min-height: 56px; padding-inline: 26px; font-size: 16px; }
.hero-actions .button span { margin-left: 12px; }
.hero-note { max-width: 270px; color: var(--faint); font-size: 15px; font-weight: 600; }

.hero-orbit { width: min(460px, 36vw); aspect-ratio: 1; justify-self: end; position: relative; isolation: isolate; }
.ecosystem-halo { position: absolute; inset: 4%; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,77,.08), rgba(95,242,188,.025) 38%, transparent 68%); filter: blur(2px); }
.ecosystem-ring { position: absolute; border-radius: 50%; }
.ecosystem-ring::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(217,238,226,.13); border-radius: inherit; }
.ecosystem-ring-outer { inset: 10%; animation: orbitSpin 34s linear infinite; }
.ecosystem-ring-middle { inset: 27%; animation: orbitSpin 23s linear infinite reverse; }
.ecosystem-ring-inner { inset: 39%; border: 1px dashed rgba(200,255,77,.2); box-shadow: 0 0 40px rgba(200,255,77,.04); animation: orbitSpin 18s linear infinite; }
.ecosystem-ring-outer::after, .ecosystem-ring-middle::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; border-radius: 50%; transform: translateX(-50%); background: var(--lime); box-shadow: 0 0 18px rgba(200,255,77,.7); }
.ecosystem-ring-middle::after { background: var(--cyan); box-shadow: 0 0 18px rgba(88,223,255,.7); }
.ecosystem-slot { position: absolute; inset: 0; display: block; transform: rotate(var(--angle)); }
.ecosystem-upright { position: absolute; left: 50%; top: 0; display: block; transform: translate(-50%,-50%) rotate(calc(-1 * var(--angle))); }
.ecosystem-node { min-width: 94px; min-height: 46px; padding: 7px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 15px; color: var(--text); background: rgba(8,20,18,.94); box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035); backdrop-filter: blur(12px); animation: orbitCounter 34s linear infinite; }
.ecosystem-ring-middle .ecosystem-node { min-width: 82px; min-height: 42px; padding: 6px 8px; animation-duration: 23s; animation-direction: reverse; }
.ecosystem-node i { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: #07100f; background: var(--lime); font: 800 12px/1 Space Grotesk; font-style: normal; box-shadow: 0 0 13px rgba(200,255,77,.22); }
.ecosystem-node b { font: 700 12px/1.05 Space Grotesk; white-space: nowrap; }
.node-provider i { background: var(--orange); box-shadow: 0 0 13px rgba(255,174,87,.25); }
.node-provider-cyan i { background: var(--cyan); box-shadow: 0 0 13px rgba(88,223,255,.25); }
.node-provider-lime i { background: var(--lime); box-shadow: 0 0 13px rgba(200,255,77,.25); }
.node-provider-warm i { background: var(--violet); box-shadow: 0 0 13px rgba(197,140,255,.25); }
.node-provider-red i { background: var(--red); box-shadow: 0 0 13px rgba(255,101,120,.25); }
.node-x402 { border-color: rgba(88,223,255,.36); }.node-x402 i, .node-agent-cyan i { background: var(--cyan); box-shadow: 0 0 13px rgba(88,223,255,.25); }
.node-usdc { border-color: rgba(39,117,202,.55); }.node-usdc i { color: #fff; background: #2775ca; box-shadow: 0 0 13px rgba(39,117,202,.4); }
.node-wallet i { background: var(--mint); box-shadow: 0 0 13px rgba(95,242,188,.25); }
.hero-core { position: absolute; inset: 38%; z-index: 4; display: grid; place-items: center; align-content: center; border: 1px solid rgba(200,255,77,.3); border-radius: 50%; background: rgba(8,20,18,.96); box-shadow: inset 0 0 38px rgba(200,255,77,.08), 0 0 64px rgba(200,255,77,.1); }
.hero-core span { color: var(--lime); font: 800 18px/1 Space Grotesk; }
.hero-core strong { margin-top: 3px; font: 700 25px/1 Space Grotesk; }
.hero-core small { width: 112px; margin-top: 9px; color: var(--muted); text-align: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.hero-system-map {
  grid-column: 1 / -1;
  min-height: 342px;
  padding: 25px 26px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(142px,.72fr) 58px minmax(365px,1.72fr) 58px minmax(126px,.62fr) 58px minmax(188px,.92fr);
  grid-template-rows: auto minmax(205px,1fr) 50px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background:
    radial-gradient(circle at 41% 50%, rgba(200,255,77,.075), transparent 24%),
    radial-gradient(circle at 79% 50%, rgba(88,223,255,.06), transparent 25%),
    linear-gradient(140deg, rgba(14,31,27,.96), rgba(6,15,14,.96));
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.hero-system-map::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to right, transparent, #000 28%, #000 80%, transparent); }
.architecture-eyebrow { grid-column: 1 / -1; grid-row: 1; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2px 8px; }
.architecture-eyebrow span { color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .15em; }
.architecture-eyebrow small { color: var(--faint); font-size: 13px; font-weight: 650; letter-spacing: .03em; }
.architecture-node { min-width: 0; min-height: 198px; z-index: 1; border: 1px solid var(--line); border-radius: 22px; background: rgba(8,20,18,.88); box-shadow: inset 0 1px rgba(255,255,255,.025), 0 14px 32px rgba(0,0,0,.16); }
.architecture-buyer { grid-column: 1; grid-row: 2; padding: 22px 18px; display: grid; place-items: center; align-content: center; gap: 15px; text-align: center; }
.architecture-pilot { grid-column: 3; grid-row: 2; align-self: stretch; padding: 20px; border-color: rgba(200,255,77,.32); background: linear-gradient(135deg, rgba(200,255,77,.08), rgba(8,20,18,.91) 43%); box-shadow: inset 0 0 38px rgba(200,255,77,.025), 0 0 34px rgba(200,255,77,.045); }
.architecture-x402 { grid-column: 5; grid-row: 2; padding: 20px 12px; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; }
.architecture-market { grid-column: 7; grid-row: 2; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 27px; }
.architecture-copy small, .architecture-pilot header small { display: block; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.architecture-copy strong { display: block; margin-top: 6px; font: 650 20px/1.08 Space Grotesk; }
.architecture-copy > span { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.architecture-glyph { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(88,223,255,.3); border-radius: 18px; color: var(--cyan); background: rgba(88,223,255,.06); box-shadow: inset 0 0 18px rgba(88,223,255,.04); }
.buyer-glyph span { font: 750 24px/1 Space Grotesk; }
.buyer-glyph i { position: absolute; left: 50%; bottom: 7px; width: 17px; height: 3px; border-radius: 99px; transform: translateX(-50%); background: var(--cyan); box-shadow: 0 0 10px rgba(88,223,255,.7); }
.architecture-pilot header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.architecture-pilot header strong { display: block; margin-top: 3px; font: 650 25px/1 Space Grotesk; }
.architecture-pilot-mark { width: 54px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; color: #07100f; background: var(--lime); font: 800 18px/1 Space Grotesk; box-shadow: 0 0 20px rgba(200,255,77,.14); }
.pilot-core-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.12); }
.pilot-core-grid > div { min-width: 0; min-height: 82px; padding: 12px 13px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.pilot-core-grid > div:last-child { border-right: 0; }
.pilot-core-grid small { color: var(--faint); font-size: 12px; font-weight: 800; }
.pilot-core-grid strong { margin-top: 6px; font: 650 15px/1.18 Space Grotesk; }
.pilot-core-grid span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.pilot-core-grid .pilot-core-active { background: var(--lime); }
.pilot-core-grid .pilot-core-active small, .pilot-core-grid .pilot-core-active strong, .pilot-core-grid .pilot-core-active span { color: #07100f; }
.x402-glyph { width: 64px; height: 64px; gap: 0; border-color: rgba(95,242,188,.35); color: var(--mint); background: rgba(95,242,188,.055); }
.x402-glyph small { margin-top: 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.x402-glyph strong { margin-top: -7px; font: 750 24px/1 Space Grotesk; }
.architecture-provider-dots { height: 24px; display: flex; align-items: center; gap: 7px; }
.architecture-provider-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(88,223,255,.35); }
.architecture-provider-dots i:nth-child(2) { background: var(--mint); }.architecture-provider-dots i:nth-child(3) { background: var(--lime); }.architecture-provider-dots i:nth-child(4) { background: var(--orange); }.architecture-provider-dots i:nth-child(5) { background: var(--red); }
.architecture-connector { align-self: center; position: relative; z-index: 1; height: 42px; }
.connector-context { grid-column: 2; grid-row: 2; }.connector-choice { grid-column: 4; grid-row: 2; }.connector-call { grid-column: 6; grid-row: 2; }
.architecture-connector span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--faint); font-size: 12px; font-weight: 750; white-space: nowrap; }
.architecture-connector i { position: absolute; left: 2px; right: 6px; top: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(88,223,255,.22), var(--cyan)); }
.architecture-connector i::after { content: ""; position: absolute; right: -5px; top: -4px; border-left: 8px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.connector-choice i { background: linear-gradient(90deg, rgba(200,255,77,.25), var(--lime)); }.connector-choice i::after { border-left-color: var(--lime); }
.connector-call i { background: linear-gradient(90deg, rgba(95,242,188,.22), var(--mint)); }.connector-call i::after { border-left-color: var(--mint); }
.architecture-feedback { grid-column: 3 / 8; grid-row: 3; align-self: stretch; position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-start; gap: 7px; padding-left: 34px; color: var(--muted); }
.architecture-feedback::before { content: ""; position: absolute; left: 9px; right: 30px; top: 6px; height: 16px; border-left: 1px solid rgba(95,242,188,.52); border-right: 1px solid rgba(95,242,188,.52); border-bottom: 1px solid rgba(95,242,188,.52); border-radius: 0 0 11px 11px; }
.architecture-feedback::after { content: ""; position: absolute; left: 5px; top: 4px; border-right: 7px solid var(--mint); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.architecture-feedback > i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(95,242,188,.55); }
.architecture-feedback span, .architecture-feedback b { position: relative; padding: 0 7px; background: #091714; font-size: 12px; line-height: 1.25; white-space: nowrap; }
.architecture-feedback b { color: var(--mint); font-weight: 750; }

.benchmark-strip {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benchmark-strip > div { padding: 19px 22px; border-right: 1px solid var(--line); }
.benchmark-strip > div:last-child { border-right: 0; }
.benchmark-strip strong { display: block; font: 650 25px/1.15 Space Grotesk; }
.benchmark-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

.replay-section { padding: 110px 0 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 38px; margin-bottom: 34px; }
.section-heading h2 { max-width: 950px; margin: 10px 0 14px; font: 650 clamp(42px, 5vw, 68px)/.98 Space Grotesk; letter-spacing: -.05em; }
.section-heading p { max-width: 830px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.replay-heading > div:first-child { max-width: 830px; }
.scenario-tabs { flex: 0 0 auto; display: flex; padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); }
.scenario-tab { min-width: 130px; padding: 10px 14px; border: 0; border-radius: 14px; color: var(--muted); background: transparent; cursor: pointer; text-align: left; }
.scenario-tab small { display: block; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.scenario-tab span { display: block; margin-top: 2px; font-size: 15px; font-weight: 750; }
.scenario-tab.active { color: #07100f; background: var(--text); }
.scenario-tab.active small { color: rgba(7,16,15,.6); }

.cockpit { border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: rgba(7,16,15,.88); box-shadow: var(--shadow); }
.market-panel { border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgba(95,242,188,.035), transparent 45%); }
.market-panel-head { min-height: 58px; padding: 12px 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 18px; }
.live-label { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.live-label span { display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.scenario-description { overflow: hidden; color: var(--muted); font-size: 15px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.source-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }

.market-visual {
  min-height: 570px;
  padding: 34px 30px;
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(260px, 1fr) 470px;
  align-items: center;
  gap: 30px;
  isolation: isolate;
  overflow: hidden;
}
.market-visual::before { content: ""; position: absolute; inset: 0; z-index: -3; background-image: radial-gradient(circle at 74% 50%, rgba(88,223,255,.05), transparent 32%); }
#connectionCanvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.shock-wash { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0; transition: opacity .7s ease; background: radial-gradient(circle at 70% 45%, rgba(255,101,120,.16), transparent 35%); }
body.market-shock .shock-wash { opacity: 1; animation: shockBreath 1.9s ease-in-out infinite; }
body[data-scenario="S3"].market-shock .shock-wash { background: radial-gradient(circle at 72% 45%, rgba(255,174,87,.15), transparent 36%); }

.buyer-node { width: 260px; min-height: 410px; padding: 20px; border: 1px solid var(--line); border-radius: 26px; background: rgba(9,22,19,.77); backdrop-filter: blur(14px); position: relative; display: flex; flex-direction: column; align-items: center; z-index: 4; }
.node-caption { align-self: flex-start; color: var(--mint); font-size: 13px; font-weight: 800; letter-spacing: .15em; }
.agent-wrap { width: 130px; height: 164px; margin: 18px auto 7px; position: relative; transform-origin: 50% 100%; animation: agentFloat 2.8s ease-in-out infinite; }
.agent-signal { position: absolute; left: 50%; top: 0; width: 56px; height: 22px; transform: translateX(-50%); }
.agent-signal i { position: absolute; left: 50%; bottom: 0; border: 1px solid rgba(200,255,77,.42); border-bottom: 0; border-radius: 50% 50% 0 0; transform: translateX(-50%); }
.agent-signal i:nth-child(1) { width: 18px; height: 7px; }.agent-signal i:nth-child(2) { width: 34px; height: 13px; }.agent-signal i:nth-child(3) { width: 52px; height: 21px; }
.agent-head { position: absolute; left: 18px; top: 25px; width: 94px; height: 74px; border: 2px solid #6b7c76; border-radius: 30px 30px 24px 24px; background: linear-gradient(155deg, #233b35, #0b1715 67%); box-shadow: inset 0 0 30px rgba(88,223,255,.08); }
.agent-visor { position: absolute; inset: 16px 12px 24px; border: 1px solid rgba(88,223,255,.35); border-radius: 18px; display: flex; justify-content: space-around; align-items: center; background: #06110f; }
.agent-visor span { width: 10px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.agent-mouth { position: absolute; left: 39px; bottom: 9px; width: 16px; height: 3px; border-radius: 4px; background: #758680; transition: transform .2s ease; }
.agent-body { position: absolute; left: 29px; top: 98px; width: 72px; height: 58px; border: 2px solid #60736c; border-radius: 16px 16px 25px 25px; background: linear-gradient(155deg, #1d312c, #091411); display: grid; place-items: center; }
.agent-body span { width: 42px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #07100f; background: var(--lime); font: 800 15px/1 Space Grotesk; }
.agent-base { position: absolute; left: 27px; bottom: 0; width: 76px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.48); filter: blur(3px); }
.agent-wrap.buying { animation: agentBuy .42s ease; }
.agent-wrap.alert .agent-visor span { background: var(--red); box-shadow: 0 0 12px var(--red); }
.agent-status { min-height: 76px; text-align: center; }
.agent-status strong { display: block; font: 650 24px/1.15 Space Grotesk; }
.agent-status span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.wallet-card { width: 100%; margin-top: auto; padding: 13px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.16); }
.wallet-card > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wallet-card span { color: var(--muted); font-size: 14px; }
.wallet-card strong { font: 650 19px/1 Space Grotesk; }
.wallet-track { height: 9px; margin-top: 10px; border-radius: 999px; overflow: hidden; position: relative; background: rgba(255,255,255,.08); }
.wallet-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--lime)); transition: width .35s ease; }
.wallet-track b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #fff; opacity: .7; }
.wallet-card small { margin-top: 7px; display: flex; justify-content: space-between; color: var(--faint); }
.wallet-card small span { color: inherit; font-size: 13px; }

.decision-hud { width: min(350px, 100%); justify-self: center; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(5,15,13,.67); backdrop-filter: blur(12px); position: relative; z-index: 4; }
.phase-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: var(--lime); background: rgba(200,255,77,.08); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.task-pill { margin-top: 20px; display: flex; align-items: center; gap: 10px; }
.task-pill span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 13px; color: var(--cyan); font: 700 13px Space Grotesk; }
.task-pill strong { font-size: 15px; }
.decision-copy { margin: 19px 0 14px; }
.decision-copy span { display: block; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.decision-copy strong { display: block; margin-top: 3px; font: 650 28px/1.15 Space Grotesk; }
.receipt-card { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.receipt-card > span { grid-column: 1 / -1; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.receipt-card div { padding-top: 7px; border-top: 1px solid var(--line); }
.receipt-card small { display: block; color: var(--faint); font-size: 13px; }
.receipt-card strong { display: block; margin-top: 2px; font: 650 17px Space Grotesk; }
.receipt-card.success > span { color: var(--mint); }.receipt-card.failure > span { color: var(--red); }
.update-rule { margin-top: 13px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.update-rule i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.provider-column { display: grid; gap: 9px; position: relative; z-index: 4; }
.provider-card { min-height: 89px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: 52px minmax(150px, 1fr) 100px; align-items: center; gap: 13px; position: relative; background: rgba(9,22,19,.78); backdrop-filter: blur(13px); transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.provider-card[data-provider="0"] { --provider-color: var(--cheap); }.provider-card[data-provider="1"] { --provider-color: var(--mid); }.provider-card[data-provider="2"] { --provider-color: var(--premium); }.provider-card[data-provider="3"] { --provider-color: var(--adv); }.provider-card[data-provider="4"] { --provider-color: var(--flaky); }
.provider-card.chosen { transform: translateX(-8px); border-color: var(--provider-color); background: color-mix(in srgb, var(--provider-color) 7%, rgba(9,22,19,.88)); box-shadow: 0 0 30px color-mix(in srgb, var(--provider-color) 12%, transparent); }
.provider-card.failed { border-color: rgba(255,101,120,.75); animation: providerFail .55s ease; }
.provider-symbol { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--provider-color) 48%, transparent); border-radius: 15px; color: var(--provider-color); background: color-mix(in srgb, var(--provider-color) 8%, transparent); font: 700 19px Space Grotesk; }
.provider-copy span { display: block; color: var(--provider-color); font-size: 14px; font-weight: 800; }
.provider-copy strong { display: block; margin-top: 1px; font-size: 13px; }
.provider-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.provider-live { text-align: right; }
.provider-live > strong { display: block; font: 650 15px Space Grotesk; }
.provider-live span { color: var(--faint); font-size: 13px; }
.provider-live b { color: var(--provider-color); font-size: 13px; }
.purchase-count { grid-column: 2 / -1; height: 3px; margin-top: -7px; display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; }
.purchase-count i { display: block; width: 0; max-width: 76%; height: 3px; border-radius: 3px; background: var(--provider-color); transition: width .35s ease; }
.purchase-count span { white-space: nowrap; }
.promo-flag { display: none; position: absolute; right: 10px; top: -8px; padding: 3px 7px; border-radius: 6px; color: #1b0c00; background: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .08em; transform: rotate(2deg); }
.promo-flag.show { display: block; }

.event-card { position: absolute; left: 50%; bottom: 24px; z-index: 5; min-width: 310px; max-width: 420px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,15,13,.88); transform: translateX(-50%); text-align: center; backdrop-filter: blur(13px); }
.event-card span { display: block; color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.event-card strong { display: block; font: 650 17px/1.3 Space Grotesk; }
.event-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.event-card.alert { border-color: rgba(255,101,120,.5); }.event-card.opportunity { border-color: rgba(255,174,87,.5); }

.timeline-block { min-height: 82px; padding: 12px 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr 180px; align-items: center; gap: 20px; }
.round-readout { display: flex; align-items: baseline; gap: 5px; }
.round-readout span { color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.round-readout strong { font: 650 25px/1 Space Grotesk; }.round-readout small { color: var(--faint); font-size: 13px; }
.timeline-control { display: block; }
.timeline-control input { width: 100%; height: 6px; border-radius: 999px; accent-color: var(--lime); cursor: pointer; }
.timeline-labels { display: flex; justify-content: space-between; margin-top: 4px; color: var(--faint); font-size: 13px; }
.round-context { text-align: right; }
.round-context span { display: block; color: var(--faint); font-size: 13px; }.round-context strong { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }

.analytics-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.panel { min-height: 470px; padding: 24px; background: var(--panel); }
.panel + .panel { border-left: 1px solid var(--line); }
.panel-head { min-height: 54px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-head span, .table-head span { color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.panel-head h3, .table-head h3 { margin: 4px 0 0; font: 650 22px/1.2 Space Grotesk; }
.bandit-formula { margin: 18px 0 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 7px; color: var(--faint); font-size: 13px; }
.bandit-formula b { color: var(--muted); font-weight: 600; }.bandit-formula i { color: var(--lime); font-style: normal; }
.bandit-scale { display: grid; grid-template-columns: 1fr 126px 76px; gap: 12px; padding: 0 8px 7px; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.bandit-scale span:nth-child(n+2) { text-align: right; }
.bandit-rows { display: grid; gap: 7px; }
.bandit-row { --provider-color: var(--cheap); min-height: 52px; padding: 8px; border: 1px solid transparent; border-radius: 12px; display: grid; grid-template-columns: 98px minmax(100px, 1fr) 126px 76px; gap: 12px; align-items: center; transition: background .2s ease, border-color .2s ease; }
.bandit-row:nth-child(2) { --provider-color: var(--mid); }.bandit-row:nth-child(3) { --provider-color: var(--premium); }.bandit-row:nth-child(4) { --provider-color: var(--adv); }.bandit-row:nth-child(5) { --provider-color: var(--flaky); }
.bandit-row.chosen { border-color: color-mix(in srgb, var(--provider-color) 55%, transparent); background: rgba(255,255,255,.035); }
.bandit-name strong { display: block; color: var(--provider-color); font-size: 15px; }.bandit-name small { color: var(--faint); font-size: 13px; }
.belief-track { height: 8px; position: relative; border-radius: 999px; background: rgba(255,255,255,.07); }
.belief-track i { position: absolute; top: 0; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--provider-color) 35%, transparent); }
.belief-track b { position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 3px; background: var(--provider-color); box-shadow: 0 0 10px var(--provider-color); transform: translateX(-50%); }
.cost-belief { text-align: right; }.cost-belief strong { display: block; font-size: 15px; }.cost-belief small { color: var(--faint); font-size: 12px; }
.score-value { text-align: right; }.score-value strong { color: var(--provider-color); font: 650 18px Space Grotesk; }.score-value small { display: block; color: var(--faint); font-size: 12px; }
.bandit-footer { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bandit-footer span { display: block; color: var(--faint); font-size: 13px; }.bandit-footer strong { display: block; margin-top: 2px; font-size: 14px; }

.chart-wrap { height: 300px; margin-top: 14px; position: relative; }
#allocationChart { width: 100%; height: 100%; display: block; }
.chart-cursor-label { position: absolute; top: 6px; left: 0; padding: 3px 6px; border-radius: 5px; color: #07100f; background: var(--text); font-size: 12px; font-weight: 800; pointer-events: none; transform: translateX(-50%); }
.allocation-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.allocation-legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.allocation-legend i { width: 14px; height: 3px; border-radius: 3px; }
.chart-note { margin-top: 12px; color: var(--faint); font-size: 14px; }

.live-metrics { display: grid; grid-template-columns: repeat(4, 1fr) 1.35fr; background: var(--panel-2); }
.live-metrics > div { min-height: 112px; padding: 18px 20px; border-right: 1px solid var(--line); }
.live-metrics > div:last-child { border-right: 0; }
.live-metrics span { display: block; color: var(--faint); font-size: 13px; font-weight: 700; }
.live-metrics strong { display: block; margin-top: 7px; font: 650 24px/1 Space Grotesk; }
.live-metrics small { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }
.live-metrics .event-metric strong { color: var(--lime); font-size: 17px; line-height: 1.25; }

.replay-controls { min-height: 76px; padding: 13px 20px; display: flex; align-items: center; gap: 12px; background: var(--bg-deep); }
.replay-controls-top { border-bottom: 1px solid var(--line); }
.play-icon { margin-right: 7px; }.replay-controls .button b { font-weight: 800; }
.speed-control { margin-left: auto; display: grid; grid-template-columns: auto 120px 42px; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.speed-control input { accent-color: var(--lime); }.speed-control strong { color: var(--text); }
.phase-rail { display: flex; align-items: center; padding-left: 18px; border-left: 1px solid var(--line); }
.phase-rail span { padding: 7px 10px; border-radius: 999px; color: var(--faint); font-size: 12px; font-weight: 700; }
.phase-rail span.active { color: #07100f; background: var(--lime); }

.results-section, .mechanism-section { padding: 110px 0; }
.scenario-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.result-card { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); position: relative; overflow: hidden; }
.result-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--scenario-color, var(--mint)); }
.result-card header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.result-card header span { color: var(--scenario-color, var(--mint)); font-size: 13px; font-weight: 800; letter-spacing: .11em; }
.result-card h3 { margin: 4px 0 0; font: 650 25px Space Grotesk; }
.result-card header small { padding: 6px 8px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.05); font-size: 12px; }
.result-card p { min-height: 66px; color: var(--muted); font-size: 14px; }
.result-metrics { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.result-metrics div { padding: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-metrics span { display: block; color: var(--faint); font-size: 12px; }.result-metrics strong { display: block; margin-top: 3px; font: 650 19px Space Grotesk; }
.adapt-readout { margin-top: 13px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }.adapt-readout strong { color: var(--text); }

.table-panel { margin-top: 18px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); }
.table-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.table-head p { max-width: 500px; margin: 0; color: var(--faint); font-size: 13px; text-align: right; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
th { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
th:first-child, td:first-child, th:last-child, td:last-child { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.highlight { background: rgba(200,255,77,.055); }
tbody tr.highlight td:first-child { color: var(--lime); font-weight: 800; }
.policy-note { color: var(--faint); font-size: 13px; }
.metric-best { color: var(--lime); font-weight: 800; }

.mechanism-section { border-top: 1px solid var(--line); }
.mechanism-flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.mechanism-flow article { min-height: 230px; padding: 24px; border-right: 1px solid var(--line); background: var(--panel); }
.mechanism-flow article:last-child { border-right: 0; }
.mechanism-flow span { color: var(--lime); font: 650 15px Space Grotesk; }
.mechanism-flow strong { display: block; margin-top: 48px; font: 650 27px Space Grotesk; }
.mechanism-flow p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.locked-settings { margin-top: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); align-items: center; background: var(--panel-2); }
.locked-settings > span { color: var(--faint); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.locked-settings div { padding-left: 18px; border-left: 1px solid var(--line); }
.locked-settings strong { display: block; font: 650 17px Space Grotesk; }.locked-settings small { color: var(--faint); font-size: 13px; }

.footer { min-height: 150px; padding: 38px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer p { color: var(--muted); font-size: 14px; }.footer > a { color: var(--muted); font-size: 14px; }

@keyframes livePulse { 50% { opacity: .55; box-shadow: 0 0 0 12px rgba(200,255,77,0); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitCounter { to { transform: rotate(-360deg); } }
@keyframes agentFloat { 50% { transform: translateY(-5px); } }
@keyframes agentBuy { 50% { transform: translateX(7px) rotate(2deg); } }
@keyframes providerFail { 35% { transform: translateX(-13px) rotate(-.5deg); } 70% { transform: translateX(-4px) rotate(.5deg); } }
@keyframes shockBreath { 50% { opacity: .52; } }

@media (max-width: 1220px) {
  .hero-system-map { grid-template-columns: 132px 46px minmax(320px,1.6fr) 46px 116px 46px minmax(170px,.85fr); }
  .architecture-node { min-height: 180px; }
  .architecture-market { padding: 18px; }
  .architecture-copy strong { font-size: 18px; }
  .pilot-core-grid > div { padding-inline: 9px; }
  .pilot-core-grid strong { font-size: 14px; }
  .market-visual { grid-template-columns: 240px minmax(220px, 1fr) 400px; gap: 20px; padding-inline: 22px; }
  .buyer-node { width: 230px; }
  .provider-card { grid-template-columns: 46px 1fr 88px; }
  .provider-symbol { width: 44px; height: 44px; }
  .phase-rail { display: none; }
  .bandit-row { grid-template-columns: 86px minmax(90px, 1fr) 104px 65px; gap: 8px; }
  .bandit-scale { grid-template-columns: 1fr 104px 65px; }
}

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
  .hero-orbit { display: none; }
  .hero-system-map { grid-template-columns: 122px 38px minmax(280px,1.7fr) 38px 108px 38px minmax(150px,.82fr); padding-inline: 14px; gap: 7px; }
  .architecture-copy > span { font-size: 12px; }
  .architecture-pilot { padding: 14px; }
  .architecture-pilot header strong { font-size: 20px; }
  .architecture-pilot-mark { width: 44px; }
  .pilot-core-grid strong { font-size: 13px; }
  .architecture-connector span { font-size: 12px; }
  .benchmark-strip { grid-template-columns: repeat(3, 1fr); }
  .benchmark-strip > div:nth-child(3) { border-right: 0; }.benchmark-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .replay-heading { align-items: stretch; flex-direction: column; }
  .scenario-tabs { align-self: flex-start; }
  .market-visual { grid-template-columns: 230px 1fr; align-items: start; }
  .buyer-node { grid-column: 1; grid-row: 1; }
  .decision-hud { grid-column: 1; grid-row: 2; margin-top: -80px; }
  .provider-column { grid-column: 2; grid-row: 1 / span 2; }
  .event-card { left: 255px; bottom: 22px; transform: none; }
  .analytics-grid { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px solid var(--line); }
  .live-metrics { grid-template-columns: repeat(3, 1fr); }.live-metrics > div:nth-child(3) { border-right: 0; }.live-metrics > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .live-metrics .event-metric { grid-column: span 2; }
  .replay-controls { flex-wrap: wrap; }.speed-control { margin-left: 0; }
  .scenario-results { grid-template-columns: 1fr; }
  .result-card p { min-height: auto; }
  .mechanism-flow { grid-template-columns: repeat(2, 1fr); }.mechanism-flow article:nth-child(2) { border-right: 0; }.mechanism-flow article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .locked-settings { grid-template-columns: repeat(3, 1fr); gap: 14px; }.locked-settings > span { grid-column: 1 / -1; }.locked-settings div:nth-child(2), .locked-settings div:nth-child(5) { border-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  .hero-system-map { min-height: 0; padding: 20px; border-radius: 18px; grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .architecture-eyebrow { grid-column: 1; grid-row: auto; align-items: flex-start; flex-direction: column; gap: 4px; margin-bottom: 4px; }
  .architecture-buyer, .architecture-pilot, .architecture-x402, .architecture-market { grid-column: 1; grid-row: auto; min-height: 0; }
  .architecture-buyer, .architecture-x402 { padding: 16px 18px; display: flex; align-items: center; justify-content: flex-start; text-align: left; }
  .architecture-pilot { padding: 17px; }
  .architecture-market { padding: 18px; flex-direction: row; align-items: center; justify-content: space-between; }
  .architecture-glyph { flex: 0 0 auto; }
  .pilot-core-grid { grid-template-columns: repeat(2,1fr); }
  .pilot-core-grid > div { min-height: 68px; border-bottom: 1px solid var(--line); }
  .pilot-core-grid > div:nth-child(2) { border-right: 0; }.pilot-core-grid > div:nth-child(n+3) { border-bottom: 0; }
  .pilot-core-grid strong { font-size: 14px; }
  .architecture-connector { grid-column: 1; grid-row: auto; justify-self: center; width: 34px; height: 22px; }
  .architecture-connector span { display: none; }
  .architecture-connector i { left: 16px; right: auto; top: 0; width: 2px; height: 17px; background: var(--cyan); }
  .architecture-connector i::after { right: -4px; top: auto; bottom: -4px; border-top: 7px solid var(--cyan); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
  .connector-choice i { background: var(--lime); }.connector-choice i::after { border-top-color: var(--lime); border-left-color: transparent; }
  .connector-call i { background: var(--mint); }.connector-call i::after { border-top-color: var(--mint); border-left-color: transparent; }
  .architecture-feedback { grid-column: 1; grid-row: auto; min-height: 44px; align-items: center; padding: 10px 12px 10px 28px; border: 1px dashed rgba(95,242,188,.3); border-radius: 12px; background: rgba(95,242,188,.035); }
  .architecture-feedback::before, .architecture-feedback::after { display: none; }
  .architecture-feedback span, .architecture-feedback b { padding: 0; background: transparent; white-space: normal; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1320px); }.wide-shell { width: min(100% - 16px, 1540px); }
  .topbar { width: calc(100% - 28px); height: 70px; }.topbar-actions { gap: 8px; }.topbar .button { display: none; }.github-link { width: 42px; height: 42px; }
  .hero { padding: 70px 0 34px; }.hero h1 { font-size: clamp(54px, 17vw, 82px); }.hero-copy { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .benchmark-strip { grid-template-columns: repeat(2, 1fr); }.benchmark-strip > div { border-top: 1px solid var(--line); }.benchmark-strip > div:nth-child(odd) { border-left: 0; }.benchmark-strip > div:nth-child(even) { border-right: 0; }.benchmark-strip > div:first-child, .benchmark-strip > div:nth-child(2) { border-top: 0; }
  .replay-section, .results-section, .mechanism-section { padding: 80px 0; }
  .section-heading h2 { font-size: 42px; }.section-heading p { font-size: 16px; }
  .scenario-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }.scenario-tab { min-width: 0; padding: 9px; }.scenario-tab span { font-size: 13px; }
  .market-panel-head { grid-template-columns: 1fr auto; }.scenario-description { grid-column: 1 / -1; grid-row: 2; text-align: left; white-space: normal; }
  .market-visual { padding: 22px 14px 120px; grid-template-columns: 1fr; gap: 14px; }
  #connectionCanvas { display: none; }
  .buyer-node { width: 100%; min-height: 300px; grid-column: 1; grid-row: auto; display: grid; grid-template-columns: 140px 1fr; text-align: left; }
  .node-caption { grid-column: 1 / -1; }.agent-wrap { margin: 8px 0; }.agent-status { align-self: center; text-align: left; }.wallet-card { grid-column: 1 / -1; }
  .decision-hud { width: 100%; grid-column: 1; grid-row: auto; margin: 0; }
  .provider-column { grid-column: 1; grid-row: auto; }
  .provider-card { grid-template-columns: 46px 1fr 84px; }
  .event-card { left: 14px; right: 14px; bottom: 20px; min-width: 0; max-width: none; }
  .timeline-block { grid-template-columns: 1fr; }.round-context { display: none; }
  .bandit-row { grid-template-columns: 82px 1fr 70px; }.cost-belief { display: none; }.bandit-scale { grid-template-columns: 1fr 70px; }.bandit-scale span:nth-child(2) { display: none; }
  .bandit-footer { grid-template-columns: repeat(2, 1fr); }.chart-wrap { height: 260px; }
  .live-metrics { grid-template-columns: repeat(2, 1fr); }.live-metrics > div { border-top: 1px solid var(--line); }.live-metrics > div:nth-child(even) { border-right: 0; }.live-metrics > div:first-child, .live-metrics > div:nth-child(2) { border-top: 0; }.live-metrics .event-metric { grid-column: 1 / -1; }
  .replay-controls { padding: 14px; }.replay-controls #jumpEvent { display: none; }.speed-control { width: 100%; grid-template-columns: auto 1fr 42px; }
  .table-head { align-items: flex-start; flex-direction: column; }.table-head p { text-align: left; }
  .mechanism-flow { grid-template-columns: 1fr; }.mechanism-flow article { min-height: 190px; border-right: 0; border-top: 1px solid var(--line); }.mechanism-flow article:first-child { border-top: 0; }.mechanism-flow strong { margin-top: 30px; }
  .locked-settings { grid-template-columns: repeat(2, 1fr); }.locked-settings div { border-left: 0; padding-left: 0; }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
