:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --ink: #161827;
  --muted: #5b6074;
  --line: #e1e4ee;
  --teal: #0dbdb3;
  --indigo: #3d40cc;
  --accent: #3d40cc;
  --accent-ink: #ffffff;
  --brand: linear-gradient(125deg, var(--teal), var(--indigo));
  --shadow: 0 1px 2px rgba(20, 22, 40, .05), 0 8px 24px rgba(20, 22, 40, .06);
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1018;
    --surface: #181a25;
    --surface-2: #20232f;
    --ink: #eef0f7;
    --muted: #9ba0b4;
    --line: #2a2d3b;
    --accent: #7c7ff5;
    --accent-ink: #0f1018;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
kbd {
  font: 600 .85em/1 -apple-system, BlinkMacSystemFont, sans-serif;
  padding: .25em .5em; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line);
  white-space: nowrap;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) { color: var(--muted); font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .8em 1.4em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(61, 64, 204, .3); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-small { padding: .5em 1em; font-size: .9rem; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } .hero { padding: 88px 0 56px; } }
.hero h1 span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }

/* Wheel demo */
.demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo picture { width: min(100%, 440px); aspect-ratio: 1; }
.demo img { width: 100%; filter: drop-shadow(0 18px 40px rgba(20, 22, 40, .18)); }
.modes { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); gap: 2px; }
.modes button { border: 0; background: none; color: var(--muted); font: 600 .9rem/1 inherit; font-family: inherit;
  padding: .65em 1em; border-radius: 999px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.modes button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.modes kbd { padding: .15em .35em; font-size: .8rem; box-shadow: none; }
.mode-caption { min-height: 3em; text-align: center; max-width: 26em; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 80px 0; } }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card .icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; font-weight: 600; padding: .25em .6em; border-radius: 6px; background: var(--surface-2); color: var(--muted); }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.points { display: grid; gap: 28px; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(3, 1fr); } }
.points h3 { margin-bottom: .35em; }
.points p { color: var(--muted); margin: 0; }

/* Pricing */
.price-card { max-width: 440px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 32px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--brand); }
.price { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
.price-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final call */
.final { text-align: center; }
.final .cta { justify-content: center; }

/* Long-form pages */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page ol, .page ul { padding-left: 1.3em; }
.page li { margin: .4em 0; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 14px 18px; margin: 1.5em 0; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
td code { font-size: .85em; word-break: break-all; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--muted); }

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

.page code { overflow-wrap: anywhere; }
