:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5c6962;
  --line: rgba(34, 47, 42, 0.14);
  --paper: #f7f8f3;
  --panel: rgba(255, 255, 249, 0.88);
  --green: #476f5b;
  --rust: #8a5a37;
  --stone: #dfe6df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #f9fbf5;
  background: linear-gradient(180deg, rgba(15, 22, 20, 0.54), rgba(15, 22, 20, 0));
}

.brand {
  font-size: 19px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  color: rgba(249, 251, 245, 0.82);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 92px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/hero-generated.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 24, 21, 0.82) 0%, rgba(14, 24, 21, 0.62) 44%, rgba(14, 24, 21, 0.16) 100%),
    linear-gradient(0deg, rgba(14, 24, 21, 0.28), rgba(14, 24, 21, 0.04));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: #fbfdf8;
}

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

.hero .eyebrow {
  color: #c8dccf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 10vw, 96px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(251, 253, 248, 0.88);
  font-size: clamp(17px, 2.2vw, 21px);
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.primary-link {
  background: #f8fbf3;
  color: #18211d;
}

.secondary-link {
  border: 1px solid rgba(248, 251, 243, 0.42);
  color: #f8fbf3;
}

.section {
  padding: 76px clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.content-card,
.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(42, 53, 45, 0.08);
}

.content-card {
  min-height: 210px;
  padding: 24px;
}

.card-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 700;
}

h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.28;
}

.content-card p,
.about-section p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  background: var(--stone);
}

.status-panel {
  padding: 10px 24px;
}

dl {
  margin: 0;
}

.status-panel div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.status-panel div:last-child {
  border-bottom: 0;
}

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

dd {
  margin: 0;
  font-weight: 700;
}

.about-section {
  max-width: 980px;
}

.about-section p {
  margin-top: 18px;
  font-size: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: #304d40;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    padding-top: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding-top: 100px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 24, 21, 0.84), rgba(14, 24, 21, 0.42)),
      linear-gradient(0deg, rgba(14, 24, 21, 0.34), rgba(14, 24, 21, 0.1));
  }

  .content-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .status-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
