@font-face {
  font-family: "Space Grotesk";
  src: url("../vendor/SpaceGrotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #f0f3ef;
  --ink: #17221f;
  --ink-soft: #40504b;
  --muted: #6c7a75;
  --line: #d9e0dc;
  --line-dark: #c4cec8;
  --accent: #167d69;
  --accent-dark: #0c594a;
  --accent-soft: #dff1eb;
  --warm: #e9784f;
  --dark: #14211e;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1180px, calc(100% - 48px));
  --shadow: 0 28px 70px rgba(22, 39, 34, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: clip;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background-color: #f2efe8;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(30, 40, 36, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 40, 36, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(30, 40, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 40, 36, 0.045) 1px, transparent 1px),
    #f2efe8;
  background-size: 4px 4px, 4px 4px, 20px 20px, 20px 20px;
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 10% 3%, rgba(212, 177, 128, 0.18), transparent 30rem),
    radial-gradient(circle at 92% 15%, rgba(83, 122, 113, 0.1), transparent 34rem),
    repeating-radial-gradient(circle at 30% 40%, rgba(70, 63, 53, 0.02) 0 0.6px, transparent 0.8px 4px);
  opacity: 0.8;
  mix-blend-mode: multiply;
}

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

button {
  color: inherit;
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(22, 125, 105, 0.35);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-soft);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 12px;
  background: var(--dark);
  color: white;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--page);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 0.94rem;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a,
.text-link,
.language-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 550;
}

.nav-links a:hover,
.text-link:hover,
.language-link:hover {
  color: var(--accent-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 0 16px;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 50, 42, 0.1);
}

.button-primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: white;
}

.hero,
.capabilities,
.trust-section,
.site-footer {
  width: var(--page);
  margin-inline: auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: center;
  padding: 40px 0 48px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  max-width: 610px;
  font-size: clamp(2.8rem, 4.65vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.93;
}

h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

.hero-lead {
  max-width: 600px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.agent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.agent-list > span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
}

.provider-icon {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 6px;
  font-style: normal;
  background: white;
}

.provider-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.install-command {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: min(100%, 430px);
  padding: 0 7px 0 15px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.install-command:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(21, 50, 42, 0.09);
}

.install-command code {
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.65;
}

.install-command code span {
  display: block;
  white-space: nowrap;
}

.install-command code span + span::before {
  content: "&& ";
  color: var(--accent);
}

.install-prompt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.copy-label {
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--accent-dark);
  color: white;
  font-size: 0.62rem;
  font-weight: 650;
}

.compatibility {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-1.5deg) rotateX(0.5deg);
}

.window-bar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #f1f4f2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.54rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd3ce;
}

.window-dots i:first-child {
  background: #dd8366;
}

.window-dots i:nth-child(2) {
  background: #d9b763;
}

.window-dots i:nth-child(3) {
  background: #66a887;
}

.encrypted-label {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
  padding: 0 9px;
  border: 1px solid rgba(22, 125, 105, 0.24);
  border-radius: 99px;
  background: #d9f4e9;
  color: #075c48;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(22, 125, 105, 0.06);
}

.encrypted-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a8f6d;
  box-shadow: 0 0 0 3px rgba(10, 143, 109, 0.13);
}

.workspace-ui {
  min-height: 535px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
}

.provider-switcher {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfb;
}

.provider-switcher-label {
  margin-right: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.48rem;
  text-transform: uppercase;
}

.provider-switcher > span:not(.provider-switcher-label) {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 0.51rem;
  font-weight: 600;
}

.provider-switcher > span.active {
  border-color: var(--line);
  background: var(--surface);
}

.provider-switcher .provider-icon {
  width: 19px;
  height: 19px;
}

.provider-switcher .provider-icon img {
  width: 15px;
  height: 15px;
}

.provider-switcher b {
  min-width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--surface-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.42rem;
}

.session-sidebar {
  padding: 13px 10px;
  border-right: 1px solid var(--line);
  background: #f5f7f5;
}

.sidebar-title {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  font-size: 0.65rem;
}

.sidebar-title span {
  color: var(--muted);
  font-size: 1rem;
}

.directory-label {
  margin: 10px 7px 5px;
  color: #8b9692;
  font-family: var(--mono);
  font-size: 0.49rem;
  text-transform: uppercase;
}

.session-row {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.session-row:hover:not(.active) {
  background: rgba(255, 255, 255, 0.58);
}

.session-row .provider-icon {
  background: transparent;
}

.session-row.active {
  border-color: var(--line);
  background: white;
  box-shadow: 0 4px 10px rgba(20, 40, 34, 0.05);
}

.session-row > span {
  min-width: 0;
}

.session-row strong,
.session-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-row strong {
  font-size: 0.58rem;
  font-weight: 650;
}

.session-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.49rem;
}

.session-row > b {
  position: absolute;
  top: 9px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.chat-ui {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: white;
}

.chat-ui.session-changed .chat-body,
.chat-ui.session-changed .chat-input,
.chat-ui.session-changed .remote-terminal {
  animation: demo-session-in 180ms ease-out;
}

@keyframes demo-session-in {
  from { opacity: 0.55; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-head {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.chat-head strong,
.chat-head small {
  display: block;
}

.chat-head strong {
  font-size: 0.69rem;
}

.chat-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.5rem;
}

.chat-actions {
  display: flex;
  gap: 4px;
}

.chat-actions span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink-soft);
  font-size: 0.51rem;
}

.chat-body {
  flex: 1;
  padding: 26px 22px 12px;
}

.message {
  max-width: 87%;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 0.61rem;
  line-height: 1.55;
}

.user-message {
  margin-left: auto;
  background: #edf2f0;
}

.agent-message {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: white;
}

.message-author {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-weight: 650;
}

.message-author i {
  width: 19px;
  height: 19px;
}

.tool-call {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9f8;
}

.tool-call > span {
  color: var(--accent);
}

.tool-call strong,
.tool-call small {
  display: block;
}

.tool-call strong {
  font-family: var(--mono);
  font-size: 0.5rem;
}

.tool-call small {
  color: var(--muted);
  font-size: 0.48rem;
}

.demo-extra {
  margin-top: 8px;
}

.diff-card,
.question-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8faf9;
}

.diff-head {
  min-height: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.46rem;
}

.diff-head strong {
  color: var(--accent);
}

.diff-head span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diff-card code {
  display: block;
  font-family: var(--mono);
  font-size: 0.44rem;
  line-height: 1.65;
}

.diff-card code span {
  display: block;
  overflow: hidden;
  padding: 2px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diff-remove {
  background: #fff0ed;
  color: #9d4c3e;
}

.diff-add {
  background: #e9f7f0;
  color: #176c57;
}

.question-card {
  padding: 9px;
  background: #fbfaf6;
}

.question-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7b5b21;
  font-family: var(--mono);
  font-size: 0.47rem;
}

.question-label > span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1e7cd;
  font-weight: 700;
}

.question-card p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.53rem;
}

.question-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.question-choices span {
  padding: 4px 6px;
  border: 1px solid #ded5be;
  border-radius: 5px;
  background: white;
  color: #675737;
  font-size: 0.44rem;
}

.chat-input {
  min-height: 82px;
  margin: 0 15px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  overflow: hidden;
  background: white;
  color: #9aa4a0;
  font-size: 0.55rem;
}

.input-line {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px 5px 12px;
}

.input-placeholder {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.input-toolbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px 8px;
  border-top: 1px solid #edf1ef;
  background: #fafbfa;
}

.input-control {
  height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.46rem;
}

.input-control:hover {
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.input-control.icon-only {
  width: 25px;
  justify-content: center;
  padding: 0;
}

.input-control svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.input-control.model-control {
  margin-left: auto;
  color: var(--ink-soft);
}

.terminal-open .control-terminal {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.chat-input .send-button {
  width: 29px;
  height: 29px;
  flex: none;
  border: 0;
  border-radius: 7px;
  background: var(--accent-dark);
  color: white;
}

.terminal-open .chat-input {
  margin-bottom: 8px;
}

.remote-terminal {
  height: 108px;
  flex: none;
  margin: 0 15px 14px;
  overflow: hidden;
  border: 1px solid #263b35;
  border-radius: 9px;
  background: #13211d;
  color: #dce9e4;
  box-shadow: 0 7px 18px rgba(13, 31, 26, 0.12);
}

.remote-terminal[hidden] {
  display: none;
}

.terminal-head {
  height: 31px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 9px;
  border-bottom: 1px solid #2c3d38;
  background: #1b2b26;
  font-family: var(--mono);
}

.terminal-head > span {
  display: flex;
  gap: 4px;
}

.terminal-head > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72817c;
}

.terminal-head > span i:first-child {
  background: #df8062;
}

.terminal-head > span i:nth-child(2) {
  background: #d8b45c;
}

.terminal-head > span i:last-child {
  background: #5ba47e;
}

.terminal-head strong {
  font-size: 0.47rem;
  font-weight: 600;
}

.terminal-head small {
  justify-self: end;
  color: #6fc39c;
  font-size: 0.4rem;
}

.terminal-head small::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

.terminal-body {
  padding: 8px 10px;
  font-family: var(--mono);
  font-size: 0.47rem;
  line-height: 1.65;
}

.terminal-body code,
.terminal-body code > span {
  display: block;
}

.terminal-command b {
  color: #63d2a2;
  font-weight: 600;
}

.terminal-output {
  overflow: hidden;
  color: #9fb0aa;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-cursor {
  width: 5px;
  height: 9px;
  display: inline-block;
  background: #73d5ad;
  vertical-align: -1px;
  animation: terminal-blink 1.1s steps(1) infinite;
}

@keyframes terminal-blink {
  50% { opacity: 0; }
}

.capabilities {
  padding: 42px 0 46px;
  border-top: 1px solid var(--line);
}

.section-intro {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.section-intro h2 {
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-intro > div > p {
  max-width: 740px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.83rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: 1.17fr 0.95fr 0.88fr;
  gap: 12px;
}

.capability-card {
  min-height: 318px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.card-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.capability-card h3 {
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.capability-card > p,
.capability-card > div > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.71rem;
}

.session-stack {
  display: grid;
  gap: 6px;
  margin-top: 17px;
}

.session-stack > span {
  min-height: 48px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8faf9;
}

.session-stack i {
  grid-row: 1 / 3;
}

.session-stack b {
  align-self: end;
  font-size: 0.56rem;
}

.session-stack small {
  align-self: start;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.44rem;
}

.session-stack em {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.44rem;
  font-style: normal;
}

.tool-list {
  display: grid;
  gap: 1px;
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  background: var(--line);
}

.tool-list li {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: #f8faf9;
  font-size: 0.61rem;
  font-weight: 650;
}

.tool-list small {
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 400;
}

.steps-card {
  background: var(--surface);
  color: var(--ink);
}

.steps-card .section-label {
  color: var(--accent);
}

.steps-card ol {
  margin-top: 20px;
  list-style: none;
}

.steps-card li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.steps-card li > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.55rem;
}

.steps-card strong,
.steps-card small {
  display: block;
}

.steps-card strong {
  font-size: 0.67rem;
}

.steps-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.52rem;
}

.trust-section {
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
}

.trust-card {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.trust-card .section-label {
  color: var(--accent);
}

.trust-card h2 {
  margin-top: 10px;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.trust-card p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.final-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 18px;
}

.final-action p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.65rem;
}

.footer-brand .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  font-size: 0.72rem;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.toast {
  position: fixed;
  z-index: 60;
  bottom: 20px;
  left: 50%;
  padding: 11px 16px;
  border-radius: 9px;
  background: var(--dark);
  color: white;
  box-shadow: 0 12px 28px rgba(15, 35, 29, 0.24);
  font-family: var(--mono);
  font-size: 0.66rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-window {
    max-width: 760px;
    transform: none;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-card {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .steps-card ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-card li {
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 16px 10px 0;
  }

  .steps-card li:last-child {
    border-right: 0;
    padding-left: 16px;
  }

  .trust-section {
    grid-template-columns: 1fr 1fr;
  }

  .final-action {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
  }

  .final-action p {
    margin: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  .nav-shell {
    height: 62px;
  }

  .brand > span:last-child,
  .github-link {
    display: none;
  }

  .encrypted-label {
    padding-inline: 7px;
    font-size: 0.49rem;
  }

  .nav-install {
    min-height: 40px;
    padding: 0 11px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .workspace-ui {
    min-height: 525px;
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .provider-switcher-label,
  .provider-switcher b {
    display: none;
  }

  .provider-switcher {
    justify-content: space-between;
  }

  .provider-switcher > span:not(.provider-switcher-label) {
    padding-inline: 4px;
    font-size: 0;
  }

  .session-sidebar {
    padding-inline: 6px;
  }

  .session-row {
    gap: 5px;
    padding-inline: 5px;
  }

  .session-row > i {
    display: none;
  }

  .chat-actions span:not(:last-child) {
    display: none;
  }

  .chat-body {
    padding: 18px 10px 8px;
  }

  .message {
    max-width: 96%;
    font-size: 0.56rem;
  }

  .chat-input,
  .remote-terminal {
    margin-inline: 8px;
  }

  .remote-terminal {
    height: 102px;
  }

  .input-control span {
    display: none;
  }

  .input-control {
    width: 25px;
    justify-content: center;
    padding: 0;
  }

  .input-control.model-control {
    margin-left: auto;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .capability-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .steps-card {
    grid-column: auto;
  }

  .steps-card ol {
    display: block;
  }

  .steps-card li,
  .steps-card li:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
    padding: 13px 0;
  }

  .trust-section {
    padding: 10px;
  }

  .final-action {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .final-action p {
    margin-bottom: 12px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 20px 0;
  }

  .site-footer > p {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ── Arcade theme: toggled by page clicks ── */
@font-face {
  font-family: "Arcade Display";
  src: url("../vendor/PressStart2P-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Arcade Text";
  src: url("../vendor/VT323-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Arcade Han Display";
  src: url("../vendor/FusionPixel-12px-zh_hans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Arcade Han Text";
  src: url("../vendor/FusionPixel-8px-zh_hans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html.arcade-theme {
  --bg: #263b62;
  --surface: #fff0bd;
  --surface-soft: #e8c87f;
  --ink: #35261f;
  --ink-soft: #5d4030;
  --muted: #80634c;
  --line: #8d5a32;
  --line-dark: #57351f;
  --accent: #3f7d3e;
  --accent-dark: #28522e;
  --accent-soft: #b6d56b;
  --warm: #d96b3d;
  --dark: #241a24;
  --display: "Arcade Display", monospace;
  --sans: "Arcade Text", monospace;
  --mono: "Arcade Text", monospace;
  --shadow: 8px 8px 0 rgba(27, 20, 29, 0.42);
  color-scheme: dark;
}

html[lang^="zh"].arcade-theme {
  --display: "Arcade Han Display", "Arcade Display", monospace;
  --sans: "Arcade Han Text", "Arcade Text", monospace;
  --mono: "Arcade Han Text", "Arcade Text", monospace;
}

.arcade-theme body {
  background: #263b62;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.08rem;
  letter-spacing: 0.025em;
  image-rendering: pixelated;
}

.arcade-theme body::before {
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(255, 240, 189, 0.035) 31px 32px),
    linear-gradient(transparent 0 31px, rgba(255, 240, 189, 0.035) 31px 32px),
    linear-gradient(180deg, #263b62 0 58%, #315c43 58% 64%, #244a37 64% 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}

.arcade-theme body::after {
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.035) 7px 8px),
    repeating-linear-gradient(0deg, rgba(20, 17, 25, 0.05) 0 1px, transparent 1px 4px);
  background-size: 8px 8px, 100% 4px;
  opacity: 1;
  mix-blend-mode: normal;
}

.arcade-theme *,
.arcade-theme *::before,
.arcade-theme *::after {
  border-radius: 0 !important;
}

.arcade-theme :focus-visible {
  outline: 3px solid #f4d35e;
  outline-offset: 3px;
}

.arcade-theme ::selection {
  background: #f4d35e;
  color: #35261f;
}

.arcade-theme h1,
.arcade-theme h2,
.arcade-theme h3,
.arcade-theme .brand,
.arcade-theme .section-label,
.arcade-theme .eyebrow {
  font-family: var(--display);
  font-weight: 400;
}

.arcade-theme h1 {
  max-width: 610px;
  color: #fff0bd;
  font-family: var(--sans);
  font-size: clamp(2.35rem, 3.25vw, 3.15rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.94;
  text-shadow: 3px 3px 0 #18233d, 5px 5px 0 rgba(19, 14, 24, 0.34);
}

.arcade-theme h1 em {
  color: #f4d35e;
  text-shadow: 3px 3px 0 #8d4a2e, 5px 5px 0 rgba(19, 14, 24, 0.34);
}

.arcade-theme .site-header {
  border-bottom: 4px solid #39251f;
  background: #60402b;
  box-shadow: inset 0 -4px 0 #9a6837, 0 5px 0 rgba(25, 17, 26, 0.28);
}

.arcade-theme .site-header.is-scrolled {
  border-color: #39251f;
  background: #60402b;
  backdrop-filter: none;
}

.arcade-theme .nav-shell {
  height: 70px;
}

.arcade-theme .brand {
  color: #fff0bd;
  font-size: 0.66rem;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #30201d;
}

.arcade-theme .brand-mark {
  border: 3px solid #f4d35e;
  background: #283d63;
  box-shadow: 3px 3px 0 #30201d;
}

.arcade-theme .text-link,
.arcade-theme .language-link {
  min-height: 34px;
  border: 3px solid #3b271f;
  padding: 0 10px;
  background: #e1ad50;
  color: #39251f;
  box-shadow: inset -3px -3px 0 #a76d33, inset 3px 3px 0 #ffe18a, 3px 3px 0 #30201d;
  font-family: var(--display);
  font-size: 0.48rem;
}

.arcade-theme .hero {
  min-height: calc(100vh - 74px);
  min-height: calc(100svh - 74px);
  padding-block: 22px 28px;
}

.arcade-theme .eyebrow,
.arcade-theme .section-label {
  color: #f4d35e;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-shadow: 2px 2px 0 #563721;
}

.arcade-theme .eyebrow span {
  width: 10px;
  height: 10px;
  border: 2px solid #2c4e31;
  background: #9fd45b;
  box-shadow: 2px 2px 0 #17291c;
}

.arcade-theme .hero-lead {
  margin-top: 16px;
  color: #f6e5b5;
  font-size: 1.05rem;
  line-height: 1.28;
  text-shadow: 2px 2px 0 rgba(20, 17, 26, 0.45);
}

.arcade-theme .agent-list {
  margin-top: 15px;
}

.arcade-theme .hero-actions {
  margin-top: 18px;
}

.arcade-theme .agent-list > span {
  min-height: 38px;
  border: 3px solid #3b271f;
  padding-inline: 10px;
  background: #f2d58e;
  color: #3c2a22;
  box-shadow: inset -3px -3px 0 #c18b4b, inset 3px 3px 0 #fff0bd, 3px 3px 0 #17233a;
  font-size: 0.92rem;
}

.arcade-theme .provider-icon {
  background: transparent;
}

.arcade-theme .install-command {
  min-height: 72px;
  border: 4px solid #3b271f;
  padding-inline: 15px 8px;
  background: #fff0bd;
  color: #36251f;
  box-shadow: inset -4px -4px 0 #d2a45c, inset 4px 4px 0 #fff8d9, 6px 6px 0 #17233a;
}

.arcade-theme .install-command code {
  font-size: 1rem;
  line-height: 1.3;
}

.arcade-theme .copy-label {
  border: 3px solid #1f3928;
  padding: 8px 10px;
  background: #559447;
  color: #fff4c7;
  box-shadow: inset -3px -3px 0 #315d32, inset 3px 3px 0 #8dcf65;
  font-family: var(--display);
  font-size: 0.45rem;
}

.arcade-theme .compatibility {
  color: #c8dfa3;
  font-size: 0.82rem;
  text-shadow: 2px 2px 0 #17233a;
}

.arcade-theme .product-window {
  border: 5px solid #36231d;
  background: #f7dda0;
  box-shadow:
    inset -5px -5px 0 #9b6235,
    inset 5px 5px 0 #f6cd67,
    9px 9px 0 rgba(19, 14, 24, 0.48);
  transform: none;
}

.arcade-theme .workspace-ui {
  min-height: 510px;
  height: 510px;
}

.arcade-theme .chat-ui {
  min-height: 0;
  overflow: hidden;
}

.arcade-theme .chat-body {
  min-height: 0;
  overflow: hidden;
  padding: 16px 16px 7px;
}

.arcade-theme .chat-input {
  flex: none;
}

.arcade-theme .window-bar {
  height: 43px;
  border-bottom: 4px solid #39251f;
  background: #735038;
  color: #fff0bd;
  font-size: 0.8rem;
  text-shadow: 2px 2px 0 #36231d;
}

.arcade-theme .window-dots i {
  width: 9px;
  height: 9px;
  border: 2px solid #39251f;
  box-shadow: 1px 1px 0 #24171a;
}

.arcade-theme .encrypted-label {
  min-height: 27px;
  border: 3px solid #25422c;
  padding-inline: 8px;
  background: #8fc657;
  color: #203a27;
  box-shadow: inset -2px -2px 0 #56823c, inset 2px 2px 0 #c7ea7f, 2px 2px 0 #39251f;
  font-size: 0.66rem;
  text-shadow: none;
}

.arcade-theme .encrypted-label i {
  border: 1px solid #234129;
  background: #e9f79a;
  box-shadow: none;
}

.arcade-theme .provider-switcher {
  min-height: 48px;
  border-bottom: 4px solid #56351f;
  background:
    linear-gradient(90deg, rgba(92, 55, 30, 0.16) 1px, transparent 1px),
    #d6a65b;
  background-size: 16px 16px;
}

.arcade-theme .provider-switcher-label {
  color: #4a3023;
  font-size: 0.68rem;
}

.arcade-theme .provider-switcher > span:not(.provider-switcher-label) {
  min-height: 32px;
  border: 3px solid #694326;
  background: #f4d995;
  color: #3d2921;
  box-shadow: inset -2px -2px 0 #bd8243, inset 2px 2px 0 #fff0bd;
  font-size: 0.75rem;
}

.arcade-theme .provider-switcher > span.active {
  border-color: #314c2d;
  background: #a9ce63;
  box-shadow: inset -2px -2px 0 #668d43, inset 2px 2px 0 #d9ef91;
}

.arcade-theme .provider-switcher b {
  background: #6e482a;
  color: #fff0bd;
  font-size: 0.6rem;
}

.arcade-theme .session-sidebar {
  border-right: 4px solid #39251f;
  padding: 14px 9px;
  background:
    linear-gradient(90deg, transparent 0 15px, rgba(214, 235, 142, 0.05) 15px 16px),
    linear-gradient(#315c43, #274b39);
  background-size: 16px 16px, 100% 100%;
  color: #f7e8b2;
}

.arcade-theme .sidebar-title {
  border-bottom: 3px solid #1c3b2b;
  color: #f4d35e;
  font-family: var(--display);
  font-size: 0.5rem;
}

.arcade-theme .directory-label {
  color: #b7d887;
  font-size: 0.72rem;
}

.arcade-theme .session-row {
  min-height: 57px;
  border: 3px solid transparent;
  color: #f8eac1;
}

.arcade-theme .session-row:hover:not(.active) {
  border-color: #1f3d2b;
  background: #3f7049;
}

.arcade-theme .session-row.active {
  border-color: #432b20;
  background: #f0cc76;
  color: #39251f;
  box-shadow: inset -3px -3px 0 #b5773f, inset 3px 3px 0 #fff0bd, 3px 3px 0 #172b21;
}

.arcade-theme .session-row strong {
  font-family: var(--display);
  font-size: 0.45rem;
  line-height: 1.45;
}

.arcade-theme .session-row small {
  color: inherit;
  font-size: 0.7rem;
  opacity: 0.72;
}

.arcade-theme .session-row > b {
  width: 8px;
  height: 8px;
  border: 2px solid #243d27;
  background: #92d657;
}

.arcade-theme .chat-ui {
  background: #f7dda0;
}

.arcade-theme .chat-head {
  height: 60px;
  border-bottom: 4px solid #6a4428;
  background: #e7b960;
  box-shadow: inset 0 -3px 0 #bd7f3f;
}

.arcade-theme .chat-head strong {
  font-family: var(--display);
  font-size: 0.52rem;
  line-height: 1.5;
}

.arcade-theme .chat-head small {
  color: #6e482f;
  font-size: 0.72rem;
}

.arcade-theme .chat-actions span {
  border: 3px solid #6b4528;
  padding: 4px 6px;
  background: #f7dfa0;
  color: #4c3226;
  box-shadow: inset -2px -2px 0 #c38a47, inset 2px 2px 0 #fff2be;
  font-size: 0.72rem;
}

.arcade-theme .chat-body {
  background:
    linear-gradient(90deg, rgba(109, 71, 38, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(109, 71, 38, 0.08) 1px, transparent 1px),
    #f9e7b3;
  background-size: 16px 16px;
}

.arcade-theme .message {
  border: 3px solid #5d3d28;
  padding: 8px 9px;
  background: #fff1c5;
  font-size: 0.76rem;
  line-height: 1.2;
  box-shadow: 4px 4px 0 rgba(86, 53, 31, 0.28);
  clip-path: polygon(0 5px, 5px 5px, 5px 0, calc(100% - 5px) 0, calc(100% - 5px) 5px, 100% 5px, 100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%, 5px 100%, 5px calc(100% - 5px), 0 calc(100% - 5px));
}

.arcade-theme .user-message {
  background: #cce58b;
  border-color: #476638;
}

.arcade-theme .agent-message {
  margin-top: 10px;
  background: #fff1c5;
}

.arcade-theme .message-author {
  margin-bottom: 5px;
}

.arcade-theme .message-author {
  color: #315d37;
  font-family: var(--display);
  font-size: 0.48rem;
}

.arcade-theme .tool-call {
  margin-top: 7px;
  padding: 6px;
}

.arcade-theme .demo-extra {
  margin-top: 5px;
}

.arcade-theme .tool-call,
.arcade-theme .diff-card,
.arcade-theme .question-card {
  border: 3px solid #745032;
  background: #ead19a;
  box-shadow: inset -2px -2px 0 #b47a42, inset 2px 2px 0 #fff0bd;
}

.arcade-theme .tool-call strong,
.arcade-theme .diff-head,
.arcade-theme .question-label {
  font-family: var(--display);
  font-size: 0.42rem;
}

.arcade-theme .tool-call small,
.arcade-theme .diff-card code,
.arcade-theme .question-card p,
.arcade-theme .question-choices span {
  font-size: 0.62rem;
}

.arcade-theme .diff-remove {
  background: #d78b73;
  color: #522b27;
}

.arcade-theme .diff-add {
  background: #a9d37c;
  color: #24452c;
}

.arcade-theme .question-card {
  padding: 6px;
  background: #f5d98e;
}

.arcade-theme .question-card p {
  margin-top: 4px;
}

.arcade-theme .question-choices {
  margin-top: 5px;
}

.arcade-theme .question-label > span,
.arcade-theme .question-choices span {
  border: 2px solid #6a452a;
  background: #fff0bd;
  color: #493025;
  box-shadow: 2px 2px 0 #9d6636;
}

.arcade-theme .chat-input {
  border: 4px solid #563720;
  background: #fff0bd;
  box-shadow: inset -3px -3px 0 #bd8247, inset 3px 3px 0 #fff9da, 4px 4px 0 rgba(65, 39, 28, 0.28);
  color: #77563f;
  font-size: 0.86rem;
}

.arcade-theme .input-toolbar {
  border-top: 3px solid #9b6637;
  background: #dfb667;
}

.arcade-theme .input-control {
  border: 2px solid transparent;
  color: #5b3e2d;
  font-size: 0.68rem;
}

.arcade-theme .input-control:hover,
.arcade-theme .terminal-open .control-terminal {
  border-color: #4d662f;
  background: #aace64;
  color: #2b482c;
  box-shadow: inset -2px -2px 0 #6d9145, inset 2px 2px 0 #dff28e;
}

.arcade-theme .chat-input .send-button {
  border: 3px solid #264229;
  background: #579448;
  box-shadow: inset -3px -3px 0 #315b32, inset 3px 3px 0 #91ce67, 2px 2px 0 #563720;
}

.arcade-theme .remote-terminal {
  border: 4px solid #36231d;
  background: #172a24;
  color: #d9ecae;
  box-shadow: inset -3px -3px 0 #0e1d19, inset 3px 3px 0 #365543, 5px 5px 0 rgba(65, 39, 28, 0.3);
}

.arcade-theme .terminal-head {
  border-bottom: 3px solid #17231f;
  background: #4e382b;
  color: #f6dd94;
  font-family: var(--display);
}

.arcade-theme .terminal-head strong {
  font-size: 0.42rem;
}

.arcade-theme .terminal-head small,
.arcade-theme .terminal-body {
  font-size: 0.7rem;
}

.arcade-theme .terminal-command b,
.arcade-theme .terminal-cursor {
  color: #a8df71;
  background-color: #a8df71;
}

.arcade-theme .capabilities {
  border-top: 6px solid #1b2f25;
  padding-top: 52px;
}

.arcade-theme .section-intro h2 {
  color: #fff0bd;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.35;
  text-shadow: 3px 3px 0 #18233d;
}

.arcade-theme .section-intro > div > p {
  color: #d6e4bb;
  font-size: 1.08rem;
  line-height: 1.3;
}

.arcade-theme .capability-card,
.arcade-theme .trust-card {
  border: 5px solid #54351f;
  background: #fff0bd;
  box-shadow: inset -4px -4px 0 #c78e49, inset 4px 4px 0 #fff8d8, 7px 7px 0 rgba(24, 20, 28, 0.34);
}

.arcade-theme .capability-card h3,
.arcade-theme .trust-card h2 {
  color: #3b2922;
  font-size: 0.82rem;
  line-height: 1.5;
}

.arcade-theme .capability-card > p,
.arcade-theme .capability-card > div > p,
.arcade-theme .trust-card p:last-child {
  color: #634634;
  font-size: 0.94rem;
  line-height: 1.3;
}

.arcade-theme .card-icon {
  border: 3px solid #29492f;
  background: #91c65a;
  color: #203b28;
  box-shadow: inset -3px -3px 0 #57813d, inset 3px 3px 0 #c8e97a, 3px 3px 0 #6b4428;
}

.arcade-theme .session-stack > span,
.arcade-theme .tool-list,
.arcade-theme .steps-card li {
  border-width: 3px;
  border-color: #8e5c35;
  background: #f2d78e;
}

.arcade-theme .session-stack > span {
  box-shadow: inset -2px -2px 0 #c08745, inset 2px 2px 0 #fff0bd;
}

.arcade-theme .session-stack b,
.arcade-theme .tool-list li,
.arcade-theme .steps-card strong {
  font-size: 0.86rem;
}

.arcade-theme .session-stack small,
.arcade-theme .session-stack em,
.arcade-theme .tool-list small,
.arcade-theme .steps-card small {
  font-size: 0.7rem;
}

.arcade-theme .tool-list li {
  border-bottom: 2px solid #aa733e;
  background: #f7dda0;
}

.arcade-theme .steps-card li > span {
  border: 3px solid #3e6338;
  background: #a4cf62;
  color: #27462c;
  box-shadow: 2px 2px 0 #704929;
  font-size: 0.75rem;
}

.arcade-theme .trust-section {
  border: 5px solid #36231d;
  background:
    linear-gradient(90deg, rgba(61, 36, 24, 0.24) 1px, transparent 1px),
    #6d452a;
  background-size: 16px 16px;
  box-shadow: 7px 7px 0 rgba(24, 20, 28, 0.34);
}

.arcade-theme .trust-card .section-label {
  color: #47753d;
  text-shadow: none;
}

.arcade-theme .site-footer {
  margin-top: 24px;
  border-top: 5px solid #38251f;
  color: #e9dfac;
  font-size: 0.88rem;
}

.arcade-theme .toast {
  border: 4px solid #39251f;
  background: #f4d35e;
  color: #39251f;
  box-shadow: inset -3px -3px 0 #b67c34, inset 3px 3px 0 #fff1a0, 5px 5px 0 rgba(24, 20, 28, 0.5);
  font-family: var(--display);
  font-size: 0.5rem;
}

@media (max-width: 700px) {
  .arcade-theme h1 {
    font-size: clamp(2rem, 10.5vw, 2.8rem);
    line-height: 0.98;
  }

  .arcade-theme .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .arcade-theme .workspace-ui {
    min-height: 580px;
    height: 580px;
  }

  .arcade-theme .hero-lead {
    font-size: 1.05rem;
  }

  .arcade-theme .product-window {
    box-shadow: 6px 6px 0 rgba(19, 14, 24, 0.45);
  }

  .arcade-theme .window-bar {
    font-size: 0.64rem;
  }

  .arcade-theme .encrypted-label {
    font-size: 0.56rem;
  }

  .arcade-theme .session-row strong {
    font-family: var(--sans);
    font-size: 0.76rem;
  }

  .arcade-theme .session-row small,
  .arcade-theme .chat-head small,
  .arcade-theme .message,
  .arcade-theme .chat-input,
  .arcade-theme .terminal-body {
    font-size: 0.7rem;
  }

  .arcade-theme .message {
    padding: 8px;
  }

  .arcade-theme .tool-call small,
  .arcade-theme .diff-card code,
  .arcade-theme .question-card p,
  .arcade-theme .question-choices span {
    font-size: 0.62rem;
  }

  .arcade-theme .section-intro h2 {
    font-size: 1.25rem;
  }

  .arcade-theme .capability-card h3,
  .arcade-theme .trust-card h2 {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arcade-theme .terminal-cursor {
    animation: none;
  }
}
