/* Homepage — one goal: get the visitor to their 10 free leads. Scoped under .hp. */
.hp { --ink: #0b1a33; --blue: #1a66ff; --blue-lift: #5b95ff; --go: #15803d; --muted2: #5b6b7f; color: var(--ink); }
.hp-in { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.hp h2, .hp h3 { color: inherit; }
.hp [id] { scroll-margin-top: 76px; } /* /#how and /#faq land below the sticky header, not under it */
.hp-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; margin: 0 0 22px; }
.hp-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8fb5ff; margin-bottom: 10px; }
.hp-eyebrow.dark { color: var(--blue); }
.hp .btn.go { border-radius: 10px; padding: 12px 20px; font-weight: 700; box-shadow: 0 10px 24px rgba(21, 128, 61, .28); transition: transform .12s, box-shadow .12s, background .12s; }
.hp .btn.go:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(21, 128, 61, .36); }
.hp-cta { font-size: 1.2rem; padding: 16px 30px !important; }

/* ---------- hero ---------- */
.hp-hero { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(760px 380px at 82% 72%, rgba(255, 128, 74, .22), transparent 62%),
    radial-gradient(680px 460px at 8% -4%, rgba(26, 102, 255, .34), transparent 62%),
    linear-gradient(180deg, #071427 0%, #0c2141 58%, #123158 100%); }
.hp-road { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; opacity: .5; pointer-events: none; }
.hp-lane { animation: hp-lane 1.1s linear infinite; }
@keyframes hp-lane { to { stroke-dashoffset: -48; } }
/* minmax(0, …): grid items may shrink below their content (the lead table), so nothing can push the page sideways. */
/* padding-top/bottom only: this element is also .hp-in, whose side padding must survive. */
.hp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: center; padding-top: 62px; padding-bottom: 76px; }
.hp-hero-copy, .hp-hero-visual { min-width: 0; }
.hp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .85rem; font-weight: 700; color: #bcd2f5; letter-spacing: .02em; }
.hp-dot, .hp-live::before { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: hp-pulse 1.8s infinite; }
@keyframes hp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hp-hero h1 { font-size: clamp(2.1rem, 4.2vw, 2.95rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 850; margin: 0 0 18px; color: #fff; text-wrap: balance; }
.hp-hero h1 span { color: var(--blue-lift); }
.hp-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.55; color: #d5e1f2; max-width: 560px; margin: 0 0 26px; }
.hp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 20px 0 0; font-size: .92rem; color: #dbe6f5; }
.hp-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hp-trust svg { width: 18px; height: 18px; color: #22c55e; background: rgba(34, 197, 94, .15); border-radius: 50%; padding: 2px; }

/* Desktop: the phone overlaps the card's right edge; the card's extra right padding keeps
   every table column clear of it (the overlap lands on empty card, never on data). */
.hp-hero-visual { position: relative; padding-right: 140px; }
.hp-table-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 44px 10px 16px; box-shadow: 0 34px 80px rgba(0, 0, 0, .38); }
.hp-tc-head { display: flex; align-items: center; gap: 10px; margin: 2px 4px 12px; font-size: 1rem; }
.hp-live { display: inline-flex; align-items: center; gap: 6px; background: #dcfce7; color: #166534; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.hp-live::before { content: ''; display: inline-block; }
.hp-tc-scroll { overflow-x: auto; border: 1px solid #edf0f4; border-radius: 10px; }
/* Fixed layout: the narrow columns get set widths (sized to their widest value — the
   "Renewal window" pill, "Oct 22"), and the carrier name takes the rest, ending in … if long. */
.hp-table-card table { table-layout: fixed; width: 100%; }
.hp-table-card th { font-size: .66rem; padding: 8px 7px; white-space: nowrap; overflow: hidden; }
.hp-table-card th abbr { text-decoration: none; }
.hp-table-card td { font-size: .8rem; padding: 9px 7px; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-table-card th.c-ev { width: 128px; } .hp-table-card th.c-st { width: 34px; }
.hp-table-card th.c-fl { width: 50px; } .hp-table-card th.c-dt { width: 56px; }
.hp-name { font-weight: 700; }
.hp-tc-foot { margin: 9px 4px 2px; font-size: .74rem; color: var(--muted2); }
.hp-ev { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #e7f0ff; color: #1546b0; white-space: nowrap; }
.hp-ev.hot { background: #fdecec; color: #b3261e; }

/* phone mockup (decorative; the numbers in it are live) */
.hp-phone { position: absolute; right: -24px; top: 50%; transform: translateY(-46%); width: 196px; background: #0a0f18; border-radius: 38px; padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px #2a3342; }
.hp-phone-screen { background: #fff; color: var(--ink); border-radius: 30px; padding: 10px 14px 16px; min-height: 410px; display: flex; flex-direction: column; }
.hp-ph-status { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; font-weight: 700; padding: 2px 6px 8px; }
.hp-ph-notch { width: 74px; height: 18px; background: #0a0f18; border-radius: 0 0 12px 12px; margin-top: -12px; }
.hp-ph-nav { font-size: .74rem; color: #1a66ff; margin-bottom: 10px; }
.hp-ph-from { display: flex; gap: 9px; align-items: flex-start; padding-bottom: 10px; border-bottom: 1px solid #edf0f4; }
.hp-ph-from img { border-radius: 50%; border: 1px solid #e3e8ee; flex: none; }
.hp-ph-from strong { display: block; font-size: .78rem; }
.hp-ph-from span { display: block; font-size: .68rem; color: #37414d; line-height: 1.3; }
.hp-ph-from em { display: block; font-style: normal; font-size: .64rem; color: var(--muted2); margin-top: 2px; }
.hp-ph-body { font-size: .72rem; line-height: 1.45; padding-top: 10px; flex: 1; }
.hp-ph-body p { margin: 0 0 6px; }
.hp-ph-body ul { margin: 4px 0 0; padding-left: 16px; }
.hp-ph-body li { margin: 3px 0; }
.hp-ph-att { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 9px; border: 1px solid #e3e8ee; border-radius: 8px; background: #f7f9fc; font-size: .64rem; color: #37414d; }
.hp-ph-att svg { width: 13px; height: 13px; flex: none; color: #5b6b7f; }
.hp-ph-att span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-ph-btn { display: block; text-align: center; background: var(--blue); color: #fff; border-radius: 9px; padding: 9px; font-size: .74rem; font-weight: 700; margin-top: 10px; }

/* ---------- sample cards ---------- */
.hp-sample { padding: 34px 0; background: #f2f6fc; border-bottom: 1px solid #e6ebf2; }
.hp-sample-grid { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; }
.hp-pill { display: inline-block; background: var(--blue); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hp-sample-intro h2 { font-size: 1.5rem; margin: 12px 0 8px; }
.hp-sample-intro p { color: #37414d; font-size: .92rem; }
.hp-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hp-lead-card { background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; padding: 14px 13px; box-shadow: 0 6px 18px rgba(15, 23, 36, .05); min-width: 0; }
.hp-lead-card h3 { font-size: .86rem; line-height: 1.25; margin: 0 0 7px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.15em; }
.hp-lead-card ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: .76rem; color: #37414d; }
.hp-lead-card li { display: flex; align-items: center; gap: 7px; padding: 3px 0; white-space: nowrap; }
.hp-lead-card li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* long masked emails end in … instead of clipping */
.hp-lead-card li svg { width: 14px; height: 14px; color: #7a8796; flex: none; }
.hp-masked { color: #8a94a0; font-variant-numeric: tabular-nums; }

/* ---------- features ---------- */
.hp-features { padding: 56px 0 30px; background: #fff; }
.hp-feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; text-align: center; }
.hp-feat h3 { font-size: 1rem; margin: 14px 0 6px; }
.hp-feat p { font-size: .88rem; color: var(--muted2); margin: 0; }
.hp-ic { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #fff; }
.hp-ic svg { width: 28px; height: 28px; }
.hp-ic.sm { width: 46px; height: 46px; border-radius: 12px; }
.hp-ic.sm svg { width: 23px; height: 23px; }
.hp-ic.green { background: #16a34a; } .hp-ic.blue { background: #2563eb; } .hp-ic.violet { background: #7c3aed; }
.hp-ic.navy { background: #1e3a5f; } .hp-ic.teal { background: #0d9488; } .hp-ic.rose { background: #e11d48; }

/* ---------- how it works ---------- */
.hp-how { padding: 40px 0 56px; background: #fff; }
.hp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.hp-steps li { background: #f7f9fc; border: 1px solid #e6ebf2; border-radius: 14px; padding: 22px; }
.hp-steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 10px; }
.hp-steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.hp-steps p { margin: 0; color: var(--muted2); font-size: .92rem; }

/* ---------- verticals band ---------- */
.hp-verticals { padding: 60px 0; color: #fff; background:
  radial-gradient(600px 300px at 90% 10%, rgba(26, 102, 255, .35), transparent 60%),
  linear-gradient(135deg, #0a1c37 0%, #11305a 100%); }
.hp-vert-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 36px; align-items: center; }
.hp-vert-intro h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; color: #fff; }
.hp-vert-intro p { color: #cfdcef; margin: 0 0 22px; }
.hp-vcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.hp-vcard { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 14px; padding: 18px; text-decoration: none; transition: transform .14s, box-shadow .14s; }
.hp-vcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0, 0, 0, .28); }
.hp-vcard h3 { font-size: 1rem; margin: 12px 0 6px; }
.hp-vcard p { font-size: .85rem; color: var(--muted2); margin: 0 0 12px; flex: 1; }
.hp-more { font-size: .85rem; font-weight: 700; color: var(--blue); }

/* ---------- proof ---------- */
.hp-proof { padding: 60px 0; background: #f7f9fc; }
.hp-proof-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.hp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hp-stats div { background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 18px; }
.hp-stats b { display: block; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 850; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hp-stats b.g { color: #15803d; } .hp-stats b.r { color: #b3261e; }
.hp-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted2); font-weight: 700; }
.hp-note { font-size: .86rem; color: var(--muted2); margin: 14px 0 0; }
.hp-bars { background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 20px 22px; }
.hp-bars h3 { font-size: 1rem; margin: 0 0 12px; }
.hp-bar { display: grid; grid-template-columns: 38px 1fr 64px; gap: 12px; align-items: center; margin: 9px 0; text-decoration: none; color: inherit; }
.hp-bar-st { font-weight: 800; color: #37414d; }
.hp-bar-trk { height: 14px; background: #e9eef5; border-radius: 4px; overflow: hidden; }
.hp-bar-trk span { display: block; height: 100%; background: linear-gradient(90deg, #1546b0, #1a66ff); border-radius: 4px; }
.hp-bar-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-bar:hover .hp-bar-st { color: var(--blue); }
.hp-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 36px; }
.hp-quote { background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 20px; margin: 0; }
.hp-quote blockquote { margin: 0 0 10px; font-size: .98rem; }
.hp-quote-metric { font-weight: 700; font-size: .88rem; margin: 0 0 8px; }
.hp-quote figcaption { font-size: .82rem; color: var(--muted2); }

/* ---------- FAQ ---------- */
.hp-faq { padding: 60px 0; background: #fff; }
.hp-faq-in { max-width: 860px; }
.hp-faq details { border: 1px solid #e3e8ee; border-radius: 12px; padding: 0 18px; margin: 0 0 10px; background: #fff; }
.hp-faq details[open] { box-shadow: 0 8px 22px rgba(15, 23, 36, .06); }
.hp-faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: '+'; position: absolute; right: 2px; top: 12px; font-size: 1.35rem; color: var(--blue); font-weight: 400; }
.hp-faq details[open] summary::after { content: '−'; }
.hp-faq details p { margin: 0 0 16px; color: #37414d; line-height: 1.6; }

/* ---------- closing band ---------- */
.hp-band { padding: 30px 0; color: #fff; background: linear-gradient(90deg, #08162b, #0f2a4d); }
.hp-band-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 22px; align-items: center; }
.hp-band-item { display: flex; gap: 12px; align-items: center; padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hp-band-item svg { width: 34px; height: 34px; color: #8fb5ff; flex: none; }
.hp-band-item b { display: block; font-size: 1.15rem; }
.hp-band-item span { font-size: .82rem; color: #bcd0ea; }
.hp-band-cta { text-align: center; }
.hp-band-cta span { display: block; font-size: .78rem; color: #bcd0ea; margin-top: 8px; }
.hp .homeseo { margin: 50px auto 10px; }

/* ---------- motion (respectful) ---------- */
/* Content is only ever hidden once home.js is running (it adds .hp-js), so no-JS
   visitors and crawlers always see everything. */
.hp-js .hp-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.hp-js .hp-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hp-js .hp-reveal { opacity: 1; transform: none; transition: none; }
  .hp-lane, .hp-dot, .hp-live::before { animation: none; }
}

/* ---------- responsive ---------- */
/* Below 1200px the phone would crowd the table, so the table takes the whole column. */
@media (max-width: 1199px) {
  .hp-hero-visual { padding-right: 0; }
  .hp-phone { display: none; }
  .hp-table-card { padding-right: 16px; }
}
@media (max-width: 1120px) {
  .hp-cards { grid-template-columns: repeat(5, 210px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .hp-lead-card { scroll-snap-align: start; }
}
@media (max-width: 960px) {
  .hp-hero-grid, .hp-sample-grid, .hp-vert-grid, .hp-proof-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-hero-grid { padding-top: 40px; padding-bottom: 50px; gap: 30px; }
  .hp-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-band-grid { grid-template-columns: 1fr 1fr; }
  .hp-band-item { border-right: 0; }
  .hp-band-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hp-table-card .c-st, .hp-table-card .c-fl { display: none; } /* phone: carrier, event, date — no sideways scrolling */
  .hp-cta { display: block; text-align: center; }
  .hp-feat-grid { grid-template-columns: 1fr; text-align: left; }
  .hp-feat { display: grid; grid-template-columns: 62px 1fr; gap: 0 14px; align-items: start; }
  .hp-feat h3 { margin-top: 4px; }
  .hp-feat .hp-ic { grid-row: span 2; }
  .hp-band-grid { grid-template-columns: 1fr; }
  .hp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 359px) { .hp-table-card .c-dt { display: none; } } /* smallest phones: name + event only */
