/* ─────────────────────────────────────────────────────────
   Singularity — Landing
   Mirrors the app's design tokens: Clash Grotesk, warm text
   (#141413 / #7b7974 / #fafaf9), navy-tinted hairline borders,
   sage-green live pulse, pill CTAs, dot-grid visuals.
   ───────────────────────────────────────────────────────── */

/* Fonts */
@font-face {
  font-family: 'Clash Grotesk';
  src: url('./fonts/ClashGrotesk-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('./fonts/ClashGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('./fonts/ClashGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('./fonts/ClashGrotesk-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Clash Grotesk';
  src: url('./fonts/ClashGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* Tokens */
:root {
  --text: #141413;
  --text-secondary: #555;
  --text-muted: #7b7974;
  --text-faint: #b0ada8;
  --bg: #ffffff;
  --bg-card: #fafaf9;
  --bg-raised: #f4f3f1;
  --accent: #1a1a1a;
  --accent-hover: #333;
  --accent-chain: #0f3a9e;
  --accent-chain-soft: rgba(15, 58, 158, 0.1);
  --positive: #16a34a;
  --positive-soft: #6b9b7a;
  --border-light: rgba(20, 28, 60, 0.1);
  --border-secondary: rgba(20, 28, 60, 0.3);
  --border-focus: rgba(20, 28, 60, 0.18);
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --transition-fast: all 120ms ease;
  --transition-base: all 200ms ease;
  --gutter: 56px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  font-family: 'Clash Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }

/* ── Ticker banner ── */
.ticker {
  display: flex;
  align-items: stretch;
  height: 44px;
  border-bottom: 0.5px solid var(--border-light);
  background-color: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ticker__live {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 0.5px solid var(--border-light);
  flex-shrink: 0;
}
.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--positive-soft);
  box-shadow: 0 0 6px rgba(107, 155, 122, 0.5);
  animation: ticker-pulse 1.8s ease-in-out infinite;
}
.ticker__live-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.ticker__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-width: 0;
  position: relative;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-marquee 55s linear infinite;
}
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
.ticker__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}
.ticker__chip-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.005em;
}
.ticker__chip-roi {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.005em;
}
.ticker__chip-roi.up { color: var(--positive); }
.ticker__chip-roi.down { color: var(--text-muted); }
.ticker__cta-wrap {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-left: 0.5px solid var(--border-light);
  background-color: var(--bg);
  flex-shrink: 0;
}
.ticker__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  background-color: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.ticker__cta:hover { background-color: var(--accent-hover); }
.ticker__cta:hover svg { transform: translateX(2px); }
.ticker__cta svg { transition: var(--transition-fast); }

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}
@keyframes ticker-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  border-bottom: 0.5px solid var(--border-light);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
}
.nav__wordmark {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons — 8px radius mirrors the web app's radius.md ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 8px;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn--lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--primary { background-color: var(--accent); color: #fff; }
.btn--primary:hover { background-color: var(--accent-hover); }
.btn--primary:hover svg { transform: translateX(2px); }
.btn--primary svg { transition: var(--transition-fast); }
.btn--outline {
  background-color: var(--bg);
  color: var(--text);
  border-color: var(--border-light);
}
.btn--outline:hover { border-color: var(--border-secondary); background-color: var(--bg-card); }
.btn--ghost {
  background-color: transparent;
  color: var(--text-secondary);
}
.btn--ghost:hover { background-color: rgba(0, 0, 0, 0.03); color: var(--text); }

/* ── Hero — centered stack: title, subheading, CTAs (chat-first layout) ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 96px 80px 56px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

/* Hero orbit — provider chips floating in the left/right empty space */
.hero__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1.5px solid rgba(20, 28, 60, 0.22);
  box-shadow:
    0 1px 0 rgba(20, 28, 60, 0.04),
    0 10px 26px -14px rgba(20, 28, 60, 0.3);
  overflow: hidden;
  animation: chip-float 7s ease-in-out infinite;
  will-change: transform;
}
.hero__chip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero__chip--l1 { top: 14%; left: 3%;  width: 56px; height: 56px; animation-delay: -0.4s; }
.hero__chip--l2 { top: 46%; left: 8%;  width: 48px; height: 48px; animation-delay: -2.2s; }
.hero__chip--l3 { top: 74%; left: 4%;  width: 52px; height: 52px; animation-delay: -5.1s; }
.hero__chip--r1 { top: 10%; right: 4%; width: 56px; height: 56px; animation-delay: -1.3s; }
.hero__chip--r2 { top: 38%; right: 9%; width: 46px; height: 46px; animation-delay: -3.6s; }
.hero__chip--r3 { top: 64%; right: 3%; width: 52px; height: 52px; animation-delay: -0.9s; }
.hero__chip--r4 { top: 86%; right: 11%; width: 42px; height: 42px; animation-delay: -4.4s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Keep hero contents above the floating chips so they never overlap text */
.hero__title,
.hero__body,
.hero__actions { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__chip { animation: none; }
}
.hero__title {
  font-weight: 400;
  font-size: clamp(60px, 7.6vw, 112px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
  max-width: 1040px;
}
.hero__title span { display: block; }
.dim { color: var(--text-secondary); }
.hero__body {
  font-size: clamp(19px, 1.45vw, 22px);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  margin: 12px 0 0;
}
.hero__actions .btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* Terminal section — centered, narrower column below the centered hero */
.terminal-frame {
  padding: 48px 80px 140px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* ── Partner logo marquee — translucent gray, infinite horizontal scroll ── */
.partners {
  width: 100%;
  padding: 40px 0 80px;
  overflow: hidden;
  position: relative;
}
.partners::before,
.partners::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.partners::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.partners::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.partners__viewport {
  overflow: hidden;
  width: 100%;
}
.partners__track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: partners-scroll 50s linear infinite;
  will-change: transform;
}
.partners__viewport:hover .partners__track { animation-play-state: paused; }
.partners__logo {
  flex-shrink: 0;
  height: 168px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) contrast(0.85);
  transition: opacity 200ms ease, filter 200ms ease;
}
.partners__logo:hover {
  opacity: 0.9;
  filter: grayscale(30%) contrast(1);
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
}
.terminal-stage {
  position: relative;
  width: 100%;
  max-width: 880px;
}
.terminal {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 20px;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 30px 60px -28px rgba(20, 28, 60, 0.28),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.04);
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Menlo', monospace;
}

/* Walking Claude mascot — JS-choreographed: walks a few steps, pauses to face user, repeats */
.mascot {
  position: absolute;
  bottom: 100%;
  left: 24px;
  width: 100px;
  height: 75px;
  pointer-events: none;
  z-index: 5;
  transition: left 2s linear;
}
.mascot__flip {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  transition: transform 180ms ease;
}
.mascot--flipped .mascot__flip {
  transform: scaleX(-1);
}
.mascot__svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Walking: show one of the two side images at a time; swap between them
   every ~0.3s for a real stepping animation. The "nose" (eye) always points
   in the walking direction — facing-right uses mascot-right as-is and
   mascot-left mirrored; facing-left uses mascot-left as-is and mascot-right
   mirrored. Mirroring the opposite-direction sprite gives an alternate leg
   pose (same facing), so toggling visibility between them cycles the legs. */
.mascot__img { opacity: 0; display: none; }

.mascot--walking .mascot__svg--front { display: none; }

/* Facing right */
.mascot--walking.mascot--facing-right .mascot__img--right {
  display: block;
  animation: step-pose-a 0.56s linear infinite;
}
.mascot--walking.mascot--facing-right .mascot__img--left {
  display: block;
  transform: scaleX(-1);
  animation: step-pose-b 0.56s linear infinite;
}

/* Facing left */
.mascot--walking.mascot--facing-left .mascot__img--left {
  display: block;
  animation: step-pose-a 0.56s linear infinite;
}
.mascot--walking.mascot--facing-left .mascot__img--right {
  display: block;
  transform: scaleX(-1);
  animation: step-pose-b 0.56s linear infinite;
}

/* Paused — face the user: show front view, hide side images */
.mascot--paused .mascot__img { display: none; animation: none; }
.mascot--paused .mascot__svg--front { display: block; }

@keyframes step-pose-a {
  0%, 49.99% { opacity: 1; }
  50%, 100%  { opacity: 0; }
}
@keyframes step-pose-b {
  0%, 49.99% { opacity: 0; }
  50%, 100%  { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot { transition: none; }
  .mascot__img { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mascot,
  .mascot__flip,
  .mascot__bob { animation: none !important; }
}
.terminal__bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 18px;
  background: #1f1f1f;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  min-height: 44px;
}
.terminal__dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-right: 20px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.06);
  margin-right: 6px;
}
.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.terminal__dot--r { background: #ff5f57; }
.terminal__dot--y { background: #febc2e; }
.terminal__dot--g { background: #28c840; }

/* Underline tabs — matches MCPPage tab pattern, tuned for dark bar */
.terminal__toggle {
  display: inline-flex;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border: none;
  flex: 1;
}
.terminal__toggle button {
  padding: 0 16px;
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.42);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
  line-height: 1;
}
.terminal__toggle button:hover { color: rgba(255, 255, 255, 0.82); }
.terminal__toggle button[aria-selected="true"] {
  color: #f2f1ee;
  font-weight: 500;
  border-bottom-color: #d97757;
}

/* Bar right — connection status */
.terminal__bar-right {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 18px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.06);
}
.terminal__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6B9B7A;
  box-shadow: 0 0 6px rgba(107, 155, 122, 0.5);
  animation: ticker-pulse 1.8s ease-in-out infinite;
}
.terminal__status-label {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.terminal__body {
  padding: 20px 22px 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #e8e8e6;
  overflow-x: auto;
}
.terminal__panel[hidden] { display: none; }
.terminal__row {
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.terminal__row--comment { color: #6a6a68; }
.terminal__row--spacer { height: 8px; }
.terminal__row--ok { color: #e8e8e6; }
.terminal__sigil,
.terminal__check { color: #7ec47d; }
.terminal__addr { color: #d97757; }

/* JSON syntax tokens (MCP panel) */
.tok-key { color: #d97757; }
.tok-str { color: #a3c9a8; }
.tok-brace { color: #e8e8e6; }
.tok-punc { color: #6a6a68; }

/* Chat UI — Prompt panel (mirrors web app ChatBox) */
.terminal__panel--chat {
  font-family: 'Clash Grotesk', 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat__thread {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat__thread:empty { display: none; }

/* Typing dots for assistant pending state */
.chat__dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 1em;
}
.chat__dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: chat-dot 1.2s ease-in-out infinite;
}
.chat__dots i:nth-child(2) { animation-delay: 0.15s; }
.chat__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.chat__status-inline { display: inline-block; margin-top: 6px; font-size: 12.5px; color: #cfcfcc; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.chat__msg { display: flex; flex-direction: column; gap: 4px; max-width: 86%; }
.chat__msg--user {
  align-self: flex-end;
  align-items: flex-end;
}
.chat__msg--assistant {
  align-self: flex-start;
  align-items: flex-start;
  max-width: 100%;
}
.chat__who {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.chat__msg--user .chat__who { color: rgba(217, 119, 87, 0.85); }
.chat__msg p {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: #e8e8e6;
  margin: 0;
  white-space: normal;
}
.chat__msg--user p {
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(217, 119, 87, 0.12);
  border: 0.5px solid rgba(217, 119, 87, 0.22);
  backdrop-filter: blur(6px);
  color: #f2f1ee;
}
.chat__msg--assistant p { padding: 0; background: transparent; border: none; }
.chat__status {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Menlo', monospace;
  font-size: 12.5px;
  line-height: 1.75;
  color: #cfcfcc;
}
.chat__check { color: #7ec47d; margin-right: 6px; }
.chat__addr { color: #d97757; }

/* Chat input — dark card matching the terminal; 8px button radius mirrors the web app's deploy page */
.chat__input {
  position: relative;
  border-radius: 12px;
  background: #141413;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.chat__input:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.08);
}
.chat__input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f2f1ee;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  padding: 8px 8px 4px;
}
.chat__input input::placeholder { color: rgba(255, 255, 255, 0.38); }

.chat__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
.chat__toolbar-left,
.chat__toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.chat__tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.chat__tool:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f2f1ee;
}
.chat__tool svg { color: rgba(255, 255, 255, 0.62); flex-shrink: 0; }
.chat__tool:hover svg { color: #f2f1ee; }
.chat__tool--icon {
  width: 30px;
  padding: 0;
  justify-content: center;
  border-color: transparent;
}
.chat__tool--icon:hover { background: rgba(255, 255, 255, 0.06); border-color: transparent; }
.chat__tool--inert { cursor: default; }
.chat__tool--inert:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}
.chat__tool--inert:hover svg { color: rgba(255, 255, 255, 0.62); }

/* Toggle switch */
.chat__switch {
  display: inline-flex;
  align-items: center;
  width: 26px;
  height: 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 2px;
  margin-left: 2px;
  flex-shrink: 0;
  transition: background 160ms ease;
}
.chat__switch > span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f2f1ee;
  transition: transform 160ms ease;
  transform: translateX(0);
}
.chat__switch--on { background: #d97757; }
.chat__switch--on > span { transform: translateX(11px); }

/* Model picker — subtle orange focus border in the dark context */
.chat__model {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #f2f1ee;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(217, 119, 87, 0.7);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease;
}
.chat__model:hover { border-color: #d97757; background: rgba(255, 255, 255, 0.06); }
.chat__model-mark { flex-shrink: 0; }
.chat__model > svg:last-child { color: rgba(255, 255, 255, 0.58); flex-shrink: 0; }
.chat__model-label-short { display: none; }

/* Send button — 8px radius to match the web app */
.chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #d97757;
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter 160ms ease;
}
.chat__send:hover { filter: brightness(0.94); }

/* Scrollbar — subtle, only when overflowing */
.terminal__body::-webkit-scrollbar { height: 6px; }
.terminal__body::-webkit-scrollbar-track { background: transparent; }
.terminal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

/* ── Split section ── */
.split {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 80px;
  align-items: start;
  padding: 120px var(--gutter) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}
.split__title, .section-title {
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.split__body {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0;
}
.split__bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.split__bullets li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  padding: 14px 18px;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: var(--transition-fast);
}
.split__bullets li:hover { border-color: var(--border-secondary); }
.split__bullets li span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  min-width: 22px;
}

/* ── Stack cards ── */
.stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 48px var(--gutter) 56px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.stack-card {
  border-radius: var(--radius-xl);
  border: 0.5px solid var(--border-light);
  background-color: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}
.stack-card:hover {
  border-color: var(--border-secondary);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -24px rgba(20, 28, 60, 0.15);
}
.stack-card__visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-card__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  transition: var(--transition-base);
}
.stack-card:hover .stack-card__dots { opacity: 0.08; }

/* Deploy — concentric rings */
.stack-card__glyph--deploy {
  width: 110px;
  height: 110px;
  position: relative;
}
.glyph-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.5px solid var(--border-secondary);
  animation: ring-pulse 3.4s ease-in-out infinite;
}
.glyph-ring--2 {
  inset: 14px;
  animation-delay: 0.8s;
}
.glyph-core {
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: var(--text);
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.06); opacity: 0.9; }
}

/* Tools — 3x3 grid of chips */
.stack-card__glyph--tools {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  grid-template-rows: repeat(3, 22px);
  gap: 8px;
}
.stack-card__glyph--tools span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg);
  border: 0.5px solid var(--border-light);
  transition: var(--transition-base);
}
.stack-card:hover .stack-card__glyph--tools span:nth-child(1),
.stack-card:hover .stack-card__glyph--tools span:nth-child(5),
.stack-card:hover .stack-card__glyph--tools span:nth-child(9) {
  background: var(--text);
  border-color: var(--text);
}

/* SDK — code block */
.stack-card__glyph--sdk pre {
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-secondary);
  background: var(--bg);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 0;
  max-width: 70%;
  box-shadow: 0 6px 14px -10px rgba(20, 28, 60, 0.15);
}
.stack-card__glyph--sdk b { color: var(--accent-chain); font-weight: 500; }

/* Apps — bar chart */
.stack-card__glyph--apps {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
}
.stack-card__glyph--apps .bar {
  width: 10px;
  height: var(--h);
  background: var(--text);
  border-radius: 2px;
  opacity: 0.25;
  transition: var(--transition-base);
}
.stack-card:hover .stack-card__glyph--apps .bar { opacity: 1; }
.stack-card__glyph--apps .bar:nth-child(1) { transition-delay: 0ms; }
.stack-card__glyph--apps .bar:nth-child(2) { transition-delay: 40ms; }
.stack-card__glyph--apps .bar:nth-child(3) { transition-delay: 80ms; }
.stack-card__glyph--apps .bar:nth-child(4) { transition-delay: 120ms; }
.stack-card__glyph--apps .bar:nth-child(5) { transition-delay: 160ms; }
.stack-card__glyph--apps .bar:nth-child(6) { transition-delay: 200ms; }
.stack-card__glyph--apps .bar:nth-child(7) { transition-delay: 240ms; }
.stack-card__glyph--apps .bar:nth-child(8) { transition-delay: 280ms; }

.stack-card__meta {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.stack-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 15px;
}
.stack-card__desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  margin: 0;
}
.stack-card__arrow {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}
.stack-card:hover .stack-card__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--text);
}

/* ── Leaderboard ── */
.board {
  padding: 120px var(--gutter) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.board__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 40px;
}
.board__intro {
  font-size: 17px;
  line-height: 27px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 520px;
}
.board__grid {
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  overflow: hidden;
}
.board__row {
  display: grid;
  grid-template-columns: 56px 1.4fr 1.6fr 1fr 1fr;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 0.5px solid var(--border-light);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition-fast);
}
.board__row:last-child { border-bottom: none; }
.board__row:not(.board__row--head):hover { background: var(--bg); }
.board__row--head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  padding-top: 14px;
  padding-bottom: 14px;
}
.board__rank {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.board__name {
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
}
.board__strategy { color: var(--text-secondary); }
.board__tvl {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
.board__roi-col { text-align: right; }
.board__roi {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.board__roi--up { color: var(--positive); }
.board__foot {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ── How it works ── */
.how {
  padding: 120px var(--gutter) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.how__head { margin-bottom: 48px; max-width: 680px; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.how__step {
  padding: 28px 26px 32px;
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  transition: var(--transition-fast);
}
.how__step:hover { border-color: var(--border-secondary); }
.how__num {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.how__step h3 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 14px 0 10px;
  color: var(--text);
}
.how__step p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
  margin: 0;
}

/* ── CTA ── */
.cta {
  padding: 160px var(--gutter) 120px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.cta__title {
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 860px;
  margin: 0 auto;
}
.cta__body {
  font-size: 17px;
  line-height: 27px;
  color: var(--text-secondary);
  margin: 22px auto 0;
  max-width: 520px;
}
.cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
}

/* ── Footer — spans full viewport width ── */
.foot {
  border-top: 0.5px solid var(--border-light);
  padding: 56px var(--gutter) 36px;
  background: var(--bg-card);
  width: 100%;
}
.foot__top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.foot__tagline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 520px;
}
.foot__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 28px;
  border-top: 0.5px solid var(--border-light);
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.foot__copy { flex-shrink: 0; }
.foot__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.foot__links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}
.foot__links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 14px;
}
.foot__links a:hover { color: var(--text); }

/* ── Coming-soon overlay — nav text links route here; hero typography for the title ── */
.soon {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}
.soon__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 249, 0.55);
  backdrop-filter: blur(24px) saturate(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(1.05);
  animation: auth-fade 220ms ease-out;
}
.soon__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-secondary);
  z-index: 1;
  transition: background 160ms ease, color 160ms ease;
}
.soon__close:hover { background: rgba(20, 28, 60, 0.06); color: var(--text); }
.soon__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  animation: auth-rise 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.soon__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.soon__title {
  font-family: 'Clash Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(60px, 7.6vw, 112px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0;
}
.soon__hint {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 20px auto 0;
  max-width: 520px;
}
body.soon-open { overflow: hidden; }
@media (max-width: 640px) {
  .soon { padding: 24px 16px; }
  .soon__close { top: 12px; right: 12px; }
}

/* ── Auth modal — centered card, cream on dimmed blur, 8px buttons to match the web app ── */
.auth {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 60, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: auth-fade 200ms ease-out;
}
.auth__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 48px 52px 36px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 28px 72px -24px rgba(20, 28, 60, 0.4);
  animation: auth-rise 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.auth__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 160ms ease, color 160ms ease;
}
.auth__close:hover { background: rgba(20, 28, 60, 0.05); color: var(--text); }
.auth__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}
.auth__title {
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
}
.auth__subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 26px;
}
.auth__preview {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 22px;
}
.auth__preview-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.auth__preview-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Waitlist form */
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth__field-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}
.auth__field input {
  height: 52px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.auth__field input::placeholder { color: var(--text-faint); }
.auth__field input:focus {
  border-color: var(--border-secondary);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.12);
}

/* Custom checkbox — uses the orange accent to match the chat toggle */
.auth__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 2px 0;
  user-select: none;
}
.auth__check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.auth__check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 5px;
  color: transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  margin-top: 1px;
}
.auth__check-box svg { opacity: 0; transition: opacity 120ms ease; }
.auth__check input:checked + .auth__check-box {
  background: #d97757;
  border-color: #d97757;
  color: #fff;
}
.auth__check input:checked + .auth__check-box svg { opacity: 1; }
.auth__check input:focus-visible + .auth__check-box {
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.22);
}
.auth__check-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.auth__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 22px;
  background: var(--accent);
  color: #f2f1ee;
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}
.auth__submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.auth__submit:disabled { pointer-events: none; opacity: 0.55; }
.auth__submit--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
  margin-top: 20px;
}
.auth__submit--ghost:hover { background: var(--bg-raised); border-color: var(--border-secondary); }
.auth__submit[data-loading]::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: auth-spin 600ms linear infinite;
  margin-left: 2px;
}

.auth__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #c0392b;
}

/* Success state */
.auth__state--success { text-align: left; }
.auth__success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6b9b7a;
  color: #fff;
  margin-bottom: 18px;
}
.auth__legal {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}
.auth__legal a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.auth__legal a:hover { color: var(--text); }
body.auth-open { overflow: hidden; }
@keyframes auth-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes auth-rise {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .auth { padding: 16px; }
  .auth__card { padding: 36px 24px 26px; border-radius: 16px; }
  .auth__title { font-size: 26px; }
  .auth__subtitle { font-size: 15px; }
  .auth__field input { height: 48px; font-size: 15.5px; }
  .auth__submit { height: 52px; font-size: 15px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ticker__track,
  .ticker__dot,
  .hero__tag-dot,
  .terminal__status-dot,
  .glyph-ring,
  .terminal__caret,
  .auth__backdrop,
  .auth__card,
  .auth__provider[data-loading]::after {
    animation: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero__orbit { display: none; }
}
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .nav__links { display: none; }
  .hero { padding: 64px 40px 36px; gap: 24px; }
  .terminal-frame { padding: 0 40px 160px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .board__head { grid-template-columns: 1fr; gap: 18px; }
  .board__row { grid-template-columns: 40px 1.4fr 1.4fr 0.9fr 0.9fr; font-size: 13px; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding: 56px 20px 32px; gap: 20px; }
  .hero__title span { white-space: normal; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero__actions .btn { width: 100%; }
  .stack { grid-template-columns: 1fr; }
  .terminal-frame { padding: 0 20px 120px; }
  .terminal__body { padding: 16px 14px 18px; font-size: 12.5px; min-height: 380px; overflow-x: hidden; }
  .terminal__panel--chat { min-width: 0; }
  .terminal__bar-right { display: none; }
  .terminal__dots { padding-right: 12px; margin-right: 0; }
  .terminal__toggle button { padding: 0 12px; font-size: 12px; }

  /* Prompt box — prevent toolbar from overflowing on narrow screens */
  .chat__input { padding: 10px 10px 8px; }
  .chat__toolbar { gap: 6px; }
  .chat__toolbar-left, .chat__toolbar-right { gap: 4px; }
  .chat__tool { height: 30px; padding: 0 9px; font-size: 12px; }
  /* Hide non-essential pills on mobile; keep Upload, mic, model picker, send */
  .chat__tool--mhide { display: none; }
  /* Compact model picker label on mobile */
  .chat__model { padding: 0 10px; font-size: 12px; }
  .chat__model .chat__model-label-full { display: none; }
  .chat__model .chat__model-label-short { display: inline; }

  .board__row { grid-template-columns: 28px 1fr 1fr; }
  .board__row span:nth-child(3), .board__row span:nth-child(4) { display: none; }
  .board__roi-col { text-align: right; }
  .foot__bar { gap: 14px; font-size: 13px; }
  .foot__links { margin-left: 0; gap: 18px; }
  .cta { padding: 96px var(--gutter) 80px; }
  .split { padding-top: 72px; }
  .board, .how { padding-top: 72px; }
}
