:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --bg-strong: #eef2f5;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(18, 33, 56, 0.1);
  --text: #162030;
  --muted: #5f6977;
  --soft: #758194;
  --accent: #2d5f88;
  --accent-soft: #8fd5d0;
  --accent-warm: #f4d898;
  --shadow: 0 28px 70px rgba(18, 33, 56, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(143, 213, 208, 0.28), transparent 32%),
    radial-gradient(circle at top right, rgba(244, 216, 152, 0.28), transparent 28%),
    linear-gradient(180deg, #f7f7f4 0%, #edf1f4 48%, #f6f7f8 100%);
  color: var(--text);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    radial-gradient(rgba(18, 33, 56, 0.025) 0.7px, transparent 0.7px);
  background-size: auto, 18px 18px;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 72px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(31, 57, 84, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand-copy span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 14px;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a.active {
  transform: translateY(-1px);
  border-color: rgba(45, 95, 136, 0.24);
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

.hero-card,
.section-card,
.feature-card,
.preview-card,
.link-card,
.notice-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: stretch;
}

.hero-title {
  margin: 18px 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.04;
  color: rgba(22, 32, 48, 0.86);
}

.dual {
  display: grid;
  gap: 10px;
}

.dual p {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}

.dual p.zh {
  color: #445065;
}

.chip-row,
.action-row,
.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 56, 80, 0.08);
  color: #40516a;
  font-size: 14px;
}

.action-row {
  margin-top: 24px;
}

.button-link,
.button-link.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-link {
  background: linear-gradient(135deg, #203753 0%, #3a7194 100%);
  color: #f7fafc;
  box-shadow: 0 16px 34px rgba(37, 74, 107, 0.22);
}

.button-link.secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
}

.button-link:hover,
.button-link.secondary:hover {
  transform: translateY(-1px);
}

.preview-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: stretch;
}

.preview-card {
  border-radius: 28px;
  padding: 14px;
}

.preview-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(18, 33, 56, 0.08);
}

.preview-card.featured {
  grid-column: span 2;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--soft);
  font-size: 13px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-card,
.link-card,
.notice-card {
  border-radius: 24px;
  padding: 24px;
}

.feature-card h3,
.link-card h3,
.section-card h2,
.notice-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.feature-card p,
.link-card p,
.notice-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.page-stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.section-card {
  border-radius: 28px;
  padding: 28px;
}

.section-card p,
.section-card li {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head span {
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  gap: 16px;
}

.section-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card {
  border-radius: 22px;
  padding: 20px;
  background: var(--surface-strong);
  border: 1px solid rgba(18, 33, 56, 0.08);
}

.mini-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.mini-card .dual {
  gap: 8px;
}

.meta-line {
  margin-top: 12px;
  color: var(--soft);
  font-size: 14px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding: 20px 6px 0;
  color: var(--soft);
  font-size: 14px;
}

.footer a {
  color: var(--accent);
}

.list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.policy-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 56, 80, 0.08);
  color: #40516a;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-grid.two,
  .section-grid.three {
    grid-template-columns: 1fr;
  }

  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-card,
  .section-card,
  .feature-card,
  .link-card,
  .notice-card {
    padding: 22px;
  }

  .preview-stack {
    grid-template-columns: 1fr;
  }

  .preview-card.featured {
    grid-column: span 1;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 24px;
  }
}
