/* ─── Design tokens ────────────────────────────────────────────── */
:root {
  --background:         oklch(0.985 0.012 95);
  --foreground:         oklch(0.22  0.03  150);
  --card:               oklch(1     0     0);
  --card-foreground:    oklch(0.22  0.03  150);
  --primary:            oklch(0.36  0.07  155);
  --primary-fg:         oklch(0.985 0.012 95);
  --secondary:          oklch(0.94  0.025 100);
  --secondary-fg:       oklch(0.28  0.05  155);
  --muted:              oklch(0.95  0.018 95);
  --muted-fg:           oklch(0.48  0.025 150);
  --border:             oklch(0.88  0.02  100);
  --input:              oklch(0.9   0.018 100);
  --ring:               oklch(0.55  0.1   150);
  --destructive:        oklch(0.55  0.2   27);
  --destructive-fg:     oklch(0.985 0     0);
  --leaf:               oklch(0.62  0.16  140);
  --leaf-fg:            oklch(0.99  0     0);
  --cream:              oklch(0.97  0.022 90);
  --bark:               oklch(0.4   0.05  60);
  --moss:               oklch(0.46  0.08  140);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, sans-serif;

  --radius-sm:  0.5rem;
  --radius:     0.75rem;
  --radius-lg:  0.75rem;
  --radius-xl:  1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;

  --shadow-soft: 0 1px 2px rgba(20,40,25,.04), 0 8px 24px -8px rgba(20,40,25,.08);
  --shadow-lift: 0 4px 12px -2px rgba(20,40,25,.08), 0 20px 40px -16px rgba(20,40,25,.12);
}

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* ─── Layout ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: 80rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

/* ─── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  transition: transform 0.2s;
}
.logo:hover .logo-icon { transform: scale(1.05); }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.desktop-nav a {
  color: var(--muted-fg);
  transition: color 0.15s;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--foreground); font-weight: 500; }
.header-cta {
  display: none;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s;
}
.header-cta:hover { opacity: 0.9; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  color: var(--foreground);
  transition: background 0.15s;
}
.menu-toggle:hover { background: var(--muted); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-nav.open { display: block; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
}
.mobile-nav a {
  padding: 0.625rem 0.5rem;
  border-radius: 0.375rem;
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: var(--muted); }
.mobile-nav a.active { background: var(--muted); color: var(--foreground); font-weight: 500; }

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: color-mix(in oklch, var(--secondary) 40%, transparent);
}
.footer-grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  max-width: 18rem;
}
.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-links li + li { margin-top: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.15s; }
.footer-links a:hover { color: var(--foreground); }
.footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.email-row { display: flex; gap: 0.5rem; }
.email-row input {
  flex: 1;
  min-width: 0;
  border-radius: 9999px;
  border: 1px solid var(--input);
  background: var(--card);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
  color: var(--foreground);
}
.email-row input:focus { box-shadow: 0 0 0 2px var(--ring); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}
.btn-outline:hover { background: var(--background); }
.socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-fg);
  transition: color 0.15s, border-color 0.15s;
}
.social-link:hover { color: var(--foreground); border-color: color-mix(in oklch, var(--foreground) 30%, transparent); }
.footer-bottom {
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.footer-certs { display: flex; align-items: center; gap: 1rem; }
.footer-certs span { display: inline-flex; align-items: center; gap: 0.375rem; }
.footer-certs svg { color: var(--leaf); }

/* ─── Cert badges ──────────────────────────────────────────────── */
.cert-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.badge-leaf {
  background: color-mix(in oklch, var(--leaf) 10%, transparent);
  color: var(--moss);
  border: 1px solid color-mix(in oklch, var(--leaf) 30%, transparent);
}
.badge-bark {
  background: color-mix(in oklch, var(--bark) 10%, transparent);
  color: var(--bark);
  border: 1px solid color-mix(in oklch, var(--bark) 20%, transparent);
}

/* ─── Buttons (large) ──────────────────────────────────────────── */
.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.15s, gap 0.15s;
}
.btn-lg.primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-lg.primary:hover { opacity: 0.9; }
.btn-lg.outline {
  border: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
  color: var(--foreground);
}
.btn-lg.outline:hover { background: var(--background); }
.btn-lg.ghost-white {
  background: var(--background);
  color: var(--foreground);
}
.btn-lg.ghost-white:hover { opacity: 0.9; }

/* ─── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}
.card:hover { box-shadow: var(--shadow-lift); }

/* ─── Section helpers ──────────────────────────────────────────── */
.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
  font-weight: 500;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
}
.display-md {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.lead { font-size: 1.125rem; color: var(--muted-fg); line-height: 1.6; }
.body-copy { color: var(--muted-fg); line-height: 1.7; }
.icon-circle {
  display: grid;
  place-items: center;
  border-radius: 9999px;
}

/* ─── Trust banner ─────────────────────────────────────────────── */
.trust-banner {
  background: var(--primary);
  color: var(--primary-fg);
}
.trust-banner p {
  padding-block: 1rem;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, color-mix(in oklch, var(--background) 95%, transparent), color-mix(in oklch, var(--background) 70%, transparent), color-mix(in oklch, var(--background) 20%, transparent));
}
.hero-content { padding-block: 6rem 5.5rem; }
@media (min-width: 768px) { .hero-content { padding-block: 9rem 8rem; } }
@media (min-width: 1024px) { .hero-content { padding-block: 11rem 10rem; } }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--moss);
  box-shadow: var(--shadow-soft);
}
.hero-pill svg { width: 0.875rem; height: 0.875rem; }
.hero h1 { margin-top: 1.5rem; max-width: 42rem; }
.hero h1 em { font-style: italic; color: var(--leaf); }
.hero p { margin-top: 1.5rem; max-width: 36rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ─── Brand promise grid ───────────────────────────────────────── */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-block: 4rem 5rem;
}
@media (min-width: 768px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .promise-grid { grid-template-columns: repeat(6, 1fr); } }
.promise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.promise-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--leaf) 10%, transparent);
  color: var(--moss);
  display: grid;
  place-items: center;
}
.promise-icon svg { width: 1.25rem; height: 1.25rem; }
.promise-item span { font-size: 0.875rem; font-weight: 500; }

/* ─── Two-col split section ────────────────────────────────────── */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 5rem 7rem;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split-img {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text .section-tag { display: block; margin-bottom: 0.75rem; }
.split-text h2 { margin-bottom: 1.5rem; }
.split-text .body-copy + .body-copy { margin-top: 1rem; }

/* ─── Certifications 3-col ─────────────────────────────────────── */
.certs-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 5rem;
}
@media (min-width: 768px) { .certs-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.cert-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.cert-icon svg { width: 1.5rem; height: 1.5rem; }
.cert-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-top: 1.25rem; }
.cert-card p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }

/* ─── Products preview grid ────────────────────────────────────── */
.products-section {
  background: color-mix(in oklch, var(--cream) 50%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.products-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .products-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-lift); }
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--secondary);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.product-card-body p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }

/* ─── How it works ─────────────────────────────────────────────── */
.steps-section { padding-block: 5rem 7rem; }
.steps-header { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.steps-grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps-connector {
    display: block;
    position: absolute;
    top: 1.75rem;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(to right, color-mix(in oklch, var(--leaf) 30%, transparent), color-mix(in oklch, var(--leaf) 50%, transparent), color-mix(in oklch, var(--leaf) 30%, transparent));
  }
}
.steps-connector { display: none; }
.step { text-align: center; position: relative; }
.step-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
}
.step-icon-wrap svg { width: 1.5rem; height: 1.5rem; }
.step-num {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--leaf);
  color: var(--leaf-fg);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.step h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-top: 1.25rem; }
.step p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-top: 0.5rem; max-width: 18rem; margin-inline: auto; }

/* ─── Footer CTA banner ────────────────────────────────────────── */
.footer-cta-section { padding-bottom: 5rem; }
.footer-cta-box {
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius-3xl);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 768px) {
  .footer-cta-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 4rem 3.5rem; }
}
.footer-cta-box h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
.footer-cta-box p { margin-top: 0.5rem; opacity: 0.8; }

/* ─── Page hero (inner pages) ──────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, color-mix(in oklch, var(--background) 70%, transparent), color-mix(in oklch, var(--background) 85%, transparent), var(--background));
}
.page-hero-content { padding-block: 6rem 8rem; max-width: 56rem; }

/* ─── Alternating list (products page) ─────────────────────────── */
.product-list { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 5rem; }
.product-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s;
}
.product-row:hover { box-shadow: var(--shadow-lift); }
.product-row-inner {
  display: grid;
}
@media (min-width: 768px) { .product-row-inner { grid-template-columns: 2fr 3fr; } }
.product-row-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--secondary);
}
@media (min-width: 768px) { .product-row-img { aspect-ratio: auto; } }
.product-row-img img { width: 100%; height: 100%; object-fit: cover; }
.product-row-body { padding: 2rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.product-row-body h2 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
.product-row-qty { font-size: 0.875rem; font-weight: 500; color: var(--moss); margin-top: 0.25rem; }
.product-row-body p { color: var(--muted-fg); line-height: 1.7; margin-top: 1rem; }

/* ─── Stats grid ───────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat-box { background: var(--secondary); border-radius: var(--radius-xl); padding: 1.25rem; }
.stat-box .stat-num { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.stat-box .stat-num sup { color: var(--leaf); }
.stat-box p { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem; }

/* ─── Do/Don't grid ─────────────────────────────────────────────── */
.do-dont-grid { display: grid; gap: 1.5rem; max-width: 56rem; margin: 3rem auto 0; }
@media (min-width: 768px) { .do-dont-grid { grid-template-columns: 1fr 1fr; } }
.do-box { background: var(--card); border: 1px solid color-mix(in oklch, var(--leaf) 30%, transparent); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-soft); }
.dont-box { background: var(--card); border: 1px solid color-mix(in oklch, var(--destructive) 30%, transparent); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-soft); }
.do-box h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--moss); }
.dont-box h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--destructive); }
.check-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-icon, .x-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  margin-top: 0.125rem;
}
.check-icon { background: var(--leaf); color: var(--leaf-fg); }
.x-icon { background: var(--destructive); color: var(--destructive-fg); }
.check-icon svg, .x-icon svg { width: 0.875rem; height: 0.875rem; }

/* ─── Feature cards grid ───────────────────────────────────────── */
.feature-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-lift); }
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--leaf) 15%, transparent);
  color: var(--moss);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 1.25rem; height: 1.25rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; margin-top: 1.25rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-top: 0.5rem; }

/* ─── Material diagram ─────────────────────────────────────────── */
.material-diagram {
  background: linear-gradient(135deg, color-mix(in oklch, var(--leaf) 10%, transparent), var(--cream));
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.diagram-row { display: flex; align-items: center; gap: 0.75rem; }
.diagram-box {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.diagram-box strong { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; display: block; }
.diagram-box small { font-size: 0.75rem; color: var(--muted-fg); }
.diagram-plus { font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf); }
.diagram-arrow { text-align: center; font-size: 1.875rem; color: var(--leaf); margin-block: 1.5rem; }
.diagram-result {
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.diagram-result strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; display: block; }
.diagram-result small { font-size: 0.875rem; opacity: 0.8; }

/* ─── Cert detail cards ─────────────────────────────────────────── */
.cert-detail-grid { display: grid; gap: 1.5rem; max-width: 64rem; margin: 3rem auto 0; }
@media (min-width: 768px) { .cert-detail-grid { grid-template-columns: 1fr 1fr; } }
.cert-detail-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 2rem; box-shadow: var(--shadow-soft); }
.cert-detail-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: grid; place-items: center; }
.cert-detail-icon.leaf-bg { background: color-mix(in oklch, var(--leaf) 15%, transparent); color: var(--moss); }
.cert-detail-icon.bark-bg { background: color-mix(in oklch, var(--bark) 15%, transparent); color: var(--bark); }
.cert-detail-icon svg { width: 1.25rem; height: 1.25rem; }
.cert-detail-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-top: 1.25rem; }
.cert-detail-card p { color: var(--muted-fg); line-height: 1.7; margin-top: 0.75rem; }
.cert-detail-card a { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); margin-top: 1.25rem; }
.cert-detail-card a:hover { text-decoration: underline; }

/* ─── Inline cards (material page) ────────────────────────────── */
.inline-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.inline-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.5rem; }
.inline-card strong { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.inline-card span { color: var(--muted-fg); font-weight: 400; }
.inline-card p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.5rem; }

/* ─── Mission quote ─────────────────────────────────────────────── */
.mission-section { background: var(--primary); color: var(--primary-fg); }
.mission-inner { padding-block: 6rem 8rem; text-align: center; }
.mission-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; opacity: 0.7; }
blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 3rem); font-weight: 500; font-style: italic; line-height: 1.2; max-width: 56rem; margin: 1.5rem auto 0; }

/* ─── FAQ accordion ─────────────────────────────────────────────── */
.faq-list {
  max-width: 48rem;
  margin: 3.5rem auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-item { border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: none; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: var(--card);
  transition: background 0.15s;
}
.faq-btn:hover { background: color-mix(in oklch, var(--secondary) 40%, transparent); }
.faq-btn span { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--leaf) 10%, transparent);
  color: var(--moss);
  display: grid;
  place-items: center;
}
.faq-icon svg { width: 1rem; height: 1rem; }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-fg);
  line-height: 1.7;
  background: var(--card);
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-btn { background: var(--card); }
.faq-plus { display: block; }
.faq-minus { display: none; }
.faq-item.open .faq-plus { display: none; }
.faq-item.open .faq-minus { display: block; }

/* ─── Contact form ─────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 3.5rem; padding-block: 5rem 7rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form-card {
  margin-top: 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .contact-form-card { padding: 2rem; } }
.form-grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { box-shadow: 0 0 0 2px var(--ring); }
.field textarea { resize: vertical; }
.form-success { font-size: 0.875rem; color: var(--moss); margin-top: 0.75rem; display: none; }
.form-success.show { display: block; }
.contact-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.detail-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.detail-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--leaf) 15%, transparent);
  color: var(--moss);
  display: grid;
  place-items: center;
}
.detail-icon svg { width: 1rem; height: 1rem; }
.detail-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-fg); }
.detail-value { color: var(--foreground); }
.detail-value a { transition: color 0.15s; }
.detail-value a:hover { color: var(--foreground); }
.follow-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.75rem; }

/* ─── 404 page ─────────────────────────────────────────────────── */
.not-found-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
  text-align: center;
}
.not-found-page h1 { font-family: var(--font-display); font-size: 7rem; font-weight: 600; }

/* ─── Utility spacing ───────────────────────────────────────────── */
.py-section { padding-block: 5rem 7rem; }
.py-section-sm { padding-block: 5rem; }
.mb-section { margin-bottom: 3.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-inline: auto; }
.bg-secondary-light { background: color-mix(in oklch, var(--secondary) 40%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-leaf-light { background: color-mix(in oklch, var(--leaf) 10%, transparent); border-top: 1px solid color-mix(in oklch, var(--leaf) 20%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--leaf) 20%, transparent); }

/* ─── SVG icons inline ──────────────────────────────────────────── */
svg { display: inline-block; vertical-align: middle; }
