:root {
  color-scheme: dark;
  --bg: #0f172a;
  --surface: #172033;
  --surface-strong: #1e293b;
  --text: #f1f5f9;
  --muted: #a8b3c4;
  --line: #334155;
  --brand: #34d399;
  --brand-ink: #052e23;
  --pro: #fbbf24;
  --max: 72rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pro); outline-offset: 4px; border-radius: 0.2rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: 0.75rem 1rem; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2)); background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); }
.wordmark { color: var(--brand); font-size: 0.9rem; font-weight: 850; letter-spacing: -0.03em; text-decoration: none; }
nav, .footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a, .footer-links a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--muted); font-size: 0.9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .footer-links a:hover { color: var(--text); text-decoration: underline; }
main > section, .legal-shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; padding-block: clamp(4rem, 9vw, 8rem); }
.hero { min-height: min(48rem, calc(100svh - 4.5rem)); display: grid; align-content: center; }
.eyebrow, .tier, .version { color: var(--brand); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 15ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 0.98; letter-spacing: -0.055em; }
h2 { max-width: 18ch; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.03; letter-spacing: -0.045em; }
h3 { margin-bottom: 0.45rem; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.18; }
.lede { max-width: 55ch; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 1.25rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.7rem 1.1rem; border: 1px solid var(--brand); border-radius: 0.7rem; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--brand); color: var(--brand-ink); }
.button.secondary { color: var(--brand); }
.button:hover { filter: brightness(1.08); }
.fine-print, .section-heading > p, .strategy-list p, .price-row article > p:last-child, .contact > p, .site-footer { color: var(--muted); }
.process { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.process ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process li { display: grid; grid-template-columns: minmax(10rem, 0.75fr) 1fr; gap: 1.25rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.process li:first-child { border-top: 0; }
.process span { color: var(--muted); }
.section-heading { max-width: 48rem; margin-bottom: 2.5rem; }
.strategy-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.strategy-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.number { color: var(--muted); font-variant-numeric: tabular-nums; }
.strategy-list p { max-width: 65ch; margin-bottom: 0; }
.tier { margin-bottom: 0.35rem !important; }
.tier.pro { color: var(--pro); }
.price-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.price-row article { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.price { margin-bottom: 0.25rem; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price span { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.annual { color: var(--text) !important; font-weight: 700; }
.policy-note { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 0.8rem; }
.policy-note p:last-child { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.35rem 0; cursor: pointer; font-size: 1.08rem; font-weight: 750; }
details p { max-width: 70ch; color: var(--muted); padding-bottom: 1.25rem; }
.contact { border-block: 1px solid var(--line); }
.contact h2 { max-width: 22ch; }
.contact > p { max-width: 62ch; }
.site-footer { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; padding: 2.5rem 0 4rem; font-size: 0.88rem; }
.footer-links { margin-bottom: 1.5rem; }
.legal-shell { max-width: 56rem; }
.legal-document h1 { max-width: none; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.legal-document h2 { max-width: none; margin-top: 3.5rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.legal-document h3 { margin-top: 2.5rem; }
.legal-document p, .legal-document li { max-width: 75ch; }
.legal-document table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.legal-document th, .legal-document td { min-width: 9rem; padding: 0.7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-document blockquote { margin-left: 0; padding-left: 1rem; border-left: 1px solid var(--line); color: var(--muted); }
.error-page { min-height: 100svh; display: grid; place-items: center; }
.error-page main { width: min(calc(100% - 2.5rem), 45rem); }
.error-page h1 { max-width: 14ch; font-size: clamp(2.5rem, 7vw, 5rem); }

@media (max-width: 700px) {
  .site-header { align-items: flex-start; }
  nav { justify-content: flex-end; gap: 0.65rem 1rem; }
  .process { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 1fr; gap: 0.3rem; }
  .price-row { grid-template-columns: 1fr; }
}

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