/* ============================================================
   LeakIQ — Marketing Diagnostics Landing Page
   Fonts: DM Serif Display (headings) + DM Sans (body)
   Palette: #16161a charcoal | #f4f1ec off-white | #f0a500 amber
   ============================================================ */

:root {
  --bg:        #f4f1ec;
  --bg-dark:   #16161a;
  --fg:        #16161a;
  --fg-light:  #5c5c63;
  --fg-muted:  #9b9ba3;
  --accent:    #f0a500;
  --accent-dim: rgba(240, 165, 0, 0.12);
  --border:    rgba(22, 22, 26, 0.10);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.nav__tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Section label ───────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  color: #f4f1ec;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero__bg-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero__bg-orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240,165,0,0.05) 0%, transparent 70%);
  bottom: 50px; left: 10%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.5);
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f4f1ec;
  margin-bottom: 1.5rem;
}

.hero__headline em {
  color: var(--accent);
  font-style: italic;
}

.hero__rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__lede {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(244,241,236,0.85);
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 0.9rem;
  color: rgba(244,241,236,0.5);
  line-height: 1.6;
}

/* Hero visual — leak meter */
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.leak-meter {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.leak-meter__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.4);
  margin-bottom: 0.75rem;
}

.leak-meter__display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.leak-meter__bar-wrap {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.leak-meter__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b00 100%);
  border-radius: 4px;
  transition: width 1.5s ease;
}

.leak-meter__pct {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  min-width: 70px;
  text-align: right;
}

.leak-meter__caption {
  font-size: 0.7rem;
  color: rgba(244,241,236,0.35);
  font-style: italic;
}

.gap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gap-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 0.875rem;
  color: rgba(244,241,236,0.7);
}

.gap-item__severity {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(240,165,0,0.15);
  color: var(--accent);
}

/* ── Proof / Stats bar ───────────────────────────────── */
.proof {
  background: var(--bg-dark);
  border-top: 1px solid rgba(240,165,0,0.15);
  border-bottom: 1px solid rgba(240,165,0,0.15);
  padding: 3.5rem 2rem;
}

.proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.proof__stat {
  text-align: center;
}

.proof__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof__desc {
  font-size: 0.8rem;
  color: rgba(244,241,236,0.4);
  max-width: 180px;
  line-height: 1.5;
}

.proof__divider {
  width: 1px;
  height: 60px;
  background: rgba(240,165,0,0.15);
}

/* ── Process ─────────────────────────────────────────── */
.process {
  padding: var(--space-2xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process__header {
  margin-bottom: var(--space-xl);
}

.process__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.process__sub {
  font-size: 1.05rem;
  color: var(--fg-light);
  max-width: 520px;
  line-height: 1.65;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
}

.step {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.step:hover {
  box-shadow: 0 8px 40px rgba(22,22,26,0.08);
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--fg-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.step__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step__detail span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  color: var(--accent);
}

/* ── Gaps ─────────────────────────────────────────────── */
.gaps {
  background: var(--bg-dark);
  color: #f4f1ec;
  padding: var(--space-2xl) 2rem;
}

.gaps__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gaps__header {
  margin-bottom: var(--space-xl);
}

.gaps__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #f4f1ec;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gaps__sub {
  font-size: 1rem;
  color: rgba(244,241,236,0.5);
}

.gaps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.gap-card {
  background: rgba(22,22,26,0.6);
  padding: 2rem;
  transition: background 0.2s ease;
}

.gap-card:hover {
  background: rgba(240,165,0,0.04);
}

.gap-card__icon {
  margin-bottom: 1rem;
}

.gap-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: #f4f1ec;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.gap-card__desc {
  font-size: 0.85rem;
  color: rgba(244,241,236,0.5);
  line-height: 1.6;
}

/* ── Tiers ────────────────────────────────────────────── */
.tiers {
  padding: var(--space-2xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tiers__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.tiers__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tiers__sub {
  font-size: 1rem;
  color: var(--fg-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tier {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.tier:hover {
  box-shadow: 0 8px 40px rgba(22,22,26,0.08);
}

.tier--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(240,165,0,0.12);
}

.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.tier__header {
  margin-bottom: 1.25rem;
}

.tier__name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.tier__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--fg);
  line-height: 1;
}

.tier__note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.tier__desc {
  font-size: 0.875rem;
  color: var(--fg-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg);
  line-height: 1.5;
}

.tier__features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.tiers__separator {
  text-align: center;
  position: relative;
}

.tiers__separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.tiers__or {
  position: relative;
  background: var(--bg);
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ── Manifesto ────────────────────────────────────────── */
.manifesto {
  background: #eceae5;
  padding: var(--space-2xl) 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto__inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.manifesto__dash {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.manifesto__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: var(--accent);
}

.manifesto__body {
  font-size: 1rem;
  color: var(--fg-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.manifesto__body em {
  color: var(--fg);
  font-style: normal;
  font-weight: 500;
}

/* ── Closing ──────────────────────────────────────────── */
.closing {
  background: var(--bg-dark);
  padding: var(--space-2xl) 2rem;
  text-align: center;
}

.closing__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.closing__accent {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.closing__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #f4f1ec;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.closing__sub {
  font-size: 1rem;
  color: rgba(244,241,236,0.45);
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: #0f0f12;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(240,165,0,0.08);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #f4f1ec;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(244,241,236,0.3);
}

.footer__copy {
  font-size: 0.7rem;
  color: rgba(244,241,236,0.2);
  margin-top: 0.5rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .step-connector {
    display: none;
  }

  .gaps__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tiers__grid {
    grid-template-columns: 1fr;
  }

  .proof__inner {
    gap: 2rem;
  }

  .proof__divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  .gaps__grid {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 1.5rem;
  }

  .tier {
    padding: 2rem 1.5rem;
  }
}