:root {
  --bg: #fbfaf7; --panel: #ffffff; --surface: #f3f1ec; --text: #16171c; --muted: #5f5e5a; --line: #e7e5df;
  --accent: #ff6a3d; --accent2: #ffb547; --ok: #1f9d63;
  --grad: linear-gradient(135deg, var(--accent2), var(--accent));
  --radius: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0e0f12; --panel: #15161b; --surface: #1d1e24; --text: #f3f2ee; --muted: #a9a8a2; --line: #2a2b31; }
}
:root[data-theme="dark"] { --bg: #0e0f12; --panel: #15161b; --surface: #1d1e24; --text: #f3f2ee; --muted: #a9a8a2; --line: #2a2b31; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

header.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
header.nav nav { display: flex; gap: 22px; margin-left: auto; }
header.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
header.nav nav a:hover { color: var(--text); }
@media (max-width: 720px) { header.nav nav { display: none; } header.nav .btn { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--panel); font-size: 16px; }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(255, 106, 61, .28); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { padding: 8px 14px; font-size: 14.5px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 4px 12px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -0.025em; margin: 16px 0 16px; }
h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 20px; color: var(--muted); margin: 0 0 26px; max-width: 34ch; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { margin-top: 16px; font-size: 14.5px; color: var(--muted); }

/* product mock */
.mock { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.12); }
@media (max-width: 480px) { .mock { grid-template-columns: 1fr; } .mock .phone { display: none; } }
.phone { aspect-ratio: 9 / 16; border-radius: 14px; background: linear-gradient(170deg, #3a3f55, #151622); position: relative; overflow: hidden; color: #fff; }
.phone .chip { position: absolute; top: 10px; left: 10px; background: var(--grad); font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.phone .cap { position: absolute; bottom: 12px; left: 10px; right: 10px; font-size: 12px; opacity: .9; }
.phone .say { position: absolute; top: 42%; left: 10px; right: 10px; font-weight: 800; font-size: 15px; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 13.5px; }
.panel .tabs { display: flex; gap: 4px; background: var(--surface); padding: 3px; border-radius: 9px; margin-bottom: 10px; }
.panel .tabs span { flex: 1; text-align: center; padding: 4px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.panel .tabs span.on { background: var(--panel); color: var(--text); }
.panel .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.panel .chips span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-size: 11.5px; font-weight: 600; }
.panel .chips span.on { background: var(--text); color: var(--bg); }
.panel pre { margin: 0; white-space: pre-wrap; font: 11.5px/1.5 ui-monospace, Consolas, monospace; background: var(--surface); padding: 10px; border-radius: 9px; max-height: 190px; overflow: hidden; }
.panel .go { margin-top: 10px; text-align: center; background: var(--grad); color: #fff; border-radius: 9px; padding: 8px; font-weight: 700; }

section { padding: 64px 0; }
section.alt { background: var(--surface); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 19px; margin: 0 0 32px; max-width: 60ch; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 6px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; }

.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.type { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.type b { display: block; font-size: 17px; }
.type span { color: var(--muted); font-size: 15px; }

.compare { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare th { background: var(--surface); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare td.y { color: var(--ok); font-weight: 700; }
.compare td.n { color: var(--muted); }
.table-scroll { overflow-x: auto; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.best { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 16px; display: grid; gap: 8px; }
.plan li::before { content: "✓  "; color: var(--ok); font-weight: 800; }
.plan .btn { margin-top: auto; }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17.5px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; padding: 80px 0; }
.final h2 { margin-bottom: 14px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* legal pages */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 23px; margin-top: 34px; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--muted); }

/* let grid children shrink on small screens instead of pushing the page wider */
.hero > *, .mock > *, .grid3 > *, .grid2 > *, .plans > *, .types > * { min-width: 0; }
.panel pre { overflow-wrap: anywhere; }
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 480px) {
  .lede { font-size: 18px; }
  .cta-row .btn { width: 100%; }
  header.nav .btn { padding: 8px 12px; font-size: 14px; }
}
