:root {
  color-scheme: light;
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-muted: #edf2ee;
  --text: #17201b;
  --muted: #5f6d66;
  --border: #dce4df;
  --accent: #14624f;
  --accent-strong: #0c4336;
  --accent-soft: #dceee8;
  --shadow: 0 18px 50px rgba(20, 52, 42, 0.08);
  --radius: 8px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 8px 12px;
  background: var(--text);
  color: #ffffff;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 246, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--text);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.language-link {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.language-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  min-height: calc(100dvh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(56px, 8vw, 88px);
}

.kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 36em;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

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

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.intro-band {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.intro-grid > div {
  padding: clamp(28px, 5vw, 48px);
  background: var(--surface);
}

.intro-grid > div:first-child {
  border-right: 1px solid var(--border);
}

.intro-grid h2,
.section-heading h2,
.about-grid h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.about-grid p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section-heading {
  margin-bottom: 28px;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.note-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.note-card h3 {
  margin: 22px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.note-card h3 a {
  text-decoration: none;
}

.note-card p {
  margin: 0;
  color: var(--muted);
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.note-meta span {
  color: var(--accent);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.site-facts {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-facts dl {
  margin: 0;
}

.site-facts div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.site-facts dt {
  color: var(--muted);
  font-size: 14px;
}

.site-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.site-footer {
  padding-block: 32px;
  background: var(--text);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.record-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.record-links a {
  color: #ffffff;
}

.article-main {
  padding-block: clamp(48px, 8vw, 88px);
}

.article {
  max-width: 780px;
}

.back-link {
  color: var(--accent);
  font-weight: 700;
}

.article-header {
  margin-top: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  margin: 12px 0 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-header p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-body {
  padding-top: 14px;
  font-size: 17px;
}

.article-body h2 {
  margin: 34px 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

.article-body p {
  margin: 12px 0;
  color: #28352f;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--accent-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (max-width: 860px) {
  .hero,
  .intro-grid,
  .note-list,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 11em;
  }

  .intro-grid > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .record-links {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .nav {
    min-height: 62px;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 9em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 10px;
    font-size: 14px;
  }

  .hero {
    padding-block: 40px 56px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 130px;
  }

  .note-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
