/* ==========================================================
   Speed To Lead Automations - landing page styles
   Mobile-first. No framework.
   ========================================================== */
:root {
  --navy-900: #070e1c;
  --navy-800: #0b1426;
  --navy-700: #111d36;
  --navy-600: #1a2a4a;
  --slate-500: #5b6780;
  --slate-400: #8b96ab;
  --slate-200: #d9dfea;
  --slate-100: #eef1f6;
  --white: #ffffff;
  --text: #0f1a2e;
  --text-muted: #4a5670;
  --orange: #ff6a1a;
  --orange-600: #e85a0c;
  --orange-100: #fff0e6;
  --blue: #2f8cff;
  --blue-100: #e7f1ff;
  --green: #18b26b;
  --danger: #d93025;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 40, .06), 0 2px 8px rgba(10, 20, 40, .05);
  --shadow: 0 10px 30px rgba(10, 20, 40, .10);
  --shadow-lg: 0 24px 60px rgba(3, 8, 20, .35);
  --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* room for mobile CTA bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
h1, h2 { text-wrap: balance; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
.narrow { max-width: 820px; }
.small { font-size: .875rem; }
.muted { color: var(--text-muted); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 26, .35); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 106, 26, .42); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--slate-200); }
.btn-ghost-dark:hover { border-color: var(--text); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-600); }
.btn-sm { padding: 10px 16px; font-size: .93rem; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 14, 28, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.1; }
.logo-text span { color: var(--orange); font-weight: 700; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--slate-200); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 380px) { .logo-text span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 140, 255, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(255, 106, 26, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding: 56px 0 72px;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 88px 0 104px; } .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600; color: var(--slate-200);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,26,.25); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,106,26,.05); } }
.hero h1 { font-size: clamp(2.2rem, 8.6vw, 3.4rem); max-width: 18ch; }
@media (min-width: 980px) { .hero h1 { font-size: clamp(3rem, 4.3vw, 3.5rem); max-width: none; } }
.lede { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: #c8d1e1; max-width: 40em; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
@media (max-width: 480px) { .hero .cta-row .btn { width: 100%; } }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--slate-200); font-size: .93rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg, .check-list svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* phone mock */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 100%; max-width: 380px;
  background: linear-gradient(180deg, #121f3b, #0d172d);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px; padding: 20px 18px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 10px;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .78rem; }
.phone-label { color: var(--slate-400); font-weight: 500; }
.badge-live { background: rgba(24, 178, 107, .15); color: #4fe0a0; border: 1px solid rgba(24,178,107,.35); padding: 4px 10px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.msg { font-size: .9rem; line-height: 1.45; padding: 10px 14px; border-radius: 16px; max-width: 86%; }
.msg-in { background: #1d2c4d; color: #e6ebf5; align-self: flex-start; border-bottom-left-radius: 5px; }
.msg-out { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg-tag { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin-bottom: 3px; }
.booked { margin-top: 6px; display: flex; align-items: center; gap: 12px; background: rgba(255,106,26,.12); border: 1px solid rgba(255,106,26,.4); border-radius: 14px; padding: 12px 14px; }
.booked svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.booked strong { display: block; font-size: .95rem; }
.booked span { font-size: .8rem; color: var(--slate-200); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-tight { padding: 40px 0; }
@media (min-width: 900px) { .section-tight { padding: 56px 0; } }
.section-dark { background: var(--navy-800); color: #fff; }
.section-dark .section-head p:not(.kicker) { color: #b9c3d6; }
.section-tint { background: var(--slate-100); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head p:not(.kicker) { color: var(--text-muted); font-size: 1.1rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }

/* icons */
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-orange { background: var(--orange-100); color: var(--orange-600); }
.icon-blue { background: var(--blue-100); color: var(--blue); }
.section-dark .icon-orange { background: rgba(255,106,26,.14); color: #ff8a4a; }
.section-dark .icon-blue { background: rgba(47,140,255,.16); color: #6aaeff; }
.icon-lg { width: 56px; height: 56px; }
.icon-lg svg { width: 28px; height: 28px; }

/* problem cards */
.cards-3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card .icon { margin-bottom: 18px; }
.card p { color: var(--text-muted); margin: 0; }
.callout-bar {
  margin-top: 28px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--navy-800); color: #dfe5f0; border-radius: var(--radius-lg); padding: 22px 24px;
}
.callout-bar svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.callout-bar p { margin: 0; font-size: 1.02rem; }
.callout-bar strong { color: #fff; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step { position: relative; background: var(--navy-700); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 28px 24px; }
.step-num { position: absolute; top: 20px; right: 22px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,.08); }
.step .icon { margin-bottom: 18px; }
.step p { color: #b9c3d6; margin: 0; font-size: .98rem; }
@media (min-width: 1040px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -14px; width: 8px; height: 8px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg); z-index: 2; }
}

/* features */
.features-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .features-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } .features-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); } }
.features-grid .section-head .btn { margin-top: 8px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.feature-list li:hover { border-color: #ffc9a8; box-shadow: var(--shadow); }
.feature-list h3 { margin-bottom: 4px; }
.feature-list p { color: var(--text-muted); margin: 0; font-size: .98rem; }

/* stats */
.stats { display: grid; gap: 18px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.stat { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-200); border-top: 4px solid var(--orange); }
.stat:nth-child(2) { border-top-color: var(--blue); }
.stat-value { font-size: clamp(2.4rem, 6vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: 12px; color: var(--navy-800); white-space: nowrap; }
.stat-label { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.stat-desc { color: var(--text-muted); margin: 0; font-size: .97rem; }
.disclaimer { text-align: center; color: var(--slate-500); font-size: .85rem; margin: 24px 0 0; }

/* pays for itself */
.pays {
  display: grid; gap: 20px; align-items: center;
  background: linear-gradient(120deg, var(--orange) 0%, #ff8a3d 100%);
  color: #1a0d04; border-radius: var(--radius-lg); padding: 32px 26px;
  box-shadow: 0 20px 50px rgba(255,106,26,.28);
}
@media (min-width: 900px) { .pays { grid-template-columns: auto 1fr auto; gap: 32px; padding: 44px 48px; } }
.pays-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(11, 20, 38, .12); display: grid; place-items: center; }
.pays-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--navy-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pays h2 { color: var(--navy-900); margin-bottom: 8px; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.pays p { margin: 0; color: #2a1505; font-size: 1.06rem; max-width: 46em; }

/* booking */
.book-card { display: grid; gap: 32px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .book-card { grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 56px; align-items: center; } }
.book-copy p:not(.kicker) { color: var(--text-muted); font-size: 1.06rem; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list svg { margin-top: 4px; }
.check-list.on-dark li { color: #dfe5f0; }
.book-action { background: var(--slate-100); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.book-action .icon { margin: 0 auto 14px; }
.book-action h3 { font-size: 1.3rem; }
.booking-embed { margin-top: 16px; }
.booking-embed iframe { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius); background: #fff; }

/* inquiry */
.inquiry-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .inquiry-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; } }
.inquiry-copy p:not(.kicker) { color: #b9c3d6; font-size: 1.1rem; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 6px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--orange-600); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  color: var(--text); background: #fff;
  border: 1.5px solid #c9d1df; border-radius: 10px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #98a2b5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,140,255,.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217,48,37,.10); }
.error { min-height: 1.3em; margin: 4px 0 6px; font-size: .85rem; color: var(--danger); font-weight: 500; }
.form-note { text-align: center; margin: 12px 0 0; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #9b1c13; font-size: .93rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: rgba(24,178,107,.12); display: grid; place-items: center; }
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--text-muted); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: #ffc9a8; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); }

/* final CTA */
.final-cta { text-align: center; background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 48px 24px; background-image: radial-gradient(600px 300px at 50% 0%, rgba(47,140,255,.25), transparent 70%); }
@media (min-width: 900px) { .final-cta { padding: 72px 48px; } }
.final-cta h2 { max-width: 26ch; margin: 0 auto 28px; }
@media (max-width: 480px) { .final-cta .btn { width: 100%; } }

/* footer */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 820px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--slate-200); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0; font-size: .88rem; }

/* sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7,14,28,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { padding: 13px 10px; font-size: .95rem; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* Keep the "How it works" intro on one line on desktop */
@media (min-width: 900px) {
  .section-head-wide { max-width: 960px; }
  .section-head .one-line { white-space: nowrap; }
}
