/* ==========================================================================
   Taste Design System
   Tokens, base styles, and components for the marketing site and admin
   portal. One source of truth for the platform's look and feel.

   Contents:
     1.  Tokens (light / dark)
     2.  Base & reset
     3.  Typography
     4.  Layout primitives (container, section, grid)
     5.  Buttons
     6.  Badges & status dots
     7.  Cards & stat tiles
     8.  Forms
     9.  Tables
    10.  Navigation & footer
    11.  Alerts
    12.  Code & credentials
    13.  Hero
    14.  Steps, accordion, quotes
    15.  Pricing cards
    16.  Meter & progress
    17.  Timeline & activity
    18.  Utilities
    19.  Marketing (kicker, windows, evidence, stats, testimonials, compare)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Color — brand */
  --brand-50: #f3f1fc;
  --brand-100: #e8e4f9;
  --brand-200: #d3ccf3;
  --brand-300: #b3a7ea;
  --brand-400: #907fdf;
  --brand-500: #7660d4;
  --brand-600: #6e56cf;
  --brand-700: #5b41c3;
  --brand-800: #4b36a2;
  --brand-900: #3f3082;

  /* Color — accent (warm "taste" amber) */
  --accent-100: #fff1d6;
  --accent-300: #ffd08a;
  --accent-500: #f5a524;
  --accent-600: #d98a0b;
  --accent-700: #b06e07;

  /* Color — neutral ink & paper */
  --ink-950: #0b0e14;
  --ink-900: #11151e;
  --ink-800: #1a2030;
  --ink-700: #232b3d;
  --ink-600: #39445c;
  --ink-500: #55617a;
  --ink-400: #7a8599;
  --ink-300: #a3acbf;
  --ink-200: #ccd2df;
  --ink-100: #e7eaf1;
  --ink-50: #f4f6fa;
  --paper: #ffffff;

  /* Color — semantic */
  --success-600: #1e8e3e;
  --success-100: #e3f6e9;
  --warning-600: #b25e09;
  --warning-100: #fdeeda;
  --danger-600: #c92a2a;
  --danger-100: #fbe4e4;
  --info-600: #1b6ac9;
  --info-100: #e1effc;

  /* Color — surfaces */
  --bg: var(--paper);
  --surface: var(--ink-50);
  --surface-raised: var(--paper);
  --border: var(--ink-100);
  --border-strong: var(--ink-200);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
    "Liberation Mono", monospace;

  --text-2xs: 0.6875rem;  /* 11px */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.8125rem;   /* 13px */
  --text-md: 0.9375rem;   /* 15px */
  --text-lg: 1.0625rem;   /* 17px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.375rem;   /* 38px */
  --text-5xl: 3rem;       /* 48px */

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.55;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgb(16 24 40 / 0.05);
  --shadow-sm: 0 1px 3px rgb(16 24 40 / 0.08), 0 1px 2px rgb(16 24 40 / 0.04);
  --shadow-md: 0 4px 12px rgb(16 24 40 / 0.09), 0 2px 4px rgb(16 24 40 / 0.05);
  --shadow-lg: 0 12px 32px rgb(16 24 40 / 0.12), 0 4px 8px rgb(16 24 40 / 0.06);
  --shadow-brand: 0 8px 24px rgb(110 86 207 / 0.35);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 150ms;

  /* Layout */
  --container: 76rem;
  --nav-h: 4rem;

  /* Terminal — fixed dark surfaces for product-artifact windows.
     These intentionally do NOT flip with the theme. */
  --term-bg: #0b0e14;
  --term-raised: #11151e;
  --term-border: #232b3d;
  --term-fg: #e7eaf1;
  --term-bright: #ccd2df;
  --term-muted: #7a8599;
  --term-faint: #55617a;
}

/* Dark theme (explicit attribute or system preference) */
[data-theme="dark"] {
  --ink-50: #0f1320;
  --ink-100: #1a2030;
  --ink-200: #252e42;
  --ink-300: #36415a;
  --ink-400: #57647e;
  --ink-500: #7a86a0;
  --ink-600: #9aa5ba;
  --ink-700: #b6bfd0;
  --ink-800: #d3d9e4;
  --ink-900: #e9ecf2;
  --ink-950: #f7f8fb;
  --paper: #0d1018;
  --bg: var(--paper);
  --surface: #11161f;
  --surface-raised: #161c28;
  --border: var(--ink-100);
  --border-strong: var(--ink-200);
  --brand-50: #211c3a;
  --brand-100: #2a2350;
  --brand-200: #362c66;
  --brand-300: #46387f;
  --brand-400: #57489c;
  --brand-500: #6e56cf;
  --brand-600: #8b76dd;
  --brand-700: #a695e6;
  --brand-800: #c2b6ef;
  --brand-900: #ddd6f7;
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.5), 0 1px 2px rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 0.5), 0 2px 4px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px rgb(0 0 0 / 0.6), 0 4px 8px rgb(0 0 0 / 0.4);
  --shadow-brand: 0 8px 24px rgb(110 86 207 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }
}

:root {
  color-scheme: light;
}
[data-theme="dark"] {
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Base & reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--ink-950);
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--brand-200);
  color: var(--ink-950);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.display-sub {
  font-size: var(--text-lg);
  color: var(--ink-600);
  max-width: 42rem;
  margin-top: var(--space-5);
  margin-inline: auto;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-sub {
  color: var(--ink-600);
  margin-top: var(--space-3);
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--ink-500);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.lead {
  font-size: var(--text-lg);
  color: var(--ink-600);
  line-height: var(--leading-snug);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-16);
}

.section-tight {
  padding-block: var(--space-10);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-24);
  }
}

.section-header {
  max-width: 44rem;
  margin-bottom: var(--space-10);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.stack > * + * {
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1;
  padding: 0.6875rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 10px 28px rgb(110 86 207 / 0.42);
}

.btn-secondary {
  background: var(--surface-raised);
  color: var(--ink-900);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--ink-300);
  background: var(--surface);
}

.btn-ghost {
  color: var(--ink-700);
}

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

.btn-danger {
  background: var(--danger-600);
  color: #fff;
}

.btn-danger:hover {
  background: #a51d1d;
}

.btn-sm {
  font-size: var(--text-sm);
  padding: 0.4375rem 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: var(--text-lg);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Badges & status dots
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.1875rem 0.5625rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-700);
  white-space: nowrap;
}

.badge-brand {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-800);
}

.badge-success {
  background: var(--success-100);
  border-color: #b7e4c5;
  color: var(--success-600);
}

.badge-warning {
  background: var(--warning-100);
  border-color: #f5d5a8;
  color: var(--warning-600);
}

.badge-danger {
  background: var(--danger-100);
  border-color: #f3bdbd;
  color: var(--danger-600);
}

.badge-info {
  background: var(--info-100);
  border-color: #bcd8f4;
  color: var(--info-600);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--ink-300);
  display: inline-block;
  flex-shrink: 0;
}

.dot-success {
  background: var(--success-600);
}

.dot-warning {
  background: var(--warning-600);
}

.dot-danger {
  background: var(--danger-600);
}

.dot-brand {
  background: var(--brand-500);
}

/* --------------------------------------------------------------------------
   7. Cards & stat tiles
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.card-hover {
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: var(--text-lg);
  font-weight: 650;
}

.card-title a {
  color: var(--ink-950);
}

.stat {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xs);
}

.stat-value {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-500);
  margin-top: var(--space-1);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-note {
  font-size: var(--text-xs);
  color: var(--ink-500);
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   8. Forms
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-800);
}

.field-hint {
  font-size: var(--text-xs);
  color: var(--ink-500);
}

.input,
.select,
.textarea {
  font: inherit;
  color: var(--ink-900);
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.5625rem 0.75rem;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--ink-400);
}

.textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: var(--leading-snug);
}

.check-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-800);
  cursor: pointer;
}

.check-row input {
  accent-color: var(--brand-600);
  width: 1rem;
  height: 1rem;
}

.form-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   9. Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-xs);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table th {
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  white-space: nowrap;
}

.table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  color: var(--ink-800);
  vertical-align: top;
}

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

.table tbody tr {
  transition: background var(--dur) var(--ease);
}

.table tbody tr:hover {
  background: var(--surface);
}

.table .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.table .actions {
  text-align: right;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. Navigation & footer
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-5);
  margin-left: var(--space-2);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--ink-700);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--ink-950);
  text-decoration: none;
  border-bottom-color: var(--brand-500);
}

.nav-links a.active {
  color: var(--ink-950);
  border-bottom-color: var(--brand-600);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  color: var(--ink-800);
}

.nav-burger:hover {
  background: var(--surface);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-burger {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: var(--space-3) var(--space-6) var(--space-5);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: var(--space-3) var(--space-2);
  font-weight: 550;
  color: var(--ink-800);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
  background: var(--surface);
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 750;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: var(--ink-950);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand-600);
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: var(--space-12);
  margin-top: var(--space-16);
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--ink-500);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  max-width: 20rem;
}

.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}

.footer-col a {
  display: block;
  color: var(--ink-700);
  font-size: var(--text-sm);
  padding-block: var(--space-1);
}

.footer-col a:hover {
  color: var(--ink-950);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--ink-500);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  color: var(--ink-700);
  border: 1px solid var(--border);
}

.theme-toggle:hover {
  background: var(--surface);
  color: var(--ink-950);
}

/* --------------------------------------------------------------------------
   11. Alerts
   -------------------------------------------------------------------------- */

.alert {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  border: 1px solid transparent;
}

.alert-success {
  background: var(--success-100);
  border-color: #b7e4c5;
  color: #0d5c24;
}

.alert-warning {
  background: var(--warning-100);
  border-color: #f5d5a8;
  color: #7a4008;
}

.alert-danger {
  background: var(--danger-100);
  border-color: #f3bdbd;
  color: #8f1b1b;
}

.alert-info {
  background: var(--info-100);
  border-color: #bcd8f4;
  color: #124a8f;
}

.alert strong {
  display: block;
  margin-bottom: var(--space-1);
}

/* --------------------------------------------------------------------------
   12. Code & credentials
   -------------------------------------------------------------------------- */

.code-block {
  background: var(--ink-950);
  color: var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.65;
  overflow-x: auto;
  border: 1px solid var(--ink-800);
}

.code-block .comment {
  color: var(--ink-400);
}

.code-block .cmd {
  color: var(--brand-300);
}

.code-block .var {
  color: var(--accent-300);
}

.credential {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--ink-50);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  word-break: break-all;
}

.credential-value {
  flex: 1;
  min-width: 0;
}

.copy-btn {
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--ink-700);
  background: var(--surface-raised);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--brand-400);
  color: var(--brand-700);
}

kbd {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  padding: 0.125rem 0.375rem;
}

/* --------------------------------------------------------------------------
   13. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-block: var(--space-20) var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background:
    radial-gradient(60% 60% at 50% 0%, var(--brand-100) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  max-width: 48rem;
  margin-inline: auto;
}

.hero .eyebrow {
  margin-bottom: var(--space-5);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-500);
}

/* Audience switcher */
.audience-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-8);
  padding: var(--space-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
  justify-content: center;
}

.audience-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-500);
  padding-inline: var(--space-3);
  letter-spacing: 0.04em;
}

.audience-pill {
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--ink-700);
  padding: 0.4375rem 0.9375rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.audience-pill:hover {
  background: var(--surface-raised);
  color: var(--ink-950);
  text-decoration: none;
}

.audience-pill:active {
  background: var(--brand-600);
  color: #fff;
}

section[id],
[id="cta"] {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8) var(--space-12);
  padding-block: var(--space-8);
  opacity: 0.55;
}

.logo-strip span {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--ink-600);
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   14. Steps, accordion, quotes
   -------------------------------------------------------------------------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-6);
}

.step {
  position: relative;
  padding-left: 3.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  font-size: var(--text-sm);
  border: 1px solid var(--brand-200);
}

.step h3 {
  font-size: var(--text-lg);
  font-weight: 650;
}

.step p {
  color: var(--ink-600);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  .steps-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

details.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-xs);
}

details.accordion + details.accordion {
  margin-top: var(--space-3);
}

details.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

details.accordion summary::-webkit-details-marker {
  display: none;
}

details.accordion summary::after {
  content: "+";
  font-size: var(--text-xl);
  color: var(--ink-400);
  transition: transform var(--dur) var(--ease);
}

details.accordion[open] summary::after {
  content: "−";
}

details.accordion .accordion-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-600);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

details.accordion .accordion-body p + p {
  margin-top: var(--space-3);
}

blockquote.quote {
  margin: 0;
  padding: var(--space-6);
  border-left: 3px solid var(--brand-500);
  background: var(--surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: var(--text-lg);
  color: var(--ink-800);
  line-height: var(--leading-snug);
}

blockquote.quote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-500);
}

/* --------------------------------------------------------------------------
   15. Pricing cards
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  gap: var(--space-6);
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-brand);
  position: relative;
}

.pricing-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-600);
  color: #fff;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-size: var(--text-lg);
  font-weight: 650;
}

.pricing-price {
  margin-top: var(--space-4);
  font-size: var(--text-4xl);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink-950);
}

.pricing-price small {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0;
}

.pricing-desc {
  color: var(--ink-600);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.pricing-features {
  list-style: none;
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-800);
}

.pricing-features li {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
}

.pricing-features li::before {
  content: "✓";
  color: var(--brand-600);
  font-weight: 700;
}

.pricing-cta {
  margin-top: var(--space-8);
}

/* --------------------------------------------------------------------------
   16. Meter & progress
   -------------------------------------------------------------------------- */

.meter {
  height: 0.625rem;
  border-radius: var(--radius-full);
  background: var(--ink-100);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--brand-600);
  transition: width 400ms var(--ease);
}

.meter-fill.warn {
  background: var(--warning-600);
}

.meter-fill.danger {
  background: var(--danger-600);
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--ink-500);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.meter-label strong {
  color: var(--ink-800);
}

/* --------------------------------------------------------------------------
   17. Timeline & activity
   -------------------------------------------------------------------------- */

.timeline {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.3125rem;
  top: 0.375rem;
  bottom: 0.375rem;
  width: 2px;
  background: var(--border-strong);
}

.timeline li {
  position: relative;
  padding-bottom: var(--space-5);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 2px solid var(--brand-500);
}

.timeline .t-time {
  font-size: var(--text-xs);
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}

.timeline .t-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-900);
  margin-top: var(--space-1);
  word-break: break-word;
}

.timeline .t-detail {
  font-size: var(--text-xs);
  color: var(--ink-500);
  margin-top: var(--space-1);
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   17b. Session timeline & transcript
   -------------------------------------------------------------------------- */

.tl {
  position: relative;
  padding-left: 1.75rem;
}

.tl::before {
  content: "";
  position: absolute;
  left: 0.4375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border-strong);
}

.tl-item {
  position: relative;
  padding-bottom: var(--space-6);
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-marker {
  position: absolute;
  left: -1.75rem;
  top: 0.3125rem;
  width: 0.9375rem;
  height: 0.9375rem;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 2px solid var(--ink-300);
}

.tl-commit .tl-marker {
  border-color: var(--brand-500);
}

.tl-request .tl-marker {
  border-color: var(--info-600);
  background: var(--info-100);
}

.tl-event .tl-marker {
  border-color: var(--ink-300);
  background: var(--surface);
}

.tl-time {
  font-size: var(--text-xs);
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-1);
}

.tl-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-900);
  word-break: break-word;
}

.tl-detail {
  font-size: var(--text-sm);
  color: var(--ink-600);
  margin-top: var(--space-1);
  word-break: break-word;
}

.request-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-top: var(--space-2);
}

.request-details summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.request-details summary::-webkit-details-marker {
  display: none;
}

.request-details[open] summary {
  border-bottom: 1px solid var(--border);
}

.request-details .transcript {
  padding: var(--space-4);
}

.transcript {
  display: grid;
  gap: var(--space-3);
}

.msg {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
}

.msg-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.msg-role {
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--ink-100);
  color: var(--ink-600);
}

.msg-role-user {
  background: var(--brand-50);
  color: var(--brand-800);
}

.msg-role-assistant {
  background: var(--info-100);
  color: var(--info-600);
}

.msg-role-tool {
  background: var(--success-100);
  color: var(--success-600);
}

.msg-tool {
  font-size: var(--text-xs);
  color: var(--ink-700);
}

.msg-body {
  margin-top: var(--space-2);
  color: var(--ink-800);
  line-height: var(--leading-snug);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.msg-args {
  margin: var(--space-2) 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-700);
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 16rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  font-size: var(--text-2xs);
  padding: 0.1875rem 0.5625rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-700);
  word-break: break-all;
}

.chip-brand {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-800);
}

.chip-success {
  background: var(--success-100);
  border-color: #b7e4c5;
  color: var(--success-600);
}

.chip-warn {
  background: var(--warning-100);
  border-color: #f5d5a8;
  color: var(--warning-600);
}

.chip-danger {
  background: var(--danger-100);
  border-color: #f3bdbd;
  color: var(--danger-600);
}

/* --------------------------------------------------------------------------
   18. Utilities
   -------------------------------------------------------------------------- */

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.wrap { flex-wrap: wrap; }

.text-center { text-align: center; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hidden {
  display: none;
}

.center {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-10) 0;
}

/* Admin layout */
.admin-body {
  min-height: 100vh;
}

.admin-main {
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--space-8) var(--space-6) var(--space-16);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.admin-header h1 {
  font-size: var(--text-2xl);
}

.page-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.filter-row .select {
  width: auto;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background:
    radial-gradient(50% 40% at 50% 0%, var(--brand-100) 0%, transparent 70%),
    var(--bg);
}

.login-card {
  width: 100%;
  max-width: 24rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
}

.login-card .logo {
  justify-content: center;
  margin-bottom: var(--space-6);
}

/* Task card on the marketing site */
.task-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.task-preview-head {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  background: var(--surface);
}

.task-preview-body {
  padding: var(--space-6);
}

.task-preview-body .mono {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.7;
}

/* Scorecard mock */
.scorecard-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.scorecard-row:last-child {
  border-bottom: none;
}

.scorecard-dim {
  font-weight: 700;
  color: var(--ink-950);
  letter-spacing: 0.02em;
}

.scorecard-score {
  font-size: var(--text-xl);
  font-weight: 750;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .display {
    font-size: var(--text-4xl);
  }
  .section-title {
    font-size: var(--text-2xl);
  }
}

/* --------------------------------------------------------------------------
   19. Marketing (kicker, windows, evidence, stats, testimonials, compare)
   -------------------------------------------------------------------------- */

/* Kicker — the bracketed mono section label used on marketing pages */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.kicker::before {
  content: "[";
  color: var(--ink-400);
  font-weight: 400;
}

.kicker::after {
  content: "]";
  color: var(--ink-400);
  font-weight: 400;
}

.hero .kicker {
  margin-bottom: var(--space-5);
}

/* Window — terminal-style chrome for product artifacts (always dark) */
.window {
  border: 1px solid var(--term-border);
  border-radius: var(--radius-xl);
  background: var(--term-bg);
  color: var(--term-fg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--term-border);
  background: var(--term-raised);
}

.win-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: var(--radius-full);
  background: var(--term-border);
}

.window-title {
  margin-left: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--term-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-300);
  white-space: nowrap;
}

.window-body {
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.7;
  overflow-x: auto;
}

.window-foot {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--term-border);
  font-size: var(--text-xs);
  color: var(--term-muted);
  font-family: var(--font-sans);
}

/* Replay rows — the session timeline inside a window */
.replay-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: 0.3125rem;
  white-space: nowrap;
}

.replay-row + .replay-row {
  border-top: 1px solid color-mix(in srgb, var(--term-border) 55%, transparent);
}

.replay-time {
  color: var(--term-faint);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.replay-kind {
  flex-shrink: 0;
  width: 4.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.replay-kind.k-push { color: #b3a7ea; }
.replay-kind.k-model { color: #7cc7ff; }
.replay-kind.k-ci { color: var(--accent-300); }

.replay-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--term-bright);
}

.replay-text .sha {
  color: var(--accent-300);
}

.replay-status {
  flex-shrink: 0;
  font-weight: 700;
}

.replay-status.ok { color: #4ade80; }
.replay-status.fail { color: #f87171; }
.replay-status.dim { color: var(--term-faint); font-weight: 400; }

/* Diff lines — evidence card bodies */
.diff-line {
  display: block;
  padding: 0.125rem var(--space-2);
  border-radius: var(--radius-sm);
  white-space: pre;
}

.diff-line.add {
  color: #4ade80;
  background: rgb(74 222 128 / 0.08);
}

.diff-line.del {
  color: #f87171;
  background: rgb(248 113 113 / 0.08);
}

.diff-line.ctx {
  color: var(--term-muted);
}

/* Hero demo — the replay window under the hero */
.hero-demo {
  max-width: 56rem;
  margin: var(--space-12) auto 0;
}

.hero-demo .window-body {
  padding-block: var(--space-3);
}

.hero-demo-meter {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--term-border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--term-muted);
}

.hero-demo-meter .meter {
  flex: 1;
  background: var(--term-border);
}

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: 1fr;
  border-block: 1px solid var(--border);
}

@media (min-width: 768px) {
  .stat-band {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-band > div {
  padding: var(--space-6) var(--space-5);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .stat-band > div {
    border-bottom: none;
  }
  .stat-band > div + div {
    border-left: 1px solid var(--border);
  }
}

.stat-band .stat-value {
  font-size: var(--text-3xl);
}

.stat-band .stat-note {
  max-width: 16rem;
}

/* Logo strip label */
.logo-strip-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  height: 100%;
}

.testimonial blockquote {
  margin: 0;
  font-size: var(--text-md);
  color: var(--ink-800);
  line-height: var(--leading-snug);
  flex: 1;
}

.testimonial blockquote::before {
  content: "“";
  color: var(--brand-500);
}

.testimonial blockquote::after {
  content: "”";
  color: var(--brand-500);
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: var(--brand-100);
  color: var(--brand-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 650;
  color: var(--ink-950);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--ink-500);
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 44rem;
}

.compare th,
.compare td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
}

.compare thead th {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--surface);
  white-space: nowrap;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-900);
  white-space: nowrap;
}

.compare td {
  color: var(--ink-600);
}

.compare .col-taste {
  background: var(--brand-50);
  color: var(--ink-900);
  font-weight: 550;
}

.compare thead .col-taste {
  color: var(--brand-800);
}

.mark-yes {
  color: var(--success-600);
  font-weight: 700;
}

.mark-no {
  color: var(--danger-600);
  font-weight: 700;
}

.mark-half {
  color: var(--warning-600);
  font-weight: 700;
}

/* Numbered feature list (security / platform trio) */
.numbered-card .num-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-400);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-3);
}

/* Manifesto closing */
.manifesto {
  font-size: clamp(var(--text-2xl), 3.4vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-950);
  max-width: 52rem;
  margin-inline: auto;
  text-wrap: balance;
}

.manifesto em {
  font-style: normal;
  color: var(--brand-600);
}

/* Step tags — mono STEP 01 labels on marketing how-it-works */
.step-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  display: block;
  margin-bottom: var(--space-2);
}
