/* LoopLead — shared styles. Direction A "Signal": navy + signal orange. */
:root {
  --navy-900: #0B1B33;
  --navy-800: #12284A;
  --navy-700: #1C3A66;
  --ink: #0F172A;
  --ink-soft: #475569;
  --paper: #F8FAFC;
  --white: #FFFFFF;
  --line: #E2E8F0;
  --signal: #EA580C;        /* CTA + "missed call" moment */
  --signal-dark: #C2410C;
  --signal-tint: #FFF1E8;
  --ok: #15803D;
  --ok-tint: #ECFDF3;
  --sky: #7DD3FC;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.eyebrow {
  display: inline-block; font: 600 .8rem/1 var(--font-head); letter-spacing: .12em;
  text-transform: uppercase; color: var(--signal); margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-head); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: var(--signal-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }

/* Header */
.site-header { background: var(--navy-900); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--font-head); color: var(--white); }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; color: rgba(255,255,255,.8); font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--white); }
.nav .btn { min-height: 42px; padding: 10px 18px; font-size: .95rem; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--navy-900); color: var(--white); padding: 56px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero h1 span { color: var(--signal); }
.hero .lede { color: rgba(255,255,255,.78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.6); }

/* Phone mockup */
.phone {
  justify-self: center; width: min(320px, 100%); background: #050D1A; border-radius: 40px;
  padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px #1E2D45;
}
.phone-screen { background: #F1F5F9; border-radius: 28px; padding: 18px 14px 22px; min-height: 470px; color: var(--ink); }
.phone-top { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-soft); margin-bottom: 16px; padding: 0 6px; }
.notif {
  display: flex; gap: 10px; align-items: center; background: var(--white); border-radius: 16px;
  padding: 12px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.notif-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--signal-tint); color: var(--signal); display: grid; place-items: center; }
.notif b { display: block; font-size: .85rem; }
.notif small { color: var(--ink-soft); font-size: .78rem; }
.thread { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 10px 13px; border-radius: 18px; font-size: .88rem; line-height: 1.4; }
.bubble.out { align-self: flex-end; background: var(--navy-700); color: var(--white); border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.stamp { align-self: center; font-size: .7rem; color: var(--ink-soft); }
.booked { align-self: stretch; display: flex; gap: 8px; align-items: center; background: var(--ok-tint); color: var(--ok); border-radius: 12px; padding: 10px 12px; font-size: .82rem; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .thread > * { opacity: 0; transform: translateY(8px); animation: rise .4s ease-out forwards; }
  .thread > *:nth-child(1) { animation-delay: .5s; }
  .thread > *:nth-child(2) { animation-delay: 1.1s; }
  .thread > *:nth-child(3) { animation-delay: 1.8s; }
  .thread > *:nth-child(4) { animation-delay: 2.4s; }
  .thread > *:nth-child(5) { animation-delay: 3s; }
  .thread > *:nth-child(6) { animation-delay: 3.6s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* Problem strip */
.problem { background: var(--white); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-item { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.problem-item svg { color: var(--signal); margin-bottom: 12px; }
.problem-item p { color: var(--ink-soft); margin: 0; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; margin-top: 36px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-900); color: var(--white); font: 700 1rem/1 var(--font-head); margin-bottom: 14px;
}
.step p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* Industries */
.industries { background: var(--navy-900); color: var(--white); }
.industries .lede { color: rgba(255,255,255,.75); }
.ind-grid { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ind {
  background: var(--navy-800); border: 1px solid var(--navy-700); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.ind svg { color: var(--sky); }
.ind h3 { margin: 0; }
.ind p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.7); }
.tag { align-self: flex-start; font: 600 .72rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.tag-live { background: var(--signal); color: var(--white); }
.tag-soon { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

/* Included + pricing */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; } }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; color: var(--ok); margin-top: 3px; }
.price-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.price { font: 700 3rem/1 var(--font-head); margin: 8px 0 4px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul { padding-left: 1.1em; color: var(--ink-soft); margin: 18px 0 24px; }
.price-card .btn { width: 100%; }
.guarantee { display: flex; gap: 10px; align-items: flex-start; background: var(--ok-tint); color: var(--ok); border-radius: var(--radius); padding: 14px; font-size: .92rem; margin-top: 16px; }
.guarantee svg { flex: none; }

/* Plans */
.plans { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--signal); }
.plan-badge { position: absolute; top: -13px; left: 32px; background: var(--signal); color: var(--white); font: 600 .75rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan-sub { color: var(--ink-soft); margin: 4px 0 8px; }
.plan .checklist { margin: 20px 0 28px; flex: 1; }
.plan .btn { width: 100%; }
.plans-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; color: var(--ink-soft); font-weight: 500; }
.plans-foot .guarantee { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 28px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font: 600 1.05rem/1.4 var(--font-head); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--signal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* Contact form */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select {
  font: inherit; min-height: 48px; padding: 10px 14px; border: 1.5px solid #CBD5E1; border-radius: 10px; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--navy-700); outline: 3px solid rgba(28,58,102,.18); outline-offset: 0; }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; margin: 6px 0 20px; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--signal); cursor: pointer; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--ok-tint); color: var(--ok); font-size: .92rem; }
.contact-info { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info svg { flex: none; color: var(--signal); margin-top: 3px; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 48px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--navy-700); margin-top: 36px; padding-top: 20px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Legal pages */
.legal-hero { background: var(--navy-900); color: var(--white); padding: 56px 0 40px; }
.legal-hero .wrap { max-width: 780px; }
.legal-hero p { color: rgba(255,255,255,.7); margin: 0; }
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.callout { background: var(--signal-tint); border-left: 4px solid var(--signal); border-radius: 8px; padding: 16px 18px; margin: 20px 0; }
.callout p:last-child { margin: 0; }
.kw { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* Placeholder marker — fill before going live */
.ph { background: #FEF3C7; color: #92400E; border-radius: 4px; padding: 0 4px; }

/* Spam trap for the form (hidden from people, bots fill it in) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
