/* Home-page 5-second scan cleanup (24 Oct 2026). Kept in its own file so it rebases cleanly. */
/* Hero price line (NEW COPY, NEEDS LAWRA) */
.hero .lede{margin-bottom:16px}
.hero-price{font-size:1rem;font-weight:600;line-height:1.5;color:var(--ink);margin:0 0 20px}
/* Price lines + fit-check button as one block, all left-aligned with the headline (Nishant 05:28 override of the 05:23 centring) */
.hero-offer{display:inline-grid;justify-items:start;margin:0 0 16px}
.hero-offer>.hero-price{justify-self:stretch;text-align:left}
.hero-price-line{display:block}
.hero-offer>.hero-actions{justify-self:start;margin:0}
@media(max-width:480px){.hero-price{font-size:.875rem;margin-bottom:20px}}
/* Desktop: copy sits level with the top of the Aileen card, so the single CTA stays clear of the consent panel at 1280×800 */
@media(min-width:801px){.hero{align-items:start}.hero-copy{padding-top:20px}}

/* Consent panel, mobile only: slimmer bottom bar. NEEDS LAWRA CHECK.
   Layout only: same wording, same three choices and the Details link, all visible, 44px touch targets kept. */
@media(max-width:480px){
  .privacy-banner{left:0;right:0;bottom:0;width:auto;max-width:none;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;border-width:1px 0 0}
  .privacy-banner>strong{font-size:.75rem}
  .privacy-banner p{margin:2px 0 8px;line-height:1.4}
  .privacy-banner>div{flex-wrap:nowrap;gap:6px}
  .privacy-banner button{flex:1 1 0;padding:8px 6px;min-height:44px;line-height:1.2}
}

/* Hero demo card: single-line static greeting; the empty detail span (filled by aileen-guide.js during the example) takes no space */
.aileen-welcome span:empty{display:none}

/* Hero card sound toggle hidden (Nishant 05:06); kept in the DOM for aileen-guide.js */
#hero-audio[hidden]{display:none!important}

/* Hero card: bottom status line hidden (kept for aileen-guide.js) */
.scene-bottom[hidden]{display:none!important}

/* Two-part switch, segment 1 = "Chat with Aileen" toggle. Quiet style (not the orange CTA). Add more .talk-seg buttons inside .talk-switch. */
.hero-call-controls>.talk-switch{display:inline-flex;gap:0;align-items:stretch;border:1px solid var(--navy);border-radius:999px;background:#fff;overflow:hidden}
.hero-call-controls .talk-switch>.talk-seg{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 20px;border:0;border-radius:0;background:transparent;color:var(--navy);font:inherit;font-size:.875rem;font-weight:650;cursor:pointer}
.talk-switch>.talk-seg+.talk-seg{border-left:1px solid var(--navy)}
.hero-call-controls .talk-switch>.talk-seg:hover{background:#eef3fa}
.hero-call-controls .talk-switch>.talk-seg[aria-pressed=true]{background:#eef3fa}
.talk-switch>.talk-seg:focus-visible{outline:3px solid var(--navy);outline-offset:-3px}
.rec-dot{display:none;width:8px;height:8px;border-radius:50%;background:#c8372d;flex:0 0 8px}
.talk-seg[aria-pressed=true] .rec-dot{display:inline-block;animation:rec-pulse 1.6s ease-in-out infinite}
@keyframes rec-pulse{0%,100%{opacity:1;box-shadow:0 0 0 0 #c8372d55}50%{opacity:.55;box-shadow:0 0 0 4px #c8372d00}}
@media(prefers-reduced-motion:reduce){.talk-seg[aria-pressed=true] .rec-dot{animation:none}}
/* Example choice buttons inside the card: quiet navy-grey outline, no orange */
.hero-call-controls>div:not(.talk-switch)>button{border-color:#9ab0d2!important;color:var(--navy)}
.hero-call-controls>div:not(.talk-switch)>button:hover{background:#eef3fa!important}

/* Other sound toggles hidden (no sound except the hero switch); kept in the DOM for app.js / aileen-guide.js */
.voice-setting[hidden],#guide-sound[hidden],.demo-grid .micro[hidden]{display:none!important}
/* Phones: the fit-check button runs the full content width under the price lines (cleaner than centred on a narrow column) */
@media(max-width:480px){.hero-offer{display:grid}.hero-offer>.hero-actions{justify-self:stretch}.hero-offer>.hero-actions>.button{width:100%;justify-content:center}}

/* Final pass: two-part switch caption and status */
.talk-caption{font-size:.65rem;color:var(--muted);margin:8px 0 0}
.talk-caption a{color:var(--navy);text-decoration:underline;text-underline-offset:2px}
.talk-status{font-size:.65rem;color:var(--muted);margin:4px 0 0;min-height:0}
.talk-status:empty{display:none}
.hero-call-controls .talk-switch>.talk-seg:disabled{opacity:.5;cursor:not-allowed}
#hero-helper[hidden]{display:none!important}

/* Hero line 1: never break inside "12–36 month" (Lawra GREEN pass) */
.hero-price .nowrap{white-space:nowrap}

/* Trial-first conversion pass, 30 October 2026. */
.sector-panel[hidden]{display:none!important}
.hero-actions,.trial-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px}
.secondary-fit{font-size:.8rem;font-weight:600;text-underline-offset:4px}
.trial-first{scroll-margin-top:100px}
.trial-first .trial-lede{max-width:620px;line-height:1.8}
.trial-first .trial-amount{font-size:clamp(3rem,6vw,5rem);font-weight:750;line-height:1.1;margin:16px 0;color:var(--navy)}
.trial-first .pilot-details{align-self:center}
.trial-first .trial-actions{margin-top:24px}
header .cta-trial{white-space:nowrap}
@media(max-width:480px){.hero-actions,.trial-actions{align-items:stretch;flex-direction:column}.secondary-fit{text-align:center}header .cta-trial{font-size:.72rem;padding:10px 12px}.trial-first .pilot-details{width:100%}}
/* Keep the complete brand and primary action readable on narrow phones. */
@media(max-width:480px){
  header{flex-wrap:wrap;gap:10px;padding:12px 16px}
  header>.brand{flex:1 1 auto;min-width:0;order:0}
  header>.menu-button{order:1;flex:0 0 auto}
  header>.cta-trial{order:2;flex:0 0 100%;justify-content:center;min-height:44px}
  header>#mobile-nav{order:3}
}
