:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #16151a;
  --ink-2: #4a4852;
  --ink-3: #77747f;
  --line: #e7e4dd;
  --hl: #ffcc00;
  --hl-ink: #6b5200;
  --accent: #1f1d2b;
  --stage: #1d1b27;
  --stage-2: #2b2838;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121117; --surface: #1a1922; --ink: #f2f0ea; --ink-2: #c4c1cc; --ink-3: #8f8b99;
    --line: #2c2a36; --hl-ink: #ffd84d; --accent: #ffcc00; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121117; --surface: #1a1922; --ink: #f2f0ea; --ink-2: #c4c1cc; --ink-3: #8f8b99;
  --line: #2c2a36; --hl-ink: #ffd84d; --accent: #ffcc00; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--ink-2); }
nav.main a:hover, nav.main a[aria-current] { color: var(--ink); }
.lang { font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 720px) { nav.main .hide-sm { display: none; } nav.main { gap: 12px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: 16px; font-family: inherit;
}
.btn-primary { background: var(--hl); color: #1a1400; }
.btn-primary:hover { filter: brightness(0.96); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; max-width: 16ch; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 40ch; margin: 0 0 28px; }
.mark { background: linear-gradient(transparent 58%, rgba(255, 204, 0, .55) 58%); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 14px; color: var(--ink-3); margin-top: 12px; }

.stage {
  margin-top: 44px; background: radial-gradient(ellipse at 50% 0%, var(--stage-2), var(--stage));
  border-radius: 20px; aspect-ratio: 16 / 8; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding: 0 4% 7%;
}
.stage .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #3a3748; }
.stage .bar i { display: block; height: 100%; width: 0; background: #ff3b3b; transition: width .3s linear; }
.sub {
  background: rgba(10, 10, 14, .88); color: #fff; border-radius: 10px; padding: .45em .8em;
  font-size: clamp(16px, 2.6vw, 30px); text-align: center; line-height: 1.5; max-width: 100%;
}
.sub .w { display: inline-block; transition: transform .25s, color .25s; }
.sub .w.on { color: var(--hl); font-weight: 700; transform: scale(1.12); }
.sub .gl { display: block; font-size: .5em; color: #d8d6e0; font-weight: 400; min-height: 1.5em; }
.fb { position: absolute; right: 3%; top: 5%; display: flex; gap: 6px; }
.fb span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #ddd; }
.fb span.sel { background: var(--hl); color: #1a1400; }
.level { position: absolute; left: 3%; top: 5%; font-size: 12px; color: #c9c6d3; background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 999px; }

section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.sub-h { color: var(--ink-2); max-width: 60ch; margin: 0 0 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 204, 0, .22); display: grid; place-items: center; margin-bottom: 12px; font-size: 20px; }
.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { list-style: none; position: relative; padding-left: 44px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps { padding: 0; margin: 0; }

.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--hl); }
.price { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; }
.price small { font-size: 16px; font-weight: 500; color: var(--ink-3); }
.plan ul { padding-left: 20px; color: var(--ink-2); flex: 1; }
.plan li { margin: 6px 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; background: var(--hl); color: #1a1400; border-radius: 999px; padding: 2px 10px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; }
details p { color: var(--ink-2); margin: 10px 0 0; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 28px; margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: var(--ink-2); }
.prose .meta { color: var(--ink-3); font-size: 15px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin: 26px 0 0; }
.crumbs a { color: var(--ink-3); }
.page-h { padding: 40px 0 8px; }
.page-h h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 12px; }

form.wl { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
form.wl input[type=email] {
  flex: 1 1 220px; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
form.wl .hp { position: absolute; left: -5000px; }
.wl-msg { font-size: 15px; margin-top: 10px; min-height: 1.4em; }
.cta-band { text-align: left; }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 14px; }
footer.site .wrap { display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .sub .w, .stage .bar i { transition: none; } }
.sub .w.on { margin: 0 .1em; }
@media (max-width: 720px) {
  .stage { aspect-ratio: 4 / 3; border-radius: 14px; margin-top: 32px; }
  .stage .level { display: none; }
  .fb { left: 3%; right: 3%; justify-content: center; }
  .brand span { font-size: 15px; }
}
nav.main a.btn-primary { color: #1a1400; }
.card .price { font-size: 42px; color: var(--ink); }
.brand span, .lang { white-space: nowrap; }
@media (max-width: 420px) { nav.main a:first-child { display: none; } .wrap { padding: 0 16px; } }
