@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Syne:wght@700;800;900&display=swap');

:root {
  --night: #020711;
  --night-soft: #050d1a;
  --navy: #0b1320;
  --panel: #0d1a2d;
  --panel-2: #11233c;
  --white: #f8fbff;
  --muted: #aab6c7;
  --dim: #718198;
  --lime: #a6e400;
  --lime-bright: #c6ff1a;
  --blue: #55a7ff;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --ink: #07111f;
}

html { background: var(--night); }

body,
body.store-page,
body.promo99-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 13% 34%, rgba(166, 228, 0, .055), transparent 22rem),
    radial-gradient(circle at 78% 44%, rgba(43, 111, 209, .16), transparent 34rem),
    linear-gradient(145deg, #020711, #061021 58%, #030916) !important;
  color: var(--white);
  font-family: Inter, Poppins, "Segoe UI", Arial, sans-serif !important;
}

body.has-custom-cursor,
body.has-custom-cursor * { cursor: auto !important; }
.p2l-cursor-dot,
.p2l-cursor-ring { display: none !important; }

.wrap { width: min(1240px, calc(100% - 44px)); }

.site-header,
.site-header.is-scrolled {
  top: 1.25rem;
  width: min(94%, 1100px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(2, 8, 20, .64) !important;
  backdrop-filter: blur(24px) saturate(1.4) !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

.nav {
  min-height: 62px;
  gap: 18px;
  padding: 0 8px 0 4px;
}

.brand {
  gap: 11px;
  color: var(--white);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(166, 228, 0, .24);
  border-radius: 11px;
  box-shadow: 0 0 26px rgba(166, 228, 0, .08);
}

.brand strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 880;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong::after {
  content: "Page to Leads";
  display: block;
  margin-top: 3px;
  color: var(--lime);
  font-size: .48rem;
  font-weight: 850;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.brand strong span,
h1 span,
h2 span,
.lime { color: var(--lime); }

.nav-links {
  gap: 21px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--lime); }

.button,
.ghost {
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(166, 228, 0, .14);
}

.ghost {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
  color: var(--white);
}

.ghost:hover,
.ghost:focus-visible {
  border-color: rgba(166, 228, 0, .55);
  color: var(--lime);
}

.hero,
.hero.store-hero,
.hero.story-hero,
.hero.service-stage-hero {
  min-height: min(860px, 100svh);
  padding: clamp(104px, 14vh, 140px) 0 clamp(46px, 7vh, 74px);
  background:
    radial-gradient(circle at 13% 34%, rgba(166, 228, 0, .065), transparent 22rem),
    radial-gradient(circle at 78% 44%, rgba(43, 111, 209, .18), transparent 34rem),
    linear-gradient(145deg, #020711, #061021 58%, #030916) !important;
}

.hero::after,
.grid-bg::after {
  opacity: .8;
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent 2%, black 17%, black 86%, transparent);
}

.hero-content { max-width: 760px; }

.hero-stack {
  min-height: 520px;
  align-items: center;
  gap: 36px;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
}

h1,
h2,
h3,
.section-head h2,
.p2l-system-proof__copy h2 {
  font-family: Syne, Inter, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

h1,
.store-hero h1,
.service-stage-hero h1,
.story-hero h1 {
  max-width: 780px;
  margin: 22px 0 20px;
  font-size: clamp(2.85rem, 5.2vw, 5.8rem);
  font-weight: 800;
  line-height: .93;
}

.service-stage-hero h1 { max-width: 720px; }

h2,
.section-head h2 {
  font-size: clamp(2.25rem, 4.4vw, 5rem);
  line-height: .98;
}

.lead {
  max-width: 710px;
  color: #c7d4e5;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.65;
}

.eyebrow,
.section-kicker,
.store-kicker {
  color: var(--lime);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.55;
  text-transform: uppercase;
}

.eyebrow::before,
.store-kicker::before {
  height: 2px;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(166, 228, 0, .55);
}

.hero-badges span,
.store-badges span,
.chip-row span,
.pill {
  min-height: 34px;
  border: 1px solid rgba(166, 228, 0, .24);
  border-radius: 999px;
  background: rgba(166, 228, 0, .07);
  color: #eaf3ff;
  font-size: .69rem;
  font-weight: 850;
  line-height: 1.25;
}

.section,
.section.alt {
  padding: 104px 0;
  background: transparent;
}

.section.alt {
  background:
    radial-gradient(circle at 88% 16%, rgba(85, 167, 255, .08), transparent 30rem),
    rgba(7, 16, 29, .72);
}

.section-head { max-width: 860px; }

.section-head p,
.section-copy,
.card p,
.card li,
.offer-list li,
.short-note { color: var(--muted); }

.card,
.design-card,
.hero-dashboard,
.form-shell,
.offer-band,
.p2l-asset-frame,
.case-showcase,
.signal-chip,
.dashboard-stat,
.audit-score-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)),
    rgba(13, 26, 45, .78);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .2);
}

.card.highlight,
.design-card.highlight,
.offer-band,
.hero-dashboard {
  border-color: rgba(166, 228, 0, .28);
  background:
    linear-gradient(145deg, rgba(166, 228, 0, .1), rgba(255, 255, 255, .04) 48%, rgba(85, 167, 255, .05)),
    rgba(13, 26, 45, .84);
}

.card::after { display: none; }

.card:hover,
.design-card:hover,
.service-link:hover {
  border-color: rgba(166, 228, 0, .34);
  transform: translateY(-3px);
}

.hero-dashboard {
  overflow: hidden;
  min-height: 440px;
  padding: 20px;
}

.dashboard-top,
.dashboard-stat dt,
.dashboard-live {
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-live {
  border-radius: 999px;
  color: var(--lime);
}

.dashboard-stat dd,
.offer-price,
.step-number { color: var(--lime); }

.p2l-system-proof {
  background:
    radial-gradient(circle at 84% 10%, rgba(166, 228, 0, .08), transparent 28rem),
    linear-gradient(180deg, rgba(5, 13, 25, .95), rgba(3, 9, 20, .95));
}

.p2l-system-proof__rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.p2l-system-proof__rail a:first-child {
  border-color: rgba(166, 228, 0, .46);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .28), 0 0 0 1px rgba(166, 228, 0, .08);
}

@media (max-width: 1080px) {
  .p2l-system-proof__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .p2l-system-proof__rail {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer,
.tracking-notice {
  background: #020711;
  border-color: rgba(255, 255, 255, .1);
}

.tracking-notice { color: var(--muted); }

body.spanish-home .hero h1 { max-width: 780px; }
body.spanish-home .hero-dashboard { min-height: 460px; }
body.spanish-home .internal-links a {
  color: var(--lime);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .hero.store-hero,
  .hero.story-hero,
  .hero.service-stage-hero { min-height: auto; }

  .hero-stack,
  .store-hero .hero-stack {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-content,
  .hero-stack .hero-content,
  .service-stage-hero .hero-content {
    max-width: 760px;
    padding-top: 72px;
  }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 620px); }

  .site-header {
    top: .8rem;
    width: min(95%, 700px);
  }

  .nav { min-height: 60px; }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong { font-size: .98rem; }

  .nav > .ghost {
    width: auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: .58rem;
  }

  .hero,
  .hero.store-hero,
  .hero.story-hero,
  .hero.service-stage-hero {
    padding: 90px 0 48px;
  }

  .hero-content,
  .hero-stack .hero-content,
  .service-stage-hero .hero-content {
    padding-top: 28px;
  }

  h1,
  .store-hero h1,
  .service-stage-hero h1,
  .story-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    line-height: .98;
  }

  h2,
  .section-head h2 {
    font-size: clamp(2.1rem, 9vw, 2.85rem);
  }

  .lead { font-size: .98rem; }

  .section,
  .section.alt { padding: 68px 0; }

  .button,
  .ghost {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-dashboard {
    min-height: 300px;
    padding: 16px;
  }

  .card,
  .design-card,
  .offer-band { padding: 18px; }
}

/* The $99 promo has a legacy funnel stylesheet that reordered sections with flex.
   Keep the hero first and keep the maintenance companion inside the viewport. */
body.promo99-page main {
  display: block !important;
}

body.promo99-page main > * {
  order: initial !important;
}

body.promo99-page .starter-companion-card,
body.promo99-page .maintenance-model,
body.promo99-page .promo-maintenance-next .wrap > * {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 720px) {
  body.promo99-page .starter-companion-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-inline: 0;
    padding: 18px;
  }

  body.promo99-page .maintenance-model {
    padding: 14px;
  }

  body.promo99-page .maintenance-model-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  body.promo99-page .maintenance-model-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  body.promo99-page .maintenance-model-row i {
    display: none;
  }

  body.promo99-page h1,
  body.promo99-page h2,
  body.promo99-page h1 span,
  body.promo99-page h2 span {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
