/* AI Local Edge sales page (dev, noindex). Loads after v3.css and ai-search-report.css, which supply the tokens, bands, letter column, price card and sticky bar. New classes are prefixed ale-. */

/* hero: headline on the wrap's left edge, price card beside it from 861px */
.bz .ale-h1{color:#FFFFFF;max-width:720px;font-weight:750;font-size:34px;line-height:1.12}
.sr-hero .ale-ctas{margin-top:32px}
.sr-hero .sr-hero-card{max-width:460px}
.sr-hero .sr-pricecard{margin-right:8px}
@media (min-width:521px){.bz .ale-h1{font-size:clamp(38px,6vw,48px)}}
@media (min-width:861px){.bz .ale-h1{font-size:clamp(40px,3.8vw,54px)}}

/* CTA pairs */
.ale-ctas{display:flex;flex-direction:column;gap:16px;margin-top:40px}
.ale-ctas .btn{margin:0}
.sr-letter .sr-col .ale-ctas{margin:40px 0}
.sr-letter .sr-col > .ale-ctas:last-child{margin-bottom:0}
.sr-letter .sr-col .ale-ctas--one{margin:8px 0 1.4em}
.ale-cta2.btn.sr-cta{box-shadow:inset 0 0 0 1.5px var(--navy)}
.ale-cta2.btn.sr-cta:hover{box-shadow:inset 0 0 0 1.5px var(--navy);transform:none;background:var(--navy);color:#FFFFFF !important}
.on-navy .ale-cta2.btn.sr-cta{box-shadow:inset 0 0 0 1.5px #FFFFFF}
.on-navy .ale-cta2.btn.sr-cta:hover{box-shadow:inset 0 0 0 1.5px #FFFFFF;background:#FFFFFF;color:var(--navy) !important}
@media (min-width:521px){.ale-ctas{flex-direction:row;flex-wrap:wrap;gap:20px 24px;align-items:flex-start}}
.ale-ctas--card{flex-direction:column;align-items:stretch;margin-top:28px}
.ale-ctas--card .btn.sr-cta{width:100%;min-width:0}

/* headings inside the letter */
.sr-letter .sr-col .ale-hd{margin:2.2em 0 0.7em;padding-top:20px;border-top:2px solid var(--navy);font-size:24px;line-height:1.25;font-weight:750;letter-spacing:-0.015em;color:var(--navy)}
.sr-letter .sr-col .ale-hd:first-child{margin-top:0}
.sr-letter.on-navy .sr-col .ale-hd{color:#FFFFFF;border-top-color:var(--blue-lt)}
.sr-letter .sr-col .ale-h2{margin:0 0 24px;color:var(--navy);font-size:30px}
.sr-letter.on-navy .sr-col .ale-h2{color:#FFFFFF}
.sr-letter .sr-col .ale-h3{margin:1.6em 0 0.6em;font-size:22px;line-height:1.3;font-weight:750;color:var(--navy)}
@media (min-width:861px){
  .sr-letter .sr-col .ale-hd{font-size:28px}
  .sr-letter .sr-col .ale-h2{font-size:clamp(34px,3vw,42px)}
}

/* objections: the quoted worry reads as a quote */
.sr-letter .sr-col .ale-q{margin:1.8em 0 0.9em;padding-left:18px;border-left:4px solid var(--blue);font-size:21px;line-height:1.45;font-weight:600;font-style:italic;color:var(--navy)}
.sr-letter .sr-col .ale-q:first-child{margin-top:0}

/* P.S. lines */
.sr-letter .sr-col .sr-ps{font-size:18px}
.sr-letter .sr-col .sr-ps{margin-top:32px;padding-top:24px;border-top:1px solid rgba(255,255,255,.28)}
.sr-letter .sr-col .sr-ps + .sr-ps{margin-top:0;padding-top:0;border-top:0}

/* price section: letter column left, card right */
#price.sr-letter .sr-price-l.sr-col{max-width:720px}
#price .sr-pricecard{margin-right:8px}
#price .sr-price-n span{font-size:17px}
.sr-hero .sr-price-n{margin-top:0}
.sr-hero .sr-pricecard{background:#FFFFFF;box-shadow:8px 8px 0 var(--blue)}
@media (min-width:861px){
  .sr-hero .sr-pricecard{box-shadow:12px 12px 0 var(--blue)}
}

/* price: keep the 720px reading column. Below 1280px the card sits above the copy; from 1280px it sits beside it. */
@media (min-width:861px){
  #price .sr-price-grid,#price.sr-letter .sr-price-grid{grid-template-columns:minmax(0,1fr);row-gap:40px}
  #price .sr-price-l{grid-column:1;grid-row:2}
  #price .sr-price-r{grid-column:1;grid-row:1;position:static;max-width:460px}
}
@media (min-width:1280px){
  #price .sr-price-grid{grid-template-columns:720px minmax(0,1fr);column-gap:48px;row-gap:0}
  #price .sr-price-l{grid-column:1;grid-row:1}
  #price .sr-price-r{grid-column:2;grid-row:1;position:sticky;top:calc(var(--hdr-h) + 24px);max-width:420px}
}
@media (max-width:860px){#price .sr-price-r{order:-1}}

/* price label: keep the words together and give them line height */
.sr-price-n span{line-height:1.3;max-width:9em}
@media (max-width:520px){.sr-price-n{font-size:56px}.sr-price-n span{font-size:15px}}

/* B1: the price label never breaks into a stack of short lines. It drops under the number where the card is narrow. */
@media (max-width:360px),(min-width:861px) and (max-width:1099px){
  .sr-price-n{flex-wrap:wrap;row-gap:8px}
  .sr-price-n span{flex-basis:100%;max-width:none}
}

/* S1: both buttons in a pair are the same width */
@media (min-width:521px){
  .ale-ctas .btn.sr-cta{width:320px;min-width:0}
  .ale-ctas--card .btn.sr-cta{width:100%}
}

/* S2: on phones the label holds one line down to 360 and the two card buttons match in height */
@media (max-width:520px){
  .ale-ctas .btn.sr-cta{padding:16px 12px;font-size:15px}
  .sr-pricecard{padding:20px}
}
@media (max-width:359px){
  .ale-ctas .btn.sr-cta{min-height:76px}
}

/* S3: the price card is never wider than the hero card */
@media (min-width:521px) and (max-width:1279px){#price .sr-price-r{max-width:460px}}

/* R1: from 1280px the sticky bar becomes a price card in the right rail, beside the 720px letter column.
   Shown after the hero and while no CTA is on screen; held back in the price and close bands (is-hold, set by ai-local-edge.js). */
@media (min-width:1280px){
  .sr-sticky.sr-sticky{display:block;left:50%;right:auto;bottom:auto;top:calc(var(--hdr-h) + 24px);width:380px;margin-left:204px;padding:0;background:#FFFFFF;border:1px solid var(--navy);border-top:6px solid var(--blue);box-shadow:8px 8px 0 var(--navy);transform:none;opacity:0;transition:opacity .2s ease-out,visibility 0s linear .2s}
  .sr-sticky.is-on{opacity:1;transition:opacity .2s ease-out,visibility 0s}
  .sr-sticky.is-hold,.sr-sticky.is-on.is-hold{opacity:0;visibility:hidden;pointer-events:none}
  .sr-sticky .sr-sticky-in{max-width:none;margin:0;padding:28px;flex-direction:column;align-items:stretch;gap:20px}
  .sr-sticky-price{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
  .sr-sticky-price b{font-size:56px;font-weight:700;line-height:1;letter-spacing:-0.03em}
  .sr-sticky-price span{font-size:17px}
  .btn.sr-cta.sr-cta--compact{max-width:none;width:100%;min-height:60px;padding:16px 28px;font-size:17px;margin-left:0}
}
@media (min-width:1280px) and (prefers-reduced-motion:reduce){.sr-sticky,.sr-sticky.is-on{transition:none}}
