:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #626262;
  --paper: #ffffff;
  --canvas: #f5f5f2;
  --line: #c9c9c3;
  --soft-line: #e4e4df;
  --signal: #9d3027;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, .18);
  background: rgba(245, 245, 242, .92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand img { width: 38px; height: 38px; border-radius: 9px; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a,
.language-button {
  min-height: 44px;
  padding: 10px 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .94rem;
  text-decoration: none;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.language-button:hover,
.language-button:focus-visible {
  color: var(--ink);
  background: var(--paper);
  outline: 1px solid var(--line);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 84px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(42px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--signal);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, .quote {
  font-family: ui-serif, Georgia, "Times New Roman", "Noto Serif TC", serif;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.5rem, 8.6vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .94;
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: #343434;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary { background: transparent; color: var(--ink); }
.button:hover { transform: translateY(-1px); }

.dossier {
  position: relative;
  padding: 30px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 16px 16px 0 #deded8;
}

.dossier::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 16px;
  top: -17px;
  left: -1px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: var(--paper);
}

.dossier-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .1em;
}

.quote { margin: 34px 0; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.45; }
.dossier-meta { display: grid; gap: 10px; font-size: .92rem; }
.meta-row { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--soft-line); padding-top: 10px; }
.meta-row span:first-child { color: var(--muted); }

.section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; margin-bottom: 56px; }
.section-heading h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.045em; }
.section-heading p { margin: 0; max-width: 650px; color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature { min-height: 250px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.feature-number { color: var(--signal); font: 700 .78rem ui-monospace, SFMono-Regular, monospace; }
.feature h3 { margin: 54px 0 12px; font-size: 1.5rem; line-height: 1.2; }
.feature p { margin: 0; color: var(--muted); }

.privacy-band { background: var(--ink); color: white; }
.privacy-band .section-heading p { color: #c8c8c8; }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy-point { padding: 24px; border: 1px solid #494949; }
.privacy-point strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.privacy-point span { color: #c8c8c8; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.screen-card { margin: 0; }
.screen-card img { border-radius: 28px; box-shadow: 0 26px 60px rgba(23, 23, 23, .14); }
.screen-card figcaption { margin-top: 15px; color: var(--muted); font-size: .92rem; }

.cta { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 56px; border: 1px solid var(--ink); background: var(--paper); }
.cta h2 { margin: 0; max-width: 720px; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.05em; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

.document-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 74px 0 110px; }
.document-header { margin-bottom: 54px; padding-bottom: 34px; border-bottom: 1px solid var(--ink); }
.document-header h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.document-header p { color: var(--muted); }
.document-main h2 { margin: 48px 0 12px; font-size: 1.65rem; line-height: 1.25; }
.document-main h3 { margin: 32px 0 8px; font-size: 1.16rem; }
.document-main p, .document-main li { color: #343434; }
.document-main a { text-underline-offset: 3px; }
.notice { margin: 32px 0; padding: 20px; border-left: 4px solid var(--signal); background: var(--paper); }
.faq { border-top: 1px solid var(--ink); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-bottom: 0; }

[data-lang] { display: none !important; }
html[lang="zh-Hant"] [data-lang="zh"],
html[lang="en"] [data-lang="en"] { display: revert !important; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .dossier { margin: 16px 8px 0 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid, .privacy-points { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature h3 { margin-top: 28px; }
  .screens { gap: 12px; }
  .cta { align-items: start; flex-direction: column; padding: 34px; }
}

@media (max-width: 620px) {
  .nav { width: min(100% - 28px, var(--max)); }
  .brand span { display: none; }
  .nav-links a { display: none; }
  .hero, .section-inner { width: min(100% - 32px, var(--max)); }
  .hero { padding: 58px 0 68px; }
  h1 { font-size: clamp(3.25rem, 19vw, 5.6rem); }
  .section { padding: 78px 0; }
  .screens { grid-template-columns: 1fr; gap: 34px; }
  .screen-card:nth-child(n+3) { display: none; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
