:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #66726b;
  --line: #dce5df;
  --paper: #f8faf7;
  --white: #ffffff;
  --green: #1f6f4a;
  --gold: #b58a37;
  --soft: #edf4ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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, 72px);
  background: rgba(248, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 6px;
  font-size: 14px;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.site-nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: end;
  min-height: calc(100vh - 80px);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(115deg, rgba(31, 111, 74, 0.1), rgba(181, 138, 55, 0.08)),
    var(--paper);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.08;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--green);
  background: transparent;
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(23, 33, 27, 0.08);
}

.hero-panel p,
.hero-panel span {
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

.section {
  padding: 80px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
}

.section-body {
  color: var(--muted);
  font-size: 18px;
}

.section-body p:last-child,
.contact p {
  margin-bottom: 0;
}

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

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

.card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card span {
  color: var(--gold);
  font-weight: 800;
}

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

.credentials {
  background: var(--soft);
}

.credential-layout {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.license-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.license-preview img {
  width: min(100%, 260px);
  height: auto;
  image-rendering: auto;
}

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

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-list a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.resource-list a:hover {
  border-color: var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 44px;
}

.contact p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
}

.contact-list dt {
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero,
  .split,
  .credential-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
