:root {
  --forest-deep: #1a3328;
  --forest-mid: #2d5a45;
  --forest-light: #4a7c59;
  --moss: #6b8f71;
  --bark: #5c4a3a;
  --cream: #f7f5f0;
  --cream-dark: #ebe6dc;
  --sun: #c9a86c;
  --text: #1e2a24;
  --text-muted: #4a5c52;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 51, 40, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--forest-deep);
  color: var(--cream);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--forest-deep);
  font-weight: 600;
}

.logo-mark {
  font-size: 1.5rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--forest-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 1px;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
  }

  .nav.open {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 1rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(26, 51, 40, 0.75) 0%, rgba(45, 90, 69, 0.55) 45%, rgba(107, 143, 113, 0.35) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 168, 108, 0.2), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%232d5a45' fill-opacity='0.06' d='M30 5c-2 8-10 12-10 20s8 15 10 25c2-10 10-17 10-25S32 13 30 5z'/%3E%3C/svg%3E");
  background-color: var(--forest-deep);
}

.hero-content {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
  color: var(--cream);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sun);
  color: var(--forest-deep);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border: 2px solid rgba(247, 245, 240, 0.6);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(247, 245, 240, 0.1);
}

/* Cards */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 1rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.card a {
  color: var(--forest-mid);
  font-weight: 600;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.intro {
  max-width: 40rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  text-align: center;
  color: var(--text-muted);
}

/* Pages */
.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--forest-mid);
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose a {
  color: var(--forest-mid);
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--moss);
  background: rgba(74, 124, 89, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
}

.prose th {
  color: var(--forest-deep);
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 1rem;
  background: var(--forest-deep);
  color: rgba(247, 245, 240, 0.85);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--cream);
}

.footer-meta,
.footer-copy {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
