.hero-lifetime-callout {
  appearance: none;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  margin: 0 0 18px;
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .055em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 var(--sun);
  transition: transform .16s, box-shadow .16s, background .16s;
}

.hero-lifetime-callout:hover {
  background: #28211c;
  box-shadow: 0 5px 0 var(--sun);
  transform: translateY(-2px);
}

.hero-lifetime-callout__spark {
  color: var(--sun);
  font-size: 17px;
  line-height: 1;
}

.hero-lifetime-callout strong {
  font-weight: 800;
}

.hero-lifetime-callout small {
  color: var(--on-dark-70);
  border-left: 1px solid var(--on-dark-15);
  padding-left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-lifetime-callout b {
  color: var(--sun);
  font-size: 17px;
  line-height: 1;
}

.hero-lifetime-callout + .eyebrow {
  display: flex;
  width: max-content;
}

@media (max-width: 560px) {
  .hero-lifetime-callout {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 9px;
    padding: 9px 12px;
  }

  .hero-lifetime-callout small {
    order: 4;
    flex-basis: 100%;
    border: 0;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lifetime-callout {
    transition: none;
  }
}

/* Keep checkout and account dialogs usable on short screens and mobile keyboards. */
.modal-backdrop {
  align-items: safe center;
  overscroll-behavior: contain;
  padding-block: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-bottom));
}

.auth-modal {
  max-height: calc(100dvh - 32px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.auth-modal .auth-plan-note {
  background: var(--mint, #d8eddf);
  border: 1px solid var(--ink-12, #1714141f);
  border-radius: 10px;
  color: var(--ink, #171414);
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 14px;
  padding: 10px 12px;
}

.pro-modal {
  max-height: min(88dvh, 920px);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.pro-modal > h2 {
  padding-right: 24px;
}

.pro-modal > small {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}

.pro-modal .pro-modal__checkout-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}

.pro-modal__choice button:disabled {
  cursor: progress;
  opacity: .65;
}

.pro-modal__close,
.modal-close {
  min-height: 44px;
  min-width: 44px;
}

:is(.room-tab, .pro-modal button, .auth-modal button, .ceo-header button, .ceo-nav-more summary):focus-visible {
  outline: 3px solid var(--coral, #df6348);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .modal-backdrop {
    padding-inline: 12px;
  }

  .pro-modal {
    max-height: 90dvh;
    padding: 22px;
  }

  .pro-modal__choice .button {
    flex-direction: column;
    gap: 4px;
    min-height: 48px;
    text-align: center;
    white-space: normal;
  }

  .global-message {
    max-width: calc(100vw - 24px);
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}
