/* ── RESET & TOKENS ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #1D9E75;
  --green-dark:   #0F6E56;
  --green-deeper: #085041;
  --green-light:  #E1F5EE;
  --green-mid:    #9FE1CB;
  --blue:         #185FA5;
  --blue-light:   #E6F1FB;
  --amber:        #BA7517;
  --amber-light:  #FAEEDA;
  --coral:        #D85A30;
  --coral-light:  #FAECE7;
  --purple:       #534AB7;
  --ink:          #111210;
  --ink-80:       #2C2C2A;
  --ink-60:       #444441;
  --ink-40:       #5F5E5A;
  --ink-20:       #888780;
  --ink-10:       #B4B2A9;
  --border:       #DDD9CF;
  --border-light: #ECEAE4;
  --surface:      #F7F6F2;
  --surface-2:    #F1EFE8;
  --white:        #FFFFFF;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'SFMono-Regular', 'Consolas', monospace;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);

  --nav-h: 64px;
  --max-w: 1120px;
  --page-px: clamp(20px, 5vw, 60px);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink-80);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.body-lg { font-size: 1.1rem; line-height: 1.7; color: var(--ink-60); }
.body-md { font-size: 1rem;   line-height: 1.7; color: var(--ink-60); }
.body-sm { font-size: 0.875rem; line-height: 1.65; color: var(--ink-40); }
.text-muted  { color: var(--ink-20); }
.text-green  { color: var(--green); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-sm { padding: clamp(40px, 5vw, 60px) 0; }
.section-header { margin-bottom: clamp(36px, 5vw, 56px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  text-decoration: none;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green-light);
  text-decoration: none;
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  text-decoration: none;
  color: var(--white);
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--green-dark);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo-text { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.nav-logo-sub  { font-size: 10px; color: var(--ink-20); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; display: block; line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-60);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.12s, background 0.12s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  background: var(--surface);
}
.nav-cta { margin-left: auto; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  color: var(--ink-60);
}
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--page-px) 24px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-60);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.nav-mobile-menu a:hover { background: var(--surface); color: var(--ink); }
.nav-mobile-menu .btn { margin-top: 8px; justify-content: center; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
  background: var(--green-deeper);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-mark { background: rgba(255,255,255,0.15); }
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand .nav-logo-sub  { color: var(--green-mid); }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-top: 14px; line-height: 1.6; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.12s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── CARDS ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.icon-green  { background: var(--green-light); }
.icon-blue   { background: var(--blue-light); }
.icon-amber  { background: var(--amber-light); }
.icon-coral  { background: var(--coral-light); }

/* ── BADGE / PILL ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.badge-green  { background: var(--green-light);  color: var(--green-dark); }
.badge-amber  { background: var(--amber-light);  color: var(--amber); }
.badge-blue   { background: var(--blue-light);   color: var(--blue); }
.badge-coral  { background: var(--coral-light);  color: var(--coral); }
.badge-white  { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── DIVIDER ──────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border-light); }
.divider-dark { border-top-color: rgba(255,255,255,0.12); }

/* ── FORM ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-60);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8125rem; color: var(--ink-20); margin-top: 5px; }

/* ── STAT BAR ─────────────────────────────────────────────────── */
.stat-bar {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ── PRICING CARD ─────────────────────────────────────────────── */
.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.2s;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.10);
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-featured-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-period { font-size: 0.875rem; color: var(--ink-20); font-weight: 500; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--ink-60);
}
.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-features li.disabled { color: var(--ink-10); }
.price-features li.disabled::before { content: '–'; color: var(--ink-10); }

/* ── TESTIMONIAL ──────────────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 3px solid var(--green);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-80);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author { font-size: 0.875rem; font-weight: 600; color: var(--ink-60); }
.testimonial-role   { font-size: 0.8125rem; color: var(--ink-20); }

/* ── UTILITY ──────────────────────────────────────────────────── */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── PAGE-SPECIFIC OVERRIDES INJECTED PER PAGE ────────────────── */
