:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #5b6474;
  --line: #e6e4dd;
  --accent: #0b1220;
  --accent-ink: #ffffff;
  --ok: #15803d;
  --ok-bg: #e7f6ec;
  --err: #b42318;
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f17;
    --surface: #131a26;
    --ink: #eef1f6;
    --muted: #98a2b3;
    --line: #253043;
    --accent: #eef1f6;
    --accent-ink: #0b0f17;
    --ok: #4ade80;
    --ok-bg: #0f2a1a;
    --err: #f97066;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.5rem; }
h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.nav nav { display: flex; align-items: center; gap: 18px; font-size: 0.95rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px color-mix(in srgb, #22c55e 22%, transparent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.sm { padding: 8px 14px; font-size: 0.9rem; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--ok); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 0 16px; }
.h1-sm { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 20px; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.cta-row form { display: flex; gap: 8px; align-items: center; }

.hero-art { position: relative; margin: 0; max-width: 460px; width: 100%; justify-self: center; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art .notice { position: absolute; left: -8%; right: 14%; bottom: 7%; animation: pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.4s both; }
@keyframes pop { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) { .hero-art .notice { animation: none; } }
.notice { background: color-mix(in srgb, #ffffff 82%, transparent); color: #0b1220; backdrop-filter: blur(20px) saturate(1.8); border-radius: 18px; padding: 12px 14px; font-size: 0.9rem; box-shadow: 0 10px 30px rgb(0 0 0 / 0.18), 0 0 0 0.5px rgb(0 0 0 / 0.08); }
.notice p { margin: 2px 0 0; }
.notice-head { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; margin-bottom: 4px; }
.notice-head .dot { width: 8px; height: 8px; box-shadow: none; }
.notice-head .muted { margin-left: auto; color: #5b6474; font-weight: 400; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 32px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stats strong { display: block; font-size: 1.8rem; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.block { padding-top: 40px; padding-bottom: 40px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-weight: 700; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
input, select {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 14px; min-width: 0;
}
.inline-form input { width: 160px; }
.inline-form select { min-width: 180px; }
input:focus-visible, select:focus-visible, .btn:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }

.variants { list-style: none; padding: 0; margin: 20px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.variants li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.variants li:first-child { border-top: 0; }
.vname { font-weight: 600; flex: 1; }
.variants a { font-size: 0.9rem; color: var(--muted); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgb(0 0 0 / 0.15); vertical-align: -2px; margin-right: 6px; flex: none; }
.pill { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; font-weight: 600; }
.pill.muted { opacity: 0.7; }

.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.model { display: flex; flex-direction: column; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.model span { color: var(--muted); font-size: 0.9rem; }
.model.active { border-color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.plan.featured { border-color: var(--ink); }
.plan p { margin: 0; color: var(--muted); }
.plan .price { font-size: 2.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.plan .price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan .btn { margin-top: 16px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 16px 0 24px; }
.matrix { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.matrix th, .matrix td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; }
.matrix thead th { border-top: 0; font-weight: 600; }
.matrix tbody th span:not(.swatch) { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.matrix .yes { color: var(--ok); font-weight: 700; }
.matrix .no { color: var(--muted); }

.stack { display: grid; gap: 18px; }
.stack label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.stack .inline-form { margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; background: var(--surface); }
legend { font-weight: 600; font-size: 0.95rem; padding: 0 6px; }
label.check { display: flex; align-items: center; gap: 10px; font-weight: 400; padding: 6px 0; }
label.check em { margin-left: auto; color: var(--ok); font-style: normal; font-weight: 600; font-size: 0.85rem; }

.alerts { list-style: none; padding: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.alerts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.alerts li:first-child { border-top: 0; }
.alerts span { display: block; color: var(--muted); font-size: 0.85rem; }
.error { color: var(--err); font-weight: 600; }
.ok-box { background: var(--ok-bg); color: var(--ok); padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }

.foot { margin-top: 48px; padding-bottom: 40px; color: var(--muted); font-size: 0.85rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 24px; border-top: 1px solid var(--line); padding: 32px 0; }
.foot-cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-h { margin: 0 0 2px; color: var(--ink); font-weight: 600; }
.foot-base { border-top: 1px solid var(--line); padding-top: 20px; }
.foot-base p { margin: 10px 0 0; max-width: 75ch; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 14px; }
.foot-featured { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.foot-featured span { color: var(--ink); font-weight: 600; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-size: 0.95rem; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cta-box p { margin: 0; }
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 32px; margin-top: 12px; }
.states h3 { margin: 16px 0 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.store-list, .store-rank { list-style: none; padding: 0; margin: 0; }
.store-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.store-rank { counter-reset: rank; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 16px; }
.store-rank li { counter-increment: rank; display: flex; gap: 10px; align-items: baseline; padding: 12px 18px; border-top: 1px solid var(--line); }
.store-rank li:first-child { border-top: 0; }
.store-rank li::before { content: counter(rank); color: var(--muted); width: 1.5em; }
.store-rank .count { margin-left: auto; color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.hist { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; height: 200px; margin-top: 20px; padding-bottom: 22px; }
.bar-col { position: relative; display: flex; align-items: flex-end; height: 100%; }
.bar { width: 100%; background: color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 3px 3px 0 0; }
.bar.peak { background: var(--ok); }
.bar-col span { position: absolute; top: 100%; left: 0; margin-top: 4px; font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.matrix td span.muted { color: var(--muted); }

.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 8px; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
h3.sub { margin: 24px 0 4px; font-size: 1rem; }
.store-list.cols { columns: 2 260px; column-gap: 32px; }
.store-list.cols li { break-inside: avoid; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  .hero-art { max-width: 360px; }
  .hero-art .notice { left: 4%; right: 4%; bottom: 4%; }
  .steps, .plans, .stats { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .logo { font-size: 0.9rem; }
  .row { grid-template-columns: 1fr; }
  .inline-form input, .inline-form select, .inline-form .btn { width: 100%; }
}
