:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #2b2522;
  --muted: #6f655e;
  --accent: #c03a2b;       /* vermilion */
  --accent-dark: #9c2e22;
  --gold: #b8860b;
  --border: #e7ddd3;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }

.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(56px, 10vw, 110px) 0 clamp(40px, 7vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(192, 58, 43, 0.06), transparent 60%);
}

.hero-logo {
  width: clamp(104px, 18vw, 140px);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 24px rgba(192, 58, 43, 0.18));
}

.hero .hanzi {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--accent);
  letter-spacing: 0.35em;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 30px;
}

.badge-soon {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 1rem;
}

/* ── Sections ───────────────────────────────────────────────────────── */
section { padding: clamp(36px, 6vw, 64px) 0; }

section h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  text-align: center;
  margin: 0 0 8px;
}

section .section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ── Feature grid ───────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card .glyph {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ── How it works ───────────────────────────────────────────────────── */
.steps { counter-reset: step; max-width: 720px; margin: 0 auto; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 14px 0;
}
.step .num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }

/* ── Inner pages ────────────────────────────────────────────────────── */
.page { padding: clamp(36px, 6vw, 56px) 0 64px; }
.page h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 6px; }
.page h2 { font-size: 1.3rem; margin-top: 36px; }
.page .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.page ul li { margin: 6px 0; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.faq details[open] summary { color: var(--accent); }
.faq details p { color: var(--muted); margin: 12px 0 4px; }

/* ── Contact form ───────────────────────────────────────────────────── */
.contact { max-width: 560px; }
.contact label {
  display: block;
  font-weight: 600;
  margin: 18px 0 6px;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font: inherit;
  color: var(--ink);
}
.contact input:focus,
.contact textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}
.contact textarea { min-height: 160px; resize: vertical; }

.row-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.btn {
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }

.form-status { font-size: 0.95rem; color: var(--muted); }
.form-status.ok { color: #2e7d32; }
.form-status.err { color: var(--accent-dark); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 44px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 0.92rem; }
}
