/* ── Announcement bar: "Pro is free for one month" ──────────────────────────────────────────
   A thin scrolling strip above the navigation, in the site's own glass: the frosted white of the nav,
   a hair-line border, mint text (#0b7d68) and its own type (Oswald, upper case, wide tracking, like the titles).
   It sits in the normal flow at the very top, so the sticky nav keeps working under it.
   Markup (one per page, before <nav>): .free-bar > a > .free-bar-track > two .free-bar-seq.
   The second sequence is a copy for the loop (aria-hidden). The bar removes itself on the end
   date (inline script after it). Delete this file and the bars when the period is over.
   ──────────────────────────────────────────────────────────────────────────────────────────── */
/* The bar and the nav stay together at the top while the page scrolls: the bar sticks at 0 and the nav, which was sticky at 3px, sticks right under it (only while the bar exists). */
:root { --free-bar-h: 34px; }
.free-bar {
  position: sticky;
  top: 0;
  z-index: 101;
  overflow: hidden;
  height: var(--free-bar-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #0b7d68;
  font: 400 13px/1 'Oswald', 'IBM Plex Mono', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border, rgba(14, 80, 70, .16));
}
.free-bar a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.free-bar a:focus-visible {
  outline: 2px solid #0b7d68;
  outline-offset: -4px;
}
.free-bar-track {
  display: flex;
  width: max-content;
  animation: free-bar-scroll 46s linear infinite;
}
.free-bar:hover .free-bar-track,
.free-bar a:focus-visible .free-bar-track {
  animation-play-state: paused;
}
.free-bar-seq {
  display: flex;
  align-items: center;
  flex: none;
}
.free-bar-seq span {
  padding: 0 26px;
  white-space: nowrap;
}
.free-bar-seq i {
  flex: none;
  width: 5px;
  height: 5px;
  background: #0ca88c;
  transform: rotate(45deg);
}
.free-bar ~ nav { top: var(--free-bar-h); }
@keyframes free-bar-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  :root { --free-bar-h: 32px; }
  .free-bar { font-size: 12px; letter-spacing: .13em; }
}
/* No motion: one still message, centred. */
@media (prefers-reduced-motion: reduce) {
  .free-bar-track { animation: none; width: 100%; justify-content: center; }
  .free-bar-seq + .free-bar-seq,
  .free-bar-seq i,
  .free-bar-seq span:nth-of-type(n + 2) { display: none; }
}

/* ── Pricing page: during the free period the prices are struck and a line says so ───────────
   html.free-period-on is set by a one-line script in the <head> of pricing.html while the date
   has not passed; without it (before the script runs, or after the end date) none of this shows
   and the page is exactly the normal pricing page. */
/* The prices are struck in place, and one centred line above "Choose your tier" says why. Nothing is added inside the cards (they are an 8-row subgrid: a ninth child would push every row down),
   and nothing is written under the tier names. */
.free-period-line { display: none; }
html.free-period-on .free-period-line {
  display: block;
  margin: 0 0 18px;
  text-align: center;
  color: #0b7d68;
  font: 400 17px/1.2 'Bebas Neue', sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
html.free-period-on .tier.featured .tier-price,
html.free-period-on .tier.lifetime .tier-price {
  color: rgba(18, 59, 53, .42);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(11, 125, 104, .55);
}
html.free-period-on .tier.featured .tier-price .currency,
html.free-period-on .tier.lifetime .tier-price .currency {
  color: rgba(79, 125, 116, .45);
}

/* The buy buttons of the pricing page are switched off during the free period (pricing.html sets them disabled): dimmed, no hover lift, no pointer. */
html.free-period-on .tier-cta[data-tier]:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
