:root {
  --bg: #f7f3ea;
  --bg-soft: rgba(255, 252, 246, 0.88);
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: rgba(238, 243, 235, 0.92);
  --border: rgba(24, 38, 28, 0.09);
  --text: #18261c;
  --muted: #516457;
  --primary: #166534;
  --primary-deep: #0f4d35;
  --primary-soft: #2f8f62;
  --gold: #b48a3a;
  --shadow: 0 24px 70px rgba(15, 50, 31, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 143, 98, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(180, 138, 58, 0.16), transparent 28%),
    linear-gradient(180deg, #fcfaf4 0%, #f7f3ea 46%, #f1ecdf 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(22, 101, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 101, 52, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  content: '';
  pointer-events: none;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-deep);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header,
.site-footer,
.hero,
.section,
.page-hero,
.content-card,
.faq-card,
.policy-card {
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  margin-bottom: 28px;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(15, 50, 31, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark img {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 50, 31, 0.18);
}

.brand-mark span {
  display: grid;
  gap: 2px;
}

.brand-mark strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a[aria-current='page'] {
  background: rgba(22, 101, 52, 0.1);
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: #f6f0e4 !important;
  box-shadow: 0 16px 30px rgba(22, 101, 52, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 101, 52, 0.09);
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  padding: 42px;
  margin-bottom: 32px;
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.9) 0%, rgba(238, 243, 235, 0.84) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 38px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.page-hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.section-heading h2,
.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.hero-text,
.page-hero p,
.section-heading p:last-child,
.content-card p,
.faq-card p,
.policy-card p,
.trust-card p,
.pillar-card p,
.step-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-text {
  max-width: 38rem;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

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

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

.button:hover,
.site-nav a:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #f6f0e4;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  box-shadow: 0 18px 34px rgba(22, 101, 52, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 252, 246, 0.7);
  border: 1px solid rgba(22, 101, 52, 0.16);
}

.hero-card,
.pillar-card,
.step-card,
.trust-card,
.content-card,
.faq-card,
.policy-card,
.page-hero,
.site-footer {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  overflow: hidden;
}

.hero-card-glow {
  position: absolute;
  inset: auto -20% -10% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(22, 101, 52, 0.18) 0%, transparent 72%);
  pointer-events: none;
}

.card-label,
.pillar-index,
.step-card span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.signal-list,
.content-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.8;
}

.card-note {
  margin-top: 18px;
  color: var(--muted);
}

.section,
.page-hero,
.site-footer {
  padding: 32px;
  margin-bottom: 24px;
}

.section-alt {
  background:
    linear-gradient(160deg, rgba(232, 240, 230, 0.86) 0%, rgba(255, 252, 246, 0.9) 100%);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 22px;
}

.pillar-grid,
.trust-grid,
.content-grid,
.faq-grid,
.policy-layout {
  display: grid;
  gap: 18px;
}

.pillar-grid,
.trust-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-card,
.trust-card,
.content-card,
.faq-card,
.policy-card {
  padding: 24px;
}

.pillar-card h3,
.step-card h3,
.trust-card h3,
.content-card h2,
.faq-card h3,
.policy-card h2 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

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

.step-card {
  padding: 24px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(22, 101, 52, 0.08);
}

.inner-page .page-hero {
  margin-bottom: 18px;
}

.content-page {
  display: grid;
  gap: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  justify-self: end;
}

@media (max-width: 980px) {
  .hero,
  .pillar-grid,
  .trust-grid,
  .steps,
  .content-grid,
  .faq-grid,
  .policy-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
  }

  .footer-copy {
    justify-self: start;
  }
}

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

  .site-header {
    top: 10px;
    align-items: flex-start;
    border-radius: 28px;
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  .hero,
  .section,
  .page-hero,
  .site-footer {
    padding: 22px;
  }

  .hero h1,
  .section-heading h2,
  .page-hero h1 {
    line-height: 1.02;
  }
}
