:root {
  --ink: #101615;
  --ink-soft: #283230;
  --muted: #66736f;
  --line: #d9e0dc;
  --paper: #ffffff;
  --wash: #f2f5f2;
  --night: #090f12;
  --night-2: #111a1e;
  --night-line: #26353a;
  --night-muted: #9eb0b5;
  --acid: #c4f24c;
  --teal: #34d2c4;
  --blue: #5f82ff;
  --coral: #ff6e5f;
  --amber: #f7bf4f;
  --code: #0d1518;
  --shadow: 0 24px 70px rgba(9, 15, 18, 0.16);
  --content: 1220px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { letter-spacing: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--night);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(16, 22, 21, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.site-header-dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(9, 15, 18, 0.94);
}

.nav-shell {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site-header-dark .brand,
.site-header-dark .nav-links a,
.site-header-dark .search-trigger { color: #f5f8f5; }

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--acid);
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.site-header-dark .brand-mark {
  background: var(--acid);
  color: var(--night);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 650;
  text-transform: uppercase;
}

.site-header-dark .brand small { color: #819398; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.search-trigger {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover,
.search-trigger:hover { color: var(--blue); }
.site-header-dark .nav-links a:hover,
.site-header-dark .search-trigger:hover { color: var(--acid); }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 10px 18px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); background: #26312e; }
.button-small { min-height: 38px; padding: 7px 14px; font-size: 12px !important; }
.button-light { border-color: #f4f7f4; background: #f4f7f4; color: var(--night) !important; }
.button-light:hover { border-color: var(--acid); background: var(--acid); }
.nav-links a.button-light { background: #f4f7f4; color: var(--night) !important; }
.nav-links a.button-light:hover { border-color: var(--acid); background: var(--acid); }
.button-accent, .button.lime { border-color: var(--acid); background: var(--acid); color: var(--night); }
.button-accent:hover, .button.lime:hover { border-color: #d7ff6e; background: #d7ff6e; }
.button-ghost { border-color: #496067; background: transparent; color: #f5f8f5; }
.button-ghost:hover { border-color: #f5f8f5; background: #f5f8f5; color: var(--night); }
.button.secondary { border-color: var(--ink); background: white; color: var(--ink); }
.button.secondary:hover { background: var(--wash); }

.text-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover { color: var(--blue); }
.text-link-light { color: #e6eeea; }
.text-link-light:hover { color: var(--acid); }
.mobile-toggle { display: none; }

h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 3px;
  background: var(--coral);
}

.eyebrow-on-dark { color: #cbd7d3; }
.eyebrow-on-dark::before { background: var(--acid); }
.eyebrow .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(52, 210, 196, 0.12);
}
.eyebrow .live-dot + * { display: none; }
.eyebrow:has(.live-dot)::before { display: none; }

/* Home hero */
.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 100px));
  overflow: hidden;
  background: var(--night);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--night-line);
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(var(--content), calc(100% - 40px));
  min-height: min(760px, calc(100svh - 100px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 74px 0 92px;
}

.hero-copy { width: min(700px, 62%); }
.hero h1 { margin: 0; font-size: 82px; font-weight: 900; }

.hero-positioning {
  margin: 10px 0 0;
  color: var(--acid);
  font-size: 28px;
  font-weight: 760;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: #b7c6c9;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 16px;
  margin-top: 30px;
}

.install-line {
  width: 100%;
  max-width: 660px;
  margin-top: 26px;
  display: flex;
  align-items: center;
  border: 1px solid #33454b;
  border-radius: 6px;
  background: #111b1f;
  color: #eaf3ef;
  overflow: hidden;
}

.install-line code {
  min-width: 0;
  flex: 1;
  padding: 14px 17px;
  overflow: auto;
  font: 12px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
}

.copy-button {
  min-width: 72px;
  align-self: stretch;
  border: 0;
  border-left: 1px solid #33454b;
  background: #1a282d;
  color: white;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover { background: var(--blue); }
.release-note { margin: 10px 0 0; color: #7f949a; font-size: 11px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid #42555c;
  border-radius: 4px;
  color: #dce5e1;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.status.ready::before { background: #78a925; }

.hero-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(1500px, 100%);
  margin: 0 auto;
  pointer-events: none;
}

.scene-axis {
  position: absolute;
  border-color: #25343a;
  opacity: 0.9;
}

.scene-axis-one { left: 61%; top: 0; height: 100%; border-left: 1px solid #25343a; }
.scene-axis-two { left: 45%; right: 0; top: 38%; border-top: 1px solid #25343a; }
.scene-axis-three { left: 52%; right: 4%; top: 72%; border-top: 1px solid #25343a; }

.agent-node {
  position: absolute;
  width: 184px;
  min-height: 92px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-content: center;
  gap: 2px 10px;
  padding: 14px;
  border: 1px solid #34464c;
  border-radius: 6px;
  background: rgba(17, 26, 30, 0.94);
  color: #dce7e3;
  box-shadow: 12px 12px 0 rgba(5, 9, 11, 0.42);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.agent-node::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46565b;
}

.agent-node.is-active {
  border-color: var(--acid);
  background: #172226;
  transform: translateY(-4px);
}
.agent-node.is-active::after { background: var(--acid); box-shadow: 0 0 0 5px rgba(196, 242, 76, 0.1); }
.node-code { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #51656b; color: var(--teal); font: 800 10px "SFMono-Regular", Consolas, monospace; }
.agent-node strong { align-self: end; font-size: 12px; }
.agent-node small { color: #7f949a; font-size: 9px; }
.agent-generator { right: 5%; top: 10%; }
.agent-review { right: 16%; top: 36%; }
.agent-copilot { right: 3%; bottom: 11%; }
.auction-node { right: 29%; top: 54%; }

.creative-preview {
  position: absolute;
  right: 4%;
  top: 47%;
  width: 248px;
  border: 1px solid #3e5259;
  border-radius: 6px;
  background: #10191d;
  overflow: hidden;
  box-shadow: 18px 18px 0 rgba(5, 9, 11, 0.48);
  transform: rotate(-2deg);
  transition: border-color 220ms ease, transform 220ms ease;
}

.creative-preview.is-approved { border-color: var(--teal); transform: rotate(0) translateY(-4px); }
.creative-image { height: 82px; padding: 15px; border-bottom: 1px solid #34464c; background: var(--blue); color: white; }
.creative-image span { display: block; font: 800 8px "SFMono-Regular", Consolas, monospace; }
.creative-image b { display: block; margin-top: 17px; font-size: 22px; }
.creative-meta { display: flex; justify-content: space-between; padding: 10px 12px; color: #8ea0a5; font: 700 9px "SFMono-Regular", Consolas, monospace; }
.creative-state { color: var(--amber); }
.creative-preview.is-approved .creative-state { color: var(--teal); }

.data-packet {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(196, 242, 76, 0.08);
  animation: packetMove 5.2s linear infinite;
}
.packet-one { right: 39%; top: 38%; }
.packet-two { right: 15%; top: 72%; animation-delay: -1.8s; background: var(--teal); }
.packet-three { right: 4%; top: 38%; animation-delay: -3.4s; background: var(--coral); }

@keyframes packetMove {
  0% { transform: translateX(-80px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(120px); opacity: 0; }
}

.agent-activity {
  position: absolute;
  right: 17%;
  top: 69%;
  width: 292px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #3b4e54;
  border-radius: 6px;
  background: rgba(9, 15, 18, 0.9);
  transform: none;
}
.activity-heading { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-label { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font: 800 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.activity-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(196, 242, 76, 0.08); }
.activity-step { color: #71858b; font: 750 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.activity-detail { min-width: 0; display: grid; gap: 3px; }
.activity-detail strong { color: #f3f7f5; font-size: 12px; }
.activity-detail > span { overflow: hidden; color: #9babb0; font-size: 10px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.activity-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.activity-progress span { height: 3px; border-radius: 3px; background: #34464c; transition: background 180ms ease; }
.activity-progress span.is-complete { background: var(--teal); }
.activity-progress span.is-active { background: var(--acid); box-shadow: 0 0 8px rgba(196, 242, 76, 0.32); }
.activity-toggle { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #465a61; border-radius: 4px; background: #152126; color: white; font: 800 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; cursor: pointer; }
.activity-toggle:hover { border-color: var(--acid); color: var(--acid); }
.activity-toggle-icon { width: 11px; color: var(--acid); font-size: 9px; }
.agent-activity.is-paused { border-color: #53686f; }
.agent-activity.is-paused .activity-label, .agent-activity.is-paused .activity-toggle-icon { color: var(--amber); }
.agent-activity.is-paused .activity-label i { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.08); }

.signal-strip { border-bottom: 1px solid var(--line); background: var(--acid); color: var(--night); }
.signal-track { width: min(var(--content), calc(100% - 40px)); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: auto; }
.signal-track span { flex: 0 0 auto; font: 850 11px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }

/* Home sections */
.section { padding: 108px 0; border-bottom: 1px solid var(--line); }
.section-inner { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.section-heading h2, .architecture-copy h2, .trust-layout h2 { margin: 0; font-size: 58px; }
.section-heading > p, .split-heading > p { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); align-items: end; gap: 80px; }
.split-heading > p { margin: 0 0 5px; }

.platform-section { background: #f7f8f5; }
.platform-explorer { border-top: 1px solid var(--ink); }
.platform-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.platform-tab { min-height: 72px; display: flex; align-items: center; gap: 14px; padding: 15px 20px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; text-align: left; cursor: pointer; }
.platform-tab span { color: var(--blue); font: 750 10px "SFMono-Regular", Consolas, monospace; }
.platform-tab:hover { background: white; color: var(--ink); }
.platform-tab.is-active { border-bottom-color: var(--ink); background: var(--ink); color: white; }
.platform-tab.is-active span { color: var(--acid); }

.platform-stage { min-height: 560px; display: grid; grid-template-columns: 0.82fr 1.18fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: white; }
.platform-copy { padding: 64px 52px; }
.stage-number { color: var(--blue); font: 800 11px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.platform-copy h3 { max-width: 520px; margin: 26px 0 18px; font-size: 42px; }
.platform-copy > p { color: var(--muted); font-size: 16px; }
.feature-ticks { margin: 28px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-ticks li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.feature-ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--teal); }
.platform-visual { position: relative; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--wash); }

.sdk-visual { display: flex; align-items: center; justify-content: center; gap: 50px; padding: 38px; background: #e6f0ed; }
.phone-shell { position: relative; height: 460px; aspect-ratio: 9 / 19.5; overflow: hidden; border: 8px solid var(--night); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.phone-shell::before { content: ""; position: absolute; z-index: 2; left: 38%; right: 38%; top: 7px; height: 5px; border-radius: 5px; background: var(--night); }
.phone-shell img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wire-stack { display: grid; gap: 12px; }
.wire-stack span { width: 120px; padding: 10px 12px; border-left: 4px solid var(--blue); background: white; color: var(--ink); font: 800 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; box-shadow: 6px 6px 0 rgba(16, 22, 21, 0.08); }
.wire-stack span:nth-child(2) { border-color: var(--coral); transform: translateX(18px); }
.wire-stack span:nth-child(3) { border-color: var(--acid); transform: translateX(4px); }
.wire-stack span:nth-child(4) { border-color: var(--teal); transform: translateX(28px); }

.auction-visual { display: grid; align-content: center; gap: 32px; padding: 70px 60px; background: var(--night); color: white; }
.request-rail, .winner-rail { display: flex; align-items: center; gap: 20px; padding: 18px; border: 1px solid #385058; }
.request-rail b, .winner-rail b { color: var(--acid); font: 850 11px "SFMono-Regular", Consolas, monospace; }
.request-rail span, .winner-rail span { color: #9fb0b5; font-size: 12px; }
.bid-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bid-lanes span { min-height: 110px; display: grid; place-items: center; border: 1px solid #3a4e54; background: #111c20; color: #d8e2df; font-size: 12px; font-weight: 800; }
.bid-lanes span:last-child { border-color: var(--teal); color: var(--teal); }
.winner-rail { border-color: var(--acid); }

.demand-visual { display: grid; place-items: center; padding: 42px; background: #111827; }
.demand-flow { width: min(100%, 520px); display: grid; gap: 12px; }
.demand-step { position: relative; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.18); background: #182337; color: white; box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.18); }
.demand-step::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--step-color, var(--blue)); }
.demand-step span { display: block; color: var(--step-color, #8cb2ff); font: 800 10px "SFMono-Regular", Consolas, monospace; letter-spacing: 0.08em; }
.demand-step strong { display: block; margin-top: 8px; font-size: 17px; }
.demand-step small { display: block; margin-top: 6px; color: #9faec3; font: 600 11px "SFMono-Regular", Consolas, monospace; }
.demand-step-generate { --step-color: var(--blue); margin-right: 70px; }
.demand-step-review { --step-color: var(--lime); margin-left: 35px; margin-right: 35px; }
.demand-step-copilot { --step-color: var(--coral); margin-left: 70px; }
.demand-connector { justify-self: center; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: #a8b5c8; font: 800 9px "SFMono-Regular", Consolas, monospace; }
.demand-overlay { position: absolute; right: 28px; bottom: 28px; width: 280px; padding: 18px; border-left: 5px solid var(--teal); background: white; box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.28); }
.demand-overlay span { color: #16877d; font: 800 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.demand-overlay strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.35; }

.intelligence-visual { display: grid; place-items: center; padding: 56px; background: #eef1ff; }
.intelligence-visual ol { width: min(440px, 100%); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.intelligence-visual li { display: grid; grid-template-columns: 54px 1fr; padding: 18px 0; border-bottom: 1px solid #c9cfdf; font-size: 17px; font-weight: 800; }
.intelligence-visual li span { color: var(--blue); font: 800 11px "SFMono-Regular", Consolas, monospace; }

.agents-section { background: var(--night); color: white; }
.agents-section .section-heading > p, .agents-section .split-heading > p { color: #9bafb4; }
.agent-workbench { border: 1px solid #34484f; background: #0d1518; box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.22); }
.workbench-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 20px; border-bottom: 1px solid #34484f; background: #111c20; }
.workbench-header > div:first-child { display: grid; gap: 3px; }
.workbench-kicker { color: #71868c; font: 800 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.workbench-header strong { color: #e5eeea; font-size: 14px; }
.workbench-status { display: flex; align-items: center; gap: 9px; color: #a9babf; font: 750 10px "SFMono-Regular", Consolas, monospace; }
.workbench-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(52, 210, 196, 0.1); }

.journey-floor { --journey-position: 28%; position: relative; min-height: 340px; display: grid; grid-template-columns: minmax(150px, 0.72fr) repeat(3, minmax(170px, 1fr)) minmax(150px, 0.76fr); gap: 12px; align-items: stretch; padding: 30px 20px 34px; overflow: hidden; background-image: linear-gradient(rgba(71, 91, 98, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(71, 91, 98, 0.13) 1px, transparent 1px); background-size: 36px 36px; }
.journey-floor::before { content: ""; position: absolute; z-index: 0; left: 8%; right: 7%; top: 72px; height: 1px; background: #3a4e55; }
.journey-floor::after { content: ""; position: absolute; z-index: 0; right: 7%; top: 68px; width: 9px; height: 9px; border-top: 1px solid #6c8288; border-right: 1px solid #6c8288; transform: rotate(45deg); }

.creative-job, .agent-desk, .bid-lane { position: relative; z-index: 2; min-width: 0; min-height: 250px; margin-top: 54px; border: 1px solid #34484f; border-radius: 5px; background: #111b1f; color: white; }
.creative-job { padding: 14px; transform: translateY(9px) rotate(-1deg); box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.24); }
.job-label, .desk-number, .bid-label { display: block; color: #72878d; font: 800 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.job-visual { min-height: 118px; margin-top: 17px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: white; }
.job-visual small { font: 850 8px "SFMono-Regular", Consolas, monospace; }
.job-visual strong { font-size: 18px; line-height: 1.1; }
.job-meta { display: grid; gap: 2px; margin-top: 16px; }
.job-meta span { color: #71858b; font-size: 9px; }
.job-meta b { color: #c8d3d0; font-size: 11px; }

.agent-desk, .bid-lane { padding: 16px; text-align: left; cursor: pointer; appearance: none; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.agent-desk:hover, .agent-desk:focus-visible, .bid-lane:hover, .bid-lane:focus-visible { border-color: var(--teal); outline: none; transform: translateY(-3px); }
.agent-desk.is-active, .bid-lane.is-active { border-color: var(--acid); background: #172226; box-shadow: inset 0 3px 0 var(--acid); transform: translateY(-4px); }
.desk-number { color: var(--teal); }
.desk-agent { min-height: 74px; display: grid; grid-template-columns: 39px 1fr; align-content: center; gap: 2px 10px; margin-top: 12px; border-bottom: 1px solid #2f4147; }
.desk-agent > i { grid-row: 1 / 3; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #4f666d; color: var(--teal); font: normal 850 9px "SFMono-Regular", Consolas, monospace; }
.desk-agent b { align-self: end; font-size: 12px; }
.desk-agent small { color: #71858b; font-size: 8px; line-height: 1.25; }
.desk-monitor { min-height: 74px; margin-top: 14px; padding: 13px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; align-content: center; border: 1px solid #2f4248; background: #0a1114; }
.desk-monitor i { height: 4px; background: #31464d; }
.desk-monitor i:nth-child(2) { background: var(--blue); }
.desk-monitor b { grid-column: 1 / -1; margin-top: 6px; color: #acbdc1; font: 700 8px "SFMono-Regular", Consolas, monospace; }
.desk-result { position: absolute; left: 16px; bottom: 14px; padding: 4px 7px; border: 1px solid #40555c; color: #8fa2a7; font: 800 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.agent-desk.is-active .desk-result { border-color: rgba(196, 242, 76, 0.45); color: var(--acid); }

.bid-lane { display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #121b2c; }
.bid-lane::before, .bid-lane::after { content: ""; position: absolute; left: 16px; right: 16px; height: 1px; background: #33465f; }
.bid-lane::before { top: 31%; }
.bid-lane::after { bottom: 31%; }
.bid-pulse { width: 10px; height: 10px; margin-bottom: 26px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 9px rgba(95, 130, 255, 0.12); animation: bidPulse 1.8s ease-in-out infinite; }
.bid-lane strong { margin-top: 11px; color: white; font-size: 20px; }
.bid-lane small { margin-top: 7px; color: #8296b2; font-size: 9px; line-height: 1.4; }
.bid-speed { margin-top: 25px; color: var(--acid); font: 850 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.journey-packet { position: absolute; z-index: 4; left: var(--journey-position); top: 67px; width: 11px; height: 11px; border: 2px solid #0d1518; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 6px rgba(196, 242, 76, 0.12); transition: left 420ms cubic-bezier(.2,.8,.2,1); pointer-events: none; }
@keyframes bidPulse { 0%, 100% { transform: scale(0.86); opacity: 0.68; } 50% { transform: scale(1.08); opacity: 1; } }

.journey-explainer { min-height: 210px; display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(280px, 0.85fr); gap: 28px; align-items: start; padding: 30px 32px 34px; border-top: 1px solid #34484f; background: #121d21; }
.explainer-index { color: var(--acid); font: 850 28px "SFMono-Regular", Consolas, monospace; }
.explainer-copy > span { color: var(--teal); font: 850 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.explainer-copy h3 { margin: 9px 0 10px; font-size: 26px; }
.explainer-copy p { max-width: 650px; margin: 0; color: #9fb0b5; font-size: 13px; }
.explainer-proof { margin: 0; border-top: 1px solid #3a4e55; }
.explainer-proof div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #2e4046; }
.explainer-proof dt { color: #71858b; font: 800 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.explainer-proof dd { margin: 0; color: #c9d4d1; font-size: 10px; font-weight: 750; }

.guardrail-statement { display: grid; grid-template-columns: auto 210px minmax(360px, 1fr); gap: 20px; align-items: center; padding: 34px 0 0; }
.guardrail-statement > strong { color: var(--acid); font-size: 42px; }
.guardrail-statement > span { color: #a4b5b9; font-size: 13px; }
.guardrail-flow { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.guardrail-flow span { color: #afbec2; font: 750 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.guardrail-flow i { width: 22px; height: 1px; background: #4b5f65; }

.copilot-heading { margin: 112px 0 44px; }
.copilot-heading h2 { margin: 0; font-size: 50px; }
.copilot-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.copilot-product { min-width: 0; overflow: hidden; border: 1px solid #3a4e55; border-radius: 6px; background: #101922; color: white; }
.product-bar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 15px; border-bottom: 1px solid #34464c; background: #131e28; }
.product-bar span { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 850; }
.product-bar i { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #52666d; border-radius: 4px; color: var(--teal); font: normal 850 8px "SFMono-Regular", Consolas, monospace; }
.product-bar b { color: #758991; font: 750 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.product-body { padding: 24px; }
.copilot-prompt { width: fit-content; max-width: 82%; margin-left: auto; padding: 10px 13px; border: 1px solid #496b8a; border-radius: 5px; background: #1a3345; color: #dce8ed; font-size: 11px; }
.copilot-answer { margin-top: 16px; padding: 18px; border-left: 3px solid var(--teal); background: #141f2a; }
.answer-label { color: var(--teal); font: 850 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.copilot-answer h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.2; }
.copilot-answer p { margin: 0; color: #9eb0b7; font-size: 11px; }
.evidence-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.evidence-list span, .supply-capabilities span { padding: 5px 7px; border: 1px solid #3a4e55; color: #9fb1b8; font: 750 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.action-proposal { margin-top: 14px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #476178; background: #15273a; }
.action-proposal div { min-width: 0; }
.action-proposal small { display: block; color: #7790a7; font: 800 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.action-proposal strong { display: block; margin-top: 4px; font-size: 11px; }
.action-proposal > span { flex: 0 0 112px; padding: 7px; background: var(--blue); color: white; font: 800 8px/1.3 "SFMono-Regular", Consolas, monospace; text-align: center; text-transform: uppercase; }
.copilot-product footer { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 15px; border-top: 1px solid #34464c; color: #82959b; font: 750 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.copilot-product footer b { color: var(--acid); }

.publisher-capture { position: relative; height: 348px; margin: 0; overflow: hidden; background: #0b1119; }
.publisher-capture img { width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.88; transition: transform 450ms ease, opacity 450ms ease; }
.supply-product:hover .publisher-capture img { transform: scale(1.02); opacity: 1; }
.publisher-capture::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(11, 17, 25, 0.95)); }
.publisher-capture figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 15px; }
.publisher-capture figcaption span { display: block; color: var(--teal); font: 850 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.publisher-capture figcaption strong { display: block; margin-top: 4px; font-size: 13px; }
.supply-capabilities { min-height: 60px; display: flex; flex-wrap: wrap; align-content: center; gap: 6px; padding: 11px 15px; border-top: 1px solid #34464c; }

.copilot-boundaries { margin-top: 18px; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; border: 1px solid #34484f; background: #111b1f; }
.copilot-boundaries > div { min-height: 116px; padding: 20px; }
.copilot-boundaries > i { align-self: stretch; background: #34484f; }
.copilot-boundaries span { display: block; color: var(--teal); font: 850 8px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.copilot-boundaries strong { display: block; margin-top: 9px; color: #becbc8; font-size: 11px; line-height: 1.5; }

.formats-section { background: #f6f2ea; }
.format-showcase { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 18px; }
.format-feature { position: relative; min-height: 610px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; overflow: hidden; border: 1px solid var(--ink); border-radius: 7px; background: white; }
.format-copy { position: relative; z-index: 2; align-self: end; padding: 40px; }
.format-copy > span { color: var(--blue); font: 800 10px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.format-copy h3 { margin: 18px 0 14px; font-size: 34px; }
.format-copy p { color: var(--muted); font-size: 15px; }
.format-copy a { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 850; }
.format-device { align-self: end; height: 520px; margin: 36px 28px -120px 0; overflow: hidden; border: 7px solid var(--night); border-radius: 27px; background: white; box-shadow: var(--shadow); }
.format-device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.format-wallet { grid-template-columns: 1fr; background: #e7f0ff; }
.format-wallet .format-copy { align-self: start; padding-bottom: 12px; }
.format-wallet .format-device { justify-self: center; width: 230px; height: 360px; margin: 0 0 -70px; }
.format-wallet .format-device img { object-fit: cover; }

.format-index { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.format-index a { min-height: 112px; display: grid; grid-template-columns: 34px 1fr; align-content: center; padding: 18px 22px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background 150ms ease, color 150ms ease; }
.format-index a:hover { background: var(--ink); color: white; }
.format-index span { grid-row: 1 / 3; color: var(--blue); font: 800 10px "SFMono-Regular", Consolas, monospace; }
.format-index strong { font-size: 15px; }
.format-index small { color: var(--muted); font-size: 11px; }
.format-index a:hover small { color: #9eafaa; }

.architecture-section { background: white; }
.architecture-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
.architecture-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.architecture-facts { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.architecture-facts div { min-height: 112px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.architecture-facts strong { display: block; color: var(--blue); font-size: 24px; }
.architecture-facts span { color: var(--muted); font-size: 11px; }

.code-console { border: 1px solid #31444b; border-radius: 7px; background: var(--code); color: #edf4f1; box-shadow: var(--shadow); overflow: hidden; }
.console-bar { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #2e4046; }
.console-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.console-bar span:nth-child(2) { background: var(--amber); }
.console-bar span:nth-child(3) { background: var(--teal); }
.console-bar b { margin-left: 8px; color: #758b91; font: 700 10px "SFMono-Regular", Consolas, monospace; }
.code-console pre { margin: 0; padding: 28px; overflow: auto; font: 12px/1.8 "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.code-console > a { display: block; padding: 14px 20px; border-top: 1px solid #2e4046; color: var(--acid); font-size: 12px; font-weight: 800; text-decoration: none; }
.token-keyword { color: #89b4ff; }
.token-string { color: #c8ef78; }
.token-comment { color: #72888e; }

.trust-section { background: #edf4f1; }
.trust-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
.trust-rules { border-top: 2px solid var(--ink); }
.trust-rule { display: grid; grid-template-columns: 50px 1fr; gap: 14px; padding: 21px 0; border-bottom: 1px solid #c9d7d1; }
.trust-rule b { color: var(--blue); font: 850 11px "SFMono-Regular", Consolas, monospace; }
.trust-rule strong { display: block; font-size: 14px; }
.trust-rule span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.trust-rules > .text-link { display: inline-block; margin-top: 24px; }

.platform-cta { padding: 96px 0; background: var(--blue); color: white; }
.platform-cta-grid { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 90px; align-items: end; }
.platform-cta h2 { margin: 0; font-size: 58px; }
.platform-cta p { color: #dce4ff; font-size: 17px; }
.platform-cta .eyebrow-on-dark::before { background: var(--acid); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-footer { padding: 52px 0; background: var(--night); color: white; }
.site-footer .brand { color: white; }
.footer-inner { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 22px; }
.footer-links a { color: #b4c2be; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--acid); }
.footer-note { max-width: 560px; color: #74898f; font-size: 11px; }

.reveal { opacity: 1; transform: none; }

/* Documentation */
.agent-guide .docs-shell { width: min(1440px, 100%); grid-template-columns: 210px minmax(0, 820px) 164px; gap: 32px; }
.agent-guide .docs-content { font-size: 17px; line-height: 1.75; }
.agent-guide .docs-content p code, .agent-guide .docs-content li code { overflow-wrap: anywhere; white-space: normal; }
.agent-guide .docs-content h1 { font-size: 52px; line-height: 1.12; margin-bottom: 24px; }
.agent-guide .docs-content h2 { font-size: 30px; line-height: 1.25; scroll-margin-top: 100px; }
.agent-guide .docs-sidebar a, .agent-guide .on-this-page a { font-size: 14px; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; color: #53625c; font-size: 13px; }
.guide-sections-toggle { display: none; }
.release-badge { padding: 4px 10px; border: 1px solid #d5a851; border-radius: 4px; color: #725013; background: #fff6dd; font-weight: 750; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.agent-guide .guide-actions a.button { color: white; }
.agent-guide .guide-actions a.secondary { color: var(--ink); }
.table-scroll { width: 100%; overflow-x: auto; margin: 24px 0; }
.agent-guide .table-scroll table { margin: 0; min-width: 620px; font-size: 15px; line-height: 1.6; }
.status-label { display: block; margin-bottom: 5px; color: #27644e; font-size: 12px; font-weight: 750; }
.status-label.proposed { color: #81591c; }
.guide-principles { margin: 28px 0; }
.guide-principles > div { padding: 20px 0; border-top: 1px solid var(--line); }
.guide-principles dt { font-weight: 750; }
.guide-principles dd { margin: 7px 0 0; color: var(--ink-soft); }
.guide-steps li, .agent-guide .docs-content li { margin-bottom: 12px; }
.agent-guide .code-label { font-size: 12px; padding-right: 72px; }
.agent-guide .code-block pre { font-size: 14px; }
.agent-guide .callout strong { font-size: 16px; }
.agent-guide .callout p { font-size: 16px; }
.guide-detail { margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-detail summary { padding: 18px 0; font-weight: 700; cursor: pointer; }
.guide-detail > div { padding: 0 0 16px; }
.guide-screenshot { margin: 28px 0; }
.guide-screenshot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.guide-screenshot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.guide-contact { margin-top: 32px; padding: 30px 0; border-top: 3px solid #308365; border-bottom: 1px solid var(--line); }
.guide-contact h3 { margin-top: 0; }
.guide-contact > a { overflow-wrap: anywhere; font-size: 18px; font-weight: 700; }
.agent-guide a:focus-visible, .agent-guide button:focus-visible, .guide-detail summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid #285fd3; outline-offset: 4px; }
@media (max-width: 1150px) {
  .agent-guide .docs-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .agent-guide .on-this-page { display: none; }
}
@media (max-width: 780px) {
  .agent-guide .docs-shell { display: block; padding: 28px 20px 72px; }
  .agent-guide .docs-content h1 { font-size: 38px; }
  .agent-guide .docs-content h2 { font-size: 27px; }
  .agent-guide .docs-sidebar { position: static; display: block; margin-bottom: 28px; padding-bottom: 22px; max-height: 210px; overflow-y: auto; }
  .agent-guide .docs-sidebar:not(.is-open) { display: none; }
  .guide-sections-toggle { display: flex; justify-content: space-between; width: 100%; padding: 12px 0; margin-bottom: 24px; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 700; }
  .agent-guide .table-scroll table { display: table; }
}
.docs-page { background: #fbfcfb; }
.docs-shell { width: min(1380px, 100%); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 860px) 220px; gap: 46px; padding: 48px 34px 100px; }
.docs-sidebar { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.docs-sidebar strong { display: block; margin: 22px 0 8px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.docs-sidebar a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--blue); font-weight: 800; }
.docs-content { min-width: 0; }
.docs-content h1 { margin: 0; font-size: 66px; }
.docs-content h2 { margin: 66px 0 18px; padding-top: 4px; font-size: 34px; }
.docs-content h3 { margin: 34px 0 12px; font-size: 22px; }
.docs-content p, .docs-content li { color: var(--ink-soft); }
.docs-content .lead { max-width: 760px; font-size: 20px; color: var(--muted); }
.docs-content a { color: #285fd3; }
.docs-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.docs-content th, .docs-content td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-content th { background: var(--wash); }
.on-this-page { position: sticky; top: 96px; align-self: start; border-left: 1px solid var(--line); padding-left: 20px; }
.on-this-page strong { display: block; margin-bottom: 10px; font-size: 11px; color: var(--muted); text-transform: uppercase; }
.on-this-page a { display: block; margin: 8px 0; color: var(--muted); font-size: 12px; text-decoration: none; }
.on-this-page a:hover { color: var(--blue); }

.callout { margin: 26px 0; padding: 18px 20px; border-left: 4px solid var(--blue); background: #eef4ff; }
.callout.warning { border-color: var(--coral); background: #fff1ed; }
.callout.success { border-color: #78a925; background: #f0f8e3; }
.callout strong { display: block; margin-bottom: 4px; font-size: 13px; }
.callout p { margin: 0; font-size: 14px; }

.code-block { position: relative; margin: 22px 0; border: 1px solid #283b41; border-radius: 6px; background: var(--code); overflow: hidden; }
.code-label { padding: 9px 14px; border-bottom: 1px solid #2e4046; color: #9eaaa4; font-size: 11px; font-weight: 750; }
.code-block pre { margin: 0; padding: 19px; overflow: auto; color: #e7f0eb; font: 13px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.code-block .copy-button { position: absolute; right: 0; top: 0; min-height: 37px; align-self: auto; border-bottom: 1px solid #34464c; }
.module-table code, .inline-code { padding: 2px 6px; border-radius: 4px; background: #edf1ee; color: #2b3832; font: 12px "SFMono-Regular", Consolas, monospace; }

.search-dialog { width: min(620px, calc(100% - 30px)); padding: 0; border: 1px solid var(--ink); border-radius: 7px; box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(9, 15, 18, 0.72); backdrop-filter: blur(4px); }
.search-head { display: flex; border-bottom: 1px solid var(--line); }
.search-head input { flex: 1; min-width: 0; border: 0; padding: 17px 18px; outline: 0; }
.search-close { width: 52px; border: 0; border-left: 1px solid var(--line); background: white; cursor: pointer; font-size: 22px; }
.search-results { max-height: 420px; overflow: auto; padding: 10px; }
.search-result { display: block; padding: 12px; border-radius: 4px; text-decoration: none; }
.search-result:hover { background: var(--wash); }
.search-result strong { display: block; font-size: 14px; }
.search-result span { color: var(--muted); font-size: 12px; }
.search-empty { padding: 28px; color: var(--muted); text-align: center; }

.not-found { width: min(760px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px 0; }
.not-found .brand { margin-bottom: 64px; }
.not-found h1 { margin: 0; font-size: 72px; }
.not-found > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 20px; }

@media (max-width: 1120px) {
  .nav-links { gap: 15px; }
  .nav-links > a:not(.button):nth-child(4) { display: none; }
  .hero h1 { font-size: 68px; }
  .hero-copy { width: 66%; }
  .agent-generator { right: 2%; }
  .agent-review { right: 9%; }
  .agent-copilot { right: 1%; }
  .auction-node { right: 23%; }
  .creative-preview { right: 2%; width: 220px; }
  .agent-activity { display: none; }
  .section-heading h2, .architecture-copy h2, .trust-layout h2, .platform-cta h2 { font-size: 48px; }
  .platform-copy { padding: 52px 38px; }
  .platform-copy h3 { font-size: 36px; }
  .format-feature { grid-template-columns: 1fr 210px; }
  .format-copy { padding: 30px; }
  .format-copy h3 { font-size: 29px; }
  .journey-floor { grid-template-columns: minmax(132px, 0.7fr) repeat(3, minmax(148px, 1fr)) minmax(132px, 0.72fr); gap: 9px; padding-right: 14px; padding-left: 14px; }
  .agent-desk, .bid-lane { padding: 13px; }
  .desk-result { left: 13px; }
  .journey-explainer { grid-template-columns: 58px minmax(0, 1.1fr) minmax(250px, 0.9fr); padding-right: 26px; padding-left: 26px; }
  .copilot-heading h2 { font-size: 44px; }
  .guardrail-statement { grid-template-columns: auto 1fr; }
  .guardrail-flow { grid-column: 1 / -1; justify-content: flex-start; }
  .docs-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .on-this-page { display: none; }
}

@media (max-width: 820px) {
  .nav-shell { min-height: 64px; }
  .mobile-toggle { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid #516369; border-radius: 4px; background: transparent; color: white; font-size: 11px; font-weight: 800; cursor: pointer; }
  .docs-page .mobile-toggle { color: var(--ink); border-color: var(--line); }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 18px 20px 22px; flex-direction: column; align-items: stretch; background: var(--night); border-bottom: 1px solid #35484e; }
  .docs-page .nav-links { background: white; border-color: var(--line); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.button):nth-child(4) { display: block; }
  .hero { min-height: 900px; }
  .hero-inner { min-height: 900px; align-items: flex-start; padding-top: 70px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 58px; }
  .hero-positioning { max-width: 540px; font-size: 24px; }
  .hero-lede { max-width: 560px; }
  .hero-scene { top: 480px; height: 420px; }
  .scene-axis-one { left: 47%; }
  .scene-axis-two { left: 4%; top: 44%; }
  .scene-axis-three { left: 12%; top: 78%; }
  .agent-generator { left: 4%; right: auto; top: 3%; }
  .agent-review { left: 38%; right: auto; top: 32%; }
  .agent-copilot { right: 3%; bottom: 4%; }
  .auction-node { left: 3%; right: auto; bottom: 1%; }
  .creative-preview { right: 3%; top: 3%; width: 210px; }
  .split-heading { grid-template-columns: 1fr; gap: 24px; }
  .platform-tabs { grid-template-columns: 1fr 1fr; }
  .platform-stage { grid-template-columns: 1fr; }
  .platform-visual { min-height: 500px; border-top: 1px solid var(--line); border-left: 0; }
  .journey-floor { grid-template-columns: repeat(5, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .creative-job, .agent-desk, .bid-lane { scroll-snap-align: start; }
  .journey-packet { display: none; }
  .journey-explainer { grid-template-columns: 58px minmax(0, 1fr); }
  .explainer-proof { grid-column: 1 / -1; }
  .copilot-showcase { grid-template-columns: 1fr; }
  .publisher-capture { height: 430px; }
  .copilot-boundaries { grid-template-columns: 1fr; }
  .copilot-boundaries > i { width: auto; height: 1px; }
  .format-showcase { grid-template-columns: 1fr; }
  .format-wallet { min-height: 520px; }
  .format-index { grid-template-columns: 1fr 1fr; }
  .architecture-layout, .trust-layout, .platform-cta-grid { grid-template-columns: 1fr; gap: 52px; }
  .docs-shell { display: block; width: 100%; padding: 28px 18px 80px; }
  .docs-sidebar { position: static; max-height: none; margin-bottom: 42px; padding-bottom: 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .docs-sidebar strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav-shell, .section-inner, .signal-track, .platform-cta-grid, .footer-inner { width: calc(100% - 30px); }
  .brand { font-size: 14px; }
  .brand-mark { width: 33px; height: 33px; }
  .hero { min-height: 720px; }
  .hero-inner { width: calc(100% - 30px); min-height: 720px; padding-top: 44px; padding-bottom: 300px; }
  .hero h1 { font-size: 45px; overflow-wrap: anywhere; }
  .hero-positioning { font-size: 20px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero-actions .button { width: 100%; min-width: 0; padding-right: 10px; padding-left: 10px; font-size: 12px; }
  .hero-actions .text-link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .install-line, .release-note { display: none; }
  .hero-scene { top: 450px; height: 270px; }
  .agent-node { width: 151px; min-height: 78px; grid-template-columns: 31px 1fr; padding: 10px; }
  .node-code { width: 31px; height: 31px; }
  .agent-node strong { font-size: 10px; }
  .agent-node small { font-size: 8px; }
  .agent-generator, .auction-node { display: none; }
  .agent-review { left: 2%; right: auto; top: 4%; }
  .agent-copilot { right: 2%; bottom: 3%; }
  .creative-preview { right: 2%; top: 1%; width: 172px; }
  .creative-image { height: 68px; }
  .creative-image b { margin-top: 11px; font-size: 18px; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .architecture-copy h2, .trust-layout h2, .platform-cta h2 { font-size: 37px; }
  .section-heading > p, .split-heading > p { font-size: 15px; }
  .platform-tabs { grid-template-columns: 1fr; }
  .platform-tab { min-height: 56px; }
  .platform-stage { min-height: 0; }
  .platform-copy { padding: 38px 24px; }
  .platform-copy h3 { font-size: 31px; }
  .platform-visual { min-height: 430px; }
  .sdk-visual { gap: 22px; padding: 28px 18px; }
  .phone-shell { height: 360px; border-width: 6px; border-radius: 24px; }
  .wire-stack span { width: 90px; font-size: 8px; }
  .auction-visual { padding: 40px 20px; }
  .bid-lanes { grid-template-columns: 1fr; }
  .bid-lanes span { min-height: 56px; }
  .demand-overlay { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .demand-visual { padding: 24px 18px 118px; }
  .demand-step-generate { margin-right: 30px; }
  .demand-step-review { margin-left: 15px; margin-right: 15px; }
  .demand-step-copilot { margin-left: 30px; }
  .intelligence-visual { padding: 36px 24px; }
  .workbench-header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .journey-floor { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px; overflow: visible; }
  .journey-floor::before, .journey-floor::after { display: none; }
  .creative-job, .agent-desk, .bid-lane { min-height: 220px; margin-top: 0; transform: none; }
  .creative-job { min-height: 240px; }
  .agent-desk.is-active, .bid-lane.is-active { transform: none; }
  .journey-explainer { display: block; padding: 24px 20px; }
  .explainer-index { margin-bottom: 16px; }
  .explainer-copy h3 { font-size: 22px; }
  .explainer-proof { margin-top: 22px; }
  .guardrail-statement { display: block; }
  .guardrail-statement > strong, .guardrail-statement > span { display: block; }
  .guardrail-flow { margin-top: 24px; display: grid; grid-template-columns: 1fr; justify-items: start; }
  .guardrail-flow i { width: 1px; height: 16px; margin-left: 8px; }
  .copilot-heading { margin-top: 78px; }
  .copilot-heading h2 { font-size: 37px; }
  .product-bar { align-items: flex-start; flex-direction: column; }
  .product-body { padding: 16px; }
  .copilot-prompt { max-width: 94%; }
  .action-proposal { align-items: stretch; flex-direction: column; }
  .action-proposal > span { flex-basis: auto; }
  .publisher-capture { height: 300px; }
  .copilot-product footer { align-items: flex-start; flex-direction: column; }
  .copilot-boundaries > div { min-height: 0; }
  .format-feature { min-height: 610px; grid-template-columns: 1fr; }
  .format-copy { align-self: start; padding: 28px 24px; }
  .format-copy h3 { font-size: 28px; }
  .format-device { justify-self: center; width: 220px; height: 390px; margin: 0 0 -100px; }
  .format-index { grid-template-columns: 1fr; }
  .architecture-facts { grid-template-columns: 1fr; }
  .code-console pre { padding: 20px; font-size: 10px; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .docs-content h1 { font-size: 43px; }
  .docs-content h2 { font-size: 29px; }
  .docs-content table { display: block; overflow-x: auto; }
  .not-found h1 { font-size: 45px; }
}

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