:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --ink: #171d1b;
  --muted: #65706a;
  --line: #d9d0c1;
  --surface: rgba(255, 253, 247, 0.88);
  --surface-strong: #fffdf8;
  --accent: #126b5b;
  --accent-2: #8f4e2a;
  --shadow: 0 24px 70px rgba(26, 31, 29, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(18, 107, 91, 0.11), transparent 35%),
    linear-gradient(260deg, rgba(143, 78, 42, 0.12), transparent 38%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
}

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

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    18px 0 0 var(--accent-2),
    9px 15px 0 rgba(23, 29, 27, 0.82);
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.hero-grid {
  flex: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
}

.hero-copy {
  animation: rise 520ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.lede {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fffdf8;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #0d584b;
}

.button--ghost {
  background: transparent;
  color: var(--accent);
}

.button--ghost:hover {
  color: #fffdf8;
}

.hero-visual {
  margin: 0;
  animation: rise 640ms 80ms ease both;
}

.hero-visual img {
  display: block;
  width: 100%;
  border: 1px solid rgba(217, 208, 193, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.summary-band {
  width: min(1180px, calc(100% - 40px));
  margin: -38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(26, 31, 29, 0.08);
}

.summary-band > div {
  min-height: 104px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-right: 1px solid var(--line);
}

.summary-band > div:last-child {
  border-right: 0;
}

.summary-band strong {
  font-size: 2rem;
  line-height: 1;
}

.summary-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 12px;
}

.section--alt {
  padding-bottom: 84px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-header p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

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

.link-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 107, 91, 0.45);
  background: var(--surface-strong);
}

.card-main {
  min-height: 172px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
}

.link-card--compact .card-main {
  min-height: 150px;
}

.card-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.card-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 850;
}

.card-description {
  color: var(--muted);
  line-height: 1.58;
}

.open-mark {
  color: var(--accent);
  font-weight: 900;
}

.card-meta {
  min-height: 44px;
  padding: 12px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

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

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--accent);
  font-weight: 800;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 18px;
  }

  .hero-visual {
    order: -1;
  }

  .summary-band,
  .link-grid,
  .link-grid--compact {
    grid-template-columns: 1fr;
  }

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

  .summary-band > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.86rem;
  }

  .hero-grid,
  .summary-band,
  .section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .card-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .card-emoji {
    display: none;
  }

  .footer {
    flex-direction: column;
  }
}
