:root {
  --bg: #f7faf9;
  --text: #12201c;
  --muted: #5f706a;
  --line: #dce8e4;
  --surface: #ffffff;
  --surface-strong: #eef7f3;
  --primary: #13795b;
  --primary-dark: #0d5f48;
  --accent: #d98f2b;
  --shadow: 0 20px 50px rgba(18, 32, 28, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 250, 249, 0.9);
  border-bottom: 1px solid rgba(220, 232, 228, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--primary);
  border-radius: 8px;
}

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

.nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--surface-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 9vw, 120px) clamp(20px, 6vw, 84px);
}

.hero-copy {
  max-width: 760px;
}

.hero h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary-dark);
  background: var(--surface);
  border-color: var(--line);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(19, 121, 91, 0.08), rgba(217, 143, 43, 0.1)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric span,
.paper-meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(19px, 2vw, 28px);
}

.section,
.page {
  padding: clamp(44px, 7vw, 86px) clamp(20px, 6vw, 84px);
}

.section {
  border-top: 1px solid var(--line);
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.section h2,
.paper-card h2,
.release-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
}

.section p,
.paper-card p,
.release-panel p {
  max-width: 740px;
  margin: 0;
  color: var(--muted);
}

.muted {
  background: var(--surface-strong);
}

.text-link {
  color: var(--primary-dark);
  font-weight: 760;
  text-decoration-color: rgba(19, 121, 91, 0.35);
  text-underline-offset: 4px;
}

.page {
  min-height: calc(100vh - 154px);
}

.page-title {
  margin-bottom: clamp(28px, 5vw, 56px);
}

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

.paper-card,
.release-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 32, 28, 0.06);
}

.release-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

code {
  padding: 2px 6px;
  background: rgba(19, 121, 91, 0.08);
  border-radius: 6px;
  font-size: 0.95em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 24px clamp(20px, 6vw, 84px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  font-size: 14px;
}

.footer-records a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
}

.footer-records a:hover {
  color: var(--primary-dark);
}

.police-record img {
  width: 1em;
  height: 1em;
  object-fit: contain;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .site-header,
  .split,
  .release-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .paper-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
