:root {
  --ink: #090b0c;
  --ink-2: #0f1214;
  --ink-3: #171c1f;
  --paper: #edf0eb;
  --paper-2: #f6f6f1;
  --text: #f1f3ef;
  --muted: #929b98;
  --line: #2a3032;
  --cyan: #57c2d5;
  --lime: #93ca6b;
  --acid: #c8f477;
  --coral: #ef7669;
  --yellow: #f0c95a;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 32px;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(9, 11, 12, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 14px;
  font-weight: 760;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #b7bdb9;
  font-size: 13px;
}

.desktop-nav a,
.header-version {
  transition: color 150ms ease;
}

.desktop-nav a:hover,
.header-version:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.header-version {
  color: #858e8b;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  font-size: 13px;
  font-weight: 750;
  transition: color 150ms ease, background-color 150ms ease;
}

.header-download:hover {
  color: var(--acid);
  background: transparent;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  height: 92svh;
  min-height: 760px;
  max-height: 980px;
  overflow: hidden;
  border-bottom: 1px solid #24292a;
  background: var(--ink);
}

#hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 1px;
  background: rgba(255, 255, 255, 0.045);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0 max(28px, calc((100vw - var(--shell)) / 2));
  z-index: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.045);
  border-left: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.hero-signal {
  position: absolute;
  z-index: 2;
  color: #59615f;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  writing-mode: vertical-rl;
}

.hero-signal-one {
  top: 150px;
  left: 24px;
}

.hero-signal-two {
  top: 220px;
  right: 24px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 128px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font: 760 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8c9692;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(147, 202, 107, 0.8);
}

.hero h1 {
  margin: 19px 0 0;
  color: #f7f8f4;
  font-size: 80px;
  font-weight: 760;
  line-height: 0.98;
}

.hero-statement {
  margin: 11px 0 0;
  color: var(--cyan);
  font-size: 34px;
  font-weight: 620;
  line-height: 1.18;
}

.hero-description {
  width: min(660px, 100%);
  margin: 20px auto 0;
  color: #a1aaa7;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid;
  font-size: 13px;
  font-weight: 720;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--cyan);
  color: var(--ink);
  background: var(--cyan);
}

.button-primary:hover {
  color: var(--cyan);
  background: var(--ink);
}

.button-secondary {
  border-color: #414849;
  color: #d7dcda;
  background: rgba(9, 11, 12, 0.72);
}

.button-secondary:hover {
  border-color: #7a8481;
  background: #15191a;
}

.studio-hero {
  position: absolute;
  top: 510px;
  left: 50%;
  z-index: 3;
  width: min(1240px, calc(100% - 72px));
  height: 548px;
  transform: translateX(-50%);
  perspective: 1200px;
}

.studio-window {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #3b4244;
  border-radius: 6px 6px 0 0;
  background: #111518;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.018);
  transform: rotateX(1.5deg);
  transform-origin: center top;
}

.studio-titlebar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid #262d2f;
  color: #78827f;
  background: #161a1d;
  font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #485052;
}

.window-controls i:first-child { background: var(--coral); }
.window-controls i:nth-child(2) { background: var(--yellow); }
.window-controls i:last-child { background: var(--lime); }

.window-project {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-project span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.window-project b {
  color: #424a4b;
}

.window-state {
  justify-self: end;
}

.window-state i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.studio-layout {
  display: grid;
  grid-template-columns: 196px minmax(470px, 1fr) 232px;
  height: calc(100% - 38px);
}

.mock-sidebar,
.mock-insight {
  position: relative;
  min-width: 0;
  padding: 15px 13px;
  background: #14191c;
}

.mock-sidebar {
  border-right: 1px solid #283033;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mock-brand img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.mock-brand div,
.mock-session span,
.sidebar-user div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mock-brand strong,
.mock-session strong,
.sidebar-user strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-brand small,
.mock-session small,
.sidebar-user small {
  color: #65706d;
  font-size: 7px;
}

.mock-search {
  height: 28px;
  margin-top: 15px;
  padding: 7px 8px;
  border: 1px solid #2b3335;
  border-radius: 4px;
  color: #68726f;
  background: #111518;
  font-size: 8px;
}

.mock-search span {
  margin-right: 7px;
  color: #a4aeab;
}

.mock-label {
  margin: 17px 0 7px;
  color: #5f6866;
  font: 700 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.sessions-label {
  margin-top: 20px;
}

.mock-nav,
.mock-session {
  display: flex;
  align-items: center;
  min-height: 29px;
  padding: 0 8px;
  border-radius: 4px;
  color: #7e8986;
  font-size: 8px;
}

.mock-nav {
  gap: 8px;
}

.mock-nav.active {
  color: #e4e9e6;
  background: #20282a;
}

.mock-nav b {
  margin-left: auto;
  color: #5b6764;
  font: 700 7px/1 ui-monospace, monospace;
}

.nav-icon {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
}

.chat-icon { border-radius: 50%; }
.flow-icon { transform: rotate(45deg); }
.task-icon { border-radius: 2px; }

.mock-session {
  gap: 8px;
  min-height: 36px;
}

.mock-session > i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4c5754;
}

.mock-session.active {
  border: 1px solid #2d3d3c;
  color: #e4e9e6;
  background: #172122;
}

.mock-session.active > i {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(87, 194, 213, 0.7);
}

.sidebar-user {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #283033;
}

.sidebar-user > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #3a4544;
  border-radius: 50%;
  color: var(--cyan);
  font: 700 7px/1 ui-monospace, monospace;
}

.mock-workspace {
  display: grid;
  grid-template-rows: 51px minmax(0, 1fr) 70px;
  min-width: 0;
  background: #0f1316;
}

.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid #283033;
}

.workspace-header > div:first-child {
  display: grid;
  gap: 4px;
}

.workspace-header strong {
  color: #dce2df;
  font-size: 10px;
}

.workspace-header small {
  color: #65706d;
  font-size: 7px;
}

.workspace-header small span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.workspace-model {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #30393a;
  border-radius: 4px;
  color: #78837f;
  font-size: 7px;
}

.workspace-model i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.workspace-model b {
  color: #c6ceca;
}

.mock-conversation {
  min-height: 0;
  overflow: hidden;
  padding: 19px 22px 12px;
}

.user-prompt {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  margin-left: 15%;
  padding: 12px 14px;
  border: 1px solid #2c3537;
  border-radius: 5px;
  background: #171d20;
}

.user-prompt span {
  color: var(--coral);
  font: 750 7px/1.5 ui-monospace, monospace;
}

.user-prompt p,
.assistant-response p {
  margin: 0;
  color: #bec6c2;
  font-size: 9px;
  line-height: 1.65;
}

.assistant-response {
  width: 94%;
  margin-top: 18px;
}

.assistant-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.assistant-heading img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.assistant-heading strong {
  font-size: 8px;
}

.assistant-heading span {
  margin-left: auto;
  color: #65706d;
  font: 650 7px/1 ui-monospace, monospace;
}

.tool-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid #293133;
  border-radius: 4px;
  background: #14191c;
}

.tool-row > span {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #34403e;
  border-radius: 50%;
  color: var(--lime);
  font-size: 8px;
}

.tool-row > div {
  display: grid;
  gap: 2px;
}

.tool-row strong { font-size: 8px; }
.tool-row small { color: #697370; font-size: 7px; }
.tool-row code { color: #59625f; font-size: 6px; }
.tool-row.running { border-color: #375152; }
.tool-row.running > span { border-color: var(--cyan); border-top-color: transparent; animation: tiny-spin 800ms linear infinite; }
.tool-row.running code { color: var(--cyan); }

@keyframes tiny-spin { to { transform: rotate(360deg); } }

.code-change {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #293133;
  border-radius: 4px;
  background: #0c1012;
}

.code-file {
  padding: 7px 9px;
  border-bottom: 1px solid #293133;
  color: #84908c;
  font: 650 6px/1 ui-monospace, monospace;
}

.code-file span { color: var(--cyan); }
.code-file b { float: right; color: var(--lime); }
.code-change pre { margin: 0; padding: 7px 9px; color: #78827f; font: 6px/1.55 ui-monospace, monospace; }
.code-change pre span { display: block; }
.code-change .minus { color: #c87b74; background: rgba(239, 118, 105, 0.06); }
.code-change .plus { color: #8fbe75; background: rgba(147, 202, 107, 0.06); }

.mock-composer {
  align-self: end;
  margin: 0 18px 13px;
  padding: 11px 12px 8px;
  border: 1px solid #384243;
  border-radius: 5px;
  color: #5e6966;
  background: #161b1e;
  font-size: 8px;
}

.mock-composer > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.mock-composer b {
  color: #68736f;
  font: 650 6px/1 ui-monospace, monospace;
}

.mock-composer button {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: auto;
  place-items: center;
  border: 0;
  border-radius: 3px;
  color: #0d1113;
  background: var(--cyan);
  cursor: default;
}

.mock-insight {
  border-left: 1px solid #283033;
}

.insight-heading,
.context-block p,
.route-meter p,
.drawer-heading,
.map-meta,
.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-heading {
  color: #68726f;
  font: 700 7px/1 ui-monospace, monospace;
}

.insight-heading button {
  border: 0;
  color: #7f8986;
  background: transparent;
}

.context-project {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #2b3234;
}

.context-project small { color: #64706c; font-size: 7px; }
.context-project strong { font-size: 10px; }
.context-project span { color: var(--cyan); font: 650 6px/1.3 ui-monospace, monospace; }

.context-block {
  margin-top: 18px;
}

.context-block p,
.route-meter p {
  margin: 0 0 10px;
  color: #7a8581;
  font-size: 7px;
}

.context-block p span {
  color: var(--lime);
  font: 700 6px/1 ui-monospace, monospace;
}

.context-block dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.context-block dl div {
  display: flex;
  justify-content: space-between;
}

.context-block dt { color: #5f6966; font-size: 7px; }
.context-block dd { margin: 0; color: #b3bcb8; font-size: 7px; }

.route-meter {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid #2b3536;
  border-radius: 4px;
  background: #111719;
}

.route-meter p b { color: var(--coral); }
.route-meter > div { height: 3px; background: #293033; }
.route-meter > div i { display: block; width: 78%; height: 100%; background: var(--coral); }
.route-meter > span { display: block; margin-top: 7px; color: #9aa4a1; font-size: 7px; text-align: right; }

.evidence-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-block li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.evidence-block li > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 2px;
}

.python-dot { background: var(--yellow); }
.vue-dot { background: var(--lime); }
.evidence-block li span { display: grid; gap: 2px; min-width: 0; }
.evidence-block strong { overflow: hidden; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.evidence-block small { color: #626d69; font-size: 6px; }

.context-footer {
  position: absolute;
  right: 13px;
  bottom: 14px;
  left: 13px;
  display: flex;
  align-items: center;
  color: #596360;
  font-size: 6px;
}

.context-footer i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.context-footer span { margin-left: auto; }

.signal-strip {
  height: 54px;
  overflow: hidden;
  border-bottom: 1px solid #303637;
  color: #c4cac7;
  background: #131719;
}

.signal-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: ticker 30s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 29px;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}

.signal-track i,
.routing-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.cyan { background: var(--cyan); }
.coral { background: var(--coral); }
.lime { background: var(--lime); }

@keyframes ticker { to { transform: translateX(-50%); } }

.section {
  position: relative;
  padding: 120px 0;
}

.section-shell {
  width: min(var(--shell), calc(100% - 64px));
  margin: 0 auto;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 66px;
  color: #6f7875;
}

.section-index::after {
  height: 1px;
  flex: 1;
  background: #303637;
  content: "";
}

.section-index span {
  color: var(--cyan);
  font: 750 11px/1 ui-monospace, monospace;
}

.section-index p {
  margin: 0;
  font: 700 9px/1 ui-monospace, monospace;
}

.section-kicker {
  color: var(--coral);
}

.manifesto {
  background: #101416;
}

.manifesto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 110px;
  align-items: end;
}

.manifesto-heading h2,
.feature-header h2,
.map-heading h2,
.models-heading h2,
.workflow-heading h2,
.download-copy h2 {
  margin: 18px 0 0;
  font-size: 52px;
  font-weight: 630;
  line-height: 1.12;
}

.manifesto-copy {
  color: #9da6a3;
  font-size: 15px;
  line-height: 1.8;
}

.manifesto-copy p {
  margin: 0;
}

.manifesto-copy p + p {
  margin-top: 18px;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid #313738;
  border-bottom: 1px solid #313738;
}

.fact-row > div {
  display: grid;
  gap: 11px;
  min-height: 116px;
  padding: 26px 24px;
  border-left: 1px solid #313738;
}

.fact-row > div:last-child {
  border-right: 1px solid #313738;
}

.fact-row strong {
  color: var(--paper);
  font: 700 24px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.fact-row div:nth-child(2) strong { color: var(--coral); }
.fact-row div:nth-child(3) strong { color: var(--lime); }
.fact-row div:nth-child(4) strong { color: var(--yellow); }
.fact-row span { color: #77817e; font-size: 12px; }

.feature-console {
  overflow: hidden;
  border-top: 1px solid #242a2b;
  background: #0b0e10;
}

.feature-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.feature-tabs,
.platform-tabs,
.map-tabs {
  display: flex;
  align-items: center;
}

.feature-tabs {
  border: 1px solid #343b3c;
}

.feature-tabs button,
.platform-tabs button,
.map-tabs button {
  border: 0;
  cursor: pointer;
}

.feature-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 15px;
  border-left: 1px solid #343b3c;
  color: #78817e;
  background: transparent;
  font-size: 11px;
}

.feature-tabs button:first-child { border-left: 0; }
.feature-tabs button span { color: #59615f; font: 700 8px/1 ui-monospace, monospace; }
.feature-tabs button[aria-selected="true"] { color: var(--ink); background: var(--cyan); }
.feature-tabs button[aria-selected="true"] span { color: #28474b; }

.feature-stage {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: 560px;
  margin-top: 62px;
  border: 1px solid #343b3c;
  background: #111518;
}

.feature-panel {
  align-self: stretch;
  padding: 42px 34px;
  border-right: 1px solid #343b3c;
}

.feature-number {
  color: var(--cyan);
  font: 700 9px/1 ui-monospace, monospace;
}

.feature-panel h3 {
  margin: 92px 0 20px;
  font-size: 32px;
  font-weight: 620;
  line-height: 1.25;
}

.feature-panel > p {
  margin: 0;
  color: #8c9692;
  font-size: 14px;
  line-height: 1.8;
}

.feature-panel ul {
  display: grid;
  gap: 10px;
  margin: 39px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #303637;
  list-style: none;
}

.feature-panel li {
  color: #c3cac7;
  font-size: 12px;
}

.feature-panel li::before {
  margin-right: 9px;
  color: var(--lime);
  content: "+";
}

.feature-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #0d1113;
}

.visual-toolbar {
  height: 43px;
  padding: 0 17px;
  border-bottom: 1px solid #303637;
  color: #5e6865;
  font: 700 8px/1 ui-monospace, monospace;
}

.visual-toolbar b {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #84908b;
}

.visual-toolbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(147, 202, 107, 0.7);
}

.visual-layer {
  height: calc(100% - 43px);
}

.visual-layer[hidden] {
  display: none;
}

.context-visual {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
}

.file-tree {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 25px 15px;
  border-right: 1px solid #303637;
  color: #7b8581;
  font: 11px/2.05 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.file-tree p {
  margin: 0 0 13px 8px;
  color: #555f5c;
  font-size: 8px;
}

.file-tree span {
  overflow: hidden;
  padding: 0 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-tree .open { color: #b0b8b5; }
.file-tree .selected { color: #d9dfdc; background: #1e282a; }

.context-terminal {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px 50px;
}

.terminal-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid #262d2f;
}

.terminal-line > span {
  color: #4d5754;
  font: 9px/1 ui-monospace, monospace;
}

.terminal-line code {
  color: #9ea7a3;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal-line code b { color: var(--cyan); font-weight: 600; }
.terminal-line code i { float: right; color: #66716d; font-size: 9px; font-style: normal; }

.terminal-output {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #345052;
  background: #121c1e;
}

.terminal-output > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.terminal-output p { display: grid; gap: 4px; margin: 0; }
.terminal-output strong { font-size: 12px; }
.terminal-output small { color: #68736f; font-size: 9px; }
.terminal-output > b { color: var(--lime); font: 700 11px/1 ui-monospace, monospace; }

.routing-visual {
  padding: 40px;
}

.route-request {
  padding-bottom: 24px;
  border-bottom: 1px solid #303637;
}

.route-request small,
.route-analysis span,
.memory-sidebar > p,
.memory-query span {
  color: #626c69;
  font: 700 8px/1 ui-monospace, monospace;
}

.route-request p {
  margin: 10px 0 15px;
  color: #d3d9d6;
  font-size: 16px;
}

.route-request > div {
  display: flex;
  gap: 7px;
}

.route-request > div span,
.memory-stream article div span {
  padding: 5px 8px;
  border: 1px solid #374042;
  color: #8a9490;
  font-size: 9px;
}

.route-analysis {
  padding: 25px 0;
}

.route-analysis > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.route-analysis strong {
  color: var(--coral);
  font: 700 30px/1 ui-monospace, monospace;
}

.score-track {
  position: relative;
  height: 5px;
  margin-top: 12px;
  background: #252c2e;
}

.score-track i {
  display: block;
  width: 84%;
  height: 100%;
  background: var(--coral);
}

.score-track b {
  position: absolute;
  top: -4px;
  left: 84%;
  width: 1px;
  height: 13px;
  background: #fff;
}

.route-analysis p { margin: 10px 0 0; color: #78827e; font-size: 10px; }

.model-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.model-tiers article {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #303637;
}

.model-tiers article > i { width: 7px; height: 7px; border-radius: 50%; background: #626c69; }
.model-tiers article > span { color: #7c8682; font-size: 10px; }
.model-tiers article strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.model-tiers article small { color: #5f6865; font-size: 9px; }
.model-tiers article.selected { border-color: var(--coral); background: #1b1717; }
.model-tiers article.selected > i { background: var(--coral); box-shadow: 0 0 9px rgba(239, 118, 105, 0.7); }
.model-tiers article > b { position: absolute; top: 10px; right: 10px; color: var(--coral); font: 700 6px/1 ui-monospace, monospace; }

.memory-visual {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
}

.memory-sidebar {
  padding: 27px 18px;
  border-right: 1px solid #303637;
}

.memory-sidebar > strong {
  display: block;
  margin-top: 17px;
  font-size: 14px;
}

.memory-sidebar > span {
  display: block;
  margin: 5px 0 28px;
  color: #636e6a;
  font-size: 9px;
}

.memory-sidebar > div {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 10px;
  color: #818b87;
  font-size: 10px;
}

.memory-sidebar > div i { width: 6px; height: 6px; border: 1px solid #69736f; border-radius: 50%; }
.memory-sidebar > div b { color: #5c6662; font: 700 8px/1 ui-monospace, monospace; }
.memory-sidebar > div.active { color: #e1e5e2; background: #1d2728; }
.memory-sidebar > div.active i { border-color: var(--cyan); background: var(--cyan); }
.memory-sidebar > div.active b { color: var(--cyan); }

.memory-stream {
  padding: 36px 40px;
}

.memory-query {
  padding-bottom: 22px;
  border-bottom: 1px solid #303637;
}

.memory-query strong {
  display: block;
  margin-top: 11px;
  font-size: 17px;
}

.memory-stream article {
  padding: 21px 0;
  border-bottom: 1px solid #272e30;
}

.memory-stream article small { color: var(--lime); font: 650 8px/1 ui-monospace, monospace; }
.memory-stream article p { margin: 10px 0 13px; color: #a7b0ac; font-size: 11px; line-height: 1.65; }
.memory-stream article div { display: flex; gap: 6px; }

.project-map {
  color: #111513;
  background: var(--paper);
}

.dark-index {
  color: #707a75;
}

.dark-index::after { background: #c5cbc5; }
.dark-index span { color: #207c8b; }

.map-heading,
.models-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.55fr);
  gap: 120px;
  align-items: end;
}

.map-heading > p,
.models-heading > p {
  margin: 0;
  color: #626b66;
  font-size: 15px;
  line-height: 1.8;
}

.map-tabs {
  margin-top: 62px;
  border-bottom: 1px solid #bfc6c0;
}

.map-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border-bottom: 2px solid transparent;
  color: #6a736e;
  background: transparent;
  font-size: 12px;
}

.map-tabs button.active,
.map-tabs button[aria-selected="true"] {
  border-color: #131714;
  color: #131714;
  font-weight: 750;
}

.map-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 630px;
  margin-top: 24px;
  border: 1px solid #aeb6af;
  background: #e5e9e4;
}

.map-canvas {
  position: relative;
  min-width: 0;
  min-height: 630px;
  overflow: hidden;
  border-right: 1px solid #aeb6af;
}

.map-canvas::before,
.map-canvas::after {
  position: absolute;
  z-index: 0;
  background: rgba(25, 31, 27, 0.06);
  content: "";
}

.map-canvas::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.map-canvas::after { top: 50%; right: 0; left: 0; height: 1px; }

.map-meta {
  position: absolute;
  top: 18px;
  right: 20px;
  left: 20px;
  z-index: 3;
  color: #757f79;
  font: 700 8px/1 ui-monospace, monospace;
}

.map-meta span { display: flex; align-items: center; gap: 7px; }
.map-meta i { width: 6px; height: 6px; border-radius: 50%; background: #4e9a61; }
.map-meta b { color: #8b948f; }

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 154px;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #9fa8a1;
  border-radius: 3px;
  color: #171b18;
  text-align: left;
  background: #f2f4ef;
  box-shadow: 4px 4px 0 rgba(21, 26, 23, 0.08);
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.map-node:hover {
  transform: translateY(-3px);
}

.map-node > span {
  color: #718079;
  font: 700 8px/1 ui-monospace, monospace;
}

.map-node strong {
  margin-top: 8px;
  font-size: 14px;
}

.map-node small {
  margin-top: 5px;
  color: #718079;
  font: 700 7px/1 ui-monospace, monospace;
}

.map-node.active {
  border-color: #121714;
  color: #f2f4ef;
  background: #121714;
  box-shadow: 6px 6px 0 var(--coral);
}

.map-node.active > span { color: var(--coral); }
.map-node.active small { color: #9ba69f; }

.node-api { top: 43%; left: 4%; }
.node-session { top: 40%; left: 39%; width: 168px; }
.node-context { top: 14%; left: 35%; }
.node-route { top: 16%; right: 5%; }
.node-tools { top: 62%; right: 7%; }
.node-memory { bottom: 6%; left: 34%; }

.map-link {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: #87918b;
  transform-origin: left center;
}

.map-link::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #87918b;
  border-right: 1px solid #87918b;
  content: "";
  transform: rotate(45deg);
}

.link-a { top: 49%; left: 19%; width: 21%; transform: rotate(-2deg); }
.link-b { top: 44%; left: 48%; width: 27%; transform: rotate(-49deg); }
.link-c { top: 40%; left: 45%; width: 20%; transform: rotate(-94deg); }
.link-d { top: 24%; left: 51%; width: 28%; transform: rotate(2deg); }
.link-e { top: 50%; left: 52%; width: 28%; transform: rotate(35deg); }
.link-f { top: 51%; left: 48%; width: 31%; transform: rotate(84deg); }
.link-g { top: 72%; left: 49%; width: 26%; transform: rotate(-4deg); }
.link-h { top: 28%; left: 20%; width: 25%; transform: rotate(29deg); }

.evidence-drawer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  color: #dfe5e1;
  background: #111513;
}

.drawer-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid #303733;
  color: #737d77;
  font: 700 8px/1 ui-monospace, monospace;
}

.drawer-heading b { color: var(--cyan); }

.drawer-node {
  padding: 31px 0 25px;
  border-bottom: 1px solid #303733;
}

.drawer-node small,
.drawer-file > span {
  color: #68716d;
  font: 700 8px/1 ui-monospace, monospace;
}

.drawer-node strong {
  display: block;
  margin-top: 11px;
  font-size: 25px;
}

.drawer-node p {
  margin: 13px 0 0;
  color: #99a29d;
  font-size: 11px;
  line-height: 1.7;
}

.drawer-file {
  padding: 24px 0;
}

.drawer-file code {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: #c5cdc8;
  font: 9px/1.6 ui-monospace, monospace;
}

.drawer-file div {
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.drawer-file div i { width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lime); }
.drawer-file div b { font-size: 8px; }
.drawer-file div small { margin-left: auto; color: var(--lime); font-size: 8px; }

.drawer-code {
  border: 1px solid #303733;
  background: #0b0e0c;
}

.drawer-code > div {
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  border-bottom: 1px solid #303733;
  color: #747e78;
  font: 700 7px/1 ui-monospace, monospace;
}

.drawer-code > div b { color: var(--yellow); }
.drawer-code pre { margin: 0; overflow: hidden; padding: 12px 10px; color: #98a39c; font: 7px/1.75 ui-monospace, monospace; }
.drawer-code pre i { margin-right: 9px; color: #4e5852; font-style: normal; }

.drawer-confidence {
  margin-top: auto;
  padding-top: 25px;
}

.drawer-confidence > div:first-child { display: flex; justify-content: space-between; color: #89938d; font-size: 9px; }
.drawer-confidence strong { color: var(--lime); }
.drawer-confidence > div:last-child { height: 3px; margin-top: 10px; background: #2a312d; }
.drawer-confidence i { display: block; width: 98%; height: 100%; background: var(--lime); }

.models {
  overflow: hidden;
  background: #0b0e10;
}

.models-heading > p {
  color: #919b97;
}

.model-marquee {
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid #bcc3bc;
  border-bottom: 1px solid #bcc3bc;
  color: #151916;
  background: var(--paper-2);
}

.model-track {
  display: flex;
  width: max-content;
  animation: model-ticker 38s linear infinite;
}

.model-track > div {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 180px;
  height: 92px;
  padding: 0 20px;
  border-right: 1px solid #c9cec9;
}

.model-track img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.model-track span {
  font-size: 14px;
  font-weight: 720;
}

@keyframes model-ticker { to { transform: translateX(-50%); } }

.routing-showcase {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(520px, 1.28fr);
  gap: 100px;
  align-items: center;
  margin-top: 110px;
}

.route-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font: 700 9px/1 ui-monospace, monospace;
}

.route-kicker::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(147, 202, 107, 0.8);
  content: "";
}

.routing-copy h3 {
  margin: 20px 0;
  font-size: 36px;
  font-weight: 630;
  line-height: 1.2;
}

.routing-copy > p {
  margin: 0;
  color: #919b97;
  font-size: 14px;
  line-height: 1.8;
}

.routing-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.routing-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #717b77;
  font-size: 9px;
}

.routing-legend span:first-child i { background: var(--cyan); }
.routing-legend span:nth-child(2) i { background: var(--coral); }
.routing-legend span:last-child i { background: var(--yellow); }

.route-stack {
  display: grid;
  gap: 10px;
}

.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 135px;
  padding: 20px 24px;
  border: 1px solid #343b3c;
  border-left: 4px solid;
  background: #111518;
}

.tier > div {
  grid-column: 1 / 3;
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  color: #69736f;
  font: 700 8px/1 ui-monospace, monospace;
}

.tier > div b { color: #98a29e; }
.tier > strong { font-size: 17px; }
.tier > p { grid-column: 1; margin: 5px 0 0; color: #707a76; font-size: 10px; }
.tier footer { grid-column: 2; grid-row: 2 / 4; display: flex; align-items: center; gap: 9px; min-width: 155px; padding-left: 20px; border-left: 1px solid #303637; }
.tier footer img { width: 26px; height: 26px; padding: 4px; border-radius: 4px; background: #eef0ec; object-fit: contain; }
.tier footer span { min-width: 70px; font-size: 10px; }
.tier footer i { margin-left: auto; font: 700 8px/1 ui-monospace, monospace; font-style: normal; }
.tier.low { border-left-color: var(--lime); }
.tier.medium { border-left-color: var(--cyan); }
.tier.high { border-left-color: var(--coral); }
.tier.low footer i { color: var(--lime); }
.tier.medium footer i { color: var(--cyan); }
.tier.high footer i { color: var(--coral); }

.workflow {
  color: #121613;
  background: var(--paper-2);
}

.workflow .section-index { color: #707a75; }
.workflow .section-index::after { background: #c7cdc7; }
.workflow .section-index span { color: #207c8b; }

.workflow-heading {
  max-width: 760px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid #bac1ba;
  border-bottom: 1px solid #bac1ba;
}

.workflow-steps article {
  min-width: 0;
  padding: 26px 28px 36px;
  border-left: 1px solid #bac1ba;
}

.workflow-steps article:last-child {
  border-right: 1px solid #bac1ba;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6d7771;
  font: 700 10px/1 ui-monospace, monospace;
}

.step-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.workflow-steps article:nth-child(2) .step-top i { background: #268696; }
.workflow-steps article:nth-child(3) .step-top i { background: #609944; }

.step-visual {
  height: 184px;
  margin: 36px 0 32px;
  border: 1px solid #b7beb7;
  background: #e9ece6;
}

.project-step {
  position: relative;
  display: grid;
  place-content: center;
  padding: 22px;
}

.project-step > div {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 240px;
  padding: 13px;
  border: 1px solid #9fa8a0;
  background: #f7f7f2;
}

.project-step b { margin-right: 13px; color: #4b5550; font: 700 8px/1 ui-monospace, monospace; }
.project-step span { font-size: 11px; font-weight: 700; }
.project-step p { margin: 9px 0 0; color: #717b75; font: 8px/1.4 ui-monospace, monospace; }
.project-step > i { position: absolute; right: 18px; bottom: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.prompt-step {
  position: relative;
  padding: 30px 24px;
}

.prompt-step > span { color: var(--coral); font: 700 8px/1 ui-monospace, monospace; }
.prompt-step p { width: 85%; margin: 15px 0 0; font-size: 12px; line-height: 1.7; }
.prompt-step b { position: absolute; right: 18px; bottom: 18px; display: grid; width: 32px; height: 32px; place-items: center; color: #edf0eb; background: #141815; }

.verify-step {
  padding: 27px 23px;
}

.verify-step > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #bdc4bd;
}

.verify-step > div > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #eef1ec; background: #609944; }
.verify-step p { display: grid; gap: 4px; margin: 0; }
.verify-step strong { font-size: 11px; }
.verify-step small { color: #68726c; font-size: 8px; }
.verify-step code { display: flex; justify-content: space-between; margin-top: 23px; color: #515b55; font: 9px/1 ui-monospace, monospace; }
.verify-step code b { color: #4b8a36; }

.workflow-steps h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 680;
}

.workflow-steps article > p {
  margin: 13px 0 0;
  color: #66706a;
  font-size: 13px;
  line-height: 1.7;
}

.download {
  overflow: hidden;
  padding: 110px 0;
  color: #11150f;
  background: var(--acid);
}

.download::before,
.download::after {
  position: absolute;
  border: 1px solid rgba(17, 21, 15, 0.16);
  border-radius: 50%;
  content: "";
}

.download::before {
  top: -240px;
  right: -120px;
  width: 560px;
  height: 560px;
}

.download::after {
  top: -160px;
  right: -40px;
  width: 400px;
  height: 400px;
}

.download-noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
}

.download-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.65fr);
  gap: 120px;
  align-items: end;
}

.download-copy > img {
  width: 72px;
  height: 72px;
  margin-bottom: 30px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(17, 21, 15, 0.18);
}

.download .section-kicker { color: #475c2b; }
.download-copy h2 { font-size: 54px; }
.download-copy > p:last-child { max-width: 560px; margin: 24px 0 0; color: #4a5738; font-size: 15px; line-height: 1.75; }

.download-action {
  border-top: 1px solid rgba(17, 21, 15, 0.32);
}

.download-info {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 25px 0;
  color: #4f5b3f;
  font-size: 10px;
}

.download-info strong { color: #1e2418; font-weight: 700; }

.download-control {
  position: relative;
  z-index: 3;
}

.split-download {
  display: grid;
  grid-template-columns: minmax(132px, 0.78fr) minmax(210px, 1.22fr);
  min-height: 78px;
  overflow: hidden;
  border: 1px solid #11150f;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(17, 21, 15, 0.14);
}

.split-download-primary,
.split-download-selector {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 0;
  color: #f3f5ef;
  background: #11150f;
}

.split-download-primary {
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  font-size: 21px;
  font-weight: 690;
  transition: color 150ms ease, background-color 150ms ease;
}

.split-download-primary small {
  color: #89917f;
  font: 700 8px/1 ui-monospace, monospace;
}

.split-download-primary:hover {
  color: #11150f;
  background: #f3f5ef;
}

.split-download-primary:hover small {
  color: #58604e;
}

.split-download-selector {
  justify-content: space-between;
  gap: 16px;
  padding: 0 23px;
  border-left: 1px solid rgba(200, 244, 119, 0.28);
  background: #27331f;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
  transition: background-color 150ms ease;
}

.split-download-selector:hover,
.split-download-selector[aria-expanded="true"] {
  background: #344329;
}

.split-download-selector > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.split-download-selector > i {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-right: 2px solid var(--acid);
  border-bottom: 2px solid var(--acid);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 150ms ease;
}

.split-download-selector[aria-expanded="true"] > i {
  transform: translateY(3px) rotate(225deg);
}

.download-options {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #343b37;
  border-radius: 6px;
  color: #e7ece8;
  background: #111513;
  box-shadow: 0 22px 50px rgba(17, 21, 15, 0.28);
}

.download-options[hidden] {
  display: none;
}

.download-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid #303733;
  color: #d6dcd8;
  text-align: left;
  background: #111513;
  cursor: pointer;
}

.download-options button:last-child {
  border-bottom: 0;
}

.download-options button:hover,
.download-options button[aria-selected="true"] {
  background: #1b221b;
}

.download-options button > span {
  display: grid;
  gap: 5px;
}

.download-options strong {
  font-size: 12px;
}

.download-options small {
  color: #828c86;
  font: 700 9px/1 ui-monospace, monospace;
}

.download-options button > i {
  visibility: hidden;
  color: var(--acid);
  font-style: normal;
}

.download-options button[aria-selected="true"] > i {
  visibility: visible;
}

.download-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  color: #52603d;
  font-size: 9px;
}

.download-note i { width: 6px; height: 6px; border-radius: 50%; background: #43752d; }

.site-footer {
  padding: 70px 32px 26px;
  border-top: 1px solid #292f30;
  background: #090b0c;
}

.footer-main,
.footer-bottom {
  width: min(var(--shell), 100%);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 50px;
}

.footer-brand img { width: 42px; height: 42px; }
.footer-main > p { margin: 0; color: #5f6865; font: 700 9px/1.8 ui-monospace, monospace; }
.footer-main nav { display: grid; grid-template-columns: repeat(2, 100px); gap: 12px 28px; }
.footer-main nav a { color: #89928f; font-size: 11px; }
.footer-main nav a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 68px;
  padding-top: 20px;
  border-top: 1px solid #292f30;
  color: #535c59;
  font: 700 10px/1.6 ui-monospace, monospace;
  white-space: nowrap;
}

.footer-meta { display: inline-flex; gap: 8px; }
.footer-bottom a { color: #737d79; }
.footer-bottom a:hover { color: #aab2af; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    place-content: center;
    gap: 6px;
    border: 1px solid #394041;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 16px;
    height: 1px;
    background: #dce2df;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    padding: 12px 32px 30px;
    border-bottom: 1px solid #343b3c;
    background: #090b0c;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu a {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #282e2f;
    color: #d8ddda;
    font-size: 16px;
  }

  .mobile-menu a span { color: #69726f; font: 700 9px/1 ui-monospace, monospace; }

  .studio-layout {
    grid-template-columns: 170px minmax(460px, 1fr);
  }

  .mock-insight {
    display: none;
  }

  .manifesto-layout,
  .map-heading,
  .models-heading {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 60px;
  }

  .manifesto-heading h2,
  .feature-header h2,
  .map-heading h2,
  .models-heading h2,
  .workflow-heading h2 {
    font-size: 44px;
  }

  .feature-header {
    align-items: start;
    flex-direction: column;
  }

  .feature-stage {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .context-visual,
  .memory-visual {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .context-terminal {
    padding: 34px 28px;
  }

  .routing-visual {
    padding: 28px;
  }

  .model-tiers {
    grid-template-columns: 1fr;
  }

  .model-tiers article {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .model-tiers article > span,
  .model-tiers article small {
    display: none;
  }

  .model-tiers article strong {
    margin-left: 4px;
  }

  .map-stage {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .routing-showcase {
    grid-template-columns: minmax(260px, 0.7fr) minmax(470px, 1.3fr);
    gap: 55px;
  }

  .download-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 60px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
    padding: 0 20px;
  }

  .header-version,
  .header-download {
    display: none;
  }

  .header-actions { gap: 0; }
  .mobile-menu { top: 66px; padding-right: 20px; padding-left: 20px; }

  .hero {
    height: 92svh;
    min-height: 760px;
    max-height: 880px;
  }

  .hero-copy {
    width: min(640px, calc(100% - 38px));
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-statement {
    font-size: 30px;
  }

  .hero-description {
    font-size: 14px;
  }

  .studio-hero {
    top: 505px;
    width: calc(100% - 38px);
  }

  .studio-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-sidebar,
  .mock-insight {
    display: none;
  }

  .hero-signal {
    display: none;
  }

  .section {
    padding: 90px 0;
  }

  .section-shell {
    width: min(100% - 38px, var(--shell));
  }

  .section-index {
    margin-bottom: 46px;
  }

  .manifesto-layout,
  .map-heading,
  .models-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .manifesto-heading h2,
  .feature-header h2,
  .map-heading h2,
  .models-heading h2,
  .workflow-heading h2,
  .download-copy h2 {
    font-size: 39px;
  }

  .fact-row {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 60px;
  }

  .fact-row > div:nth-child(3),
  .fact-row > div:nth-child(4) {
    border-top: 1px solid #313738;
  }

  .feature-tabs {
    width: 100%;
  }

  .feature-tabs button {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }

  .feature-stage {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .feature-panel {
    padding: 30px 27px 32px;
    border-right: 0;
    border-bottom: 1px solid #343b3c;
  }

  .feature-panel h3 {
    margin: 33px 0 16px;
    font-size: 29px;
  }

  .feature-panel ul {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 26px;
  }

  .feature-visual {
    min-height: 440px;
  }

  .context-terminal {
    padding: 30px 24px;
  }

  .map-stage {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    border-right: 0;
    border-bottom: 1px solid #aeb6af;
  }

  .evidence-drawer {
    min-height: 500px;
  }

  .routing-showcase {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 80px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-steps article {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 1.1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 30px;
    border-right: 1px solid #bac1ba;
    border-bottom: 1px solid #bac1ba;
  }

  .workflow-steps article:last-child {
    border-bottom: 0;
  }

  .step-top { grid-column: 1 / 3; }
  .step-visual { grid-row: 2 / 4; margin-bottom: 0; }
  .workflow-steps h3 { align-self: end; margin-top: 36px; }

  .download-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .download-action {
    max-width: 540px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main nav {
    grid-column: 1 / 3;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 9px;
    font-size: 13px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 730px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding-top: 100px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 46px;
    line-height: 1;
  }

  .hero-statement {
    margin-top: 8px;
    font-size: 25px;
  }

  .hero-description {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    width: min(330px, 100%);
    margin: 22px auto 0;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .studio-hero {
    top: 490px;
    width: calc(100% - 22px);
    height: 470px;
  }

  .studio-titlebar {
    grid-template-columns: 1fr auto;
  }

  .window-project {
    display: none;
  }

  .mock-workspace {
    grid-template-rows: 48px minmax(0, 1fr) 64px;
  }

  .workspace-header {
    padding: 0 13px;
  }

  .workspace-model {
    padding: 5px;
  }

  .workspace-model b {
    display: none;
  }

  .mock-conversation {
    padding: 15px 13px 10px;
  }

  .user-prompt {
    grid-template-columns: 22px minmax(0, 1fr);
    margin-left: 5%;
    padding: 9px 10px;
  }

  .assistant-response {
    width: 100%;
    margin-top: 12px;
  }

  .assistant-response > p,
  .code-change {
    display: none;
  }

  .tool-row {
    min-height: 32px;
    margin-top: 5px;
  }

  .mock-composer {
    margin-right: 12px;
    margin-left: 12px;
  }

  .section {
    padding: 76px 0;
  }

  .section-shell {
    width: calc(100% - 32px);
  }

  .section-index {
    margin-bottom: 38px;
  }

  .manifesto-heading h2,
  .feature-header h2,
  .map-heading h2,
  .models-heading h2,
  .workflow-heading h2,
  .download-copy h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .manifesto-copy,
  .map-heading > p,
  .models-heading > p {
    font-size: 13px;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }

  .fact-row > div {
    min-height: 94px;
    border-right: 1px solid #313738;
    border-bottom: 1px solid #313738;
  }

  .fact-row > div:last-child {
    border-bottom: 0;
  }

  .fact-row strong {
    font-size: 21px;
  }

  .feature-header {
    gap: 34px;
  }

  .feature-tabs {
    overflow-x: auto;
  }

  .feature-tabs button {
    min-width: 126px;
    flex: 0 0 auto;
  }

  .feature-panel {
    padding: 26px 21px;
  }

  .feature-panel h3 {
    font-size: 25px;
  }

  .feature-panel > p {
    font-size: 12px;
  }

  .feature-panel ul {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    min-height: 430px;
  }

  .context-visual,
  .memory-visual {
    grid-template-columns: 1fr;
  }

  .file-tree,
  .memory-sidebar {
    display: none;
  }

  .context-terminal {
    padding: 24px 17px;
  }

  .terminal-line code {
    font-size: 10px;
  }

  .terminal-line code i {
    display: none;
  }

  .routing-visual {
    padding: 22px 16px;
  }

  .route-request p {
    font-size: 13px;
  }

  .route-request > div {
    flex-wrap: wrap;
  }

  .model-tiers article {
    padding: 13px;
  }

  .memory-stream {
    padding: 25px 20px;
  }

  .memory-query strong {
    font-size: 14px;
  }

  .map-tabs {
    overflow-x: auto;
  }

  .map-tabs button {
    min-width: 92px;
    padding: 0 10px;
    flex: 0 0 auto;
  }

  .map-canvas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-height: auto;
    padding: 70px 14px 22px;
  }

  .map-canvas::before,
  .map-canvas::after,
  .map-link {
    display: none;
  }

  .map-meta {
    right: 14px;
    left: 14px;
  }

  .map-meta b {
    display: none;
  }

  .map-node {
    position: static;
    width: 100%;
    min-height: 94px;
  }

  .node-session {
    width: 100%;
  }

  .evidence-drawer {
    min-height: 520px;
    padding: 20px;
  }

  .drawer-node strong {
    font-size: 22px;
  }

  .model-marquee {
    margin-top: 60px;
  }

  .model-track > div {
    width: 150px;
    height: 78px;
  }

  .model-track img {
    width: 27px;
    height: 27px;
  }

  .routing-showcase {
    margin-top: 65px;
  }

  .routing-copy h3 {
    font-size: 29px;
  }

  .tier {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tier > div {
    grid-column: 1;
  }

  .tier footer {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    margin-top: 17px;
    padding: 14px 0 0;
    border-top: 1px solid #303637;
    border-left: 0;
  }

  .workflow-steps article {
    display: block;
    padding: 24px 18px 34px;
  }

  .step-visual {
    margin: 30px 0 27px;
  }

  .workflow-steps h3 {
    margin-top: 0;
  }

  .project-step > div {
    min-width: 0;
  }

  .download {
    padding: 80px 0;
  }

  .download-copy > img {
    width: 60px;
    height: 60px;
  }

  .download-info {
    grid-template-columns: 84px 1fr;
  }

  .split-download {
    grid-template-columns: 0.72fr 1.28fr;
    min-height: 70px;
  }

  .split-download-primary {
    gap: 5px;
    padding: 0 13px;
    font-size: 17px;
  }

  .split-download-primary small {
    display: none;
  }

  .split-download-selector {
    padding: 0 15px;
    font-size: 13px;
  }

  .site-footer {
    padding: 55px 20px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main nav {
    grid-column: 1;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 13px;
    margin-top: 48px;
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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