:root {
  color-scheme: light;
  --background: #f4efe7;
  --background-end: #fbf9f5;
  --foreground: #1f1b16;
  --muted: #645d55;
  --line: rgba(54, 44, 33, 0.12);
  --accent: #275967;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-editorial: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--foreground);
  background: linear-gradient(180deg, var(--background), var(--background-end));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.editorial {
  --background: #f5f6f2;
  --background-end: #f5f6f2;
  --foreground: #193b36;
  --muted: #536862;
  --line: rgba(25, 59, 54, 0.12);
  --accent: #00796e;
  background: var(--background);
}
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { color: #fff; background: var(--accent); }
.editorial a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 24px; padding: 12px; background: var(--background-end); z-index: 1; }
.skip-link:focus { top: 12px; }
.page {
  width: min(100% - 64px, 1260px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { font-size: 22px; font-weight: 600; letter-spacing: -0.035em; text-decoration: none; }
.languages { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.languages a { display: inline-flex; min-height: 44px; min-width: 36px; align-items: center; justify-content: center; text-decoration: none; }
.languages a[aria-current] { color: var(--foreground); }
.languages .divider { color: var(--muted); }
.hero { display: grid; flex: 1; place-items: center; padding: 64px 0; }
.editorial .page { width: min(86%, 1260px); padding-block: 40px; }
.home .page { min-height: max(620px, 100svh); }
.editorial .header { min-height: 44px; border: 0; }
.editorial .brand { font-size: 22px; line-height: 1; letter-spacing: -0.055em; }
.editorial .languages { font-size: 12px; }
.editorial .languages a[aria-current] { color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.home .hero { display: flex; align-items: center; padding: 64px 0 80px; }
.headline {
  margin: 0;
  width: 100%;
  text-align: center;
  color: var(--accent);
  font-family: var(--font-editorial);
  font-weight: 400;
}
.headline-primary { display: block; font-size: clamp(54px, 8.4vw, 88px); line-height: 1.04; letter-spacing: -0.055em; }
.headline-primary em { font-weight: inherit; }
.headline-caption { display: block; margin-top: 34px; color: var(--muted); font-family: var(--font-body); font-size: 17px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.headline-caption-before { margin: 0 0 24px; }
html[lang="zh-Hans"] .headline-primary { font-family: var(--font-body); font-size: clamp(30px, 5.8vw, 62px); line-height: 1.18; letter-spacing: -0.06em; font-weight: 500; }
.footer { min-height: 104px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact { gap: 8px; margin-right: auto; }
.editorial .footer { min-height: 44px; justify-content: flex-end; border: 0; font-size: 12px; line-height: 1.5; }
.editorial .footer a { text-decoration: none; }
.editorial .footer a:hover { text-decoration: underline; }
.policy { width: min(100%, 640px); margin-inline: auto; padding: 80px 0 104px; flex: 1; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
.policy .back { font-size: 12px; line-height: 1.5; text-decoration: none; }
.policy h1 { margin: 32px 0 16px; color: var(--accent); font-family: var(--font-editorial); font-size: clamp(42px, 5.5vw, 64px); line-height: 1.08; font-weight: 400; letter-spacing: -0.055em; }
html[lang="zh-Hans"] .policy h1 { font-family: var(--font-body); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.2; font-weight: 500; letter-spacing: -0.04em; }
.policy .updated { margin: 0 0 56px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.policy section + section { margin-top: 40px; }
.policy h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -0.02em; }
.policy p { margin: 0 0 16px; font-size: 16px; line-height: 1.85; color: var(--muted); overflow-wrap: anywhere; }
.policy a { color: var(--accent); }
.not-found h1 { font-size: clamp(36px, 6vw, 64px); }

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .header { min-height: 80px; }
  .brand { font-size: 20px; }
  .hero { padding: 48px 0; }
  .footer { min-height: 88px; }
}

@media (max-width: 520px) {
  .editorial .page { width: calc(100% - 48px); padding-block: 24px; }
  .home .page { min-height: max(590px, 100svh); }
  .editorial .header { gap: 12px; }
  .editorial .brand { font-size: 20px; }
  .home .hero { padding: 70px 0 92px; }
  .headline-primary { font-size: clamp(45px, 12vw, 62px); }
  .headline-caption { font-size: 15px; }
  html[lang="zh-Hans"] .headline-primary { font-size: clamp(30px, 8vw, 41px); line-height: 1.24; }
  .policy { padding: 56px 0 72px; }
  .policy h1 { margin-top: 24px; font-size: 38px; }
  html[lang="zh-Hans"] .policy h1 { font-size: 32px; }
  .policy .updated { margin-bottom: 40px; }
  .policy section + section { margin-top: 32px; }
}
