:root {
  --bg: rgb(249, 248, 244);
  --surface: rgba(255, 255, 255, 0.82);
  --text: rgb(44, 72, 69);
  --muted: rgb(55, 99, 55);
  --line: rgba(44, 72, 69, 0.12);
  --brand: rgb(55, 99, 55);
  --brand-deep: rgb(44, 72, 69);
  --shadow: 0 24px 60px rgba(44, 72, 69, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(55, 99, 55, 0.18), rgba(55, 99, 55, 0) 28%),
    radial-gradient(circle at right 10% top 18%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 25%),
    linear-gradient(160deg, rgb(249, 248, 244) 0%, rgba(255, 255, 255, 0.9) 52%, rgba(55, 99, 55, 0.1) 100%);
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin-bottom: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.brand-badge {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: rgb(255, 255, 255);
}

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

.pill-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.pill-link:hover,
.pill-link:focus-visible {
  background: rgba(55, 99, 55, 0.13);
  color: var(--text);
  transform: translateY(-1px);
}

.hero,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-card,
.info-panel,
.section-card,
.detail-card,
.footer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card,
.section-card,
.detail-card {
  padding: 30px;
}

.info-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.eyebrow,
.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(55, 99, 55, 0.12);
  color: var(--brand-deep);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead,
.section-head p,
.detail-intro,
.nav-card p,
.detail-list li,
.footer-note,
.stat-label {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  margin-top: 18px;
  max-width: 14ch;
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: rgb(255, 255, 255);
  box-shadow: 0 18px 32px rgba(44, 72, 69, 0.28);
}

.button-secondary {
  border: 1px solid rgba(44, 72, 69, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.button:hover,
.button-secondary:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.nav-card:hover,
.nav-card:focus-visible {
  transform: translateY(-2px);
}

.stat {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.stat-value {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.section-card {
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head p {
  max-width: 52ch;
}

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

.nav-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 248, 244, 0.96)),
    rgb(255, 255, 255);
  box-shadow: 0 18px 36px rgba(44, 72, 69, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.nav-card p {
  margin-top: 14px;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-weight: 700;
  color: var(--brand-deep);
}

.detail-card + .detail-card h2 {
  margin-top: 14px;
}

.detail-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs span {
  opacity: 0.56;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

@media (max-width: 920px) {
  .hero,
  .detail-layout,
  .card-grid,
  .footer-card {
    grid-template-columns: 1fr;
  }

  .footer-card {
    display: grid;
  }

  .section-head,
  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .topbar {
    align-items: center;
  }

  .topbar-nav,
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .hero-card,
  .section-card,
  .detail-card {
    padding: 22px;
  }

  .brand-logo {
    height: 36px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .lead {
    max-width: none;
  }
}
