:root {
  --on-accent: #fff;
  --bg: #ffffff; --bg-2: #f5f7fb; --surface: #ffffff; --border: #e3e6ee; --text: #151a23; --muted: #5d6676;
  --accent: #2563eb; --accent-2: #1d4fd0; --accent-soft: #e8efff; --green: #15803d;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f131a; --bg-2: #151b24; --surface: #18202b; --border: #283241; --text: #e7ebf2; --muted: #9aa5b7;
    --accent: #6b9bff; --accent-2: #8bb0ff; --accent-soft: #1b2a47; --green: #4ade80; --on-accent: #0b1220;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* header and footer */
header.site { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
nav.main { display: flex; gap: 20px; flex: 1; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav.main a:hover, nav.main a[aria-current] { color: var(--text); }
footer.site { border-top: 1px solid var(--border); margin-top: 80px; padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--muted); }

/* buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--muted); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.btn.sm { padding: 6px 14px; font-size: .92rem; }

/* home */
.hero { padding: 88px 0 64px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
section.band { padding: 64px 0; }
section.band.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.channels span { border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .9rem; color: var(--muted); }

/* pricing */
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 32px 0 56px; }
.tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.tier.featured { border: 2px solid var(--accent); }
.tier .badge { align-self: flex-start; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 2px 10px; margin-bottom: 8px; }
.tier .price { font-size: 2.2rem; font-weight: 700; margin: 6px 0 2px; }
.tier .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.tier ul { padding-left: 1.2em; margin: 16px 0 24px; flex: 1; }
.tier li { margin: 6px 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
table.compare th, table.compare td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--bg-2); }
table.compare tbody th { font-weight: 500; }
table.compare tr.group th { background: var(--bg-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.compare td.yes { color: var(--green); font-weight: 600; }
table.compare td.no { color: var(--muted); }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

/* legal */
.legal { padding-top: 48px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal li { margin: 4px 0; }
.legal .callout { background: var(--accent-soft); border-radius: 10px; padding: 14px 18px; }

@media (max-width: 640px) {
  nav.main { gap: 14px; font-size: .95rem; }
  header.site .wrap { gap: 14px; }
  .brand span { display: none; }
  .hero { padding: 56px 0 40px; }
}
