/* ============================================================
   GreenLync — Shared Stylesheet
   Mobile-first · Montserrat throughout · Light + Dark themes
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
html[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- DESIGN TOKENS · LIGHT (default) ---------- */
:root {
  /* Brand greens (shared across themes) */
  --green-900: #0d1f14;
  --green-800: #1b3a27;
  --green-700: #2d6a21;
  --green-600: #3d8f2e;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  /* Accents (shared) */
  --amber-500: #c89a3d;
  --amber-300: #e8c777;
  --amber-100: #fdf6d9;
  --red-600:   #b91c1c;
  --red-500:   #ef4444;
  --blue-500:  #3b82f6;

  /* Semantic surfaces — LIGHT (white + subtle green) */
  --bg:          #ffffff;                 /* page background — pure white */
  --bg-soft:     #f2f8f2;                 /* section-cream → subtle green wash */
  --bg-softer:   #e6f2e6;                 /* deeper green tint */
  --surface:     #ffffff;                 /* cards */
  --surface-2:   #f4f8f3;                 /* inner panels — faint green */

  /* Semantic text — LIGHT */
  --text:        #0d1f14;
  --text-muted:  #2d3530;
  --text-soft:   #5c665e;
  --text-dim:    #8a938c;

  /* Borders + shadows — LIGHT */
  --border:         rgba(13,31,20,0.08);
  --border-strong:  rgba(13,31,20,0.14);
  --shadow-sm: 0 1px 2px rgba(13,31,20,0.04), 0 2px 6px rgba(13,31,20,0.04);
  --shadow-md: 0 8px 24px rgba(13,31,20,0.08);
  --shadow-lg: 0 8px 24px rgba(13,31,20,0.08), 0 32px 80px -12px rgba(13,31,20,0.18);

  /* Hero / accent tints — LIGHT */
  --hero-glow-1: rgba(61,143,46,0.08);
  --hero-glow-2: rgba(16,185,129,0.07);

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

  /* Typography — Montserrat-only */
  --font-body:    'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono:    'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 960px;
  --gutter: clamp(18px, 4vw, 40px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- DESIGN TOKENS · DARK ---------- */
html[data-theme="dark"] {
  --bg:          #0b1712;
  --bg-soft:     #0f1f17;
  --bg-softer:   #132720;
  --surface:     #17251d;
  --surface-2:   #1e2f25;

  --text:        #f2efe4;
  --text-muted:  #dcd8c8;
  --text-soft:   #a8b0a6;
  --text-dim:    #808981;

  --border:         rgba(255,255,255,0.08);
  --border-strong:  rgba(255,255,255,0.16);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.25);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 28px rgba(0,0,0,0.4), 0 36px 80px -12px rgba(0,0,0,0.6);

  --hero-glow-1: rgba(110,231,183,0.10);
  --hero-glow-2: rgba(16,185,129,0.09);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 7.5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text-muted); }
p.lead { font-size: clamp(1rem, 3vw, 1.25rem); color: var(--text-muted); max-width: 44em; }

em { font-style: italic; color: var(--green-700); }
html[data-theme="dark"] em { color: var(--green-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}
html[data-theme="dark"] .eyebrow { color: var(--green-300); }
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section      { padding: clamp(56px, 10vw, 130px) 0; }
.section-tight { padding: clamp(40px, 7vw, 100px) 0; }
.section-cream { background: var(--bg-soft); }
.section-dark  { background: var(--green-900); color: #faf7f0; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #faf7f0; }
.section-dark p { color: rgba(250,247,240,0.8); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s, color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(61,143,46,0.28);
}
.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 10px 24px rgba(61,143,46,0.35);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--green-600);
  color: var(--green-700);
}
html[data-theme="dark"] .btn-secondary:hover { color: var(--green-300); }
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { color: var(--green-700); }
html[data-theme="dark"] .btn-ghost:hover { color: var(--green-300); }
.btn-on-dark {
  background: #faf7f0;
  color: var(--green-900);
}
.btn-on-dark:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.btn-outline-on-dark {
  background: transparent;
  color: #faf7f0;
  border-color: rgba(250,247,240,0.3);
}
.btn-outline-on-dark:hover {
  border-color: #faf7f0;
  background: rgba(250,247,240,0.08);
}
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
html[data-theme="dark"] .badge {
  background: rgba(16,185,129,0.12);
  color: var(--green-300);
  border-color: rgba(16,185,129,0.28);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
}
.badge-dark {
  background: rgba(61,143,46,0.14);
  color: var(--green-300);
  border-color: rgba(61,143,46,0.3);
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease;
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-brand-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--green-900);
  display: grid;
  place-items: center;
  color: var(--green-300);
  overflow: hidden;
}
.nav-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links {
  display: none;            /* mobile default: hidden */
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 64px; left: 0; right: 0;
  background: var(--bg);
  padding: 12px;
  border-bottom: 1px solid var(--border);
  gap: 2px;
  margin: 0;
}
.nav-open .nav-links { display: flex; }
.nav-links a {
  padding: 14px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.is-active { color: var(--green-700); }
html[data-theme="dark"] .nav-links a.is-active { color: var(--green-300); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav-open .nav-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 260px; left: 12px; right: 12px;
  gap: 6px;
}
.nav-open .nav-cta .btn { width: 100%; }

.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  align-items: center; justify-content: center;
  margin-left: auto;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Theme toggle button */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ≥ 900px: full desktop nav */
@media (min-width: 900px) {
  .nav { height: 72px; gap: 24px; }
  .nav-brand { font-size: 22px; }
  .nav-brand-mark { width: 34px; height: 34px; }
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    padding: 0;
    border: 0;
    margin-left: auto;
    gap: 4px;
  }
  .nav-links a { padding: 10px 14px; font-size: 14.5px; }
  .nav-cta { display: flex; margin-left: 12px; }
  .nav-cta .theme-toggle { margin-left: 4px; }
  .nav-toggle { display: none; }
  .nav-open .nav-cta {
    position: static; flex-direction: row; top: auto; left: auto; right: auto;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding: clamp(44px, 9vw, 110px) 0 clamp(28px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, var(--hero-glow-1), transparent 60%),
    radial-gradient(ellipse 500px 400px at 85% 80%, var(--hero-glow-2), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 { margin: 16px 0 16px; }
.hero h1 em {
  font-style: italic;
  color: var(--green-700);
}
html[data-theme="dark"] .hero h1 em { color: var(--green-300); }
.hero p.lead { margin: 0 auto 24px; color: var(--text-muted); }
.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}
.hero-ctas .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-ctas { width: auto; }
  .hero-ctas .btn { width: auto; }
}
.hero-micro {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- HOW IT WORKS ---------- */
.how { padding: clamp(56px, 10vw, 130px) 0; }
.how-intro { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.how-step {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 60px);
  margin: clamp(48px, 9vw, 110px) 0;
}
.how-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.how-step-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-700);
  padding: 6px 12px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--r-sm);
  text-transform: uppercase;
}
html[data-theme="dark"] .how-step-num {
  color: var(--green-300);
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.28);
}
.how-step-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.how-step-title { margin-bottom: 10px; }
.how-step-sub {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}
.how-step-body { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.how-step-body + .how-step-body { margin-top: 10px; }
.how-step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ≥ 900px: two-column how-step */
@media (min-width: 900px) {
  .how-step {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
  }
  .how-step:nth-child(even) .how-step-text { order: 2; }
  .how-step-body { font-size: 1rem; }
  .how-step-sub { font-size: 1.15rem; }
}

/* ---------- WHY IT WORKS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
@media (min-width: 720px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-100);
}
html[data-theme="dark"] .why-card:hover { border-color: rgba(16,185,129,0.25); }
.why-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 700;
}
html[data-theme="dark"] .why-icon {
  background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(16,185,129,0.25));
  color: var(--green-300);
}
.why-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- COMPARE ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 32px;
}
@media (min-width: 860px) { .compare { grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 32px); } }
.compare-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}
@media (min-width: 720px) { .compare-col { padding: 30px; } }
.compare-col.is-good {
  background: var(--green-900);
  color: #faf7f0;
  border-color: var(--green-800);
  position: relative;
}
.compare-col.is-good h3,
.compare-col.is-good .compare-title { color: #faf7f0; }
.compare-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.compare-col.is-good .compare-title { color: var(--green-300); }
.compare-col h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.compare-list { display: flex; flex-direction: column; gap: 10px; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.compare-col.is-good .compare-list li { color: rgba(250,247,240,0.88); }
.compare-list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-softer);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7 L6 9.5 L10.5 4.5' fill='none' stroke='%235c665e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
html[data-theme="dark"] .compare-list li::before {
  background-color: rgba(255,255,255,0.06);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7 L6 9.5 L10.5 4.5' fill='none' stroke='%23a8b0a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.compare-col.is-good .compare-list li::before {
  background-color: var(--green-700);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7 L6 9.5 L10.5 4.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.compare-divider {
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  padding: 8px 0;
}
.compare-closing {
  margin: 32px auto 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  max-width: 640px;
  line-height: 1.45;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 32px auto 0;
  border-top: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.3;
}
.faq-q .faq-toggle {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-softer);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s, transform 0.3s var(--ease-out), color 0.2s;
}
html[data-theme="dark"] .faq-q .faq-toggle {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
}
.faq-item.is-open .faq-toggle {
  background: var(--green-600);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 4px 20px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 15px;
  max-width: 68ch;
}
.faq-item.is-open .faq-a { max-height: 500px; }

/* ---------- CLOSING CTA ---------- */
.closing {
  padding: clamp(64px, 11vw, 140px) 0;
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #faf7f0;
  text-align: center;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 20% 30%, rgba(16,185,129,0.14), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 70%, rgba(61,143,46,0.12), transparent 60%);
  pointer-events: none;
}
.closing-inner { position: relative; max-width: 760px; margin: 0 auto; }
.closing h2 {
  color: #faf7f0;
  font-size: clamp(1.8rem, 6.5vw, 3.5rem);
  margin-bottom: 16px;
}
.closing p.lead { color: rgba(250,247,240,0.8); margin: 0 auto 28px; }
.closing-micro {
  margin-top: 22px;
  color: rgba(250,247,240,0.65);
  font-size: 13px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--green-900);
  color: rgba(250,247,240,0.72);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(250,247,240,0.08);
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 600px) { .site-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .site-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer h4 {
  color: #faf7f0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: rgba(250,247,240,0.72); font-size: 14px; transition: color 0.2s; }
.site-footer a:hover { color: #faf7f0; }
.site-footer-brand { max-width: 26em; }
.site-footer-brand .nav-brand { color: #faf7f0; margin-bottom: 12px; }
.site-footer-brand p { color: rgba(250,247,240,0.65); font-size: 14px; }
.site-footer-bottom {
  border-top: 1px solid rgba(250,247,240,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(250,247,240,0.55);
}

/* ---------- TALK TO YOUR DATA HERO ---------- */
.ttd-hero {
  padding: clamp(48px, 9vw, 120px) 0 clamp(24px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.ttd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 20% 20%, var(--hero-glow-1), transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 80%, var(--hero-glow-2), transparent 60%);
  pointer-events: none;
}
.ttd-hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.ttd-hero h1 { margin: 16px 0 18px; }
.ttd-hero p.lead { margin: 0 auto 26px; }

/* ---------- PARTNERS ---------- */
.partners-hero {
  padding: clamp(56px, 11vw, 140px) 0;
  background: var(--green-900);
  color: #faf7f0;
  position: relative;
  overflow: hidden;
}
.partners-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 20%, rgba(16,185,129,0.15), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 80%, rgba(61,143,46,0.14), transparent 60%);
  pointer-events: none;
}
.partners-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.partners-hero h1 { color: #faf7f0; margin: 18px 0; }
.partners-hero p.lead { color: rgba(250,247,240,0.82); margin: 0 auto 26px; }
.partners-hero .badge { background: rgba(16,185,129,0.16); color: var(--green-300); border-color: rgba(16,185,129,0.3); }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); } }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
}
@media (min-width: 720px) { .panel { padding: 32px; } }
.panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.panel-title.positive { color: var(--green-700); }
.panel-title.negative { color: var(--red-600); }
html[data-theme="dark"] .panel-title.positive { color: var(--green-300); }
html[data-theme="dark"] .panel-title.negative { color: #fca5a5; }
.panel ul.list-check li,
.panel ul.list-x li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.panel ul.list-check li:last-child,
.panel ul.list-x li:last-child { border-bottom: 0; }
.panel ul.list-check li::before,
.panel ul.list-x li::before {
  content: "";
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 1px;
  background-repeat: no-repeat;
  background-position: center;
}
.panel ul.list-check li::before {
  background-color: var(--green-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7 L6 9.5 L10.5 4.5' fill='none' stroke='%232d6a21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.panel ul.list-x li::before {
  background-color: #fee2e2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M4 4 L10 10 M10 4 L4 10' fill='none' stroke='%23b91c1c' stroke-width='2' stroke-linecap='round'/></svg>");
}
html[data-theme="dark"] .panel ul.list-check li::before {
  background-color: rgba(16,185,129,0.25);
}
html[data-theme="dark"] .panel ul.list-x li::before {
  background-color: rgba(239,68,68,0.2);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 600px)  { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.value-card-head {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 10px;
}
html[data-theme="dark"] .value-card-head { color: var(--green-300); }
.value-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; }
.value-card p { margin: 0; font-size: 14.5px; color: var(--text-muted); }

/* ---------- PRICING ---------- */
.pricing-head { text-align: center; max-width: 740px; margin: 0 auto 32px; }
.toggle-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  margin: 10px auto 40px;
}
.toggle-btn {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.toggle-btn.is-active { background: var(--green-900); color: #faf7f0; }
html[data-theme="dark"] .toggle-btn.is-active { background: var(--green-600); color: #fff; }
.toggle-save {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  background: var(--amber-300);
  color: var(--green-900);
  border-radius: 4px;
  margin-left: 4px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 720px)  { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
@media (min-width: 720px) { .plan { padding: 32px; } }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.is-featured {
  background: var(--green-900);
  color: #faf7f0;
  border-color: var(--green-800);
}
.plan.is-featured:hover { box-shadow: 0 12px 40px rgba(13,31,20,0.3); }
.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-300);
  color: var(--green-900);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
html[data-theme="dark"] .plan-name { color: var(--green-300); }
.plan.is-featured .plan-name { color: var(--green-300); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-family: var(--font-body);
}
.plan-price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.plan.is-featured .plan-price .amount { color: #faf7f0; }
.plan-price .period { font-size: 14px; color: var(--text-soft); font-family: var(--font-body); font-weight: 500; }
.plan.is-featured .plan-price .period { color: rgba(250,247,240,0.6); }
.plan-price-annual {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 16px;
  font-weight: 500;
}
body[data-billing="annual"] .plan-price-annual-monthly,
body:not([data-billing="annual"]) .plan-price-annual-annual { display: none; }
.plan.is-featured .plan-price-annual { color: rgba(250,247,240,0.6); }
.plan-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}
.plan.is-featured .plan-tagline { color: #faf7f0; }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.plan.is-featured .plan-features li { color: rgba(250,247,240,0.85); }
.plan-features li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7 L6 10 L11 4' fill='none' stroke='%233d8f2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.plan.is-featured .plan-features li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7 L6 10 L11 4' fill='none' stroke='%236ee7b7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.plan .btn { width: 100%; }

.pricing-every {
  margin-top: 36px;
  padding: 24px;
  background: var(--bg-softer);
  border-radius: var(--r-xl);
  text-align: center;
}
@media (min-width: 720px) { .pricing-every { padding: 32px; } }
html[data-theme="dark"] .pricing-every { background: var(--surface-2); }
.pricing-every h3 { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pricing-every p { margin: 0 0 8px; color: var(--text-muted); font-size: 14.5px; }
.pricing-every .pricing-every-list { color: var(--text-soft); font-size: 13.5px; }

/* ---------- SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   SECTION BADGE — colored pill with SVG icon.
   Replaces the old plain .eyebrow on section headers.
   Usage:
     <span class="section-badge section-badge--green">
       <svg class="section-badge-icon">...</svg>
       Capture · Analyze · Act
     </span>
   ============================================================ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: clamp(12.5px, 1.5vw, 14px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out);
}
.section-badge:hover { transform: translateY(-1px); }
.section-badge-icon {
  width: 22px; height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  flex-shrink: 0;
  display: grid; place-items: center;
}
.section-badge-icon svg { width: 100%; height: 100%; display: block; }
html[data-theme="dark"] .section-badge-icon { background: rgba(255,255,255,0.14); }

/* ---- Color variants ---- */
.section-badge--green {
  background: #e8f5ea;
  color: #1f6b2a;
  border-color: #cfe7d2;
}
.section-badge--amber {
  background: #fff4dc;
  color: #8a5a0f;
  border-color: #f2dfad;
}
.section-badge--violet {
  background: #efeafe;
  color: #4f3ab8;
  border-color: #d8cef9;
}
.section-badge--blue {
  background: #e4f0ff;
  color: #1e4a9c;
  border-color: #c9def7;
}
.section-badge--rose {
  background: #ffe8ec;
  color: #a21f3c;
  border-color: #f5cbd3;
}
.section-badge--ink {
  background: var(--green-900);
  color: #c7f5d0;
  border-color: var(--green-800);
}
.section-badge--ink .section-badge-icon { background: rgba(255,255,255,0.08); }

/* Dark-theme overrides for badges */
html[data-theme="dark"] .section-badge--green {
  background: rgba(34,139,64,0.18);
  color: #a8e6b5;
  border-color: rgba(34,139,64,0.35);
}
html[data-theme="dark"] .section-badge--amber {
  background: rgba(200,154,61,0.18);
  color: #f2d79c;
  border-color: rgba(200,154,61,0.35);
}
html[data-theme="dark"] .section-badge--violet {
  background: rgba(99,102,241,0.16);
  color: #cdc8f9;
  border-color: rgba(99,102,241,0.32);
}
html[data-theme="dark"] .section-badge--blue {
  background: rgba(59,130,246,0.16);
  color: #b9d2f9;
  border-color: rgba(59,130,246,0.32);
}
html[data-theme="dark"] .section-badge--rose {
  background: rgba(239,68,68,0.16);
  color: #f5b9c1;
  border-color: rgba(239,68,68,0.32);
}

/* ============================================================
   HERO STAT — big poster-style number treatment for key metrics
   Example: 50–75% of your shoppers abandon their cart.
   ============================================================ */
.hero-stat {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 5vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green-700);
  padding: 2px 8px 4px;
  background: linear-gradient(180deg, transparent 62%, rgba(200,154,61,0.35) 62%, rgba(200,154,61,0.35) 96%, transparent 96%);
  transform: translateY(2px);
}
html[data-theme="dark"] .hero-stat {
  color: var(--green-300);
  background: linear-gradient(180deg, transparent 62%, rgba(232,199,119,0.28) 62%, rgba(232,199,119,0.28) 96%, transparent 96%);
}

/* Inline callout for mid-paragraph numbers, e.g. "68% of first-time..." */
.inline-stat {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--green-700);
}
html[data-theme="dark"] .inline-stat { color: var(--green-300); }

/* ============================================================
   STEP NUMBER POSTER — giant 01 / 02 / 03 behind step titles
   Used alongside .how-step-head. Adds deliberate visual drama.
   ============================================================ */
.step-poster {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.step-poster-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--green-700);
  -webkit-text-stroke: 1px var(--green-700);
  color: transparent;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="dark"] .step-poster-num {
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke-color: var(--green-300);
}
.step-poster-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
}

/* ============================================================
   FORCE LIGHT — any animation host inside .force-light always
   renders with the light-mode palette, regardless of theme.
   Requirement: capture / analyze / act canvases stay white.
   ============================================================ */
.force-light {
  /* Locally override the semantic tokens to light-mode values
     so descendant markup renders with a white card. */
  --bg:          #ffffff;
  --bg-soft:     #f2f8f2;
  --bg-softer:   #e6f2e6;
  --surface:     #ffffff;
  --surface-2:   #f4f8f3;

  --text:        #0d1f14;
  --text-muted:  #2d3530;
  --text-soft:   #5c665e;
  --text-dim:    #8a938c;

  --border:         rgba(13,31,20,0.08);
  --border-strong:  rgba(13,31,20,0.14);
  --shadow-sm: 0 1px 2px rgba(13,31,20,0.04), 0 2px 6px rgba(13,31,20,0.04);
  --shadow-md: 0 8px 24px rgba(13,31,20,0.08);
  --shadow-lg: 0 8px 24px rgba(13,31,20,0.08), 0 32px 80px -12px rgba(13,31,20,0.18);

  color-scheme: light;
  color: var(--text);
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(13,31,20,0.08);
  box-shadow: var(--shadow-md);
}
/* When dark, give the force-light block a subtle ring so it reads as intentional */
html[data-theme="dark"] .force-light {
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ============================================================
   ASK GRID — 6 question cards for "You've always wondered"
   Large, editorial, poster-typography questions that stand out.
   ============================================================ */
.ask-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.ask-card {
  position: relative;
  padding: 28px 24px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-out),
              border-color 0.3s ease,
              background 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}
.ask-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-700), var(--amber-500, #c89a3d));
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.ask-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-700);
  box-shadow: var(--shadow-md);
}
.ask-card:hover::before { opacity: 1; }
.ask-q-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--green-700);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  opacity: 0.85;
}
html[data-theme="dark"] .ask-q-mark { color: var(--green-300); }
.ask-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}

/* ---------- FINE DETAILS ---------- */
.hr-divider { border: 0; height: 1px; background: var(--border); margin: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
