/* T-5277 — first-purchase code band (home + pricing) and the code field in the
   pay-as-you-go card. Uses the site tokens only; no new colours. */
.first-offer{display:flex;flex-wrap:wrap;gap:20px 32px;align-items:center;
  width:100%;max-width:880px;margin:36px auto 0;padding:26px 28px;border:1px solid var(--line);border-radius:16px;
  background:color-mix(in srgb,var(--card) 82%,transparent);text-align:left}
/* 2026-11-12 (Jimmie, topic 44431 msg 46258: crooked in a half-width window). The band was a
   fixed grid whose left track could shrink to 0, so from ~760px to ~1100px the countdown slid
   under the email field (up to 167px). Now the two halves wrap by the band's own width: side by
   side only when the whole clock row plus the form fit, stacked otherwise. The heading half keeps
   min-width:auto, so it never gets narrower than the clock row. */
.first-offer>:first-child{flex:1 1 320px}
.purchase-content .first-offer{max-width:none;margin:0 0 28px}
.first-offer-kicker{margin:0 0 8px;color:var(--mut);font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.first-offer h2{margin:0;font-family:var(--font-display,"Fraunces",serif);font-weight:600;font-size:clamp(22px,2.6vw,28px);line-height:1.15;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.first-offer-sub{margin:8px 0 0;color:var(--mut);font-size:14.5px;line-height:1.55}
.first-offer-form{display:flex;gap:8px;min-width:0}
.first-offer-form input[type="email"]{flex:1;min-width:0;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;
  background:var(--bg);color:var(--ink);font:inherit;font-size:16px}
.first-offer-form input[type="email"]:focus-visible{outline:2px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.first-offer-form button{min-height:48px;padding:10px 18px;border-radius:8px;white-space:nowrap;touch-action:manipulation;font-size:14.5px}
.first-offer-form button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.first-offer-form button[disabled]{opacity:.6;cursor:wait}
.first-offer-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;opacity:0}
.first-offer-side{flex:1 1 340px;max-width:420px;min-width:0}
.first-offer-status{min-height:20px;margin:8px 0 0;font-size:13px;line-height:1.5;color:var(--ink)}
.first-offer-status.is-error{color:var(--red,#e85d6c)}
.first-offer-fine{margin:4px 0 0;color:var(--mut2);font-size:12px;line-height:1.5}
.first-offer.is-done .first-offer-form{display:none}
@media (max-width:760px){
  .first-offer{padding:22px 18px;margin-top:28px}
  .first-offer-side{max-width:none}
  .first-offer-form{flex-direction:column}
  .first-offer-form button{width:100%;justify-content:center}
}
/* The code field inside the pay-as-you-go card reuses .purchase-existing. */
.purchase-code-note{margin:8px 0 0!important}
.purchase-code-applied{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;
  font-size:12.5px;color:var(--ink)}
.purchase-code-applied[hidden]{display:none}
.purchase-code-applied code{font:600 12.5px/1 "SF Mono",Menlo,monospace}
.first-offer-status:empty{min-height:0;margin:0}
/* T-5280 — account-page notice for signed-in accounts that have not bought. */
.first-offer{scroll-margin-top:84px}
.first-offer-note{display:flex;align-items:center;justify-content:space-between;gap:16px 24px;margin:16px 0 20px;padding:16px 18px;
  border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--card,var(--panel)) 82%,transparent)}
.first-offer-note[hidden]{display:none}
.first-offer-note p{margin:0;color:var(--mut);font-size:14px;line-height:1.55}
.first-offer-note strong{color:var(--ink);font-weight:600}
.first-offer-note .btn-lg{flex:0 0 auto;min-height:44px;white-space:nowrap;text-decoration:none}
.first-offer-note .btn-lg:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media (max-width:700px){.first-offer-note{flex-direction:column;align-items:stretch}.first-offer-note .btn-lg{width:100%;justify-content:center}}
#homeOfferTitle{scroll-margin-top:84px}
/* T-5327 — the 72-hour countdown (one end time for everyone, from the server).
   Site tokens only; the numbers use the display face with tabular figures so the
   row never shifts as seconds change. Always laid out left-to-right. */
.fo-clock{margin:18px 0 0;direction:ltr}
.fo-clock[hidden]{display:none}
.fo-clock-label{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:var(--mut);font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.fo-clock-dot{position:relative;flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.fo-clock-dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--ink);opacity:.55;transform:scale(1);animation:fo-pulse 2.4s ease-out infinite}
@keyframes fo-pulse{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(3);opacity:0}}
@media (prefers-reduced-motion:reduce){.fo-clock-dot::after{animation:none;opacity:0}}
.fo-clock-units{display:flex;align-items:flex-start;gap:6px}
.fo-unit{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:64px;padding:12px 8px 10px;border:1px solid var(--line);border-radius:12px;
  background:color-mix(in srgb,var(--bg) 70%,transparent)}
.fo-num{font-family:var(--font-display,"Fraunces",serif);font-weight:600;font-size:30px;line-height:1;letter-spacing:-.02em;color:var(--ink);
  font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1;min-width:2ch;text-align:center}
.fo-lab{font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--mut2,var(--mut))}
.fo-sep{align-self:center;margin-top:-16px;color:var(--mut2,var(--mut));font-family:var(--font-display,"Fraunces",serif);font-size:22px;line-height:1}
.fo-clock-end{margin:10px 0 0;color:var(--mut2,var(--mut));font-size:12.5px;line-height:1.5}
.fo-clock-end time{color:var(--mut);font-weight:500;white-space:nowrap}
.first-offer.is-ended .first-offer-form,.first-offer-form[hidden]{display:none}
.fo-ended{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;color:var(--mut);font-size:14px;line-height:1.55}
@media (max-width:760px){
  .fo-clock-units{gap:4px}
  .fo-unit{flex:1 1 0;min-width:0;padding:10px 4px 8px}
  .fo-num{font-size:26px}
  .fo-sep{font-size:18px;margin-top:-14px}
}
@media (max-width:360px){.fo-sep{display:none}.fo-clock-units{gap:6px}.fo-num{font-size:23px}}
@media (max-width:520px){
  .fo-teaser{flex-wrap:wrap;justify-content:center;row-gap:3px;white-space:nowrap;border-radius:18px;padding:8px 16px}
  }
/* Hero offer badge. Round 1 (DM 26915): flat green pill read as a cheap ad, went
   monochrome. Round 2 (DM 26924): an iridescent spinning ring + blur glow + rainbow
   chip. T-5687 (Jimmie photo feedback 2026-11-16, "נראה כמו ai"): competitor hero
   research (Stripe/OpenRouter/Together/Vercel/Resend) found no live countdown banner
   on any of them, and every top banner they DO run is a single flat colour, no
   animation. This real, server-driven 72h offer (T-5327) stays — only the spinning
   conic-gradient ring, blur glow and rainbow text-fills are dropped, for one calm
   bordered badge with a single accent colour. */
.fo-teaser{position:relative;display:inline-flex;align-items:center;gap:12px;min-height:46px;margin:-8px auto 26px;padding:6px 18px 6px 6px;
  border-radius:999px;border:1px solid var(--line);
  background:color-mix(in srgb,var(--card) 94%,transparent);
  color:var(--ink);font-size:14px;font-weight:500;line-height:1.3;text-decoration:none;
  transition:transform .2s,border-color .2s}
.fo-teaser[hidden]{display:none}
.fo-teaser:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--acc) 45%,var(--line))}
.fo-teaser:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.fo-teaser-pct{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;
  background:var(--acc);color:#fff;
  font:700 12.5px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
/* T-5687: inside this flex pill the markup's own trailing space ("to " before the
   %-off span) was collapsing, so "to 50% off" uppercased read as the glitchy
   "TO50% OFF" — exactly what Jimmie's screenshot showed. Force the gap explicitly
   rather than rely on an anonymous flex text-run keeping it. */
.fo-teaser-pct [data-fo-sub-scoped]{margin-right:.3em}
.fo-teaser-text{white-space:nowrap}
.fo-teaser-left{display:inline-flex;align-items:baseline;gap:7px;padding-left:12px;border-left:1px solid var(--line);white-space:nowrap}
.fo-teaser-ends{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mut)}
.fo-teaser-left b{font:600 13.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--ink)}
.fo-teaser-arrow{color:var(--mut);transition:transform .2s,color .2s}
.fo-teaser:hover .fo-teaser-arrow{transform:translateX(2px);color:var(--ink)}
@media (prefers-reduced-motion:reduce){.fo-teaser,.fo-teaser-arrow{transition:none}}
@media (max-width:560px){
  .fo-teaser{flex-wrap:wrap;justify-content:center;gap:8px 10px;padding:8px 14px 10px;border-radius:20px}
  .fo-teaser-left{order:3;flex-basis:100%;justify-content:center;padding:8px 0 0;border-left:0;border-top:1px solid var(--line)}
}
/* T-5687: dropped the iridescent border + purple glow shadow on the full offer band
   and the rainbow-text kicker/clock-dot — same reasoning as .fo-teaser above. */
.first-offer-kicker{color:var(--mut);width:fit-content}
.fo-clock-dot,.fo-clock-dot::after{background:var(--acc)}
