/* Product announcement. Always visible. No countdown. */
:root { --launch-banner-h: 40px; }

#launch-banner.launch-banner {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 40px;
  max-height: 40px;
  overflow: hidden;
  background: var(--accent, #0369a1);
  color: var(--on-accent, #ffffff);
  font-family: var(--font, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
#launch-banner .launch-banner-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: var(--gutter, 24px);
}
#launch-banner .launch-banner-link {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#launch-banner .launch-banner-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#launch-banner .launch-banner-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding-inline: 10px;
  border-radius: 10px;
  background: var(--surface, #ffffff);
  color: var(--accent, #0369a1);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
#launch-banner .launch-banner-cta:hover { background: var(--bg, #f6f8fb); }
#launch-banner .lb-short { display: none; }

html { scroll-padding-top: calc(80px + var(--launch-banner-h)); }
html body nav.site-nav { top: var(--launch-banner-h) !important; }
html body .story-visual,
html body .faq-grid .sec-head { top: calc(104px + var(--launch-banner-h)); }
html body .toc { top: calc(88px + var(--launch-banner-h)); }
html body .legal h2 { scroll-margin-top: calc(88px + var(--launch-banner-h)); }
html:has(#launch-banner) .skip:focus { top: calc(8px + var(--launch-banner-h)); }

@media (max-width: 720px) {
  :root { --launch-banner-h: 36px; }
  #launch-banner.launch-banner { height: 36px; max-height: 36px; font-size: 12px; }
  #launch-banner .launch-banner-in { padding-inline: 16px; }
  #launch-banner .lb-long { display: none; }
  #launch-banner .lb-short { display: inline; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  #launch-banner { transition: none; }
}
