@font-face {
  font-family: Inter;
  src: url("/prototype/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #181a20;
  --surface: #202228;
  --text: #eaecef;
  --strong: #fff;
  --muted: #a5adba;
  --line: #353840;
  --control-line: #616674;
  --accent: #fcd535;
  --on-accent: #181a20;
  --focus: #fcd535;
  --status-positive: #38c99b;
  --status-warning: #f0bd63;
  --status-negative: #eb7286;
  --gutter: clamp(16px, 5vw, 60px);
  --section-space: clamp(48px, 7.5vw, 104px);
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff;
  --surface: #f5f5f5;
  --text: #1e2329;
  --strong: #1e2329;
  --muted: #667080;
  --line: #e3e5e9;
  --control-line: #7b8493;
  --focus: #8a6700;
  --status-positive: #007a5e;
  --status-warning: #8a6700;
  --status-negative: #c83e52;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--strong); }
p { line-height: 1.65; }
section[id], main[id] { scroll-margin-top: 84px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-width { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  inset: 12px auto auto var(--gutter);
  transform: translateY(-150%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 24px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--strong);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.075em;
}
.header-nav { display: flex; gap: clamp(12px, 2.8vw, 40px); margin-inline-start: auto; }
.header-nav a, .site-footer a:not(.wordmark) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 590;
}
.header-nav a:hover, .site-footer a:hover { color: var(--strong); }
.preferences { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.preferences select, .theme-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
}
.preferences select { max-width: 108px; padding: 0 6px; }
.theme-button { display: grid; min-width: 44px; place-items: center; }
.theme-button .icon { width: 18px; height: 18px; }
.theme-button:hover, .preferences select:hover { background: var(--surface); }
:root[data-theme="dark"] .icon-moon, :root[data-theme="light"] .icon-sun { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  transition: transform 150ms ease-out, border-color 150ms ease-out, background-color 150ms ease-out;
}
.button:active { transform: scale(.97); }
.button .icon { width: 18px; height: 18px; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
.button-outline, .header-download { border-color: var(--line); color: var(--strong); }
.button-outline:hover, .header-download:hover { border-color: var(--control-line); background: var(--surface); }
.header-download { min-height: 44px; padding-inline: 16px; white-space: nowrap; }
.header-download-wrap { position: relative; flex: none; }
.header-download[aria-expanded="true"] { border-color: var(--accent); }
.download-popover {
  position: absolute;
  inset: calc(100% + 14px) 0 auto auto;
  width: min(326px, calc(100vw - 32px));
  max-height: calc(100dvh - 94px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 16px 48px rgb(0 0 0 / .18);
  transform-origin: top right;
  animation: download-popover-in 160ms ease-out;
}
.download-popover-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.download-popover h2 { font-size: 19px; line-height: 1.35; font-weight: 720; letter-spacing: -.025em; }
.download-popover-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.download-popover-heading p span { margin-inline-start: 5px; font-size: 10px; font-weight: 650; letter-spacing: .035em; }
.download-popover-close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -10px -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.download-popover-close .icon { width: 18px; height: 18px; }
.download-popover-close:hover { color: var(--strong); background: var(--surface); }
.download-popover-intro { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.download-qr { width: 188px; height: 188px; margin: 20px auto 14px; padding: 12px; border-radius: 12px; background: #fff; }
.download-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.download-popover-meta { margin-top: 14px; color: var(--strong); font-size: 12px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.download-popover-status { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.download-popover-status:empty { display: none; }
.download-popover > .button { display: flex; width: 100%; margin-top: 18px; min-height: 44px; }
.download-popover-retry { display: block; min-height: 44px; margin: 4px auto -8px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; }
.download-popover-retry:hover { color: var(--strong); }
.download-popover-retry[aria-disabled="true"] { cursor: progress; color: var(--muted); }
@keyframes download-popover-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.button[aria-disabled="true"] { border-color: var(--line); background: var(--surface); color: var(--muted); cursor: default; }

.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(36px, 6.25vw, 90px);
  padding-block: clamp(74px, 9vw, 140px) clamp(70px, 9vw, 126px);
}
.hero h1 {
  font-size: clamp(45px, 6.3vw, 88px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.05em;
}
.hero h1 span { display: block; }
:lang(zh) .hero h1 { letter-spacing: -.03em; line-height: 1.12; }
:lang(en) .hero h1 { font-size: clamp(36px, 5.25vw, 74px); }
.hero-copy > p {
  max-width: 49ch;
  margin-top: clamp(18px, 2.4vw, 30px);
  color: var(--muted);
  font-size: clamp(16px, 1.55vw, 20px);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.1vw, 36px); }

.route-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.route-map::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: 46%;
  height: 36%;
  background-image: radial-gradient(circle, var(--control-line) .8px, transparent .9px);
  background-size: 12px 12px;
  mask-image: linear-gradient(224deg, #000, transparent 76%);
  opacity: .36;
  pointer-events: none;
  content: "";
}
.route-map figcaption { position: relative; z-index: 1; display: grid; gap: 10px; }
.route-code { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.route-code > span:first-child { width: 7px; height: 7px; border: 1px solid var(--focus); border-radius: 50%; background: var(--accent); }
.route-map figcaption strong { color: var(--strong); font-size: clamp(21px, 2.15vw, 29px); line-height: 1.24; letter-spacing: -.038em; text-wrap: balance; }
.route-steps { position: relative; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.route-steps::before {
  position: absolute;
  inset: 24px auto 24px 21px;
  width: 1px;
  background: var(--control-line);
  content: "";
}
.route-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 55px; }
.route-steps li > div { display: grid; gap: 3px; }
.route-steps strong { color: var(--strong); font-size: 15px; line-height: 1.25; }
.route-steps li > div > span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.route-steps .route-icon { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }

.section { padding-block: var(--section-space); border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(24px, 4vw, 48px); }
.section-heading h2 { max-width: 24ch; font-size: clamp(28px, 4.2vw, 56px); font-weight: 740; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
:lang(zh) .section-heading h2 { letter-spacing: -.025em; }
.section-heading p { max-width: 53ch; margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid article { min-width: 0; padding: clamp(20px, 3vw, 36px) clamp(16px, 4vw, 42px) clamp(22px, 3.3vw, 40px) 0; }
.audience-grid article + article { border-inline-start: 1px solid var(--line); padding-inline: clamp(16px, 4vw, 42px) 0; }
.audience-grid h3 { margin-bottom: 10px; font-size: clamp(21px, 2.8vw, 32px); letter-spacing: -.04em; }
.audience-grid p { max-width: 46ch; color: var(--muted); font-size: 16px; }
.trade-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.trade-note .icon { width: 18px; height: 18px; margin-top: 2px; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  list-style: none;
}
.resource-grid li { min-width: 0; min-height: 140px; padding: clamp(15px, 2.8vw, 28px); background: var(--bg); }
.resource-grid .icon { margin-bottom: 16px; color: var(--strong); }
.resource-grid h3 { font-size: clamp(15px, 1.55vw, 19px); line-height: 1.28; }
.resource-grid p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--strong);
  font-size: 15px;
  font-weight: 660;
}
.text-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 18px; height: 18px; }

.download { background: var(--surface); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
}
.platform-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.platform-title h3 { font-size: 22px; letter-spacing: -.04em; }
.platform-title .icon { width: 20px; height: 20px; }
.platform-title span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.platform p { flex: 1; margin-top: 10px; color: var(--muted); font-size: 15px; }
.platform .button { margin-top: 20px; }
.platform #download-status { flex: none; margin-top: 8px; font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; min-height: 82px; padding-block: 10px; }
.footer-inner p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; }

:root[data-site-reveal]::view-transition-group(root) { animation: none; }
:root[data-site-reveal]::view-transition-image-pair(root) { isolation: isolate; }
:root[data-site-reveal]::view-transition-old(root), :root[data-site-reveal]::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root[data-site-reveal]::view-transition-new(root) { z-index: 1; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding-block: 72px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  section[id], main[id] { scroll-margin-top: 70px; }
  .header-inner { min-height: 62px; }
  .header-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 54px; }
  .hero h1 { font-size: clamp(44px, 9.8vw, 70px); }
  :lang(en) .hero h1 { font-size: clamp(34px, 9.25vw, 58px); }
  .route-map { max-width: 560px; }
}
@media (max-width: 530px) {
  .header-download { padding-inline: 10px; }
  .audience-grid, .download-grid { grid-template-columns: minmax(0, 1fr); }
  .audience-grid article { padding: 18px 0 22px; }
  .audience-grid article + article { padding-inline: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .section-heading { margin-bottom: 22px; }
  .resource-grid .icon { margin-bottom: 12px; }
  .resource-grid li { min-height: 126px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
  .download-popover { animation: none; }
}

