:root {
  color-scheme: light dark;
  --text: #0c0c0c;
  --muted: #4a4a4a;
  --accent: #b8860b;
  --accent-dark: #8a6508;
  --bg: #f7f6f3;
  --surface: #ffffff;
  --border: #ddd9d0;
  --cta: #0d3d2c;
  --cta-hover: #0a2f22;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f4f2ed;
    --muted: #b8b4aa;
    --accent: #e4c04a;
    --accent-dark: #c9a832;
    --bg: #0f0e0c;
    --surface: #1a1916;
    --border: #3a3830;
    --cta: #3d9b7a;
    --cta-hover: #4db890;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--cta);
}

a:hover {
  color: var(--cta-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.site-logo {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.site-logo span {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--cta);
  color: #fff !important;
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #fff !important;
}

.btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--muted);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

main.wide {
  max-width: 52rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
}

.panel h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.panel h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-weight: 650;
}

.panel p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.35rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--accent-dark);
}

.stat span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-band {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem;
  background: var(--cta);
  color: #fff;
  border-radius: 0.35rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  font-size: 0.9375rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--cta) !important;
}

.cta-band .btn--primary:hover {
  background: #f0f0f0;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.page-intro {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
}

.site-footer__grid strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.site-footer__grid a {
  display: block;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.site-footer__legal {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.site-footer__legal a {
  color: inherit;
}

.prose h2 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

.prose p {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    width: 100%;
  }
  .btn--header-cta {
    width: 100%;
  }
}
