/* Lightspeak design system: 100% standalone Obsidian palette & geometric sans unified with the macOS app.
   Every text pair >= 4.5:1 WCAG AA; every interactive border/control >= 3:1 WCAG 1.4.11; every tap target >= 44px. */

:root {
  --bg: #09090b;
  --surface: #121214;
  --surface-elevated: #18181c;
  --surface-well: #0b0b0d;
  --border-subtle: rgba(255, 255, 255, 0.11);
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-control: #6c6c78;
  --border-featured: #8a8a99;
  --text: #f4f4f5;
  --text-secondary: #b4b4be;
  --text-muted: #90909c;
  --accent: #4ade80;
  --accent-bg: rgba(74, 222, 128, 0.10);
  --accent-border: rgba(74, 222, 128, 0.34);
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --edge: clamp(16px, 4vw, 40px);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Top Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 6px 4px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 150ms ease, background 150ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #09090b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 150ms ease, transform 150ms ease;
}

.nav-cta:hover { background: #e4e4e7; }

/* Sections & Typography */
main > section {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

main > section + section {
  margin-top: clamp(72px, 8vw, 112px);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
}

.section-head { max-width: 44em; }
.section-head p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.btn, .go, .go-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-primary, .go {
  background: #ffffff;
  color: #09090b;
  border: 1px solid #ffffff;
}

.btn-primary:hover, .go:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  color: #09090b;
}

.btn-secondary, .go-ghost {
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border-control);
}

.btn-secondary:hover, .go-ghost:hover {
  background: #232329;
  border-color: #a1a1b0;
  color: var(--text);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding-top: clamp(44px, 5.5vw, 76px);
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.hero-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-brand-meta strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.hero-brand-meta span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  max-width: 12ch;
}

.hero-lead {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  line-height: 1.6;
  max-width: 34em;
  text-wrap: pretty;
}

.fine {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Hero Stage: Live Spectral Dither Pill + Real macOS App Window (zero nested boxes) */
.hero-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pill-frame {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  overflow: visible;
}

.pill-frame video {
  width: min(430px, 100%);
  margin: 0 auto;
  border-radius: 0;
  background: var(--bg);
}

.pill-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.pill-caption .live-metric {
  color: var(--accent);
  font-weight: 600;
}

.app-frame {
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.app-frame img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px -28px rgba(0, 0, 0, 0.92);
}

/* Proof Strip */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(44px, 5vw, 68px);
}

.proof .stat {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.proof .stat strong {
  display: block;
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.proof .stat strong em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.proof .stat span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Real App Showcase Grid (unboxed native windows — zero nested boxes) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.shot-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: 0;
  overflow: visible;
}

.shot-media {
  background: transparent;
  padding: 0;
  border: 0;
}

.shot-media img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 54px -24px rgba(0, 0, 0, 0.88);
}

.shot-copy {
  padding: 0 2px;
}

.shot-copy h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.shot-copy p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Feature Rows */
.rows {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.rows li {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}

.rows li b {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
}

.rows li span {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Comparison Table */
.table-wrap {
  margin-top: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  overflow: hidden;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
}

.cmp th, .cmp td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.cmp tbody tr:last-child td { border-bottom: 0; }

.cmp thead th {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.cmp th.ours, .cmp td.ours {
  background: rgba(74, 222, 128, 0.055);
  color: var(--text);
  font-weight: 500;
}

.cmp thead th.ours {
  color: var(--accent);
  font-weight: 650;
}

.cmp tbody td:first-child {
  color: var(--text);
  font-weight: 550;
  width: 24%;
}

.cmp tbody td { color: var(--text-secondary); }
.cmp .val { text-wrap: balance; }
.cmp .yes { color: var(--accent); font-weight: 600; }
.cmp .no { color: var(--text-muted); }

.compare-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.compare-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-control);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 150ms ease, background 150ms ease;
}

.compare-links a:hover {
  border-color: #a1a1b0;
  background: var(--surface-elevated);
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.plan.featured {
  background: linear-gradient(180deg, #1b1b20 0%, #121215 100%);
  border: 1px solid var(--border-featured);
  box-shadow: 0 28px 72px -32px rgba(0, 0, 0, 0.9);
}

.plan.featured::before {
  content: "";
  position: absolute;
  inset: 0 14% auto 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  pointer-events: none;
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.plan h3 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.plan-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.plan .price .amount {
  font-size: clamp(38px, 3.8vw, 48px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.plan .price .unit {
  font-size: 15px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.plan .lead {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: balance;
}

.plan ul {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.plan li {
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
  text-wrap: pretty;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
}

.pricing-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-control);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.pricing-foot a:hover {
  border-color: #a1a1b0;
  background: var(--surface-elevated);
}

/* FAQ */
.faq-list {
  margin-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.faq-list details {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  padding: 16px 0;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-list summary span {
  text-wrap: balance;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-list details p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Final Obsidian CTA Banner */
.closing {
  margin-bottom: clamp(56px, 6vw, 88px);
}

.closing-card {
  position: relative;
  text-align: center;
  padding: clamp(40px, 6vw, 68px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #17171b 0%, #101012 100%);
  border: 1px solid var(--border-control);
  overflow: hidden;
}

.closing-card::before {
  content: "";
  position: absolute;
  inset: 0 18% auto 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.closing-card h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.032em;
}

.closing-card p {
  margin: 12px auto 0;
  max-width: 34em;
  color: var(--text-secondary);
  font-size: 16.5px;
  text-wrap: balance;
}

.closing-card .cta-row {
  justify-content: center;
  margin-top: 26px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-well);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--edge) 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-brand {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

footer a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Docs & Editorial Guide Pages */
.doc {
  max-width: 860px;
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.doc .eyebrow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.doc h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.doc h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 44px 0 0;
  line-height: 1.2;
}

.doc h3 {
  font-size: 18.5px;
  font-weight: 600;
  margin: 26px 0 0;
  line-height: 1.3;
}

.doc p, .doc li {
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.65;
}

.doc p { margin: 14px 0 0; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 1.3em; }
.doc li + li { margin-top: 8px; }
.doc b { color: var(--text); font-weight: 600; }

.doc p a, .doc li a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-control);
  text-underline-offset: 3px;
}

.doc p a:hover, .doc li a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.doc .byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-muted);
}

.doc .byline b { color: var(--text); }

.doc .tldr {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-control);
}

.doc .tldr-label {
  font-size: 13px;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 8px;
}

.doc .tldr p { margin: 0; font-size: 16px; color: var(--text); }

.doc .toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  font-size: 14px;
}

.doc .toc span { color: var(--text-muted); font-weight: 600; margin-right: 4px; }

.doc .toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-secondary);
}

.doc .toc a:hover { color: var(--text); border-color: var(--border-control); }

.doc .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.doc .kpi {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.doc .kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.05;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.doc .kpi span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.doc code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text);
}

.doc pre.code-block {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  background: var(--surface-well);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}

.doc .verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.doc .verdict-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.doc .verdict-card.ours { border-color: var(--border-featured); }
.doc .verdict-card h3 { margin-top: 0; font-size: 17.5px; }
.doc .verdict-card.ours h3 { color: var(--accent); }
.doc .verdict-card ul { margin-top: 12px; }
.doc .verdict-card li { font-size: 15px; }

.doc .callout {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-control);
}

.doc .callout p { margin-top: 8px; font-size: 15.5px; }
.doc .callout .cta-row { margin-top: 18px; }

/* Unified Obsidian Benchmark Figure on Guide Subpages */
.bench-figure {
  margin: 26px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
}

.bench-figure img {
  display: block;
  width: min(560px, calc(100% - 32px));
  margin: 20px auto;
  border-radius: 14px;
}

.bench-bars {
  padding: 16px 20px;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-well);
}

.bench-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bench-grid {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.bench-row {
  display: grid;
  grid-template-columns: minmax(112px, 148px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.bench-label { color: var(--text); font-weight: 500; }
.bench-label.muted { color: var(--text-muted); font-weight: 400; }

.bench-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
}

.bench-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--accent);
}

.bench-fill.baseline {
  background: var(--border-control);
}

.bench-val {
  min-width: 88px;
  text-align: right;
  color: var(--accent);
  font-weight: 600;
}

.bench-val.muted {
  color: var(--text-muted);
  font-weight: 500;
}

.doc .compare-links {
  margin-top: 24px;
}

.doc .contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 720px) {
  main > section + section { margin-top: 52px; }
  .nav-links { display: none; }
  .rows { margin-top: 24px; }
  .rows li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .doc .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc .verdict-grid { grid-template-columns: 1fr; }

  /* Stacked Scannable Mobile Comparison Cards (zero 4-col cramping on 440px / 375px) */
  .table-wrap {
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .cmp, .cmp tbody, .cmp tr, .cmp td {
    display: block;
    width: 100%;
  }

  .cmp thead { display: none; }

  .cmp tbody {
    display: grid;
    gap: 10px;
  }

  .cmp tbody tr {
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
  }

  .cmp tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid var(--border-hairline);
  }

  .cmp tbody td:first-child {
    width: 100%;
    padding: 11px 14px;
    font-size: 14.5px;
    font-weight: 650;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border-subtle);
  }

  .cmp tbody td:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    font-size: 14px;
  }

  .doc .cmp tbody td:not(:first-child) {
    grid-template-columns: minmax(104px, 134px) minmax(0, 1fr);
  }

  .cmp tbody td:not(:first-child)::before {
    content: attr(data-col);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
  }

  .cmp tbody td.ours::before {
    color: var(--accent);
  }

  .cmp tbody tr td:last-child { border-bottom: 0; }

  .compare-links { flex-direction: column; }
  .compare-links a { width: 100%; justify-content: space-between; }

  .pricing-foot { flex-direction: column; align-items: stretch; }
  .pricing-foot a { justify-content: center; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 4px 10px;
  }

  footer a {
    padding: 10px 8px;
  }
}

@media (max-width: 520px) {
  .hero { padding-top: 28px; gap: 24px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 40px); }
  .fine { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fine-sep { display: none; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .proof .stat { padding: 16px 14px; }
  .proof .stat strong { font-size: clamp(22px, 6.2vw, 28px); }
  .proof .stat span { font-size: 13px; margin-top: 7px; line-height: 1.42; }
  .showcase-grid { gap: 22px; margin-top: 22px; }
  .shot-copy { padding: 0 2px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row .go, .cta-row .go-ghost { width: 100%; white-space: normal; text-align: center; }
  .pill-caption { flex-direction: column; align-items: center; gap: 3px; text-align: center; }
  .plan { padding: 20px 18px; }
  .plan ul { margin: 16px 0 20px; gap: 8px; }
  .closing-card { padding: 32px 18px; }
  .bench-row { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .bench-track { grid-column: 1 / -1; order: 3; }
}
