:root {
  --paper: #F2EDE4;
  --ink: #111111;
  --red: #D63B2F;
  --blue: #0047AB;
  --yellow: #F2B705;
  --muted: #6B6257;
  --line: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* language switch */
html[data-lang="zh"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-zh { display: none !important; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: var(--line) solid var(--ink);
}
.site-head .wrap {
  height: 78px;
  display: flex; align-items: center; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 5px; font-size: 19px; }
.logo .mark {
  width: 30px; height: 30px; background: var(--ink); position: relative; flex: none;
}
.logo .mark::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--red);
}
.logo .cn { font-size: 13px; letter-spacing: 4px; padding-left: 10px; border-left: 2px solid var(--ink); font-weight: 700; }
nav.main { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 700; letter-spacing: 1px; }
nav.main a { border-bottom: 2px solid transparent; padding-bottom: 2px; }
nav.main a:hover { border-color: var(--red); }
.lang-btn {
  font: inherit; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  background: transparent; color: var(--ink); border: 2px solid var(--ink);
  padding: 6px 12px; cursor: pointer;
}
.lang-btn:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: 84px 0 70px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; align-items: center; }
.hero .wrap > *, .doc > * { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 12px; background: var(--yellow); }
h1 {
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 900;
  margin-bottom: 26px;
}
h1 .accent { color: var(--red); }
.lede { font-size: 18px; color: var(--muted); max-width: 33em; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-width: 240px;
  padding: 16px 22px;
  border: var(--line) solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-weight: 800; letter-spacing: 1px; font-size: 16px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn::after { content: "→"; font-size: 20px; font-weight: 900; }
.btn:hover { background: var(--red); border-color: var(--red); transform: translate(-2px, -2px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-note { font-size: 12px; color: var(--muted); letter-spacing: .5px; margin-top: 14px; }

.hero-visual { position: relative; }
.hero-visual .frame { border: var(--line) solid var(--ink); background: var(--ink); }
.hero-visual img { width: 100%; }
.hero-visual .block-a { position: absolute; width: 130px; height: 130px; background: var(--blue); left: -46px; top: -38px; z-index: -1; }
.hero-visual .block-b { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: var(--red); right: -40px; bottom: 60px; z-index: -1; }

/* sections */
section.band { border-top: var(--line) solid var(--ink); padding: 64px 0 72px; }
.band-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 38px; flex-wrap: wrap; }
.band-head .num { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--red); }
.band-head h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -1px; font-weight: 900; line-height: 1.1; }
.band-head p { color: var(--muted); font-size: 15px; margin-left: auto; max-width: 34em; }

/* shots */
.shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.shots figure { border: var(--line) solid var(--ink); background: var(--ink); }
.shots img { width: 100%; }

/* mode list */
.modes { border-top: 2px solid var(--ink); }
.mode {
  display: grid; grid-template-columns: 64px 1.1fr 1.4fr auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 2px solid var(--ink);
}
.mode .idx { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--muted); }
.mode .name { font-size: 21px; font-weight: 900; letter-spacing: .5px; }
.mode .desc { font-size: 14px; color: var(--muted); }
.mode .tag { font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 5px 10px; border: 2px solid var(--ink); white-space: nowrap; }
.mode:nth-child(2n) .tag { background: var(--yellow); }
.mode:nth-child(3n) .tag { background: var(--red); color: var(--paper); border-color: var(--red); }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 2px solid var(--ink); padding: 24px 22px 26px; background: transparent; }
.card h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; letter-spacing: .5px; }
.card p { font-size: 14px; color: var(--muted); }
.card .swatches { display: flex; gap: 6px; margin-top: 16px; }
.card .swatches i { width: 26px; height: 26px; border: 2px solid var(--ink); display: block; }
.card .keyline { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }

/* themes strip */
.theme-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 28px; }
.theme { border: 2px solid var(--ink); }
.theme .chip { height: 92px; }
.theme .label { font-size: 12px; font-weight: 800; letter-spacing: 2px; padding: 8px 10px; border-top: 2px solid var(--ink); }

/* callout */
.privacy-strip { background: var(--ink); color: var(--paper); padding: 56px 0; }
.privacy-strip .wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.privacy-strip h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -0.5px; }
.privacy-strip p { color: #C9C1B4; max-width: 46em; font-size: 15px; }
.privacy-strip .dot { width: 90px; height: 90px; border-radius: 50%; background: var(--red); flex: none; margin-left: auto; }

/* footer */
footer { background: var(--ink); color: var(--paper); padding: 34px 0 44px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; color: #B9B0A3; }
footer a { color: var(--paper); border-bottom: 1px solid rgba(242,237,228,.4); }
footer .right { margin-left: auto; display: flex; gap: 22px; }

/* legal / guide pages */
.page-head { padding: 66px 0 42px; border-bottom: var(--line) solid var(--ink); }
.page-head .crumb { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--red); margin-bottom: 18px; }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 16px; }
.page-head .meta { font-size: 13px; color: var(--muted); letter-spacing: .5px; }

.doc { padding: 52px 0 80px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 104px; font-size: 13px; border-top: 2px solid var(--ink); }
.toc a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(17,17,17,.18); font-weight: 700; }
.toc a:hover { color: var(--red); }
.article { max-width: 780px; }
.article h2 { font-size: 25px; font-weight: 900; margin: 40px 0 12px; letter-spacing: -.3px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 17px; font-weight: 900; margin: 24px 0 8px; }
.article p, .article li { font-size: 15.5px; color: #2B2722; }
.article p { margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 14px 20px; }
.article li { margin-bottom: 6px; }
.article strong { font-weight: 800; }
.article .note { border-left: 6px solid var(--red); padding: 12px 16px; background: rgba(214,59,47,.07); margin: 18px 0; font-size: 14.5px; }
.article .rule { height: 2px; background: var(--ink); margin: 34px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(17,17,17,.22); vertical-align: top; }
.article th { font-weight: 900; border-bottom: 2px solid var(--ink); letter-spacing: .5px; }
.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; background: rgba(17,17,17,.07); padding: 1px 6px;
}

@media (max-width: 900px) {
  nav.main { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots figure:nth-child(n+4) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .mode { grid-template-columns: 40px 1fr; }
  .mode .desc, .mode .tag { grid-column: 2; }
  .theme-row { grid-template-columns: repeat(3, 1fr); }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: none; }
  .toc a { border-bottom: none; padding: 0; }
  .privacy-strip .dot { display: none; }
}
