/* CacheDeep announcement bar — Saans/lime strip under nav; not a hero card. */

.cd-announce {
  --cd-announce-lime: var(--volt-main, #c4f041);
  position: relative;
  z-index: 40;
  width: 100%;
  background: var(--cd-announce-lime);
  color: #000;
  border-bottom: 1.5px solid #000;
  font-family: var(--volt-sans, "Saans VF-1156b2189454d62c", "Saans", system-ui, sans-serif);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 320ms ease, opacity 280ms ease;
}

.cd-announce.is-on {
  transform: translateY(0);
  opacity: 1;
}

.cd-announce[hidden] {
  display: none !important;
}

.cd-announce_inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  min-height: 44px;
}

.cd-announce_text {
  margin: 0;
  flex: 1;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variation-settings: "wght" 560;
}

.cd-announce_text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-variation-settings: "wght" 650;
}

.cd-announce_promo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
  padding: 2px 8px;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.02em;
  font-variation-settings: "wght" 650;
  white-space: nowrap;
}

.cd-announce_dismiss {
  appearance: none;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  font-variation-settings: "wght" 600;
}

.cd-announce_dismiss:hover {
  background: #000;
  color: var(--cd-announce-lime);
}

/* Landing: sit under fixed nav without becoming a hero overlay badge */
html:has(nav.nav) .cd-announce {
  position: sticky;
  top: 0;
}

body.cd-console .cd-announce,
body.cd-docs .cd-announce,
body.cd-admin .cd-announce,
body.cd-status .cd-announce {
  margin: 0 0 18px;
  border: 1.5px solid #000;
  border-radius: 18px;
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  border-bottom-width: 1.5px;
}

body.cd-console .cd-announce_inner,
body.cd-docs .cd-announce_inner,
body.cd-admin .cd-announce_inner,
body.cd-status .cd-announce_inner {
  width: calc(100% - 28px);
}

/* Pricing / console promo copy chip */
.cd-promo-hitfree {
  display: none;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-variation-settings: "wght" 560;
  letter-spacing: -0.01em;
}

.cd-promo-hitfree.is-on {
  display: block;
}

.cd-promo-hitfree mark {
  background: var(--volt-main, #c4f041);
  color: #000;
  padding: 0 4px;
  font-style: normal;
}
