/* "See prices" entry points: the top-bar pill, the floating pill (tool page), the free-reads link and the
   result card. The pill sits in the bar without growing it (negative block margins), the floating pill
   is fixed and only moves with transform, and every target is at least 44 px. */

/* --- Top bar pill --- */
.topbar nav .buy-pill {
  display: inline-flex; align-items: center; min-height: 44px; margin: -4px 0 -4px 18px; padding: 0 14px;
  border: 1px solid var(--gold); border-radius: 999px; background: var(--gold-tint); color: var(--navy);
  font: 600 .86rem/1.2 var(--font-ui); text-decoration: none; white-space: nowrap;
}
.topbar nav .buy-pill:hover { background: var(--gold); text-decoration: none; }
.topbar nav .buy-pill.is-current { border-color: transparent; background: transparent; font-weight: 500; }
.buy-pill-hint { font-weight: 500; color: var(--gold-ink); }
.buy-pill-hint:not(:empty)::before { content: "\00b7"; margin: 0 6px; }
@media (max-width: 480px) {
  /* The pill links to the same page as "Pricing", so on a phone it takes that link's place. */
  .topbar nav a[href="/pricing.html"]:not(.buy-pill) { display: none; }
  .topbar nav .buy-pill { margin-left: 10px; padding: 0 12px; }
}
@media (max-width: 480px) {
  /* Pages with a "back" link in the bar: the wordmark already goes home, so the pill gets the room. */
  .topbar nav a.nav-back { display: none; }
}
@media (max-width: 380px) { .topbar nav .buy-pill .buy-pill-hint { display: none; } }

/* --- Floating pill (tool page) --- */
.buy-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  display: flex; align-items: center; height: 44px; border-radius: 999px; background: var(--navy);
  color: var(--cream-ink); box-shadow: var(--shadow-lift);
  transform: translateY(calc(100% + 32px)); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s;
}
.buy-float.is-shown { transform: none; visibility: visible; transition: transform .2s ease, visibility 0s; }
.buy-float-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px 0 18px; color: inherit;
  text-decoration: none; font: 600 .88rem/1.2 var(--font-ui); white-space: nowrap;
}
.buy-float-link:hover { text-decoration: underline; }
.buy-float .buy-pill-hint { color: var(--cream-muted); }
.buy-float-close {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: var(--cream-muted); font: 400 1.4rem/1 var(--font-ui); cursor: pointer;
}
.buy-float-close:hover { color: var(--cream-ink); }
.buy-float :focus-visible { outline-color: var(--gold); }
html.buy-float-on { scroll-padding-bottom: 72px; }
@media (prefers-reduced-motion: reduce) { .buy-float, .buy-float.is-shown { transition: none; } }
@media print { .buy-float { display: none; } }

/* --- Free-reads line link: the tap target grows without changing the line height --- */
.buy-meter-link { display: inline-block; padding: 12px 4px; margin: -12px 0; font-weight: 600; color: var(--navy); }

/* --- Result card --- */
.buy-result-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 0 0 20px; padding: 4px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--well);
  font: 500 .92rem/1.5 var(--font-ui); color: var(--text);
}
.brc-text { padding: 8px 0; }
.brc-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); }
