:root {
  color-scheme: light dark;
  --bg: #f7f3ec;
  --surface: #fffaf2;
  --ink: #1f2328;
  --muted: #667085;
  --line: #d8d0c3;
  --accent: #276c64;
  --accent-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
}

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

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.language-switch button {
  appearance: none;
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.lang-zh {
  display: none;
}

html[data-lang="zh-CN"] .lang-en {
  display: none;
}

html[data-lang="zh-CN"] .lang-zh {
  display: revert;
}

.hero {
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 760px;
}

h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 42px 0 12px;
}

h3 {
  font-size: 18px;
  margin: 28px 0 8px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 720px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--line);
}

.content {
  padding: 40px 0 64px;
}

.panel {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --surface: #20201d;
    --ink: #f5f2eb;
    --muted: #aaa69d;
    --line: #3a3730;
    --accent: #71d1bd;
    --accent-ink: #10211d;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding-top: 52px;
  }

  .lead {
    font-size: 18px;
  }
}
