:root {
  color-scheme: light dark;
  --paper: #faf8f3;
  --ink: #211d2c;
  --quiet: #685f70;
  --link: #6153a6;
  --card: #fff;
  --line: #e3ddea;
  --accent: #6153a6;
  --accent-ink: #fff;
  --badge: #f1ecfa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17131c;
    --ink: #f3edf7;
    --quiet: #c1b7c8;
    --link: #b9adf2;
    --card: #211b28;
    --line: #403548;
    --accent: #b9adf2;
    --accent-ink: #17131c;
    --badge: #2c2436;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
main { max-width: 760px; margin: 0 auto; padding: 48px 16px 64px; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); margin: 0 0 16px; }
h2 { font-size: 1.5rem; margin: 48px 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 8px; }
a { color: var(--link); }
.quiet { color: var(--quiet); }
.lead { font-size: 1.15rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin: 16px 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 0 0 20px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px;
  border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; }
.tier ul { padding-left: 20px; flex: 1; }
.badge { display: inline-block; background: var(--badge); border-radius: 999px; padding: 2px 12px; font-size: 0.85rem; margin-bottom: 8px; }
.price { font-size: 2rem; font-weight: 600; margin: 4px 0 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--quiet); }
.button {
  display: block; text-align: center; text-decoration: none; font-weight: 600;
  background: var(--accent); color: var(--accent-ink); border-radius: 12px; padding: 14px 20px; margin-top: 16px;
}
.button.secondary { background: transparent; color: var(--link); border: 1px solid var(--line); }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
footer { margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--quiet); }
footer a { color: inherit; }
