:root {
  color-scheme: light;
  --ink: #172538;
  --muted: #5c6878;
  --paper: #f6f7fb;
  --line: rgba(23, 37, 56, .12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #157da8; outline-offset: 5px; }
[data-copy="en"] { display: none; }
html[data-locale="en"] [data-copy="zh"] { display: none; }
html[data-locale="en"] [data-copy="en"] { display: revert; }
.wrap, .site-header { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; }
.brand img { flex: none; border-radius: 8px; box-shadow: 0 2px 8px rgba(23,37,56,.08); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a, .footer-links a { padding-block: 12px; }
.nav a:hover, .footer-links a:hover { color: #157da8; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.language-switch button { min-width: 38px; min-height: 34px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 14px; }
.language-switch button[aria-pressed="true"] { color: var(--ink); background: white; box-shadow: 0 1px 5px rgba(23,37,56,.08); }
.home-main { min-height: calc(100svh - 204px); display: grid; align-items: center; }
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 52px 0 72px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: 14px; letter-spacing: .06em; }
h1 { margin: 0; font-size: clamp(40px, 4.3vw, 62px); font-weight: 700; line-height: 1.22; letter-spacing: -.045em; }
.lead { margin: 28px 0 0; font-size: 18px; line-height: 1.8; }
.hero-detail { max-width: 390px; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.availability { margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; min-width: 0; padding: 8px; }
.screen { display: block; width: 100%; height: auto; border: 1px solid rgba(23,37,56,.1); border-radius: 24px; box-shadow: 0 18px 38px -16px rgba(23,37,56,.24); }
.screen-snap { margin-top: 64px; }
.footer { min-height: 116px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer p { margin: 0; }
.footer-links { display: flex; gap: 24px; }

.page-main { min-height: calc(100svh - 204px); padding: 64px 0 80px; }
.page-content { max-width: 720px; }
.page-title { margin-bottom: 28px; font-size: 36px; letter-spacing: -.025em; }
.page-content p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.page-content a { color: #157da8; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.page-content .policy-date { margin-bottom: 28px; font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(40px, 7vw, 62px); }
  .hero-detail { margin-inline: auto; }
  .screenshots { width: min(560px, 100%); margin-inline: auto; }
}
@media (max-width: 560px) {
  .wrap, .site-header { width: calc(100% - 36px); }
  .site-header { min-height: 76px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .brand { font-size: 14px; }
  .nav { gap: 14px; margin-left: auto; }
  .hero { padding: 38px 0 48px; gap: 32px; }
  .lead { font-size: 16px; margin-top: 24px; }
  .hero-detail { max-width: 320px; }
  .screenshots { gap: 12px; padding: 0; }
  .screen { border-radius: 16px; }
  .screen-snap { margin-top: 40px; }
  .footer { gap: 12px 24px; }
  .page-main { padding: 48px 0 64px; }
  .page-title { font-size: 32px; }
}
