:root {
  --brand: #7c5cff;
  --brand-2: #f9a826;
  --ink: #1c1b22;
  --ink-soft: #55525e;
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --line: #e8e6f0;
  --radius: 16px;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a { color: var(--ink-soft); }
.nav a.cta {
  background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav a.cta:hover { text-decoration: none; opacity: .9; }
.lang-switch { color: var(--ink-soft); font-size: .9rem; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }

/* Hero */
.hero {
  background: linear-gradient(160deg, #f4f1ff 0%, #fff7ea 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.18; letter-spacing: -.02em; }
.hero .sub {
  max-width: 640px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.15rem;
}
.hero .actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--ink); color: #fff; font-weight: 700;
  padding: 14px 28px; border-radius: 14px; font-size: 1.05rem;
}
.btn-primary:hover { text-decoration: none; opacity: .88; }
.btn-ghost {
  display: inline-block; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600;
  padding: 13px 26px; border-radius: 14px;
}
.btn-ghost:hover { text-decoration: none; background: var(--ink); color: #fff; }
.hero .note { margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.feature .icon { font-size: 1.7rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }

/* CTA band */
.cta-band { text-align: center; background: linear-gradient(135deg, var(--brand) 0%, #5a3fd6 100%); color: #fff; }
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.cta-band p { opacity: .85; margin-top: 8px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); margin-top: 26px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: .97rem; }
.legal ul { padding-left: 22px; margin: 10px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .9rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav .hide-m { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
