:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --text: #16161a;
  --muted: #5d5f6b;
  --line: #e3e4e8;
  --accent: #f28c28;
  --accent-ink: #b85d06;
  --accent-soft: #fdeedd;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0e;
    --surface: #18181c;
    --text: #f5f5f7;
    --muted: #a3a4ad;
    --line: #2a2a30;
    --accent-ink: #f7a654;
    --accent-soft: #2c1d0e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
a { color: var(--accent-ink); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: none; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.top .btn { margin-left: auto; padding: 8px 16px; font-size: 0.9rem; }
@media (min-width: 760px) {
  .nav { display: flex; }
  .top .btn { margin-left: 0; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 999px; }
.btn:hover { filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 48px 0 24px; text-align: center; }
.eyebrow { display: inline-block; color: var(--accent-ink); background: var(--accent-soft); font-weight: 600; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.6rem); margin: 16px auto 12px; max-width: 16ch; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 46rem; margin: 0 auto 28px; }
.soon { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 0.92rem; }
.badges li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.map { margin: 36px auto 0; width: 100%; max-width: 960px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 40px 0 0; }
.stats div { background: var(--surface); padding: 16px 8px; text-align: center; }
.stats strong { display: block; font-size: 1.4rem; color: var(--accent-ink); }
.stats span { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(6, 1fr); } }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); text-align: center; margin: 0 0 12px; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 40rem; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 600px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

.privacy-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 22px; text-align: center; }
.privacy-band p { color: var(--muted); max-width: 40rem; margin: 0 auto 12px; }

/* Plans table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plans { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.plans th, .plans td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plans tr:last-child td { border-bottom: 0; }
.plans th:not(:first-child), .plans td:not(:first-child) { text-align: center; width: 30%; }
.plans thead th { font-size: 1rem; }
.plans thead th:last-child { color: var(--accent-ink); }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--muted); }

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

.final { text-align: center; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 20px; }
.doc .note { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; font-size: 0.95rem; }
.doc h2 { font-size: 1.35rem; margin: 40px 0 10px; text-align: left; scroll-margin-top: 76px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 24px; font-size: 0.95rem; }
.sources { list-style: none; padding: 0; }
.sources li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.sources .lic { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 1px 10px; margin-left: 6px; }
.sources p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer .cols { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer a { color: var(--muted); }
footer a:hover, footer a[aria-current] { color: var(--text); }
footer .fine { margin-top: 24px; font-size: 0.8rem; }
