/* Nubivola static landing page & setup wizard. Shared v0 design system tokens (t732/t733/t806). */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --ground: #f9fafa; --background: var(--ground);
  --surface: #ffffff; --card: var(--surface); --popover: var(--surface);
  --raised: #f1f4f5; --secondary: var(--raised); --muted-surface: var(--raised);
  --active: #e4ebee;
  --border: #e1e7ea;
  --rule: #ebeef0;
  --control: #c8d3d8;
  --text: #0d1417; --foreground: var(--text); --ink: var(--text);
  --muted: #55636b; --muted-foreground: var(--muted);
  --accent: #1b6c80; --accent-hover: #155565;
  --primary: #1b6c80; --primary-ink: #ffffff; --primary-foreground: var(--primary-ink);
  --tint: rgba(27, 108, 128, 0.08);
  --terminal: #0c1417; --terminal-ink: #e9eff1;
  --terminal-muted: #6f8189; --terminal-border: #1d2a30;
  --positive: #157f4b; --negative: #b42318; --warning: #b45309; --warning-fill: #f59e0b;
  --pill-bg: #e0f1f5; --pill-ink: #114a58;
  --btn-primary-bg: #1b6c80; --btn-primary-ink: #ffffff; --btn-primary-hover: #155565;

  --font: "Geist", "Geist Sans", "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: var(--font);
  --mono: "Geist Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-mono: var(--mono);
  --fs-display: clamp(2.25rem, 4.2vw, 3.5rem); --fs-h1: clamp(1.5rem, 2.4vw, 2rem);
  --fs-title: 24px; --fs-h2: 1.125rem; --fs-section: 1.0625rem; --fs-lede: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --fs-prose: 0.96875rem; --fs-body: 0.9375rem; --fs-small: 0.75rem;
  --lh-tight: 1.08; --lh-heading: 1.18; --lh-card: 1.35; --lh-body: 1.6;
  --ls-tight: -0.03em; --ls-heading: -0.02em; --ls-card: -0.015em; --ls-mono: 0.08em;

  --radius: 10px; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 10px; --radius-xl: 14px; --radius-pill: 999px;
  --radius-sheet: 14px; --radius-card: 10px; --radius-control: 8px; --radius-btn: 8px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --container-max: 1120px;

  --shadow-xs: 0 1px 2px rgba(13, 20, 23, 0.04);
  --shadow-sm: 0 1px 3px rgba(13, 20, 23, 0.06), 0 1px 2px rgba(13, 20, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(13, 20, 23, 0.07), 0 1px 3px rgba(13, 20, 23, 0.05);
  --shadow-lg: 0 12px 28px rgba(13, 20, 23, 0.10), 0 2px 6px rgba(13, 20, 23, 0.05);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #090c0e; --surface: #0f1417; --raised: #151c20; --active: #1c252b;
    --border: #1d262b; --rule: #161e22; --control: #2d3a42;
    --text: #e9eff1; --muted: #8b9aa2;
    --accent: #5bb4c9; --accent-hover: #72c4d6; --primary: #5bb4c9; --primary-ink: #04161b;
    --tint: rgba(91, 180, 201, 0.11); --terminal: #060a0c; --terminal-ink: #e9eff1;
    --terminal-muted: #6f8189; --terminal-border: #1d2a30;
    --positive: #34d399; --negative: #f87171; --warning: #f59e0b; --warning-fill: #f59e0b;
    --pill-bg: #11262c; --pill-ink: #8fd0de;
    --btn-primary-bg: #5bb4c9; --btn-primary-ink: #04161b; --btn-primary-hover: #72c4d6;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.32);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.50), 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 0, 0, 0.40);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground: #090c0e; --surface: #0f1417; --raised: #151c20; --active: #1c252b;
  --border: #1d262b; --rule: #161e22; --control: #2d3a42;
  --text: #e9eff1; --muted: #8b9aa2;
  --accent: #5bb4c9; --accent-hover: #72c4d6; --primary: #5bb4c9; --primary-ink: #04161b;
  --tint: rgba(91, 180, 201, 0.11); --terminal: #060a0c; --terminal-ink: #e9eff1;
    --terminal-muted: #6f8189; --terminal-border: #1d2a30;
  --positive: #34d399; --negative: #f87171; --warning: #f59e0b; --warning-fill: #f59e0b;
  --pill-bg: #11262c; --pill-ink: #8fd0de;
  --btn-primary-bg: #5bb4c9; --btn-primary-ink: #04161b; --btn-primary-hover: #72c4d6;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.32);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.50), 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 0, 0, 0.40);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-prose);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.frame {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  display: block;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Phones: the actions row takes the full nav line so Create team never clips, and buttons stay tappable. */
@media (max-width: 480px) {
  .topbar { row-gap: 10px; }
  .topbar-actions { width: 100%; justify-content: flex-start; gap: 8px; }
  .topbar-actions .btn { min-height: 44px; }
  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.25rem); }
}

.badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.05s ease;
  line-height: 1.2;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 6px 14px;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-ink);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sheet);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}

.hero { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { min-width: 0; }
.hero-accent { color: var(--accent); }
.before-start { margin: 18px 0 0; font-family: var(--mono); font-size: 0.875rem; color: var(--text); }
.before-start strong { font-weight: 500; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.team-board { margin: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-md); }
.team-board-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.team-board-team { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.75rem; color: var(--text); }
.team-board-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.team-board-tag { font-family: var(--mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: var(--ls-mono); color: var(--muted); }
.team-board-list { list-style: none; margin: 0; padding: 0; }
.team-board-row { padding: 13px 16px; border-top: 1px solid var(--rule); }
.team-board-row:first-child { border-top: 0; }
.team-board-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-board-who { display: inline-flex; align-items: center; gap: 8px; }
.team-board-cmd { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: var(--text); }
.board-pill { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); background: var(--raised); color: var(--muted); font-family: var(--mono); font-size: 0.6875rem; line-height: 1.25; }
.board-pill.accent { border-color: color-mix(in srgb, var(--accent) 28%, var(--border)); background: var(--tint); color: var(--accent); }
.team-board-state { font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }
.team-board-task { margin: 6px 0 0; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-board-meter { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.team-board-track { flex: 1; height: 4px; border-radius: 999px; background: var(--raised); overflow: hidden; }
.team-board-fill { height: 100%; border-radius: 999px; background: var(--accent); }
.team-board-pct { width: 36px; text-align: right; font-family: var(--mono); font-size: 0.6875rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.team-board-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); background: var(--raised); font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }

.hero-autopilot { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); border-radius: 12px; font-size: 0.9rem; color: var(--muted); line-height: 1.55; max-width: 100%; }
.hero-autopilot .autopilot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--tint); flex-shrink: 0; margin-top: 5px; }
.hero-autopilot .autopilot-tag { font-family: var(--mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-mono); color: var(--accent); margin-right: 8px; }
.hero-autopilot .autopilot-text { margin: 0; }
.hero-autopilot strong { color: var(--text); font-weight: 600; }

.eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-mono); font-variant-numeric: tabular-nums; color: var(--accent); }
.hero h1 { margin: 0 0 20px; font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); font-weight: 600; }
.lede { margin: 0; font-size: var(--fs-lede); line-height: 1.65; color: var(--muted); }
.lede strong { color: var(--text); font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-sheet); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

.card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-xs); padding: 20px; }
.pillars .card { background: var(--surface); border: 0; border-radius: 0; box-shadow: none; padding: 24px 26px; display: flex; flex-direction: column; }
.card-kicker { font-family: var(--mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--ls-mono); font-variant-numeric: tabular-nums; color: var(--accent); margin-bottom: 12px; }
.card h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: var(--lh-card); letter-spacing: var(--ls-card); font-weight: 600; }
.card p { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--muted); }
.pillar-commands { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.cmd-chip { font-family: var(--mono); font-size: 0.6875rem; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); background: var(--raised); color: var(--muted); }
.pillar-stat { margin-top: auto !important; padding-top: 20px; font-family: var(--mono); font-size: 1.75rem !important; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--text) !important; }
.pillar-stat-unit { margin-left: 6px; font-family: var(--font); font-size: 0.875rem; font-weight: 400; color: var(--muted); }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  font-variant-numeric: tabular-nums;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.architecture {
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 720px) {
  .architecture {
    grid-template-columns: 1fr;
  }
}

.arch-copy h2 {
  margin: 0 0 10px;
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: 600;
}

.arch-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.arch-copy p + p {
  margin-top: 12px;
}

.band {
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-copy .before-start {
  margin-top: 14px;
}

.before-start a {
  color: var(--accent);
  font-weight: 650;
}






.copy-status {
  min-height: 1.55em;
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.harness-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.harness-table th,
.harness-table td {
  padding: 12px 20px;
  text-align: left;
}

.harness-table thead th {
  border-bottom: 1px solid var(--border);
}

.harness-table tbody td {
  border-bottom: 1px solid var(--rule);
}

.harness-table tbody tr:last-child td {
  border-bottom: none;
}

.harness-cmd {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: nowrap;
}

.harness-cmd code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
}

.role-pill {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 1px 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--muted);
  margin: 1px 3px 1px 0;
  white-space: nowrap;
}

.role-pill.coord {
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
  background: var(--pill-bg);
  color: var(--pill-ink);
}

.harness-list {
  display: none;
}

@media (max-width: 640px) {
  .harness-table {
    display: none;
  }
  .harness-list {
    display: block;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
  }
  .harness-list li {
    padding: 14px 16px;
    border-bottom: 1px solid var(--rule);
  }
  .harness-list li:last-child {
    border-bottom: none;
  }
  .harness-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
  }
}

.harness-model {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.harness-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1px;
}

.harness-table .harness-sub {
  display: inline;
  margin: 0 0 0 8px;
  font-size: 0.875rem;
}

.harness-table tbody tr {
  transition: background-color 0.15s ease;
}

.harness-table tbody tr:hover {
  background: color-mix(in srgb, var(--active) 60%, transparent);
}

.lede small,
.card p small {
  font-size: 0.82em;
  color: var(--muted);
  font-weight: normal;
}

.harness-table th {
  background: var(--raised);
  font-family: var(--mono);
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding: 24px 4px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* v0 concept bands: eyebrow + title left, prose + hairline fact grid right (t808). */
.band-grid {
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 64px);
  align-items: start;
}

@media (max-width: 900px) {
  .band-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.band-head .eyebrow {
  margin-bottom: 10px;
}

.band-head h2 {
  margin: 0;
  font-size: var(--fs-h1);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: 600;
}

.band-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.band-body > p + p {
  margin-top: 12px;
}

.band-facts {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (max-width: 640px) {
  .band-facts {
    grid-template-columns: 1fr;
  }
}

.band-facts .fact {
  background: var(--surface);
  padding: 16px 20px;
}

.band-facts .fact dt {
  font-family: var(--mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.band-facts .fact dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text);
  line-height: 1.45;
}

.faq-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-grid .card {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-grid .card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: var(--lh-card);
  letter-spacing: var(--ls-card);
  font-weight: 600;
  color: var(--text);
}

.faq-grid .card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* v0 concept setup steps + command panel (t808). */
.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

@media (max-width: 900px) {
  .steps-layout {
    grid-template-columns: 1fr;
  }
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .step-card {
    padding: 24px;
  }
}

.step-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.step-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: var(--lh-card);
  letter-spacing: var(--ls-card);
  font-weight: 600;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.steps-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .steps-side {
    position: sticky;
    top: 20px;
  }
}

.steps-cta {
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
}

.terminal-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--terminal-border);
  background: var(--terminal);
  box-shadow: var(--shadow-md);
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--terminal-border);
}

.terminal-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--ls-mono);
  color: var(--terminal-muted);
}

.terminal-body {
  margin: 0;
  padding: 16px;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--terminal-ink);
}

.terminal-body code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* Concept choice buttons: rounded-lg border; active = accent border on tint. */
.choice-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice-button:hover:not(.disabled):not(.choice-on) {
  border-color: var(--control);
  background: color-mix(in srgb, var(--active) 60%, transparent);
}

.choice-on,
.choice-button.active,
.choice-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--pill-bg);
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--accent);
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer a {
  color: var(--accent);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0;
}

.setups-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.setups-table th,
.setups-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.setups-table th {
  background: var(--raised);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.setups-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  .setups-table th,
  .setups-table td {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

.setups-subheading {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--text);
}

.setups-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 6px 0 14px;
}

.status-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.status-tag.supported {
  background: var(--pill-bg);
  color: var(--pill-ink);
}

.status-tag.not-supported {
  background: var(--raised);
  color: var(--muted);
  border: 1px dashed var(--border);
}

