/* Public offer display only; the current LP layout and pricing keep their owners.
   With a live offer the strip is the site's promo banner. Landing pages are static
   HTML and cannot load the site's Tailwind build, so this restates the banner in
   components/layout/Navbar.tsx (PROMO_BANNER_THEME_CLASSES and the promo row) and
   the on-promo market tabs in ProductSwitcher.tsx. Keep the two in step:
   tests/growth-landing-pages.test.ts fails when the site banner's themes or colours change. */
.market-strip[data-expires-at] { height:auto; min-height:40px; background:var(--tl-surface-shell,#10306a); border-bottom:1px solid var(--tl-identity-line,rgba(79,142,247,.35)); box-shadow:0 10px 30px -18px var(--tl-identity-glow-color,rgba(49,114,216,.6)); color:#fff; position:relative; z-index:1; }
.market-strip[data-expires-at] .shell { height:auto; min-height:40px; align-items:center; gap:0 12px; }
/* The market label as the site's on-promo segmented tab: dark backing, lit Futures pill. */
.market-strip[data-expires-at] .market-active { flex-shrink:0; align-self:center; min-height:0; margin:6px 0; padding:2px; border:0; border-radius:16px; background:rgba(0,0,0,.45); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); }
.market-strip[data-expires-at] .market-active span { padding:4px 10px; border-radius:12px; background:var(--tl-identity-soft,rgba(49,114,216,.14)); box-shadow:inset 0 0 0 1px var(--tl-identity,#4f8ef7); color:#fff; font-size:12.5px; font-weight:600; line-height:1.25; }
.market-strip[data-expires-at] .market-context { display:none; }
.market-promo { flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 12px; padding:6px 0; color:#fff; font-size:14px; font-weight:500; line-height:20px; }
.market-promo-message { font-weight:600; text-align:center; }
.market-promo-eyebrow { color:#8ab8ff; }
.market-promo-code { display:inline-flex; align-items:center; padding:2px 10px; border:0; border-radius:12px; background:var(--tl-deal-soft,rgba(234,179,8,.14)); box-shadow:inset 0 0 0 1px var(--tl-deal-line,rgba(251,191,36,.35)); color:var(--tl-deal,#fbbf24); cursor:pointer; font:inherit; font-size:13px; font-weight:700; letter-spacing:.025em; white-space:nowrap; }
.market-promo-actions { display:contents; }
.market-promo-timer { display:inline-flex; align-items:baseline; color:rgba(255,255,255,.75); font-variant-numeric:tabular-nums; white-space:nowrap; }
.market-promo-timer:empty { display:none; }
.market-promo-timer-full { display:inline-flex; align-items:baseline; gap:4px; }
.market-promo-timer-full span { margin-right:2px; }
.market-promo-timer-full b { display:inline-flex; justify-content:center; min-width:36px; padding:4px 6px; border-radius:6px; background:rgba(0,0,0,.3); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); color:#fff; font-size:12px; font-weight:600; line-height:1; }
.market-promo-timer-compact { display:none; font-size:12px; font-weight:600; }
.market-promo-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.market-promo-cta { flex-shrink:0; display:inline-flex; align-items:center; padding:4px 12px; border-radius:12px; background-color:var(--tl-conversion-solid,#15803d); background-image:var(--tl-gradient-cta-conversion,linear-gradient(90deg,#16a34a,#15803d 18%,#166534 50%,#15803d 82%,#16a34a)); box-shadow:var(--tl-glow-cta,inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(74,222,128,.28),0 10px 30px -10px rgba(22,163,74,.65)); color:#fff; font-size:12px; font-weight:600; line-height:16px; text-decoration:none; text-shadow:0 1px 0 rgba(0,0,0,.18); white-space:nowrap; transition:box-shadow .15s,transform .15s,filter .15s; }
.market-promo-cta:hover { filter:saturate(1.15); box-shadow:var(--tl-glow-cta-hover,var(--tl-glow-cta)); transform:translateY(-1px); }
.market-promo-code:focus-visible,.market-promo-cta:focus-visible { outline:2px solid #fff; outline-offset:3px; }

/* The site's other themes, each one flat colour. */
.market-strip[data-theme="cyan"] { background:#1d4e9e; border-bottom-color:rgba(255,255,255,.1); box-shadow:0 10px 30px -18px rgba(49,114,216,.6); }
.market-strip[data-theme="cyan"] .market-promo-eyebrow,.market-strip[data-theme="cyan"] .market-promo-timer { color:#dbeafe; }
.market-strip[data-theme="cyan"] .market-promo-code { background:#fff; box-shadow:0 0 18px -6px rgba(255,255,255,.5); color:#0a2e6b; }
.market-strip[data-theme="cyan"] .market-promo-timer-full b { background:#0a2e6b; box-shadow:inset 0 0 0 1px rgba(255,255,255,.15); }
.market-strip[data-theme="cyan"] .market-promo-cta { background:#15803d; box-shadow:0 0 0 1px rgba(255,255,255,.2); text-shadow:none; }
.market-strip[data-theme="green"] { background:#15803d; border-bottom-color:rgba(110,231,183,.4); box-shadow:0 10px 30px -18px rgba(22,101,52,.65); }
.market-strip[data-theme="green"] .market-promo-eyebrow { color:#d1fae5; }
.market-strip[data-theme="green"] .market-promo-timer { color:rgba(255,255,255,.9); }
.market-strip[data-theme="green"] .market-promo-code { border:1px dashed rgba(255,255,255,.8); background:rgba(255,255,255,.1); box-shadow:none; color:#fff; }
.market-strip[data-theme="green"] .market-promo-timer-full b { background:rgba(20,83,45,.7); box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); }
.market-strip[data-theme="green"] .market-promo-cta { background:#fff; box-shadow:0 0 0 1px rgba(255,255,255,.4); color:#166534; text-shadow:none; }
.market-strip[data-theme="gold"] { background:#fbbf24; border-bottom-color:rgba(146,64,14,.4); box-shadow:0 10px 30px -18px rgba(180,83,9,.6); }
.market-strip[data-theme="gold"] .market-promo,.market-strip[data-theme="gold"] .market-promo-message { color:#0a2e6b; }
.market-strip[data-theme="gold"] .market-promo-eyebrow { color:rgba(10,46,107,.75); }
.market-strip[data-theme="gold"] .market-promo-timer { color:rgba(10,46,107,.8); }
.market-strip[data-theme="gold"] .market-promo-code { background:#0a2e6b; box-shadow:0 0 18px -6px rgba(10,46,107,.55); color:#fde68a; }
.market-strip[data-theme="gold"] .market-promo-timer-full b { background:#0a2e6b; box-shadow:inset 0 0 0 1px rgba(0,0,0,.2); color:#fde68a; }
.market-strip[data-theme="gold"] .market-promo-cta { background:#0a2e6b; box-shadow:0 0 0 1px rgba(10,46,107,.4); color:#fde68a; text-shadow:none; }
.market-strip[data-theme="gold"] :focus-visible { outline-color:#0a2e6b; }

/* Wide screens: a spacer the width of the market pill balances it, so the promo is
   centred on the page (the site's Navbar adds the same kind of spacer at xl). */
@media(min-width:1280px) {
  .market-strip[data-expires-at] .shell::after { content:''; flex:0 0 66px; }
}
/* Tablets: the message and code on one centred line, the countdown and CTA on a second. */
@media(max-width:1023px) {
  .market-promo-actions { display:flex; flex-basis:100%; align-items:center; justify-content:center; gap:12px; }
}
/* Phones: the market label on its own row, then the message, then a compact countdown and the CTA. */
@media(max-width:639px) {
  .market-strip[data-expires-at] .shell { flex-wrap:wrap; }
  .market-promo { flex-basis:100%; padding:0 0 8px; font-size:13px; line-height:1.25; }
  .market-promo-actions { gap:8px; padding-top:2px; }
  .market-promo-timer-full { display:none; }
  .market-promo-timer-compact { display:inline; }
}
