/* LeadLoop marketing site — product brand, not eng docs */
:root {
  --cream: #F3F0E7;
  --cream-2: #EBE7DB;
  --paper: #FFFEFA;
  --ink: #141414;
  --charcoal: #2A2A2A;
  --nav: #1F1F1F;
  --slate: #5C5C5C;
  --muted: #7A7A7A;
  --line: rgba(20, 20, 20, 0.08);
  --yellow: #F2E84A;
  --yellow-deep: #E6D83A;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(20, 20, 20, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 31, 31, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  font-weight: 560;
  padding: 8px 14px;
  border-radius: 999px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 999px;
}
.nav-cta:hover { filter: brightness(0.97); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 14px 22px;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.97); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(0,0,0,0.03); }

/* Official App Store badge */
.as-badge {
  display: inline-block;
  height: 48px;
  width: auto;
  min-width: 144px;
  transition: opacity .15s ease, transform .15s ease;
}
.as-badge:hover { opacity: 0.92; transform: translateY(-1px); }
a:has(.as-badge) { line-height: 0; }
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

/* —— Hero —— */
.hero {
  padding: 64px 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 7px 12px;
  border-radius: 999px;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5.2vw, 3.9rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero-lead {
  margin: 0;
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 34rem;
  font-weight: 420;
}
.hero-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Phone product card */
.device {
  background: var(--paper);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.device-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.device-name em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--cream-2);
  padding: 3px 8px;
  border-radius: 999px;
}
.stage {
  display: flex;
  gap: 4px;
  align-items: center;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px;
  overflow: auto;
  margin-bottom: 14px;
}
.stage span {
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--slate);
}
.stage .on { background: var(--charcoal); color: #fff; }
.stage .next { background: var(--yellow); color: var(--ink); margin-left: auto; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.metric {
  background: var(--cream);
  border-radius: 14px;
  padding: 12px;
}
.metric small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.metric strong {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: 16px;
  padding: 11px 12px;
  margin-bottom: 8px;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #D8C7A8, #B9A78A);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 750;
  flex-shrink: 0;
}
.person b { display: block; font-size: 0.92rem; font-weight: 650; }
.person span { font-size: 0.75rem; color: var(--slate); }
.chip {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--slate);
  white-space: nowrap;
}
.chip.due { background: var(--yellow); color: var(--ink); }
.chip.hot { background: var(--charcoal); color: #fff; }

/* —— Audience strip —— */
.audience {
  padding: 36px 0 28px;
  margin: 8px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.audience-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin-inline: auto;
}
.audience-list li {
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(20, 20, 20, 0.03);
}

/* —— Sections —— */
section { padding: 64px 0; }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.section-lead {
  margin: 0 0 28px;
  max-width: 36rem;
  color: var(--slate);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20,20,20,0.03);
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.8rem;
  font-weight: 550;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--ink);
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 650; }
.step p { margin: 0; color: var(--slate); }

/* Quote / proof */
.proof {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 28px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}
.proof blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.proof cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.proof-stats {
  display: grid;
  gap: 12px;
}
.proof-stat {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px 18px;
}
.proof-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.proof-stat span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  position: relative;
}
.price-card.featured {
  background: var(--charcoal);
  color: var(--white);
  border-color: transparent;
}
.price-card.featured .muted,
.price-card.featured li { color: rgba(255,255,255,0.68); }
.price-card .badge-best {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 650;
}
.price {
  margin: 8px 0 4px;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.price span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.65;
}
.muted { color: var(--muted); font-size: 0.9rem; margin: 0 0 16px; }
.price-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.price-card li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--slate);
  border-top: 1px solid var(--line);
}
.price-card.featured li { border-top-color: rgba(255,255,255,0.08); }
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--ink);
}
.price-card.featured li::before { color: var(--yellow); }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--slate);
}

/* Final CTA */
.final {
  text-align: center;
  padding: 72px 0 80px;
}
.final h2 { margin-bottom: 12px; }
.final p {
  margin: 0 auto 24px;
  max-width: 30rem;
  color: var(--slate);
}
.final .store-row { justify-content: center; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }

/* Legal pages */
.legal {
  padding: 48px 0 80px;
  max-width: 720px;
}
.legal h1 {
  font-weight: 550;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

@media (max-width: 900px) {
  .hero, .proof { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .steps, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}
