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

:root {
  --bg: #F8F5F0;
  --fg: #1A2A1E;
  --accent: #C9893A;
  --accent-dark: #A06B23;
  --green: #2D5016;
  --green-light: #3D6B1E;
  --muted: #6B7A68;
  --surface: #EDEAE4;
  --border: #D8D4CC;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ───────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ─── Nav ──────────────────────────────────────── */
.nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  padding: 5rem 2rem 5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}
.hero-stat-block {
  background: var(--fg);
  color: var(--bg);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  text-align: left;
}
.hero-stat-number {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero-stat-label {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  opacity: 0.75;
}
.hero-stat-context {
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0.55;
  font-family: var(--mono);
}

/* ─── Leak ─────────────────────────────────────── */
.leak {
  background: var(--surface);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.leak-inner { max-width: 1100px; margin: 0 auto; }
.leak-headline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 640px;
  margin-bottom: 3rem;
  color: var(--fg);
}
.leak-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.leak-col { padding: 1.75rem; border-radius: 4px; }
.leak-col--before { background: #F5F2EE; border: 1px solid var(--border); }
.leak-col--after { background: var(--green); border: 1px solid var(--green); }
.leak-col-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}
.leak-col--after .leak-col-label { color: var(--bg); }
.leak-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  line-height: 1.4;
}
.leak-col--before .leak-item { color: #8A8078; }
.leak-col--after .leak-item { color: #D4E8C4; }
.leak-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.leak-col--before .leak-icon { background: #E0D8D0; color: #8A8078; }
.leak-icon--green { background: rgba(255,255,255,0.15); color: #C4E8A4; }
.leak-arrow {
  display: flex;
  align-items: center;
  padding-top: 6rem;
  color: var(--accent);
}

/* ─── Automations ──────────────────────────────── */
.automations { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.automations-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 3rem;
  color: var(--fg);
}
.automations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.automations-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}
.auto-icon {
  width: 48px;
  height: 48px;
  background: var(--fg);
  color: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.automations-card h3 {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  font-family: var(--serif);
}
.automations-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.auto-stat {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(201,137,58,0.1);
  border: 1px solid rgba(201,137,58,0.2);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  display: inline-block;
}

/* ─── Pricing ──────────────────────────────────── */
.pricing {
  background: var(--fg);
  padding: 5rem 2rem;
}
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing .section-label { color: var(--accent); }
.pricing-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bg);
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
}
.pricing-card--featured {
  background: rgba(201,137,58,0.1);
  border: 1px solid rgba(201,137,58,0.4);
}
.pricing-tier {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.pricing-price {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--bg);
  margin-bottom: 0.25rem;
}
.pricing-price span { font-size: 1rem; opacity: 0.5; font-family: var(--sans); }
.pricing-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pricing-features li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}
.pricing-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  max-width: 500px;
}

/* ─── Niches ───────────────────────────────────── */
.niches { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.niches-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.niches-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.niche-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
}
.niche-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.niche-item span {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--muted);
}

/* ─── Closing ──────────────────────────────────── */
.closing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 6rem 2rem;
}
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.closing-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.closing-cta {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--fg);
}

/* ─── Footer ───────────────────────────────────── */
.footer {
  background: var(--fg);
  padding: 3rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  max-width: 400px;
}

/* ─── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stat-block { max-width: 360px; }
  .leak-comparison { grid-template-columns: 1fr; }
  .leak-arrow { display: none; }
  .automations-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.5rem 3rem; }
  .leak { padding: 3rem 1.5rem; }
  .automations { padding: 3rem 1.5rem; }
  .pricing { padding: 3rem 1.5rem; }
  .niches { padding: 3rem 1.5rem; }
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
  .closing { padding: 4rem 1.5rem; }
  .hero-stat-number { font-size: 3rem; }
  .nav { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }
}