:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #56525a;
  --brand: #c91828;
  --brand-dark: #9b1020;
  --surface: #f7f5f3;
  --card: #fff;
  --line: #ded8d5;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); line-height: 1.65; }
[data-lang][hidden] { display: none !important; }
html[lang="en"] [data-lang="zh"],
html[lang^="zh"] [data-lang="en"] { display: none; }
a { color: var(--brand-dark); text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 4px; }

.site-header,
footer,
main { width: min(1136px, calc(100% - 56px)); margin-inline: auto; }

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-header nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
.site-header nav a:hover { color: var(--brand-dark); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.14rem; font-weight: 850; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.language-switch { flex-shrink: 0; display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.language-switch button { border: 0; border-radius: 999px; padding: 6px 11px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-size: .86rem; font-weight: 750; }
.language-switch button[aria-pressed="true"] { color: #fff; background: var(--brand); }

.hero {
  display: grid;
  grid-template-columns: 1.13fr .87fr;
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(46px, 8vw, 112px) 0;
}
.hero h1,
.policy h1 { margin: 0 0 24px; font-size: clamp(2.55rem, 5.8vw, 5.1rem); font-weight: 850; line-height: 1.02; letter-spacing: -.055em; }
.hero h1:lang(zh-Hans),
.policy h1:lang(zh-Hans) { letter-spacing: -.035em; line-height: 1.1; }
.lede { max-width: 52ch; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.34rem); }
.button { display: inline-block; margin-top: 28px; padding: 12px 20px; border-radius: 8px; color: #fff; background: var(--brand); font-weight: 750; text-decoration: none; }
.button:hover { background: var(--brand-dark); }
.hero-visual {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 14px;
  margin: 0;
  padding: 24px 20px 19px;
  border-radius: 20px;
  color: #f0e8e8;
  background: radial-gradient(ellipse at 60% 40%, #483036 0%, #252126 53%, #17191d 100%);
}
.hero-visual img { width: clamp(156px, 52%, 212px); border: 1px solid #fff3; border-radius: 16px; box-shadow: 0 16px 32px #0007; }
.hero-visual figcaption { font-size: .85rem; }

.section { padding: 56px 0 62px; border-top: 1px solid var(--line); }
.section h2, .coverage h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 3.5vw, 2.9rem); line-height: 1.15; letter-spacing: -.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid article { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.feature-grid h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.35; }
.feature-grid p, .coverage p { margin: 0; color: var(--muted); }
.coverage { max-width: 75ch; padding: 6px 0 72px; }
.coverage h2 { margin-bottom: 12px; }
.coverage p + p { margin-top: 20px; }
.notice { padding: 13px 16px; border-inline-start: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--ink); background: #f4e8e6; }

.policy { max-width: 790px; padding: 60px 0 80px; }
.policy h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.policy h2 { margin: 32px 0 8px; font-size: 1.3rem; line-height: 1.35; }
.policy p { margin: 0 0 12px; color: var(--muted); }
.policy .effective-date { font-size: .96rem; font-weight: 650; }
.policy a, .support-contact a { overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.support-contact { display: flex; flex-wrap: wrap; column-gap: 8px; }

@media (max-width: 760px) {
  .site-header, footer, main { width: min(100% - 32px, 1136px); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 500px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  footer { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .site-header, footer { gap: 12px; }
  .site-header nav { gap: 10px; font-size: .92rem; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .brand { gap: 7px; font-size: 1.03rem; }
  .language-switch button { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
