/*
 * Shell chrome styles. Everything here is additive: the pages keep their own
 * template/bootstrap styling, these rules only dress the pieces the shell owns
 * (scroll progress, skip link, sticky-nav state, back-to-top, loading state).
 */

:root {
  --shell-nav-height: 64px;
  --shell-secondary-rgb: 255, 0, 0;
}

/* Reserve the sticky navbar's space so the page does not jump when it becomes fixed. */
[data-shell-nav] {
  top: 0;
}

.shell-main:focus {
  outline: none;
}

/* --------------------------------------------------- page transition */
/*
 * Two halves, each doing one job:
 *
 *   leaving  -- the old page simply fades out. No movement: moving content away reads as a
 *               glitch, and the visitor has already stopped reading it.
 *   entering -- the new page emerges: it fades in while settling from slightly smaller to its
 *               natural size. The scale is subtle (2.5%) because larger values look like the
 *               page is bouncing and make text blurry while it moves.
 *
 * About a third of a second in total, so it reads as a transition rather than a wait. Both
 * halves are opacity + transform only, which the compositor can animate without touching
 * layout. While a page is fading it stays in the document but must not take clicks.
 */
.shell-main {
  transform-origin: center top;
}

.shell-main.shell-leaving {
  opacity: 0;
  transition: opacity 150ms ease-out;
  pointer-events: none;
}

/*
 * The entering page is faded, slightly smaller and a touch lower. Setting the class must apply
 * this state IMMEDIATELY (so the browser has a real "before" frame to animate from), therefore
 * the transition lives on the class being removed -- see the rule below -- not on .shell-main.
 */
.shell-main.shell-entering {
  opacity: 0;
  transform: scale(0.975) translateY(6px);
  transition: none;
  pointer-events: none;
}

/* Leaving the entering state animates back to the page's natural look. */
.shell-main:not(.shell-entering):not(.shell-leaving) {
  transition: opacity 280ms ease-out,
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/*
 * No JavaScript: shell.js can never remove the entering class, so fade the page in with a plain
 * CSS animation and stop depending on script. This is the no-JS safety net -- without it the
 * page would ship faded out and stay that way.
 */
@keyframes shell-emerge {
  from {
    opacity: 0;
    transform: scale(0.975) translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

html.no-js .shell-main.shell-entering {
  animation: shell-emerge 280ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Respect a visitor's request for less motion: swap instantly, no fade and no zoom. */
@media (prefers-reduced-motion: reduce) {
  .shell-main,
  .shell-main.shell-entering {
    transition: none;
  }

  .shell-main.shell-leaving,
  .shell-main.shell-entering {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    animation: none;
  }
}

/* ------------------------------------------------------------ progress */

.shell-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  height: 3px;
  overflow: hidden;
  background: rgba(var(--shell-secondary-rgb), 0.15);
  pointer-events: none;
}

.shell-progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: rgb(var(--shell-secondary-rgb));
  animation: shell-progress-slide 1.1s ease-in-out infinite;
}

@keyframes shell-progress-slide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shell-progress::before {
    animation: none;
    width: 100%;
    opacity: 0.5;
  }
}

/* ------------------------------------------------------------ skip link */

.shell-skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2100;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: #000;
  color: #fff;
  transition: top 0.15s ease-in-out;
}

.shell-skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* ---------------------------------------------------------- sticky nav */

body.shell-stuck [data-shell-nav] {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ------------------------------------------------------------ loading */

.shell-state {
  min-height: 55vh;
}

.shell-state .spinner-border {
  width: 2.5rem;
  height: 2.5rem;
}

/* --------------------------------------------------------- back to top */

.shell-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(var(--shell-secondary-rgb));
  color: #000;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.shell-to-top:hover,
.shell-to-top:focus-visible {
  transform: translateY(-2px);
}

.shell-to-top[hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------
 * Without JavaScript, the mobile menu would be unreachable: Bootstrap's collapse
 * needs script. This keeps the nav links reachable on small screens anyway.
 * ------------------------------------------------------------------------ */
@media (max-width: 767.98px) {
  html.no-js .navbar-collapse {
    display: block !important;
  }
  html.no-js .navbar-toggler {
    display: none;
  }
}

/* ----------------------------------------------------------- brand entrance */
/*
 * A logo animation shown when someone arrives from outside the site, then fades away to the
 * home page. Layout is a centred badge over a backdrop -- not a full-bleed video.
 *
 * States, driven by shell.js on the [data-entrance] element:
 *   hidden      -> not shown (in-site navigation, reduced motion, or already seen)
 *   (default)   -> visible, showing the loader while the video buffers
 *   .is-playing -> video revealed
 *   .is-leaving -> fading out to the page
 */

.shell-entrance {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
  --entrance-fade: 500ms;
}

/*
 * While the intro is up, the page underneath is hidden. During the cross-fade it becomes visible
 * and fades in on its own, so the two move as one dissolve instead of the page appearing after
 * the video has already gone.
 */
html.shell-entrance-open .shell-main {
  opacity: 0;
}

html.shell-entrance-revealing .shell-main {
  /* ease-in-out, not ease-out: the page arrives gently instead of snapping into place, and it
     gets its own, longer duration so it finishes after the badge has gone. */
  transition: opacity var(--entrance-page-fade, 900ms) cubic-bezier(0.4, 0, 0.2, 1);
}

.shell-entrance[hidden] {
  display: none;
}

.shell-entrance-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff;
  transition: opacity var(--entrance-fade, 500ms) ease-out;
}

.shell-entrance-stage {
  position: relative;
  width: min(70vw, 70vh, 520px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--entrance-fade, 500ms) ease-out, transform var(--entrance-fade, 500ms) ease-out;
}

/* ------------------------------------------------ loader (shown until playback) */

.shell-entrance-loader {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: opacity 200ms ease-out;
}

.shell-entrance-logo {
  width: 52px;
  height: 52px;
  opacity: 0.85;
  animation: shell-entrance-pulse 1.6s ease-in-out infinite;
}

/* A ring with one coloured quadrant: reads as "working" without being busy. */
.shell-entrance-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: rgb(var(--shell-secondary-rgb));
  animation: shell-entrance-spin 700ms linear infinite;
}

.shell-entrance-hint {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

@keyframes shell-entrance-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shell-entrance-pulse {
  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 0.45;
  }
}

/* ------------------------------------------------------------ video */

.shell-entrance-video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.shell-entrance.is-playing .shell-entrance-video {
  opacity: 1;
}

.shell-entrance.is-playing .shell-entrance-loader {
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------- skip */

.shell-entrance-skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: opacity 200ms ease-out, border-color 200ms ease-out;
}

.shell-entrance-skip:hover,
.shell-entrance-skip:focus-visible {
  border-color: rgba(0, 0, 0, 0.45);
  color: #000;
}

/* Leaving: the badge fades back very slightly while the page rises through it. */
.shell-entrance.is-leaving .shell-entrance-backdrop {
  opacity: 0;
}

.shell-entrance.is-leaving .shell-entrance-stage {
  opacity: 0;
  transform: scale(0.985);
}

/* The video itself fades, not just the backdrop, so the last frame dissolves into the page. */
.shell-entrance.is-leaving .shell-entrance-video {
  opacity: 0;
  transition: opacity var(--entrance-fade, 500ms) ease-out;
}

.shell-entrance.is-leaving .shell-entrance-skip {
  opacity: 0;
  pointer-events: none;
}

/* No motion wanted, no motion given: the overlay never appears. */
@media (prefers-reduced-motion: reduce) {
  .shell-entrance {
    display: none !important;
  }
}

/* ------------------------------------------------------- launch offer banner */
/*
 * The launch offer: copy on the left, a flip-clock countdown on the right.
 *
 * The clock is a calendar/split-flap style card. Each unit is a card split across the middle;
 * when the number changes the top half of the NEW value is revealed from behind the top half,
 * and the bottom half of the OLD value falls away -- the effect a physical flip clock makes.
 */

.shell-offer {
  position: relative;
  margin-bottom: 1.75rem;
  border-radius: 18px;
  padding: clamp(1.1rem, 2.4vw, 1.9rem);
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #111 0%, #2a0503 55%, rgb(var(--shell-secondary-rgb)) 100%);
  box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.shell-offer-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.shell-offer-copy {
  flex: 1 1 22rem;
  min-width: 0;
}

.shell-offer-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell-offer-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.shell-offer-sub {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255, 255, 255, 0.82);
}

.shell-offer-copy li {
  color: rgba(255, 255, 255, 0.9);
}

/* The tick marks inside the bullets need to read on the dark panel. */
.shell-offer-copy li .text-success {
  color: #4ade80 !important;
}

/* ------------------------------------------------------------- flip clock */
/*
 * A split-flap (flip clock) card. Each card shows ONE number, split across a top and bottom
 * half by clipping: both halves contain the same digit at full size, but the top half clips it
 * to its upper portion and the bottom half to its lower portion. So one card reads as one
 * number, never two.
 *
 * On change, a "leaf" -- a copy of the outgoing bottom half -- rotates down and away, while the
 * new value is already sitting behind it. That is the motion a physical flap clock makes.
 */

.shell-offer-clock {
  flex: 0 0 auto;
  text-align: center;
}

.shell-offer-clock-label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.shell-flip-row {
  display: flex;
  gap: clamp(0.35rem, 1.2vw, 0.6rem);
}

.shell-flip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

/*
 * The card is a fixed-size box with perspective. Its children are absolutely positioned halves
 * that each clip a full-size digit, which is what makes one number appear instead of two.
 */
.shell-flip-card {
  position: relative;
  width: clamp(3.1rem, 9vw, 4.4rem);
  height: clamp(3.6rem, 10.5vw, 5rem);
  perspective: 520px;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 4.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.shell-flip-top,
.shell-flip-bottom,
.shell-flip-leaf {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* The digit inside each half is full height, positioned so the two halves line up. */
.shell-flip-top > span,
.shell-flip-bottom > span,
.shell-flip-leaf > span {
  display: block;
  height: 200%;
  line-height: 1;
  transform: translateY(0);
}

.shell-flip-top {
  top: 0;
  align-items: flex-start;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(#241c19, #17110f);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}

/* The top half shows the UPPER portion: pull the digit up by nothing, clip the rest. */
.shell-flip-top > span {
  margin-top: 0;
}

.shell-flip-bottom {
  bottom: 0;
  align-items: flex-end;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#120d0c, #1c1513);
}

/* The bottom half shows the LOWER portion: shift the digit up by half the card. */
.shell-flip-bottom > span {
  margin-top: -100%;
}

/* The falling leaf: a copy of the bottom half, hinged at the card's middle. */
.shell-flip-leaf {
  bottom: 0;
  align-items: flex-end;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#120d0c, #1c1513);
  transform-origin: top center;
  backface-visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.shell-flip-leaf > span {
  margin-top: -100%;
}

/* While flipping, the leaf shows the OLD value and falls away. */
.shell-flip-card.is-flipping .shell-flip-leaf {
  opacity: 1;
  animation: shell-flip-fall 420ms cubic-bezier(0.4, 0, 0.7, 1) forwards;
}

@keyframes shell-flip-fall {
  from {
    transform: rotateX(0deg);
    opacity: 1;
  }

  to {
    transform: rotateX(-90deg);
    opacity: 0;
  }
}

.shell-flip-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ------------------------------------------------------- offer call to action */

.shell-offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.2rem rgba(185, 28, 28, 0.35);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, filter 160ms ease-out;
}

/* The arrow slides on hover: a small cue that the button leads somewhere. */
.shell-offer-cta-arrow {
  transition: transform 180ms ease-out;
}

.shell-offer-cta:hover .shell-offer-cta-arrow,
.shell-offer-cta:focus-visible .shell-offer-cta-arrow {
  transform: translateX(3px);
}

.shell-offer-trust {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.shell-offer-cta:hover,
.shell-offer-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.9rem 2rem rgba(185, 28, 28, 0.45);
  color: #fff;
  filter: brightness(1.06);
}

.shell-offer-cta:active {
  transform: translateY(0);
}

/* When checkout URLs are not configured yet, the CTA is a disabled placeholder. */
.shell-offer-cta[aria-disabled="true"] {
  opacity: 0.72;
  cursor: not-allowed;
}

/* Small screens: the clock goes full width and the cards share it evenly. */
@media (max-width: 575.98px) {
  .shell-offer-clock {
    flex: 1 1 100%;
  }

  .shell-flip-row {
    justify-content: space-between;
  }

  .shell-flip-card {
    width: clamp(2.6rem, 19vw, 3.6rem);
    height: clamp(3.1rem, 22vw, 4.2rem);
    font-size: clamp(1.25rem, 8vw, 1.8rem);
  }

  .shell-offer-title {
    font-size: 1.3rem;
  }

  .shell-offer-cta {
    width: 100%;
    justify-content: center;
  }
}

/* No motion wanted: no fall, just the number changing. */
@media (prefers-reduced-motion: reduce) {
  .shell-flip-card.is-flipping .shell-flip-leaf {
    animation: none;
    opacity: 0;
  }
}

/* --------------------------------------------------------------- terms */

.shell-offer-terms {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.shell-offer-terms summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}

.shell-offer-terms ul {
  padding-left: 1.1rem;
}

/* Small screens: the clock goes full width and the cards share it evenly. */
@media (max-width: 575.98px) {
  .shell-offer-clock {
    flex: 1 1 100%;
  }

  .shell-flip-row {
    justify-content: space-between;
  }

  .shell-flip-card {
    width: clamp(2.6rem, 19vw, 3.6rem);
    height: clamp(3.1rem, 22vw, 4.2rem);
  }

  .shell-offer-title {
    font-size: 1.3rem;
  }
}

/* No motion wanted: no flip, no falling leaf. */
@media (prefers-reduced-motion: reduce) {
  .shell-flip-card::after,
  .shell-flip-card.is-flipping::after {
    animation: none;
    opacity: 0;
  }
}

/* ------------------------------------------------------- plan price emphasis */
/*
 * Launch pricing on the plan cards, after the reference design: the currency symbol is split
 * from the amount, the old price is struck in brand red, and the saving plus the countdown sit
 * together in one framed box so the reason to buy now is a single visual object.
 *
 * The surface stays light: these are light cards on a light page, so everything is tuned for
 * contrast on white rather than copying the reference's dark panel.
 */

.shell-price {
  position: relative;
}

/* --------------------------------------------------------------- the price */

.shell-price-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}

.shell-price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgb(var(--shell-secondary-rgb));
  align-self: flex-start;
  margin-top: 0.15em;
}

.shell-price-amount {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111;
}

.shell-price-period {
  margin-left: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6c757d;
}

/* ------------------------------------------- old price + saving, side by side */

.shell-price-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.shell-price-was {
  font-size: 0.82rem;
  color: #6c757d;
}

/* Brand-red strike: the old price reads as cancelled, not merely faded. */
.shell-price-was s {
  font-weight: 700;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgb(var(--shell-secondary-rgb));
  color: #495057;
}

/* White text on a dark red ground: on a light/glass card a pale pill would make white text
   invisible, so the saving gets a solid signal colour instead of a tint. */
.shell-price-save {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 0.25rem 0.6rem rgba(185, 28, 28, 0.28);
}

/* ------------------------------------------------------ countdown box */

.shell-clock-box {
  margin-top: 0.9rem;
  padding: 0.7rem 0.5rem 0.6rem;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #e9ecef;
  box-shadow: inset 0 1px 0 #fff;
}

.shell-clock-box-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b91c1c;
}

.shell-clock-box-icon {
  width: 0.95em;
  height: 0.95em;
}

.shell-clock-units {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
}

/* One unit: a small framed box holding the number and its label. */
.shell-clock-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 2.9rem;
  padding: 0.3rem 0.25rem 0.2rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
}

/* The split line across the middle, as on a physical flap clock. */
.shell-clock-unit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.shell-clock-num {
  font-variant-numeric: tabular-nums;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111;
}

.shell-clock-tag {
  margin-top: 0.1rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a8f98;
}

.shell-clock-sep {
  align-self: center;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  font-weight: 800;
  color: rgb(var(--shell-secondary-rgb));
}

/*
 * The flip: the UNIT turns over in place, hinged at its middle line. Rotating the whole number
 * away and back (as the reference did) reads as a wobble, not a flip clock.
 */
.shell-clock-unit.is-flipping {
  animation: shell-clock-flip 400ms ease-in-out;
}

@keyframes shell-clock-flip {
  0% {
    transform: rotateX(0deg);
  }

  50% {
    transform: rotateX(-88deg);
    opacity: 0.55;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

/* When the offer is over, stop shouting: neutral colours, no red. */
.shell-clock-box.is-ended .shell-clock-box-label,
.shell-clock-box.is-ended .shell-clock-sep {
  color: #8a8f98;
}

/* ------------------------------------------------------ card accents */

/* The floating tag on the card edge: what the visitor keeps by buying now. */
.shell-card-launch {
  position: relative;
  overflow: visible;
}

.shell-card-tag {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  z-index: 2;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0.35rem 0.9rem rgba(185, 28, 28, 0.35);
}

@media (max-width: 575.98px) {
  .shell-price-amount {
    font-size: 2.4rem;
  }

  .shell-clock-unit {
    min-width: 2.35rem;
  }

  .shell-clock-num {
    font-size: 0.95rem;
  }

  .shell-price-save {
    font-size: 0.7rem;
  }
}

/* No motion wanted: the number changes, the box does not flip. */
@media (prefers-reduced-motion: reduce) {
  .shell-clock-unit.is-flipping {
    animation: none;
  }
}



/* ------------------------------------------------------- launch status line */

.shell-launch-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  /* Room to breathe: space above and below so the pill reads as its own line, and padding at
     the sides so the pulsing ring never crowds the text. */
  margin: 0.5rem 0 2.75rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b91c1c;
}

/* A slow pulsing ring: alive without being a strobe. */
.shell-launch-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ef4444;
  flex: 0 0 auto;
  /* The ring grows to 14px, so reserve that much room around the dot; without this the halo
     bleeds into the text and the line looks cramped. */
  margin: 0 0.45rem 0 0.15rem;
  animation: shell-launch-pulse 1.8s ease-out infinite;
}

@keyframes shell-launch-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shell-launch-dot {
    animation: none;
  }
}

/* ------------------------------------------------------------ glass cards */
/*
 * Glass pricing cards: a translucent pane with a backdrop blur, outlined in dark red.
 *
 * Two things make glass read as glass rather than as a grey box:
 *   1. something must be visible BEHIND it -- the page has a background image, so the blur has
 *      texture to work with;
 *   2. the edge needs a bright inner highlight plus a soft shadow, which is what sells a pane.
 *
 * `-webkit-` prefixes are kept for Safari, where backdrop-filter still needs them.
 */

/* Specificity note: Bootstrap's .shadow-sm is a single-class utility loaded after this file, so
   a plain .shell-card-glass box-shadow loses to it. The doubled class gives this rule the
   specificity it needs to own the card's shadow. */
.shell-card-glass.shell-card-glass {
  position: relative;
  border: 1px solid #7f1d1d !important;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0.5rem 1.5rem rgba(127, 29, 29, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 220ms ease-out, transform 220ms ease-out, border-color 220ms ease-out;
}

.shell-card-glass:hover {
  border-color: #b91c1c !important;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0.9rem 2.2rem rgba(127, 29, 29, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.05);
}

/* The featured plan: the same glass, tinted, so it stays the visual priority. */
/* Same specificity trick as the base rule, so the featured treatment wins. */
.shell-card-glass.shell-card-featured {
  border-width: 2px !important;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0.9rem 2.4rem rgba(185, 28, 28, 0.22),
    0 0 0 1px rgba(185, 28, 28, 0.25);
}

/*
 * Browsers without backdrop-filter (older Safari, some Android WebViews) get a more opaque
 * surface instead, so the card stays legible rather than turning into a washed-out smear.
 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .shell-card-glass {
    background: rgba(255, 255, 255, 0.94);
  }

  .shell-card-featured {
    background: rgba(255, 255, 255, 0.97);
  }
}

/* Windows "reduce transparency" / high-contrast settings ask for solid surfaces. */
@media (prefers-reduced-transparency: reduce) {
  .shell-card-glass,
  .shell-card-featured {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* --------------------------------------------------------- plan buttons */
/*
 * The plan CTA inverts on hover: white ground with a red outline and red text, becoming solid
 * red with white text. The inline styles need !important because Bootstrap's .btn variants set
 * background and colour at the same specificity and are loaded after this file.
 */

.shell-btn-outline {
  --shell-btn-red: #b91c1c;
  display: block;
  padding: 0.7rem 1.25rem;
  border: 2px solid var(--shell-btn-red) !important;
  /* 2px, not 1.5px: sub-pixel borders round down to 1px on standard-DPI screens. */
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--shell-btn-red) !important;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out,
    border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.shell-btn-outline:hover,
.shell-btn-outline:focus-visible {
  background: var(--shell-btn-red) !important;
  border-color: var(--shell-btn-red) !important;
  color: #fff !important;
  box-shadow: 0 0.45rem 1.1rem rgba(185, 28, 28, 0.3);
  transform: translateY(-1px);
}

.shell-btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* A disabled placeholder (no checkout URL yet) must not look hoverable. */
.shell-btn-outline[aria-disabled="true"] {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

/* Disabled is signalled by opacity and a not-allowed cursor, NOT by suppressing the hover
   inversion. The owner wants the colour swap visible while checkout URLs are still being
   configured; the button does not navigate anywhere until they exist. */
.shell-btn-outline[aria-disabled="true"]:hover {
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .shell-btn-outline {
    transition: none;
  }

  .shell-btn-outline:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------ launch hero */
/*
 * The landing page's opening offer. A dark red panel with the copy and the flip clock side by
 * side, so the launch is the first thing a visitor meets without pushing the headline away.
 */

.shell-hero {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) 0;
  color: #fff;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(135deg, #14060a 0%, #2a0503 55%, #7f1d1d 100%);
  overflow: hidden;
}

.shell-hero-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3.5vw, 3rem);
}

.shell-hero-copy {
  flex: 1 1 24rem;
  min-width: 0;
}

.shell-hero-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shell-hero-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.shell-hero-sub {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
}

.shell-hero-copy li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.shell-hero-copy li .text-success {
  color: #4ade80 !important;
}

.shell-hero-clock {
  flex: 0 0 auto;
  text-align: center;
}

/* ----------------------------------------------------- the shared clock */

.shell-hero-clock .shell-clock-units,
.shell-mid-clock .shell-clock-units {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
}

/* On the dark hero the dials invert: light cards on a dark ground. */
.shell-hero-clock .shell-clock-unit {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.shell-hero-clock .shell-clock-unit::after {
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.shell-hero-clock .shell-clock-num {
  color: #fff;
}

.shell-hero-clock .shell-clock-tag {
  color: rgba(255, 255, 255, 0.6);
}

.shell-hero-clock .shell-clock-sep {
  color: #fca5a5;
}

.shell-hero-clock .shell-clock-box-label {
  color: #fca5a5;
}

.shell-clock-unit-lg .shell-clock-num {
  font-size: 1.5rem;
}

.shell-clock-unit-lg {
  min-width: 3.6rem;
  padding: 0.45rem 0.35rem 0.3rem;
}

/* ------------------------------------------------- mid-page launch banner */

.shell-mid {
  padding: 1rem 0;
}

.shell-mid-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  background: #fff5f5;
  border: 1px solid #f5c2c2;
}

.shell-mid-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.shell-mid-title {
  font-size: 1rem;
  font-weight: 800;
  color: #b91c1c;
}

.shell-mid-sub {
  font-size: 0.85rem;
  color: #6b7280;
}

.shell-mid-clock .shell-clock-unit {
  min-width: 2.6rem;
  padding: 0.25rem 0.2rem 0.15rem;
}

.shell-mid-clock .shell-clock-num {
  font-size: 0.95rem;
}

.shell-offer-cta-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

/* ------------------------------------------------------- sticky offer bar */

.shell-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid #f0d0d0;
  box-shadow: 0 -0.4rem 1.4rem rgba(0, 0, 0, 0.08);
}

.shell-sticky[hidden] {
  display: none;
}

.shell-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.shell-sticky-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 0.85rem;
  color: #111;
}

.shell-sticky-sub {
  font-size: 0.76rem;
  color: #6b7280;
}

.shell-sticky-clock {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 800;
  color: #b91c1c;
  white-space: nowrap;
}

.shell-sticky-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.shell-sticky-close:hover {
  background: #f3f4f6;
  color: #111;
}

/*
 * Mobile: the bar stacks and stays short. It is bottom-anchored and only appears after the
 * visitor has scrolled well past the hero, so it never covers the headline or the plan cards.
 */
@media (max-width: 767.98px) {
  .shell-sticky-copy {
    font-size: 0.78rem;
  }

  .shell-sticky-inner {
    gap: 0.5rem;
  }

  .shell-hero-clock {
    flex: 1 1 100%;
  }

  .shell-clock-unit-lg {
    min-width: 3rem;
  }

  .shell-clock-unit-lg .shell-clock-num {
    font-size: 1.15rem;
  }

  .shell-mid-body {
    justify-content: center;
    text-align: center;
  }
}

/* No motion wanted: no animating dials anywhere in the launch surfaces. */
@media (prefers-reduced-motion: reduce) {
  .shell-sticky {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------------------------------------------------------- funnel steps */

.shell-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: rgb(var(--shell-secondary-rgb));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0.3rem 0.8rem rgba(var(--shell-secondary-rgb), 0.3);
}

.shell-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------- two wallets */

.shell-wallets {
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 0.4rem 1.4rem rgba(0, 0, 0, 0.05);
}

.shell-wallets-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.shell-wallets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.9rem;
}

.shell-wallet {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eceff1;
  font-size: 0.9rem;
  color: #6b7280;
}

.shell-wallet-tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: 5px;
  background: #fff1f1;
  border: 1px solid #f5c2c2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 800;
}

.shell-wallets-note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eceff1;
  font-size: 0.86rem;
  color: #6b7280;
  text-align: center;
}

/* ---------------------------------------------------------- legal pages */

.shell-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.shell-legal h2:first-child {
  margin-top: 0;
}

.shell-legal p {
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.shell-legal-table {
  font-size: 0.9rem;
}

.shell-legal-table th {
  background: #f8f9fa;
  font-weight: 700;
}

.shell-legal-contact {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  font-size: 0.92rem;
}

/* ------------------------------------------------ conversion refinements */

/* Hero reassurance under the CTA: the reason to act, stated quietly. */
.shell-hero-reassurance {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
}

/* The MOST POPULAR badge: the loudest thing on the card, so the eye lands on Pro first.
   Red gradient rather than black -- on a white glass card, black read as a caption. */
.shell-card-popular {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.32rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0.4rem 1.1rem rgba(185, 28, 28, 0.45),
    0 0 0 3px rgba(239, 68, 68, 0.14);
  animation: shell-popular-glow 2.6s ease-in-out infinite;
}

@keyframes shell-popular-glow {
  0%,
  100% {
    box-shadow:
      0 0.4rem 1.1rem rgba(185, 28, 28, 0.45),
      0 0 0 3px rgba(239, 68, 68, 0.14);
  }

  50% {
    box-shadow:
      0 0.4rem 1.4rem rgba(185, 28, 28, 0.6),
      0 0 0 6px rgba(239, 68, 68, 0.07);
  }
}

/* The featured card gets a stronger shadow and a slightly raised edge, without the other two
   plans looking unimportant. */
.shell-card-glass.shell-card-featured {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1.2rem 3rem rgba(185, 28, 28, 0.26),
    0 0 0 1px rgba(185, 28, 28, 0.3);
}

.shell-card-featured .shell-price-amount {
  font-size: 3.35rem;
}

/* ------------------------------------------------------ rate-lock promise */

.shell-lock {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.35rem clamp(1rem, 3vw, 1.75rem);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8f8, #fff);
  border: 1px solid #f3d3d3;
}

.shell-lock-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff1f1;
  border: 1px solid #f5c2c2;
  color: #b91c1c;
}

.shell-lock-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.shell-lock-body {
  font-size: 0.92rem;
  color: #5b6470;
  max-width: 52rem;
}

/* Plan CTA sits directly beneath the feature list with equal breathing room. */
.shell-card-glass .shell-btn-outline {
  margin-top: auto;
}

@media (max-width: 575.98px) {
  .shell-card-featured .shell-price-amount {
    font-size: 2.6rem;
  }

  .shell-card-popular {
    font-size: 0.6rem;
    padding: 0.28rem 0.85rem;
    top: -0.8rem;
  }

  .shell-lock {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/*
 * The featured card carries both "Grandfather rate" and "MOST POPULAR" on its top edge, which
 * collide on a narrow card. MOST POPULAR is the stronger buying signal, so it wins there and the
 * rate tag stays on the other two cards.
 */
.shell-card-featured .shell-card-tag {
  display: none;
}

/* The gold crown on the MOST POPULAR badge: the badge is the only coloured element on the
   card, and a gold mark on top of it makes it the first thing the eye lands on. */
.shell-card-popular {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.shell-crown {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

/* ============================================ slim announcement bars
 *
 * One visual language for all three offer bars: top of the landing page, sticky above the
 * pricing grid, and floating at the bottom. Dark red gradient, white text, and the countdown in
 * bordered tiles -- the seconds tile inverted so the eye catches the movement.
 */

.shell-slim-bar {
  background: linear-gradient(90deg, #990000 0%, #cc0000 50%, #990000 100%);
  color: #fff;
  padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.shell-slim-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.shell-slim-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.shell-slim-label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- countdown tiles ---- */

.shell-tiles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shell-tile {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 2px 8px;
  min-width: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.shell-tile-num {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.shell-tile-tag {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1px;
}

.shell-tile-hi {
  background: #fff;
}

.shell-tile-hi .shell-tile-num,
.shell-tile-hi .shell-tile-tag {
  color: #990000;
}

/* ---- actions ---- */

.shell-slim-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shell-slim-btn {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.shell-slim-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.shell-slim-btn-solid {
  background: #fff;
  color: #cc0000;
  border: none;
  font-weight: 800;
}

.shell-slim-btn-solid:hover {
  background: #fff;
  color: #990000;
  opacity: 0.9;
}

.shell-slim-close {
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.shell-slim-close:hover {
  background: rgba(0, 0, 0, 0.45);
}

/* ---- the three placements ---- */

/* Top of the landing page: the first thing a visitor sees, one line tall. */
.shell-slim-bar-top {
  position: relative;
  z-index: 5;
}

/* The pricing strip: sticks to the top while the visitor reads the plans, so the deadline
   stays on screen exactly when the decision is being made.

   `top` clears the sticky site header (which is 83px tall on desktop, ~80px on mobile) -- pinning
   at 0 would tuck the bar underneath it and hide the countdown. */
.shell-slim-bar-mid {
  position: sticky;
  top: 83px;
  z-index: 1020;
  margin-bottom: 1.25rem;
  border-radius: 10px;
}

@media (max-width: 991.98px) {
  .shell-slim-bar-mid {
    top: 80px;
  }
}

/* Floating: bottom-anchored, revealed by site.js once the visitor scrolls past the top. */
.shell-slim-bar-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.shell-slim-bar-bottom[hidden] {
  display: none;
}

.shell-slim-bar-bottom .shell-slim-close {
  right: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
}

/* ---- small screens: stack, but stay a bar rather than a block ---- */

@media (max-width: 991.98px) {
  .shell-slim-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .shell-slim-actions {
    width: 100%;
    justify-content: center;
  }

  .shell-slim-bar-bottom .shell-slim-close {
    position: absolute;
    top: 0.15rem;
    right: 0.15rem;
    transform: none;
  }
}

/* The bars are full-bleed: width 100% of whatever container they land in. Do not add negative
   margins -- on a phone they push the bar out of alignment with the page content. */
.shell-slim-bar {
  max-width: 100%;
}

@media (max-width: 575.98px) {
  .shell-slim-label {
    font-size: 0.78rem;
  }

  .shell-tile {
    min-width: 42px;
    padding: 2px 5px;
  }

  .shell-tile-num {
    font-size: 0.9rem;
  }

  .shell-tile-tag {
    font-size: 0.5rem;
  }

  .shell-slim-btn {
    padding: 5px 11px;
    font-size: 0.75rem;
  }
}

/* Reduced motion: no animation anywhere in these bars. */
@media (prefers-reduced-motion: reduce) {
  .shell-slim-btn {
    transition: none;
  }
}
