/* ===== FONTS ===== */
/* Fraunces for headlines — editorial, warm, authoritative */
/* Figtree for body — modern, clean, readable */

/* ===== TOKENS ===== */
:root {
  --cream: #F8F5F0;
  --cream-dark: #EDE8E1;
  --forest: #1B4332;
  --forest-light: #2D6A4F;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --ink: #1C1917;
  --ink-light: #44403C;
  --ink-muted: #78716C;
  --white: #FFFFFF;
  --surface: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 1px 3px rgba(27,67,50,0.06), 0 4px 16px rgba(27,67,50,0.08);
  --shadow-card-hover: 0 4px 24px rgba(27,67,50,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--forest-light); border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,67,50,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid var(--cream-dark);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: var(--space-md);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.hero-feature-tag {
  background: var(--cream-dark);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(27,67,50,0.12);
}

/* Hero cards */
.hero-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(27,67,50,0.07);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-card-1 { background: var(--forest); color: var(--white); }
.hero-card-2 { transform: translateY(8px); }
.hero-card-3 { transform: translateY(-4px); }
.hero-card-4 { transform: translateY(4px); }
.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
}
.card-stat {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card-sub {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ===== PROBLEM ===== */
.problem { background: var(--forest); color: var(--white); padding: var(--space-3xl) 0; }
.problem-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.problem-header { margin-bottom: var(--space-xl); }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-light);
  margin-bottom: var(--space-sm);
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.problem .section-headline { color: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.problem-stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber-light);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.03em;
}
.problem-desc { font-size: 0.95rem; opacity: 0.8; line-height: 1.65; }
.problem-closing {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--amber-light);
  font-style: italic;
}

/* ===== SERVICES ===== */
.services { padding: var(--space-3xl) 0; }
.services-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.services .section-headline { color: var(--forest); margin-bottom: var(--space-xl); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  margin-bottom: var(--space-md);
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}
.service-desc { font-size: 0.9rem; color: var(--ink-light); line-height: 1.65; }

/* ===== PRICING ===== */
.pricing { padding: var(--space-3xl) 0; background: var(--cream-dark); }
.pricing-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.pricing .section-headline { color: var(--forest); margin-bottom: var(--space-xl); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
  position: relative;
}
.pricing-card-featured {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.pricing-card-featured .pricing-desc,
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  display: block;
  margin-bottom: var(--space-sm);
}
.pricing-card-featured .pricing-tier { color: var(--amber-light); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: var(--space-sm);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--forest);
}
.pricing-card-featured .price-amount { color: var(--white); }
.price-period { font-size: 1rem; color: var(--ink-muted); }
.pricing-card-featured .price-period { color: rgba(255,255,255,0.6); }
.pricing-desc { font-size: 0.875rem; color: var(--ink-light); margin-bottom: var(--space-md); line-height: 1.6; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-features li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card-featured .pricing-features li::before { background-color: var(--amber-light); }

/* ===== NICHES ===== */
.niches { padding: var(--space-3xl) 0; }
.niches-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.niches .section-headline { color: var(--forest); margin-bottom: var(--space-xl); }
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.niche-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
}
.niche-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
.niche-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
}

/* ===== CLOSING ===== */
.closing { padding: var(--space-3xl) 0; background: var(--forest); }
.closing-inner { max-width: 800px; margin: 0 auto; padding: 0 var(--space-lg); text-align: center; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.5); padding: var(--space-2xl) 0 var(--space-lg); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.footer-top { margin-bottom: var(--space-xl); }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: var(--space-xs);
}
.footer-tagline { font-size: 0.875rem; max-width: 400px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--space-md); }
.footer-copy { font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-right { order: -1; }
  .hero-card-stack { grid-template-columns: repeat(4, 1fr); }
  .hero-card-2, .hero-card-3, .hero-card-4 { transform: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .hero-card-stack { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr; }
  .section-headline { font-size: 1.8rem; }
  .price-amount { font-size: 2.5rem; }
}