:root {
  color-scheme: light;
  --ink: #182536;
  --muted: #5f6c78;
  --blue: #5e8fbe;
  --blue-deep: #376b9c;
  --blue-soft: #eaf3fb;
  --paper: #fffefd;
  --canvas: #f5f8fb;
  --line: #dce5ed;
  --shadow: 0 18px 50px rgba(47, 79, 109, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
}

a {
  color: var(--blue-deep);
  text-underline-offset: 0.18em;
}

.site-header {
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 254, 253, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  letter-spacing: -0.04em;
}

.header-label,
.updated {
  color: var(--muted);
}

.language-nav {
  display: flex;
  gap: 10px;
}

.language-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  text-decoration: none;
  font-weight: 700;
}

.landing,
.policy-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.landing {
  min-height: calc(100vh - 154px);
  padding: 100px 0;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero > p:last-child {
  color: var(--muted);
  font-size: 1.16rem;
}

.app-grid {
  margin-top: 54px;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.app-card img,
.policy-hero img {
  border-radius: 24%;
  box-shadow: 0 10px 30px rgba(55, 107, 156, 0.16);
}

.app-copy {
  display: grid;
  gap: 3px;
}

.app-copy strong {
  font-size: 1.28rem;
}

.app-copy span {
  color: var(--muted);
}

.card-arrow {
  color: var(--blue-deep);
  font-size: 2rem;
}

.policy-shell {
  padding: 70px 0 100px;
}

.policy-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 38px;
}

.policy-hero h1 {
  margin-bottom: 4px;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.policy-card {
  margin-bottom: 34px;
  padding: clamp(24px, 6vw, 64px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  scroll-margin-top: 24px;
}

.policy-card h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.4;
}

.policy-card p,
.policy-card li {
  color: #344352;
}

.policy-card ul {
  padding-left: 1.35em;
}

.summary {
  padding: 20px 22px;
  background: var(--blue-soft);
  border-left: 5px solid var(--blue);
  border-radius: 6px 18px 18px 6px;
}

.summary p {
  margin: 4px 0 0;
}

footer {
  min-height: 78px;
  padding: 20px max(24px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 620px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-label {
    display: none;
  }

  .language-nav {
    width: 100%;
  }

  .language-nav a {
    flex: 1;
    text-align: center;
  }

  .landing {
    padding: 64px 0;
  }

  .app-card {
    grid-template-columns: auto 1fr;
  }

  .card-arrow {
    display: none;
  }

  .app-card img {
    width: 82px;
    height: 82px;
  }

  .policy-hero {
    align-items: flex-start;
  }

  .policy-hero img {
    width: 82px;
    height: 82px;
  }
}

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