: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%; bottom: 7%; }

.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: 18%;
  top: 70%;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  border: 1px solid #3b4e54;
  border-radius: 6px;
  background: rgba(9, 15, 18, 0.9);
  transform: none;
}
.agent-activity div { min-width: 0; }
.activity-label { display: block; color: var(--teal); font: 800 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.agent-activity strong { display: block; overflow: hidden; color: #d8e3df; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.activity-toggle { flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #465a61; border-radius: 4px; background: #152126; color: white; cursor: pointer; }
.activity-toggle:hover { border-color: var(--acid); color: var(--acid); }

.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-ledger { border-top: 1px solid #385057; }
.agent-row { display: grid; grid-template-columns: 0.85fr 1.15fr 0.75fr; gap: 44px; align-items: center; min-height: 190px; padding: 30px 0; border-bottom: 1px solid #2b3b41; }
.agent-identity { display: flex; align-items: center; gap: 18px; }
.agent-identity > span { flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #4b6269; color: var(--teal); font: 850 12px "SFMono-Regular", Consolas, monospace; }
.agent-identity small { color: #6f858b; font: 750 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.agent-identity h3 { margin: 3px 0 0; font-size: 24px; }
.agent-row > p { margin: 0; color: #a9b9bd; font-size: 15px; }
.agent-proof { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.agent-proof span { color: #6f858b; font: 750 9px "SFMono-Regular", Consolas, monospace; text-transform: uppercase; }
.agent-proof b { color: #dce5e2; font-size: 11px; }
.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; }

.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 */
.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; }
  .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; }
  .agent-row { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .agent-proof { grid-template-columns: 74px 1fr; }
  .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; }
  .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; }
  .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; }
}
