:root {
  --bg: #0f1f21;
  --panel: #142629;
  --panel-2: #1b3134;
  --line: #2a4448;
  --text: #ecebe0;
  --muted: #a9b5ad;
  --gold: #f2c46b;
  --gold-deep: #d89a3a;
  --ember: #e0702f;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd98f; }

img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 31, 33, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

/* Hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("img/hero.1c99451a3e79.webp") center right / cover no-repeat; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,31,33,.96) 0%, rgba(15,31,33,.78) 38%, rgba(15,31,33,.1) 70%),
              linear-gradient(0deg, var(--bg) 0%, rgba(15,31,33,0) 35%);
}
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 72px; width: 100%; }
.hero-copy { max-width: 520px; }
.eyebrow { color: var(--gold); font-size: 14px; letter-spacing: .18em; margin: 0 0 8px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.1; margin: 0 0 16px; letter-spacing: .06em; }
.hero p.lead { font-size: 18px; color: #d6dbd2; margin: 0 0 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 10px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #2a1a06; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(216,154,58,.25);
}
.btn:hover { color: #2a1a06; filter: brightness(1.06); }
.btn-note { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: .04em; }
.section-lead { color: var(--muted); margin: 0 0 36px; max-width: 640px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--gold); }
.card p { margin: 0; color: #cfd6cd; font-size: 15px; }

.shot { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }

.chapters { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.chapter { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chapter img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.chapter div { padding: 14px 18px 18px; }
.chapter h3 { margin: 0 0 4px; font-size: 17px; }
.chapter p { margin: 0; color: var(--muted); font-size: 14px; }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.promise li { list-style: none; background: var(--panel-2); border-radius: 10px; padding: 14px 16px; }
.promise { padding: 0; margin: 0; }
.promise strong { display: block; color: var(--gold); }

/* Document pages (privacy, support) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: .04em; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 40px 0 8px; color: var(--gold); }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #d6dbd2; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.summary { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 20px; margin: 0 0 8px; }
.summary p { margin: 0; }
.lang-switch { display: inline-flex; gap: 8px; margin: 0 0 28px; font-size: 14px; }
.lang-switch a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--gold); border-color: var(--gold); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 64px 0 48px; }
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dd { margin: 4px 0 0; color: #d6dbd2; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 14px; }
  .brand span { display: none; }
  .hero { min-height: 520px; }
  .hero-bg { background-position: 70% center; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(15,31,33,.82) 55%, rgba(15,31,33,.3) 100%); }
  section { padding: 56px 0; }
}
