:root {
  --ink: #1f1a17;
  --muted: #5b534b;
  --sand: #f6efe6;
  --clay: #e1b889;
  --rust: #b45a2a;
  --forest: #2b4a3f;
  --sun: #f2c26b;
  --paper: #fffaf4;
  --shadow: rgba(31, 26, 23, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, rgba(242, 194, 107, 0.3), transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(180, 90, 42, 0.18), transparent 55%),
    var(--sand);
  line-height: 1.6;
  letter-spacing: 0.2px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 239, 230, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  background: var(--forest);
  color: var(--paper);
  font-weight: 700;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.site-nav a:hover,
.site-nav a.active {
  border-color: var(--rust);
  color: var(--rust);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 80px 6vw 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--forest);
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.btn.primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 12px 24px var(--shadow);
}

.btn.ghost {
  border: 1px solid var(--forest);
  color: var(--forest);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-label {
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.stat-value {
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-height: 340px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.4px);
  opacity: 0.8;
}

.orb-one {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(242, 194, 107, 0.9), rgba(180, 90, 42, 0.2));
  top: 20px;
  right: 40px;
}

.orb-two {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(43, 74, 63, 0.85), rgba(43, 74, 63, 0.1));
  bottom: 20px;
  left: 10px;
}

.grid-card {
  position: absolute;
  bottom: 0;
  right: 10px;
  background: var(--paper);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px var(--shadow);
  width: min(320px, 90%);
}

.grid-card h3 {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  margin-bottom: 12px;
}

.grid-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.toc {
  padding: 40px 6vw 20px;
}

.toc h2 {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  margin-bottom: 18px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.toc-grid a {
  padding: 16px;
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(31, 26, 23, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px var(--shadow);
}

.section {
  padding: 70px 6vw;
}

.section.alt {
  background: var(--paper);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 14px;
}

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

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--paper);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
}

.card ul,
.card ol {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

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

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(43, 74, 63, 0.1);
  color: var(--forest);
  font-weight: 600;
  text-align: center;
}

.framework {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.framework-item {
  background: var(--paper);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.callout {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, rgba(242, 194, 107, 0.4), rgba(180, 90, 42, 0.15));
  padding: 24px;
  border-radius: var(--radius);
}

.checklist {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.checklist li::before {
  content: "+ ";
  color: var(--rust);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--paper);
  padding: 20px;
  border-radius: 16px;
  border-left: 4px solid var(--rust);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.comparison-card {
  background: var(--paper);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 30px var(--shadow);
}

.comparison-card h3 {
  margin-bottom: 10px;
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
}

.comparison-card ul {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.resource-card {
  background: var(--paper);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(31, 26, 23, 0.08);
}

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

.card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--rust);
  text-decoration: none;
  font-weight: 600;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.faq-grid details {
  background: var(--paper);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 23, 0.1);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
}

.cta {
  padding: 70px 6vw 90px;
  background: linear-gradient(135deg, rgba(43, 74, 63, 0.92), rgba(31, 26, 23, 0.92));
  color: var(--paper);
}

.cta-content {
  max-width: 720px;
}

.cta-content h2 {
  font-family: "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px 6vw 50px;
  background: var(--sand);
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
}

.footer-meta {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    right: 6vw;
    top: 80px;
    background: var(--paper);
    padding: 16px;
    border-radius: 16px;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 18px 30px var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 50px;
  }

  .hero-art {
    min-height: 260px;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
