:root {
  color-scheme: dark;
  --bg: #111511;
  --surface: #171d18;
  --surface-strong: #1d251f;
  --line: #34413a;
  --line-soft: rgba(180, 203, 188, 0.2);
  --text: #f4efe4;
  --muted: #b9c4ba;
  --quiet: #87958c;
  --accent: #78d7b9;
  --accent-strong: #a6e7cf;
  --warm: #f0ad72;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", sans-serif;
  background:
    linear-gradient(180deg, rgba(120, 215, 185, 0.08), transparent 360px),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.2em;
}

.site-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 0 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--bg), 0 0 0 1px rgba(120, 215, 185, 0.2);
}

.nav-links,
.language-switcher,
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links {
  justify-content: center;
}

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

.nav-links a:hover {
  color: var(--text);
}

.language-switcher {
  justify-content: flex-end;
}

.language-switcher button,
.button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.04);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.language-switcher button {
  padding: 7px 10px;
  color: var(--muted);
  font-size: 13px;
}

.language-switcher button[aria-pressed="true"] {
  border-color: rgba(120, 215, 185, 0.65);
  color: var(--accent-strong);
  background: rgba(120, 215, 185, 0.11);
}

.hero {
  max-width: 820px;
  padding: 42px 0 34px;
}

.eyebrow,
.panel-kicker,
.date,
.status-note {
  color: var(--quiet);
  font-size: 14px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 9vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: rgba(120, 215, 185, 0.8);
  background: var(--accent);
  color: #0f1713;
}

.button.secondary {
  color: var(--accent-strong);
}

.status-note {
  margin-top: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.panel,
.banner {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--surface);
  box-shadow: 0 16px 36px var(--shadow);
}

.panel {
  padding: 22px;
}

.panel p:last-child,
.banner p:last-child,
.content-page section:last-child {
  margin-bottom: 0;
}

.banner {
  margin-top: 18px;
  padding: 18px 20px;
  color: var(--muted);
  background-color: var(--surface-strong);
}

.content-page {
  max-width: 860px;
}

.content-page h1 {
  font-size: clamp(36px, 7vw, 58px);
}

.content-page .panel {
  margin: 18px 0;
}

.clean-list {
  margin: 0;
  padding-left: 1.1em;
}

.clean-list li + li {
  margin-top: 8px;
}

.site-footer {
  margin-top: 52px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 28px, 1080px);
    padding-top: 18px;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 28px;
  }

  .nav-links,
  .language-switcher {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 26px;
  }

  .lead {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
