:root {
  color-scheme: light;
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-soft: #eaf1ed;
  --surface-accent: #dcebe3;
  --text: #17231d;
  --muted: #63736b;
  --soft: #405149;
  --line: #d9e2dd;
  --accent: #197a59;
  --accent-strong: #0f6045;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(35, 61, 49, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible {
  outline: 3px solid rgba(25, 122, 89, 0.3);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1160px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(246, 248, 246, 0.9);
  border-bottom: 1px solid rgba(217, 226, 221, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
nav,
.header-link {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  gap: 11px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--surface);
  background: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

nav {
  justify-content: center;
  gap: 26px;
}

nav a,
.header-link {
  color: var(--soft);
  font-size: 13px;
  font-weight: 680;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

nav a {
  padding: 10px 0;
}

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

.header-link {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface-soft);
}

.header-link:hover {
  background: var(--surface-accent);
}

.header-link:active,
.button:active {
  transform: translateY(1px) scale(0.98);
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 48px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 760;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  font-weight: 740;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 720;
}

.hero-subtitle,
.section-heading > p:last-child,
.stack-card p,
.article-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 30px;
  font-size: 17px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--soft);
  background: var(--surface);
}

.secondary:hover {
  border-color: #aec6b9;
  background: #fbfcfb;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 34px;
  padding: 48px 40px 36px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    var(--surface-soft);
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -116px;
  right: -88px;
  border: 46px solid rgba(25, 122, 89, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.profile-card {
  position: relative;
  width: min(100%, 310px);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.profile-image {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  padding: 5px;
  border-radius: 50%;
  background: var(--surface-accent);
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.profile-card figcaption {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.profile-card strong {
  font-size: 17px;
  line-height: 1.35;
}

.profile-card figcaption span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-index {
  position: relative;
  width: min(100%, 310px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.hero-index span {
  padding-top: 12px;
  border-top: 1px solid rgba(25, 122, 89, 0.2);
}

.section-heading {
  max-width: 720px;
  padding-top: 104px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  font-size: 16px;
}

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

.stack-card {
  min-height: 205px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stack-card.wide {
  grid-column: 1 / -1;
  min-height: 236px;
  color: #f5faf7;
  border-color: transparent;
  background: var(--accent-strong);
}

.stack-card.wide p,
.stack-card.wide span {
  color: #d1e7dc;
}

.stack-card.tall {
  grid-column: 1 / -1;
  min-height: 210px;
  background: var(--surface-soft);
}

.stack-card span,
.article-type {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 720;
}

.stack-card p {
  max-width: 620px;
  margin-bottom: 0;
}

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

.article-card {
  min-height: 230px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #adc8ba;
  box-shadow: 0 18px 50px rgba(35, 61, 49, 0.07);
}

.article-card.featured {
  background: var(--surface-soft);
}

.article-card h3 {
  margin-top: 0;
}

.article-card p {
  margin-bottom: 22px;
}

.article-card small {
  margin-top: auto;
  color: #74837c;
  font-size: 12px;
}

.metrics-section {
  padding: 64px 0 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.metrics div {
  padding: 24px clamp(16px, 3vw, 32px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: #74837c;
  font-size: 12px;
}

.site-footer a:hover {
  color: var(--accent-strong);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

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

  .hero-visual {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1160px);
    height: auto;
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    gap: 24px;
    padding-top: 2px;
  }

  .header-link {
    min-height: 34px;
    padding: 0 12px;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 54px 0 44px;
    gap: 44px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 330px;
    padding: 36px 20px 28px;
  }

  .section-heading {
    padding-top: 76px;
  }

  .stack-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .stack-card.wide,
  .stack-card.tall {
    grid-column: auto;
  }

  .stack-card,
  .stack-card.wide,
  .stack-card.tall,
  .article-card {
    min-height: 0;
  }

  .metrics-section {
    padding-top: 42px;
  }

  .metrics div {
    padding: 20px 12px;
  }

  .metrics strong {
    font-size: clamp(27px, 8vw, 34px);
  }

  .site-footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-link {
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .hero-index span {
    padding-top: 9px;
  }

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

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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