/* LeadPulse — myleadpulse.io */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --surface: #ffffff;
  --ink: #111322;
  --ink-2: #474b63;
  --muted: #6b7088;
  --line: #e4e6f0;
  --brand: #4f46e5;
  --brand-2: #3a3db8;
  --brand-soft: #eef0ff;
  --on-brand: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(40, 42, 110, 0.35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1020;
    --bg-soft: #151830;
    --surface: #1a1d36;
    --ink: #f3f4fb;
    --ink-2: #c5c8dc;
    --muted: #9da1ba;
    --line: #2a2e4d;
    --brand: #8b8ff5;
    --brand-2: #6f73ec;
    --brand-soft: #23264a;
    --on-brand: #0e1020;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.wordmark span { color: var(--brand); }
.nav { display: none; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.header-row .btn-small { margin-left: auto; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .header-row .btn-small { margin-left: 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 16px; border: 1px solid transparent; }
.btn:hover { background: var(--brand-2); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

/* Hero */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.035em; }
.hero h1 span { color: var(--brand); }
.hero .lede { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero .btn-row { margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; padding-bottom: 40px; }
.hero-phones .phone:first-child { transform: rotate(-4deg) translateX(18px); z-index: 1; }
.hero-phones .phone:last-child { transform: rotate(5deg) translate(-18px, 40px); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.phone { width: min(230px, 46vw); border-radius: 34px; padding: 8px; background: #111322; box-shadow: var(--shadow); flex: none; }
.phone img { border-radius: 27px; aspect-ratio: 660 / 1430; object-fit: cover; object-position: top; background: #f5f6fb; }

/* Features */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; justify-items: center; }
@media (min-width: 900px) { .screens { grid-template-columns: repeat(4, 1fr); } }
.screens figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.screens .phone { width: 100%; max-width: 230px; }
.screens figcaption { font-size: 14px; color: var(--muted); text-align: center; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 24px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.step h3 { margin-top: 0; }

/* Split callout */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split h2 { font-size: clamp(28px, 4vw, 38px); }
.split p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.agency-panel { border-radius: 28px; padding: 32px; background: linear-gradient(135deg, #5b5fe8, #3a3db8); color: #fff; }
.agency-panel h2 { color: #fff; }
.agency-panel p { color: rgba(255, 255, 255, 0.85); }
.agency-panel .btn { background: #fff; color: #3a3db8; margin-top: 24px; }
.agency-panel .btn:hover { background: #eef0ff; }
@media (min-width: 900px) { .agency-panel { padding: 56px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Download */
.download { text-align: center; }
.download h2 { font-size: clamp(28px, 4vw, 40px); }
.download p { margin: 14px auto 0; max-width: 560px; color: var(--ink-2); font-size: 18px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 200px; padding: 10px 20px; border-radius: 14px; background: var(--ink); color: var(--bg); line-height: 1.25; }
.store:hover { text-decoration: none; opacity: 0.9; }
.store-small { font-size: 12px; opacity: 0.8; }
.store-big { font-size: 17px; font-weight: 600; }
.store-soon { background: var(--bg-soft); color: var(--ink-2); border: 1px dashed var(--line); }
.download .web-note { margin-top: 20px; font-size: 15px; }

/* Documents (privacy, terms, support) */
.doc { padding: 48px 0 80px; }
.doc-body { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.doc .intro { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.doc h2 { font-size: 22px; margin-top: 44px; }
.doc h3 { font-size: 17px; margin-top: 24px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; }
.doc li { margin-top: 8px; }
.doc strong { color: var(--ink); }
.doc .callout { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); }
.doc .callout p { color: var(--ink); margin-top: 0; }
.doc .cards { margin-top: 32px; }
.doc .card h2 { font-size: 18px; margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid p { margin-top: 12px; max-width: 280px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid nav a { color: var(--ink-2); font-size: 15px; }
.footer-head { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-line a { color: inherit; }

.center { text-align: center; }
.mt-lg { margin-top: 40px; }
