:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #1f1d1a;
  --muted: #6b6660;
  --line: #e8e2d9;
  --accent: #c15f3c;
  --accent-soft: #f7e5dd;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand::before { content: "💰 "; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.lang-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 3px 12px; font-size: 13px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

.hero { max-width: 820px; margin: 0 auto; padding: 88px 24px 64px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.08em;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.15; letter-spacing: -0.03em; }
.hero .accent { color: var(--accent); }
.hero .sub { margin: 22px auto 0; max-width: 640px; font-size: 18px; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px;
  font-weight: 600; border: 1px solid var(--line); background: var(--surface);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 29, 26, 0.08); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.platforms { margin-top: 18px; font-size: 14px; color: var(--muted); }

.section { max-width: 1040px; margin: 0 auto; padding: 64px 24px; }
.section.alt {
  max-width: none; background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section.alt > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin-bottom: 34px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(31, 29, 26, 0.07); }
.card-icon { font-size: 30px; margin-bottom: 10px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

.note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }

.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 640px; }
.dl-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.dl-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 22px rgba(31, 29, 26, 0.07); }
.dl-card h3 { font-size: 18px; margin-bottom: 6px; }
.dl-card p { font-size: 14px; color: var(--muted); }
#download .note { max-width: 640px; }

.footer {
  border-top: 1px solid var(--line); padding: 28px 24px; text-align: center;
  font-size: 14px; color: var(--muted);
}
.footer a:hover { color: var(--accent); }

.pricing-note a { color: var(--accent); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* dark mode: system preference */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1d1a;
    --surface: #2b2926;
    --ink: #f0ede8;
    --muted: #a8a29a;
    --line: #3a3835;
    --accent: #d97a55;
    --accent-soft: rgba(217, 122, 85, 0.16);
  }
  .nav { background: rgba(31, 29, 26, 0.88); }
  .card, .dl-card, .step { background: var(--surface); }
  .section.alt { background: #262421; }
}
