/* Launch banner — shared CSS used by /faq, /how-it-works, and
   /example-export. The homepage (/) carries its own inline copy
   because the banner is part of its critical above-the-fold render. */

.launch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 56px 10px 20px;
  background: color-mix(in srgb, var(--accent, #C9A227) 22%, var(--bg-darker, #1F1D1B));
  border-bottom: 1px solid color-mix(in srgb, var(--accent, #C9A227) 45%, transparent);
  color: var(--text-light, #FBF9F4);
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  flex-wrap: wrap;
  z-index: 101;
}
.launch-banner-countdown {
  color: var(--accent, #C9A227);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
.launch-banner-tag {
  color: color-mix(in srgb, var(--text-light, #FBF9F4) 70%, transparent);
  font-size: 12px;
  border-left: 1px solid color-mix(in srgb, var(--accent, #C9A227) 35%, transparent);
  padding-left: 10px;
  margin-left: 2px;
}
.launch-banner-tag:empty {
  display: none;
}
.launch-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light, #FBF9F4);
}
.launch-banner-emoji {
  color: var(--accent, #C9A227);
  font-size: 14px;
  line-height: 1;
}
.launch-banner-logo {
  font-size: inherit;
  color: var(--text-light, #FBF9F4);
  margin-right: 2px;
}
.launch-banner-cta {
  color: var(--accent, #C9A227);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted color-mix(in srgb, var(--accent, #C9A227) 60%, transparent);
  padding: 6px 2px 5px;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.launch-banner-cta:hover {
  color: var(--text-light, #FBF9F4);
  border-bottom-color: var(--text-light, #FBF9F4);
}
.launch-banner-cta.banner-cta-hidden {
  display: none;
}
.launch-banner-close {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--text-muted, #B0ABA4);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.launch-banner-close:hover { color: var(--text-light, #FBF9F4); }
.launch-banner.banner-hidden { display: none; }

@media (max-width: 600px) {
  .launch-banner-tag { display: none; }
  .launch-banner {
    font-size: 12px;
    padding: 9px 40px 9px 12px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .launch-banner-emoji,
  .launch-banner-logo { display: none; }
  .launch-banner-text {
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .launch-banner-cta {
    flex-shrink: 0;
    font-size: 12px;
    padding: 4px 2px;
  }
  .launch-banner-close { right: 8px; font-size: 20px; }
}
