/* ── Price notice (16 Nov 2026) ──────────────────────────────────────────────
   One-line sitewide bar: today's Google SERP price and the expected December
   increase. 

   Builds on .launch-urgency-banner in styles.css (fixed-nav clearance, CTA).
   Layout rules:
     - never wraps: the text is a flex child with min-width:0 + ellipsis and the
       CTA is flex:0 0 auto;
     - four copy lengths so the sentence stays whole instead of truncating:
       long > 1100px, medium 761–1100px, short 431–760px, tiny ≤ 430px;
     - the bar supplies the navbar clearance, so the first block after it drops
       its own navbar-sized top padding (only when it is the next sibling). */

.launch-urgency-banner.price-notice {
  background: linear-gradient(90deg, #0b1220 0%, #16233a 55%, #0b1220 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  color: #e5e7eb;
}

.launch-urgency-banner.price-notice .launch-urgency-inner {
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.93rem;
  font-weight: 500;
  text-align: left;
}

.price-notice-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-notice-text strong { color: #ffffff; font-weight: 700; }

.price-notice-text b {
  color: #fbbf24;
  font-weight: 800;
  white-space: nowrap;
}

.price-notice-text em {
  font-style: normal;
  color: #fde68a;
  font-weight: 700;
  white-space: nowrap;
}

/* Tag: clock icon + PRICE ALERT, amber outline only (no filled box). */
.launch-urgency-banner.price-notice .price-notice-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.65);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  animation: price-notice-pulse 2.6s ease-in-out infinite;
}

.launch-urgency-banner.price-notice .price-notice-tag svg { display: block; flex: 0 0 auto; }

@keyframes price-notice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
  50% { box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18), 0 0 14px rgba(251, 191, 36, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .launch-urgency-banner.price-notice .price-notice-tag { animation: none; }
}

/* CTA: amber button on the dark bar. */
.launch-urgency-banner.price-notice .launch-urgency-cta {
  flex: 0 0 auto;
  background: #fbbf24;
  color: #111827 !important;
}
.launch-urgency-banner.price-notice .launch-urgency-cta:hover { background: #fde68a; }
.launch-urgency-banner.price-notice .launch-urgency-cta:focus-visible { outline: 2px solid #fde68a; outline-offset: 2px; }
/* Bigger tap target on phones without changing the look. */
.launch-urgency-banner.price-notice .launch-urgency-cta { position: relative; }
.launch-urgency-banner.price-notice .launch-urgency-cta::after { content: ""; position: absolute; inset: -10px -6px; }

/* Copy lengths: long > 1100 · medium 761–1100 · short 431–760 · tiny ≤ 430 */
.price-notice-medium,
.price-notice-short,
.price-notice-tiny { display: none; }

@media (max-width: 1100px) {
  .price-notice-long { display: none; }
  .price-notice-medium { display: inline; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .launch-urgency-banner.price-notice .launch-urgency-inner { font-size: 0.88rem; }
}

@media (max-width: 760px) {
  .launch-urgency-banner.price-notice .launch-urgency-inner {
    gap: 0.45rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .launch-urgency-banner.price-notice .launch-urgency-cta { font-size: 0.74rem; padding: 0.35rem 0.65rem; }
  .price-notice-medium { display: none; }
  .price-notice-short { display: inline; }
  /* the tag keeps its icon and drops the word on small screens */
  .launch-urgency-banner.price-notice .price-notice-tag-word { display: none; }
  .launch-urgency-banner.price-notice .price-notice-tag { padding: 0.22rem 0.32rem; }
}

@media (max-width: 430px) {
  .launch-urgency-banner.price-notice .launch-urgency-inner { font-size: 0.74rem; padding: 0.45rem 0.5rem; gap: 0.4rem; }
  .launch-urgency-banner.price-notice .launch-urgency-cta { font-size: 0.7rem; padding: 0.32rem 0.55rem; }
  .price-notice-short { display: none; }
  .price-notice-tiny { display: inline; }
}

@media (max-width: 340px) {
  .launch-urgency-banner.price-notice .launch-urgency-inner { font-size: 0.7rem; gap: 0.35rem; }
  .launch-urgency-banner.price-notice .price-notice-tag { padding: 0.18rem 0.26rem; }
  .launch-urgency-banner.price-notice .price-notice-tag svg { width: 10px; height: 10px; }
}

/* Navbar clearance: only when the bar is the next sibling. */
.launch-urgency-banner.price-notice + .hero,
.launch-urgency-banner.price-notice + .lp-hero,
.launch-urgency-banner.price-notice + .page-header,
.launch-urgency-banner.price-notice + .blog-hero,
.launch-urgency-banner.price-notice + .pg-hero,
.launch-urgency-banner.price-notice + .pricing-hero { padding-top: 3rem; }

.launch-urgency-banner.price-notice + .breadcrumb { padding-top: 1.75rem; }
.launch-urgency-banner.price-notice + .docs-layout { padding-top: 1rem; }
.launch-urgency-banner.price-notice + #rvApp .rv-hero { padding-top: 3rem; }
.launch-urgency-banner.price-notice + main .hero { padding-top: 3rem; }

@media (min-width: 769px) {
  .launch-urgency-banner.price-notice + main .hero { min-height: calc(100vh - var(--nav-h)); }
}
