:root {
  --bg: #F5F2EC;
  --bg-alt: #EDEAE3;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #C8860A;
  --accent-light: #F5E6C8;
  --border: #D9D4CA;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--white); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  color: var(--fg);
  font-weight: 400;
}
.tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  border-left: 1px solid var(--border);
}

/* ── HERO ── */
.hero {
  padding: 5rem 0 4rem;
  background: var(--bg);
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 2.5rem;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.proof-stat {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
}
.proof-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Phone frame */
.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 260px;
  background: #1A1A1A;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
}
.phone-screen {
  background: #F0EEE8;
  border-radius: 24px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  min-height: 320px;
}
.msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.msg.incoming { align-self: flex-start; }
.msg.outgoing { align-self: flex-end; }
.msg-time {
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
  padding-left: 0.25rem;
}
.msg-bubble {
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
}
.msg.incoming .msg-bubble {
  background: var(--white);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.msg.outgoing .msg-bubble {
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.automated-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  color: var(--fg-muted);
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── THE LEAK ── */
.the-leak {
  background: var(--fg);
  color: var(--white);
  padding: 5rem 0;
}
.the-leak h2 { color: var(--white); margin-bottom: 3rem; }
.leak-header { margin-bottom: 0; }
.leak-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.leak-number {
  font-family: 'Instrument Serif', serif;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.leak-unit {
  font-size: 2rem;
}
.leak-stat p {
  color: #A8A49E;
  font-size: 0.95rem;
  line-height: 1.55;
}
.leak-quote {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.leak-quote blockquote {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #D4D0C8;
  margin-bottom: 0.75rem;
}
.leak-quote cite {
  font-size: 0.8rem;
  color: #7A7670;
}

/* ── THE FIX ── */
.the-fix { padding: 5rem 0; background: var(--bg); }
.the-fix h2 { margin-bottom: 1rem; }
.fix-intro {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.fix-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.fix-step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.fix-step p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.65; }

/* ── SERVICES ── */
.services { padding: 5rem 0; background: var(--bg-alt); }
.services h2 { margin-bottom: 3rem; }
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
}
.service-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.service-tagline {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.service-card > p { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-features li {
  font-size: 0.9rem;
  color: var(--fg);
  padding-left: 1.25rem;
  position: relative;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── PRICING ── */
.pricing { padding: 5rem 0; background: var(--bg); }
.pricing h2 { margin-bottom: 2.5rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem;
  position: relative;
}
.pricing-card-addon {
  background: var(--bg-alt);
}
.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.price-main {
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  color: var(--fg);
  font-weight: 400;
}
.price-sub { font-size: 0.85rem; color: var(--fg-muted); }
.price-recurring { margin-bottom: 1.25rem; }
.pricing-desc { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.pricing-includes { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pricing-includes li {
  font-size: 0.875rem;
  color: var(--fg);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note { color: var(--fg-muted); font-size: 0.85rem; max-width: 60ch; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 5rem 0; background: var(--fg); }
.testimonials h2 { color: var(--white); margin-bottom: 3rem; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.testimonial-item { }
.testimonial-quote {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.testimonial-quote p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1rem;
  color: #D4D0C8;
  line-height: 1.6;
}
.testimonial-meta { padding-left: 1.75rem; }
.testimonial-role { font-size: 0.8rem; color: #7A7670; }
.roi-breakdown { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2.5rem; }
.roi-breakdown h3 { color: #A8A49E; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 400; margin-bottom: 1.75rem; }
.roi-breakdown h3 strong { color: var(--accent); }
.roi-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.roi-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 1.25rem;
}
.roi-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.roi-label { font-size: 0.75rem; color: #7A7670; }

/* ── CLOSING ── */
.closing {
  padding: 6rem 0;
  background: var(--bg-alt);
  text-align: center;
}
.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--fg);
  color: #7A7670;
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-brand .wordmark { color: var(--white); font-size: 1rem; margin-bottom: 0.35rem; display: block; }
.footer-brand p { font-size: 0.8rem; color: #5A5651; }
.footer-meta p { font-size: 0.8rem; color: #5A5651; max-width: 40ch; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .leak-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .leak-number { font-size: 3rem; }
  .fix-steps { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .roi-numbers { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta p { text-align: left; }
}
@media (max-width: 600px) {
  .section-inner { padding: 0 1.25rem; }
  .header-inner { padding: 0 1.25rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-proof { gap: 1.25rem; }
  .the-leak, .the-fix, .services, .pricing, .testimonials, .closing { padding: 3.5rem 0; }
  .roi-numbers { grid-template-columns: 1fr 1fr; }
}