:root {
  --bg: #f6f6f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #2f7bf6;
  --brand: #f4842f;
  --brand-gradient: linear-gradient(135deg, #ffb34d 0%, #ee5c5c 100%);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --text: #f2f2f4;
    --muted: #a1a1a8;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #5a9bff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }

.top, .bottom, main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.top nav, .bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a, .bottom nav a { color: var(--muted); font-size: 0.95rem; }
.top nav a:hover, .bottom nav a:hover { color: var(--text); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }

.hero { text-align: center; padding: 56px 0 24px; }
.eyebrow { color: var(--brand); font-weight: 650; letter-spacing: 0.04em; margin-bottom: 0.6em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 760px; margin: 0 auto 1.6em; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}
.button:hover { text-decoration: none; filter: brightness(0.97); }
.button.primary { background: var(--text); color: var(--bg); border-color: transparent; }
.button.disabled { opacity: 0.6; cursor: default; }

.shot {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-shot { max-width: 1100px; margin: 0 auto; }

.feature {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center;
  padding: 96px 0 0;
}
.feature.flip .copy { order: 2; }
.feature .copy p { color: var(--muted); font-size: 1.08rem; }

.pro-badge {
  display: inline-block; vertical-align: middle;
  font-size: 0.75rem; font-weight: 750; letter-spacing: 0.04em;
  color: #fff; background: var(--brand-gradient);
  padding: 2px 10px; border-radius: 999px; margin-left: 6px;
}

.grid-section { padding: 120px 0 0; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.pricing { padding: 120px 0 0; text-align: center; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; text-align: left; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.pro { border: 2px solid var(--brand); position: relative; }
.plan.pro h3 { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.3rem; }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 1.4rem; font-weight: 700; }
.price .or { color: var(--muted); font-weight: 500; font-size: 1rem; margin: 0 0.5em; }
.plan ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.plan li { margin: 0.35em 0; }
.note { color: var(--muted); margin-top: 20px; }

.privacy-callout {
  margin: 120px 0 0; padding: 48px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
}
.privacy-callout p { color: var(--muted); max-width: 640px; margin: 0 auto 1em; }

.doc { max-width: 760px; padding-top: 32px; padding-bottom: 32px; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc .lead { margin: 0 0 1em; font-size: 1.05rem; }
.muted { color: var(--muted); }
.center { text-align: center; padding-top: 120px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 0.6em 0 0; }

.keys { border-collapse: collapse; width: 100%; }
.keys td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.keys td:first-child { width: 42%; padding-right: 16px; }
kbd {
  font: 600 0.85rem ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}

.bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 120px; padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}

@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; }
  .feature.flip .copy { order: 0; }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .top nav a:not(.lang) { display: none; }
  .privacy-callout { padding: 32px 20px; }
}
