/* =====================================================================
   FarmOS — Global Stylesheet
   Aesthetic: Organic Intelligence — earthy greens, editorial typography,
   warm cream backgrounds, precision details
   ===================================================================== */

/* ── Google Fonts ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────────── */
:root {
  /* Brand greens */
  --fo-green-900: #0d2b1a;
  --fo-green-800: #14432a;
  --fo-green-700: #1a5c38;
  --fo-green-600: #217348;
  --fo-green-500: #2d8f5c;
  --fo-green-400: #3dab73;
  --fo-green-300: #67c99a;
  --fo-green-100: #d4f0e3;
  --fo-green-50:  #eef8f2;

  /* Warm neutrals */
  --fo-cream:     #faf7f2;
  --fo-warm-100:  #f5efe4;
  --fo-warm-200:  #e8ddd0;
  --fo-warm-300:  #d4c4b0;
  --fo-warm-500:  #9c8672;
  --fo-warm-700:  #5a4a3a;
  --fo-warm-900:  #2a1f15;

  /* Accent */
  --fo-gold:      #e8a923;
  --fo-gold-light:#fdf3d9;
  --fo-rust:      #c4512a;
  --fo-sky:       #2a7fa8;

  /* Text */
  --fo-text:      #1a1410;
  --fo-text-muted:#6b5c4c;
  --fo-text-light:#9c8c7c;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py: 96px;
  --section-py-sm: 64px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(13,43,26,.08), 0 1px 4px rgba(13,43,26,.04);
  --shadow-hover: 0 12px 48px rgba(13,43,26,.14), 0 2px 8px rgba(13,43,26,.06);
  --shadow-hero: 0 32px 80px rgba(13,43,26,.35);

  /* Border radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill:999px;

  --docs-sidebar-w: 260px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fo-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fo-green-900);
}

a { text-decoration: none; transition: color .2s; }
a:hover { color: var(--fo-green-500); }

img { max-width: 100%; }

/* ── Utility classes ───────────────────────────────────────────────── */
.text-green   { color: var(--fo-green-500) !important; }
.text-gold    { color: var(--fo-gold) !important; }
.text-muted-fo { color: var(--fo-text-muted) !important; }

.bg-cream     { background: var(--fo-cream) !important; }
.bg-green-900 { background: var(--fo-green-900) !important; }
.bg-green-800 { background: var(--fo-green-800) !important; }
.bg-green-50  { background: var(--fo-green-50) !important; }
.bg-warm-100  { background: var(--fo-warm-100) !important; }

.font-display { font-family: var(--font-display) !important; }

.section-py   { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-py-sm{ padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }

/* ── Typography Scale ──────────────────────────────────────────────── */
.display-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 600;
}

.section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fo-green-500);
  display: inline-block;
  margin-bottom: 12px;
}

.lead-fo {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--fo-text-muted);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-fo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}

.btn-fo-primary {
  background: var(--fo-green-600);
  color: #fff;
  border-color: var(--fo-green-600);
}
.btn-fo-primary:hover {
  background: var(--fo-green-700);
  border-color: var(--fo-green-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(33,115,72,.3);
}

.btn-fo-outline {
  background: transparent;
  color: var(--fo-green-600);
  border-color: var(--fo-green-600);
}
.btn-fo-outline:hover {
  background: var(--fo-green-600);
  color: #fff;
  transform: translateY(-1px);
}

.btn-fo-white {
  background: #fff;
  color: var(--fo-green-700);
  border-color: #fff;
}
.btn-fo-white:hover {
  background: var(--fo-green-50);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,.25);
}

.btn-fo-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-fo-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}

.btn-fo-sm { padding: 9px 20px; font-size: .875rem; }
.btn-fo-lg { padding: 16px 36px; font-size: 1.0625rem; }

/* ── Cards ─────────────────────────────────────────────────────────── */
.fo-card {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
  overflow: hidden;
}
.fo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.fo-card-body { padding: 28px 32px; }

/* ── Badge ─────────────────────────────────────────────────────────── */
.fo-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.fo-badge-green  { background: var(--fo-green-100); color: var(--fo-green-700); }
.fo-badge-gold   { background: var(--fo-gold-light); color: #8a5f00; }
.fo-badge-warm   { background: var(--fo-warm-100);  color: var(--fo-warm-700); }

/* ── Divider ───────────────────────────────────────────────────────── */
.fo-divider {
  width: 48px; height: 3px;
  background: var(--fo-green-400);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.fo-divider-center { margin: 16px auto 24px; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    TOP HEADER BAR                                                     */
/* ── ────────────────────────────────────────────────────────────────── */
#topbar {
  background: var(--fo-green-900);
  padding: 9px 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
#topbar a { color: rgba(255,255,255,.75); }
#topbar a:hover { color: #fff; }
#topbar .topbar-contact span { margin-right: 18px; }
#topbar .topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  margin-left: 6px;
  font-size: .8rem;
  transition: background .2s;
}
#topbar .topbar-social a:hover { background: var(--fo-green-500); color: #fff; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    NAVBAR                                                             */
/* ── ────────────────────────────────────────────────────────────────── */
#mainNav {
  background: #fff;
  padding: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: box-shadow .3s, background .3s;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#mainNav.scrolled {
  box-shadow: 0 4px 24px rgba(13,43,26,.12);
}
#mainNav .navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fo-green-800);
  padding: 16px 0;
}
#mainNav .navbar-brand:hover { color: var(--fo-green-600); }
#mainNav .brand-mark {
  width: 38px; height: 38px;
  background: var(--fo-green-700);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
#mainNav .nav-link {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fo-text);
  padding: 24px 16px !important;
  position: relative;
  transition: color .2s;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 16px; right: 16px; height: 2px;
  background: var(--fo-green-500);
  transform: scaleX(0);
  transition: transform .2s cubic-bezier(.4,0,.2,1);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--fo-green-600); }
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { transform: scaleX(1); }

#mainNav .dropdown-menu {
  border: none;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 40px rgba(13,43,26,.14);
  padding: 8px;
  margin-top: 4px;
  min-width: 220px;
}
#mainNav .dropdown-item {
  border-radius: var(--r-md);
  padding: 9px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--fo-text);
  transition: background .15s, color .15s;
}
#mainNav .dropdown-item:hover {
  background: var(--fo-green-50);
  color: var(--fo-green-700);
}

.nav-cta-wrap { display: flex; align-items: center; gap: 10px; padding-left: 12px; }

@media (max-width: 991px) {
  #mainNav .nav-link { padding: 12px 0 !important; border-bottom: 1px solid var(--fo-warm-100); }
  #mainNav .nav-link::after { display: none; }
  .nav-cta-wrap { padding: 16px 0 8px; }
  .navbar-toggler { border: none; padding: 4px; }
  .navbar-toggler:focus { box-shadow: none; }
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    HERO SLIDER                                                        */
/* ── ────────────────────────────────────────────────────────────────── */
#heroSlider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 8s linear;
}
.hero-slide.active .hero-bg { transform: scale(1.06); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,43,26,.85) 0%, rgba(13,43,26,.5) 60%, rgba(13,43,26,.2) 100%);
  z-index: 1;
}
.hero-slide .container { position: relative; z-index: 2; padding: 120px 0 80px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--fo-green-300);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--fo-green-300); }
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Slider indicators */
.hero-indicators {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px;
}
.hero-indicators button {
  width: 36px; height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,.35);
  padding: 0;
  cursor: pointer;
  transition: all .3s;
}
.hero-indicators button.active {
  background: #fff;
  width: 56px;
}

.hero-scroll-hint {
  position: absolute; bottom: 40px; right: 48px;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

/* Hero entry animation */
.hero-animate { opacity: 0; transform: translateY(28px); }
.hero-slide.active .hero-animate {
  animation: heroIn .8s cubic-bezier(.4,0,.2,1) forwards;
}
.hero-slide.active .hero-animate:nth-child(2) { animation-delay: .15s; }
.hero-slide.active .hero-animate:nth-child(3) { animation-delay: .28s; }
.hero-slide.active .hero-animate:nth-child(4) { animation-delay: .4s; }
.hero-slide.active .hero-animate:nth-child(5) { animation-delay: .52s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    FEATURE CARDS                                                      */
/* ── ────────────────────────────────────────────────────────────────── */
.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  background: var(--fo-green-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--fo-green-600);
  transition: background .2s, transform .2s;
}
.fo-card:hover .feature-icon-wrap {
  background: var(--fo-green-600);
  color: #fff;
  transform: scale(1.08);
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    DASHBOARD INSIGHTS (dark section)                                  */
/* ── ────────────────────────────────────────────────────────────────── */
.insights-section {
  background: var(--fo-green-900);
  position: relative;
  overflow: hidden;
}
.insights-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(45,143,92,.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(13,43,26,.8) 0%, transparent 60%);
}
.insights-section .section-label { color: var(--fo-green-400); }
.insights-section h2 { color: #fff; }
.insights-section p  { color: rgba(255,255,255,.65); }

.insight-stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: background .2s;
}
.insight-stat-card:hover { background: rgba(255,255,255,.08); }
.insight-stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fo-green-300);
  line-height: 1;
}
.insight-stat-lbl { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 6px; }

.dashboard-mockup {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
}
.mockup-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); margin-bottom: 14px; }
.mockup-bar.w30 { width: 30%; }
.mockup-bar.w60 { width: 60%; }
.mockup-bar.w80 { width: 80%; }
.mockup-bar.w45 { width: 45%; }
.mockup-bar.accent { background: var(--fo-green-500); }
.mockup-bar.accent2 { background: var(--fo-gold); }
.mockup-chart {
  height: 120px;
  display: flex; align-items: flex-end; gap: 6px;
  margin-top: 16px;
}
.mockup-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(45,143,92,.3);
  transition: background .2s;
}
.mockup-chart-bar.active { background: var(--fo-green-500); }
.mockup-chart-bar.gold   { background: var(--fo-gold); opacity: .7; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    PRICING                                                             */
/* ── ────────────────────────────────────────────────────────────────── */
.pricing-card {
  border-radius: var(--r-xl);
  border: 2px solid var(--fo-warm-200);
  padding: 36px 32px;
  background: #fff;
  transition: all .25s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--fo-green-400);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: var(--fo-green-800);
  border-color: var(--fo-green-800);
  color: #fff;
}
.pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .text-muted { color: rgba(255,255,255,.6) !important; }
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,.85); }
.pricing-card.featured .pricing-feature svg { color: var(--fo-green-300); }

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fo-green-800);
}
.pricing-card.featured .pricing-amount { color: #fff; }
.pricing-currency { font-size: 1.25rem; vertical-align: top; margin-top: 8px; display: inline-block; }

.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem;
  color: var(--fo-text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--fo-warm-100);
}
.pricing-card.featured .pricing-feature { border-bottom-color: rgba(255,255,255,.1); }

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--fo-gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    INDUSTRIES                                                          */
/* ── ────────────────────────────────────────────────────────────────── */
.industry-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.industry-card img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.industry-card:hover img { transform: scale(1.06); }
.industry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,43,26,.85) 0%, rgba(13,43,26,.2) 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  transition: background .3s;
}
.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(13,43,26,.92) 0%, rgba(13,43,26,.35) 60%);
}
.industry-title { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.industry-desc  { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    FAQ                                                                 */
/* ── ────────────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--fo-warm-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fo-green-900);
  cursor: pointer;
  transition: color .2s;
}
.faq-question:hover { color: var(--fo-green-600); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--fo-green-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon {
  background: var(--fo-green-600); color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--fo-text-muted);
  line-height: 1.7;
  font-size: .9375rem;
}
.faq-item.open .faq-answer { display: block; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    TESTIMONIALS                                                        */
/* ── ────────────────────────────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--fo-green-400);
  height: 100%;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--fo-green-300);
  line-height: .8;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--fo-text-muted);
  margin-bottom: 20px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fo-green-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fo-green-700);
  flex-shrink: 0;
}
.testimonial-name  { font-weight: 600; font-size: .9rem; color: var(--fo-green-900); }
.testimonial-role  { font-size: .8rem; color: var(--fo-text-light); }

/* Stars */
.stars { color: var(--fo-gold); font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    FOOTER                                                              */
/* ── ────────────────────────────────────────────────────────────────── */
#footer {
  background: var(--fo-green-900);
  color: rgba(255,255,255,.65);
  padding: 80px 0 0;
}
#footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
#footer .footer-desc {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  max-width: 280px;
}
#footer .footer-heading {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
#footer .footer-link {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  padding: 5px 0;
  transition: color .2s;
}
#footer .footer-link:hover { color: var(--fo-green-300); }
#footer .footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  margin-right: 8px;
  margin-top: 12px;
  transition: background .2s, color .2s;
}
#footer .footer-social a:hover { background: var(--fo-green-600); color: #fff; }
#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 56px;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    CTA BAND                                                            */
/* ── ────────────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--fo-green-700) 0%, var(--fo-green-900) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -200px; right: -100px;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -150px; left: 5%;
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    PAGE HERO (inner pages)                                             */
/* ── ────────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--fo-green-900) 0%, var(--fo-green-700) 100%);
  padding: 100px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,.6); font-size: .875rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.9); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item a:hover { color: #fff; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    BLOG                                                                */
/* ── ────────────────────────────────────────────────────────────────── */
.blog-card img {
  width: 100%; height: 220px;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transition: transform .4s;
}
.blog-card:hover img { transform: scale(1.04); }
.blog-card-body {
  padding: 24px;
  border: 1px solid var(--fo-warm-200);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.blog-meta { font-size: .8rem; color: var(--fo-text-light); margin-bottom: 10px; }
.blog-card h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color .2s;
}
.blog-card:hover h5 { color: var(--fo-green-600); }
.blog-tag {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--fo-green-600);
  background: var(--fo-green-50);
  padding: 2px 10px; border-radius: var(--r-pill);
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    MODULE PAGE                                                         */
/* ── ────────────────────────────────────────────────────────────────── */
.module-tab-btn {
  border: 2px solid var(--fo-warm-200);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--fo-text-muted);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; gap: 8px;
}
.module-tab-btn.active,
.module-tab-btn:hover {
  background: var(--fo-green-600);
  border-color: var(--fo-green-600);
  color: #fff;
}

.module-detail-card {
  background: var(--fo-cream);
  border-radius: var(--r-xl);
  padding: 40px;
}
.module-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  color: var(--fo-text-muted);
  font-size: .9375rem;
}
.module-feature-list li svg { color: var(--fo-green-500); flex-shrink: 0; margin-top: 2px; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    CONTACT                                                             */
/* ── ────────────────────────────────────────────────────────────────── */
.contact-info-card {
  background: var(--fo-green-800);
  border-radius: var(--r-xl);
  padding: 36px;
  color: #fff;
  height: 100%;
}
.contact-info-card h4 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card p  { color: rgba(255,255,255,.65); }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.contact-icon-wrap {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fo-form .form-control, .fo-form .form-select {
  border: 2px solid var(--fo-warm-200);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
.fo-form .form-control:focus, .fo-form .form-select:focus {
  border-color: var(--fo-green-500);
  box-shadow: 0 0 0 3px rgba(45,143,92,.12);
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    ABOUT PAGE                                                          */
/* ── ────────────────────────────────────────────────────────────────── */
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--r-xl);
  object-fit: cover;
  background: var(--fo-green-100);
  margin-bottom: 16px;
}
.team-avatar-placeholder {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--fo-green-100), var(--fo-green-200));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fo-green-600);
}

.value-card {
  text-align: center;
  padding: 32px 24px;
}
.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--fo-green-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.75rem;
}

/* ── ────────────────────────────────────────────────────────────────── */
/*    ANIMATIONS                                                          */
/* ── ────────────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: .1s; }
.fade-up-d2 { transition-delay: .2s; }
.fade-up-d3 { transition-delay: .3s; }
.fade-up-d4 { transition-delay: .4s; }
.fade-up-d5 { transition-delay: .5s; }

/* ── ────────────────────────────────────────────────────────────────── */
/*    MISC                                                                */
/* ── ────────────────────────────────────────────────────────────────── */
.green-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--fo-green-400);
  margin-right: 6px;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,43,26,.08) 0%, transparent 60%);
}
.about-img-wrap img { width: 100%; display: block; }

/* Floating badge */
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-hover);
  display: flex; align-items: center; gap: 12px;
}
.float-badge-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fo-green-700);
  line-height: 1;
}
.float-badge-lbl { font-size: .75rem; color: var(--fo-text-muted); margin-top: 2px; }

/* Cookie / notification bar */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--fo-green-900);
  padding: 16px 24px;
  z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; }

/* Scroll to top */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fo-green-700);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 16px rgba(13,43,26,.25);
}
#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--fo-green-600); transform: translateY(-2px); }

/* DOCUMENTATION */
/* Search bar */
.docs-search-wrap {
  background: var(--fo-green-800);
  padding: 28px 0 32px;
}
.docs-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px 8px 6px 20px;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.docs-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--fo-text);
  background: transparent;
}
.docs-search input::placeholder { color: var(--fo-text-light); }
.docs-search button {
  background: var(--fo-green-600);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.docs-search button:hover { background: var(--fo-green-700); }

/* Layout: sidebar + content */
.docs-layout {
  display: grid;
  grid-template-columns: var(--docs-sidebar-w) 1fr;
  gap: 0;
  min-height: 80vh;
}

/* Sidebar */
.docs-sidebar {
  background: var(--fo-cream);
  border-right: 1px solid var(--fo-warm-200);
  padding: 32px 0 48px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: var(--fo-warm-300); border-radius: 2px; }
.sidebar-section-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fo-text-light);
  padding: 20px 20px 6px;
  margin-top: 8px;
}
.sidebar-section-label:first-child { margin-top: 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  font-size: .875rem;
  color: var(--fo-text-muted);
  transition: all .15s;
  border-left: 3px solid transparent;
  text-decoration: none;
  line-height: 1.3;
}
.sidebar-link:hover {
  background: var(--fo-warm-100);
  color: var(--fo-green-700);
  border-left-color: var(--fo-green-300);
}
.sidebar-link.active {
  background: var(--fo-green-50);
  color: var(--fo-green-700);
  border-left-color: var(--fo-green-600);
  font-weight: 600;
}
.sidebar-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* Main content */
.docs-content {
  padding: 48px 56px 80px;
  max-width: 900px;
}

/* Article cards (category overview) */
.guide-card {
  background: #fff;
  border: 1.5px solid var(--fo-warm-200);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  transition: all .2s;
  height: 100%;
  text-decoration: none;
  display: block;
}
.guide-card:hover {
  border-color: var(--fo-green-400);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.guide-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--fo-green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: background .2s;
}
.guide-card:hover .guide-card-icon { background: var(--fo-green-600); }
.guide-card h5 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fo-green-900);
  margin-bottom: 8px;
}
.guide-card p {
  font-size: .875rem;
  color: var(--fo-text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.guide-card-count {
  font-size: .75rem;
  font-weight: 700;
  color: var(--fo-green-600);
  letter-spacing: .04em;
}

/* Article body styles */
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fo-green-900);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--fo-green-100);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fo-green-800);
  margin: 28px 0 10px;
}
.article-body p {
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--fo-text-muted);
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.article-body li {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--fo-text-muted);
  margin-bottom: 6px;
}
.article-body li strong { color: var(--fo-text); }

/* Step boxes */
.step-box {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--fo-cream);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  border-left: 3px solid var(--fo-green-400);
}
.step-num {
  width: 28px;
  height: 28px;
  background: var(--fo-green-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-body { flex: 1; }
.step-body strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--fo-green-900);
  margin-bottom: 4px;
}
.step-body span {
  font-size: .875rem;
  color: var(--fo-text-muted);
  line-height: 1.6;
}

/* Tips / notes / warnings */
.doc-tip, .doc-note, .doc-warn {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  margin: 20px 0;
  font-size: .875rem;
  line-height: 1.7;
}
.doc-tip  { background: #f0faf5; border-left: 4px solid var(--fo-green-400); color: var(--fo-green-800); }
.doc-note { background: #eff6ff; border-left: 4px solid #60a5fa;             color: #1e40af; }
.doc-warn { background: #fffbeb; border-left: 4px solid #fbbf24;             color: #78350f; }
.doc-tip  .tip-icon,
.doc-note .tip-icon,
.doc-warn .tip-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* Breadcrumb */
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: var(--fo-text-light);
  margin-bottom: 28px;
}
.docs-breadcrumb a { color: var(--fo-green-600); text-decoration: none; }
.docs-breadcrumb a:hover { text-decoration: underline; }

/* Feature table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 16px 0 24px;
}
.feature-table th {
  background: var(--fo-green-800);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .8125rem;
}
.feature-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fo-warm-200);
  color: var(--fo-text-muted);
  vertical-align: top;
}
.feature-table tr:nth-child(even) td { background: var(--fo-cream); }
.feature-table tr:last-child td { border-bottom: none; }

/* Plan badge inline */
.plan-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.plan-free     { background: #f3f4f6; color: #6b7280; }
.plan-pro      { background: var(--fo-green-100); color: var(--fo-green-700); }
.plan-growth   { background: #dbeafe; color: #1e40af; }
.plan-enterprise { background: var(--fo-gold-light); color: #78350f; }

/* Quick links at top of article */
.article-toc {
  background: var(--fo-cream);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 36px;
}
.article-toc p {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--fo-text-light);
  margin-bottom: 10px;
}
.article-toc a {
  display: block;
  font-size: .875rem;
  color: var(--fo-green-700);
  padding: 4px 0;
  text-decoration: none;
  border-bottom: none;
}
.article-toc a:hover { text-decoration: underline; }

.pull-quote{border-left:4px solid var(--green-400);padding:18px 22px;margin:28px 0;background:var(--green-50);border-radius:0 12px 12px 0}
.pull-quote p{font-family:var(--display);font-size:1.1875rem;font-weight:600;color:var(--green-900);margin-bottom:8px;font-style:italic;line-height:1.5}
.pull-quote cite{font-size:.8125rem;color:var(--muted)}

/* Was this helpful? */
.helpful-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--fo-warm-200);
  font-size: .9rem;
  color: var(--fo-text-muted);
}
.helpful-btn {
  background: none;
  border: 1.5px solid var(--fo-warm-300);
  border-radius: var(--r-pill);
  padding: 7px 18px;
  font-size: .875rem;
  cursor: pointer;
  transition: all .15s;
  color: var(--fo-text-muted);
}
.helpful-btn:hover { border-color: var(--fo-green-500); color: var(--fo-green-600); background: var(--fo-green-50); }

/* ── Offcanvas sidebar (mobile) ──────────────────────────── */

/* Desktop sidebar unchanged; hide it on mobile */
@media (max-width: 991px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-content { padding: 24px 18px 60px; }
}

/* Offcanvas panel */
.docs-offcanvas {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--fo-cream);
  z-index: 1055;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 32px rgba(13,43,26,.18);
  overflow: hidden;
}
.docs-offcanvas.open { transform: translateX(0); }

/* Offcanvas header bar */
.oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--fo-green-900);
  flex-shrink: 0;
}
.oc-header span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.oc-close {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.oc-close:hover { background: rgba(255,255,255,.22); }

/* Scrollable nav body */
.oc-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0 32px;
}
.oc-body::-webkit-scrollbar { width: 4px; }
.oc-body::-webkit-scrollbar-thumb { background: var(--fo-warm-300); border-radius: 2px; }

/* Backdrop */
.docs-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,43,26,.45);
  z-index: 1054;
  backdrop-filter: blur(2px);
}
.docs-backdrop.open { display: block; }

/* Sticky mobile bar shown below navbar */
.docs-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--fo-warm-200);
  padding: 10px 16px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(13,43,26,.06);
}
@media (max-width: 991px) {
  .docs-mobile-bar { display: flex; }
}
.docs-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fo-green-600);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.docs-browse-btn:hover { background: var(--fo-green-700); }
.docs-current-section {
  font-size: .875rem;
  font-weight: 600;
  color: var(--fo-green-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Callouts ── */
.callout {
  display: flex;
  gap: 13px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin: 20px 0;
  font-size: .9375rem;
  line-height: 1.72;
  font-family: var(--font-body);
}
/* tip  — green tint */
.callout-tip  {
  background: var(--fo-green-50);
  border-left: 4px solid var(--fo-green-400);
  color: var(--fo-green-700);
}
/* warn — gold/amber tint (uses --fo-gold family) */
.callout-warn {
  background: var(--fo-gold-light);
  border-left: 4px solid var(--fo-gold);
  color: var(--fo-warm-900);
}
/* stat — sky/blue tint (uses --fo-sky accent) */
.callout-stat {
  background: color-mix(in srgb, var(--fo-sky) 8%, white);
  border-left: 4px solid var(--fo-sky);
  color: var(--fo-sky);
}
/* info — warm cream tint */
.callout-info {
  background: var(--fo-warm-100);
  border-left: 4px solid var(--fo-green-300);
  color: var(--fo-green-700);
}
.c-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ── Numbered steps ── */
.blog-steps { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 24px; }
.blog-step {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--fo-cream);
  border-radius: var(--r-md);
  border-left: 3px solid var(--fo-green-400);
}
.blog-step .step-num {
  width: 30px; height: 30px;
  background: var(--fo-green-600);
  color: #fff;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font-size: .8125rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.blog-step .step-body strong {
  display: block;
  font-size: .9375rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--fo-green-900);
  margin-bottom: 3px;
}
.blog-step .step-body span {
  font-size: .875rem;
  color: var(--fo-text-muted);
  line-height: 1.65;
}
 
/* ── Risk level cards ── */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 24px;
}
@media (max-width: 560px) { .risk-grid { grid-template-columns: 1fr; } }
.risk-card         { border-radius: var(--r-md); padding: 18px 20px; }
.risk-card .level  { font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); }
.risk-card .desc   { font-size: .875rem; line-height: 1.65; font-family: var(--font-body); }

/* Low  — green family */
.r-low {
  background: var(--fo-green-50);
  border: 1.5px solid var(--fo-green-300);
  color: var(--fo-green-800);
}
/* Moderate — gold/amber family */
.r-moderate {
  background: var(--fo-gold-light);
  border: 1.5px solid var(--fo-gold);
  color: var(--fo-warm-700);
}
/* High — rust/orange family */
.r-high {
  background: color-mix(in srgb, var(--fo-rust) 8%, white);
  border: 1.5px solid color-mix(in srgb, var(--fo-rust) 40%, white);
  color: var(--fo-rust);
}
/* Critical — deeper rust red */
.r-critical {
  background: color-mix(in srgb, var(--fo-rust) 14%, white);
  border: 1.5px solid var(--fo-rust);
  color: var(--fo-warm-900);
}

/* ── Disease / tag pills ── */
.disease-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.dpill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fo-cream);
  border: 1.5px solid var(--fo-warm-200);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: .875rem;
  font-family: var(--font-body);
  color: var(--fo-text);
  font-weight: 500;
}

.pull-quote{border-left:4px solid var(--fo-green-400);padding:18px 22px;margin:28px 0;background:var(--fo-green-50);border-radius:0 12px 12px 0}
.pull-quote p{font-family:var(--font-body);font-size:1.1875rem;font-weight:500;color:var(--fo-green-900);margin-bottom:8px;font-style:italic;line-height:1.5}
.pull-quote cite{font-size:.8125rem;color:var(--fo-text-muted)}

/* ── How-it-works steps ── */
.steps{display:flex;flex-direction:column;gap:12px;margin:16px 0 24px}
.step{display:flex;gap:14px;padding:18px 20px;background:var(--bg);border-radius:12px;border-left:3px solid var(--fo-green-400)}
.step-num{width:30px;height:30px;background:var(--fo-green-700);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:700;flex-shrink:0;margin-top:1px}
.step-body strong{display:block;font-size:.9375rem;color:var(--fo-green-900);margin-bottom:3px}
.step-body span{font-size:.875rem;color:var(--muted);line-height:1.65}

/* ── Blog lists ── */
.blog-ul, .blog-ol { padding-left: 22px; margin: 12px 0 18px; }
.blog-ul li, .blog-ol li {
  font-size: .9375rem;
  font-family: var(--font-body);
  color: var(--fo-text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}
 
/* ── Inline code ── */
.blog-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: .84em;
  background: var(--fo-warm-100);
  color: var(--fo-green-700);
  padding: 2px 7px;
  border-radius: var(--r-sm);
  border: 1px solid var(--fo-warm-200);
}

/* ── Horizontal rule ── */
.blog-hr {
  border: none;
  border-top: 2px solid var(--fo-warm-200);
  margin: 32px 0;
}
 
/* ── Blog table (existing, updated) ── */
.blog-table-wrap { overflow-x: auto; margin: 16px 0 24px; border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.blog-table { width: 100%; border-collapse: collapse; font-size: .875rem; font-family: var(--font-body); }
.blog-table th {
  background: var(--fo-green-800);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .8125rem;
}
.blog-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fo-warm-200);
  color: var(--fo-text-muted);
  vertical-align: top;
}
.blog-table tr:nth-child(even) td { background: var(--fo-warm-100); }
.blog-table tr:last-child td      { border-bottom: none; }
 
/* ── Blog headings & paragraphs (existing, updated) ── */
.blog-h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fo-green-900);
  margin: 48px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fo-green-100);
}
.blog-h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fo-green-800);
  margin: 28px 0 10px;
}
.blog-p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fo-text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}



