:root {
  --bg: #f7f5f0;
  --ink: #16181d;
  --muted: #5d6169;
  --line: #e3dfd6;
  --card: #ffffff;
  --accent: #5b3d8f;
  --accent-ink: #ffffff;
  --wrap: 960px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121317;
    --ink: #ecebe7;
    --muted: #9da1a9;
    --line: #2a2c33;
    --card: #1a1c21;
    --accent: #b49be0;
    --accent-ink: #121317;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Language: only the active language is shown. Without JS the page stays English. */
html[data-lang="en"] [lang="zh-CN"],
html[data-lang="zh"] [lang="en"] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; }
.mark rect { fill: var(--ink); }
.mark path { stroke: var(--bg); stroke-width: 3.2; stroke-linecap: round; fill: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.lang-switch {
  font: inherit; font-size: 14px; color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.lang-switch:hover { border-color: var(--muted); }

.hero { padding-top: 72px; padding-bottom: 88px; }
.hero h1 { margin: 0; font-size: clamp(36px, 6.4vw, 64px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
html[data-lang="zh"] .hero h1 { letter-spacing: 0; }
.lede { margin: 28px 0 0; max-width: 34em; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); }

.label { margin: 0 0 20px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.products { padding-bottom: 72px; }
.product {
  display: flex; align-items: center; gap: 36px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
}
.icon { width: 132px; height: 132px; border-radius: 30px; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08); }
.body h3 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.body p { margin: 8px 0 0; color: var(--muted); font-size: 17px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { opacity: .88; }

.contact { padding-bottom: 96px; }
.contact p { margin: 0; font-size: 18px; }
.contact a { font-weight: 600; text-underline-offset: 3px; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top { padding-top: 18px; padding-bottom: 18px; }
  .nav { gap: 14px; }
  .nav a { display: none; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .product { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .icon { width: 96px; height: 96px; border-radius: 22px; }
  .actions .btn { flex: 1 1 100%; }
}
