/* ==========================================================================
   Noturna — quiz funnel + paywall styles
   Builds on assets/css/tokens.css and assets/css/base.css.
   Mobile-first: designed at 320px, centred 30rem column from 480px up.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page + shell
   -------------------------------------------------------------------------- */
body.funnel-page,
body.paywall-page {
  background: var(--bg-subtle);
}

.funnel-shell,
.pw-shell {
  position: relative;
  width: 100%;
  max-width: var(--funnel-width);
  margin-inline: auto;
  background: var(--bg-app);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 30rem) {
  .funnel-shell,
  .pw-shell {
    box-shadow: 0 0 0 1px var(--border-subtle);
  }
}

.noscript {
  padding: var(--s-8) var(--page-gutter);
}

.noscript h1 {
  font-size: var(--text-xl);
  margin-bottom: var(--s-3);
}

.noscript a {
  font-weight: var(--weight-semibold);
}

/* Shared inline SVG sizing */
.icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Funnel header
   -------------------------------------------------------------------------- */
.quiz-head {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 3.5rem;
  padding: 0.35rem var(--page-gutter);
  background: rgba(255, 255, 255, 0.92);
  background: color-mix(in srgb, var(--bg-app) 92%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

.quiz-head--brand {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
}

.quiz-head--brand .icon-btn {
  margin-left: -0.55rem;
  justify-self: start;
}

.quiz-head--brand .brand-holder {
  justify-self: center;
}

.quiz-head__spacer {
  display: block;
  width: 2.75rem;
  height: 1px;
}

.quiz-head--welcome {
  justify-content: center;
  position: sticky;
  padding-block: 0.7rem;
}

.quiz-head--welcome .brand-holder {
  display: flex;
  justify-content: center;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-full);
  color: var(--fg-strong);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.icon-btn:hover {
  background: var(--gray-100);
}

.step-count {
  margin: 0;
  font-size: var(--text-base);
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.step-count strong {
  color: var(--fg-strong);
  font-weight: var(--weight-bold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--accent);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  display: block;
  flex: none;
  border-radius: 27%;
}

.brand__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--accent);
}

.text-btn {
  position: absolute;
  right: calc(var(--page-gutter) - 0.35rem);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--fg-muted);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

.text-btn:hover {
  background: var(--gray-100);
  color: var(--fg-default);
}

/* --------------------------------------------------------------------------
   Progress dots + phase
   -------------------------------------------------------------------------- */
.progress-wrap {
  position: relative;
  padding: 0.4rem var(--page-gutter) 0;
}

.progress-track {
  position: absolute;
  left: calc(var(--page-gutter) + 0.6875rem);
  right: calc(var(--page-gutter) + 0.6875rem);
  top: calc(0.4rem + 0.6875rem);
  height: 0.25rem;
  border-radius: var(--r-full);
  background: var(--blue-100);
  overflow: hidden;
}

.progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue-600);
  transition: width var(--dur-slow) var(--ease-out);
}

.progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dot {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: var(--r-full);
  border: 2px solid var(--blue-200);
  background: var(--white);
  color: var(--white);
  transition: background-color var(--dur-base), border-color var(--dur-base),
    box-shadow var(--dur-base);
}

.dot.is-done,
.dot.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.dot.is-done svg {
  width: 0.75rem;
  height: 0.75rem;
}

.dot.is-active {
  box-shadow: 0 0 0 5px rgba(59, 92, 246, 0.16);
}

.phase {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Screens + question
   -------------------------------------------------------------------------- */
.screen {
  flex: 1 0 auto;
}

.screen--question {
  padding: 1.35rem var(--page-gutter) 2rem;
}

.question {
  max-width: 22rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.4rem, 1.1rem + 1.7vw, 1.8rem);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.16;
  outline: none;
}

.question__hint {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.options {
  display: grid;
  gap: 0.625rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.9rem;
  padding: 0.95rem 1.05rem;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  text-align: left;
  color: var(--fg-strong);
  font-size: 1rem;
  font-weight: var(--weight-medium);
  line-height: 1.3;
  transition: background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.opt:hover {
  background: var(--gray-150);
}

.opt:active {
  transform: scale(0.995);
}

.opt.is-selected {
  background: var(--blue-50);
  border-color: var(--blue-600);
}

.opt:focus-visible {
  outline: none;
  border-radius: var(--r-lg);
  box-shadow: var(--ring);
}

.opt__emoji {
  flex: none;
  width: 1.7rem;
  font-size: 1.3rem;
  line-height: 1;
  text-align: center;
}

.opt__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.opt__label {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.opt__hint {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--fg-muted);
  line-height: 1.35;
}

.opt__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 7px;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: transparent;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}

.opt.is-selected .opt__box {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.opt__box svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* Sticky Continue for multi-select steps */
.sticky-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: var(--z-sticky);
  width: 100%;
  max-width: var(--funnel-width);
  transform: translateX(-50%);
  padding: 1rem var(--page-gutter)
    calc(0.9rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    to top,
    var(--bg-app) 62%,
    rgba(255, 255, 255, 0)
  );
}

.screen--has-actions {
  padding-bottom: 5.75rem;
}

/* --------------------------------------------------------------------------
   Welcome screen
   -------------------------------------------------------------------------- */
.screen--welcome {
  padding-bottom: 1.5rem;
}

.welcome__top {
  padding: 0 var(--page-gutter);
}

.pills {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.5rem 0.6rem;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  min-width: 0;
}

.pill__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: linear-gradient(160deg, #5b8bff, var(--blue-800));
}

.pill__badge svg {
  width: 1.05rem;
  height: 1.05rem;
}

.pill__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  min-width: 0;
}

.pill__eyebrow {
  font-size: 0.5625rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.pill__value {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--fg-strong);
  letter-spacing: -0.01em;
}

.pill__lock {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--amber-500);
}

.welcome__caption {
  margin: 0.9rem 0 0.15rem;
  text-align: center;
  font-size: var(--text-md);
  color: var(--ink-500);
}

.hero-illus {
  margin-top: 0.75rem;
  overflow: hidden;
}

.hero-svg {
  display: block;
  width: 100%;
  height: auto;
}

.welcome__bottom {
  padding: 1.35rem var(--page-gutter) 0;
  text-align: center;
}

.welcome__title {
  max-width: 20rem;
  margin: 0 auto;
  font-size: clamp(1.7rem, 1.25rem + 2.4vw, 2.05rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.welcome__question {
  margin: 1.05rem 0 1rem;
  padding: 0.8rem 0.75rem;
  background: var(--gray-100);
  border-radius: var(--r-md);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.2rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.welcome__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.welcome__choices .btn {
  font-size: var(--text-base);
  padding-inline: 0.5rem;
}

.legal {
  max-width: 25rem;
  margin: 1.2rem auto 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--fg-muted);
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal--faint {
  margin-top: 0.55rem;
  color: var(--fg-faint);
}

.preview-note {
  margin: 0.55rem 0 0;
  font-size: 0.625rem;
  line-height: 1.4;
  color: var(--fg-faint);
}

/* --------------------------------------------------------------------------
   Interstitial screens
   -------------------------------------------------------------------------- */
.screen--interstitial {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.4rem);
  min-height: calc(100dvh - 4.4rem);
  padding: 0.6rem var(--page-gutter) 1.5rem;
}

.inter__body {
  flex: 1 1 auto;
}

.inter__title {
  max-width: 22rem;
  margin: 0.4rem auto 0;
  text-align: center;
  font-size: clamp(1.45rem, 1.15rem + 1.8vw, 1.9rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.14;
  outline: none;
}

.inter__title--accent {
  color: var(--accent);
}

.inter__copy {
  max-width: 24rem;
  margin: 0.8rem auto 0;
  text-align: center;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--fg-default);
}

.inter-illus {
  margin-top: 1.1rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #f1f6ff, #fbfcff);
}

.illus-svg {
  display: block;
  width: 100%;
  height: auto;
}

.note-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--r-lg);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  line-height: 1.45;
  text-align: left;
}

.note-callout__emoji {
  flex: none;
  font-size: 1.05rem;
  line-height: 1.3;
}

.inter__actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.inter__actions--inline {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Hard way / smart way */
.matrix {
  margin-top: 1.2rem;
}

.matrix__hard {
  padding: 1rem;
  border-radius: var(--r-xl);
  background: #fff5f5;
  border: 1px solid #fbe0e0;
}

.matrix__smart {
  padding: 1rem;
  border-radius: var(--r-xl);
  background: #f2fdf6;
  border: 1px solid #d3f1de;
}

.matrix__label {
  margin: 0 0 0.7rem;
  font-size: 0.625rem;
  font-weight: var(--weight-black);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.matrix__label--red {
  color: var(--red-600);
}

.matrix__label--green {
  color: var(--green-700);
}

.hard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.hard-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.6rem;
  background: var(--white);
  border: 1px solid #fbe4e4;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  color: var(--fg-strong);
}

.hard-item__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: var(--r-full);
  background: var(--red-500);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: var(--weight-black);
  line-height: 1;
}

.matrix__vs {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 1.55rem;
  margin: -0.8rem auto;
  border-radius: var(--r-full);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  font-size: 0.5625rem;
  font-weight: var(--weight-black);
  letter-spacing: 0.09em;
  color: var(--fg-muted);
}

.smart-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--green-700);
}

.smart-line__tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: var(--r-full);
  background: var(--green-500);
  color: var(--white);
  font-size: 1rem;
}

/* Most people vs you */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
}

.vs-col {
  padding: 0.9rem 0.75rem;
}

.vs-col--dim {
  background: var(--gray-50);
}

.vs-col--brand {
  background: var(--blue-50);
}

.vs-col__head {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.7rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-black);
  letter-spacing: -0.01em;
  color: var(--fg-default);
  line-height: 1.2;
}

.vs-col--brand .vs-col__head {
  color: var(--fg-strong);
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--accent);
}

.brand-inline svg {
  width: 0.9rem;
  height: 0.9rem;
}

.vs-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: var(--text-sm);
  line-height: 1.3;
  color: var(--fg-muted);
}

.vs-col--brand .vs-list li {
  color: var(--fg-strong);
  font-weight: var(--weight-semibold);
}

.vs-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: var(--weight-black);
  line-height: 1;
}

.vs-mark--x {
  color: var(--fg-faint);
}

.vs-mark--tick {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Summary screen
   -------------------------------------------------------------------------- */
.screen--summary {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.4rem);
  min-height: calc(100dvh - 4.4rem);
  padding: 0.5rem var(--page-gutter) 1.5rem;
}

.summary__head {
  text-align: center;
}

.summary__title {
  max-width: 21rem;
  margin: 0 auto;
  font-size: clamp(1.5rem, 1.2rem + 1.8vw, 1.95rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.14;
  outline: none;
}

.summary__sub {
  margin: 0.4rem 0 0;
  font-size: var(--text-lg);
  color: var(--fg-muted);
}

.summary-card {
  margin-top: 1.1rem;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.summary-row {
  display: grid;
  gap: 0.15rem;
}

.summary-row + .summary-row {
  margin-top: 0.85rem;
}

.summary-row__label {
  font-size: var(--text-sm);
  color: var(--fg-muted);
}

.summary-row__value {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.chart-card {
  margin-top: 1rem;
  padding: 1rem 0.7rem 0.45rem;
  background: var(--gray-50);
  border-radius: var(--r-xl);
  text-align: center;
}

.chart-card__title {
  margin: 0 0 0.2rem;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.growth-chart {
  display: block;
  width: 100%;
  height: auto;
}

.chart-note {
  max-width: 22rem;
  margin: 0.7rem auto 0;
  text-align: center;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--fg-faint);
}

/* --------------------------------------------------------------------------
   Email capture
   -------------------------------------------------------------------------- */
.screen--email {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4.4rem);
  min-height: calc(100dvh - 4.4rem);
  padding: 1.4rem var(--page-gutter) 2rem;
}

.email__head {
  text-align: center;
}

.email__title {
  max-width: 24rem;
  margin: 0 auto;
  font-size: clamp(1.5rem, 1.2rem + 1.8vw, 1.95rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.16;
  outline: none;
}

.accent-text {
  color: var(--accent);
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.email-form__input {
  height: 3.4rem;
  padding: 0 1.05rem;
  background: var(--white);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--r-md);
  font-size: var(--text-md);
}

.email-form__input:focus {
  border-color: var(--accent);
}

.email-form__error {
  margin: -0.35rem 0 0;
  font-size: var(--text-sm);
  color: var(--red-600);
}

.bonus-callout {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #e8f8ed;
  border: 1px solid #c8efd5;
  border-radius: var(--r-lg);
}

.bonus-callout__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-full);
  background: var(--white);
  color: #d99a13;
}

.bonus-callout__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.bonus-callout p {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.4;
  color: #14532d;
}

.privacy-line {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0.25rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--fg-muted);
}

.privacy-line__lock {
  flex: none;
  margin-top: 0.1rem;
  color: var(--fg-muted);
}

.privacy-line a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* --------------------------------------------------------------------------
   Paywall — sticky header
   -------------------------------------------------------------------------- */
.pw-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  background: color-mix(in srgb, var(--bg-app) 94%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.skip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-full);
  background: var(--gray-100);
  color: var(--fg-default);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast);
}

.skip-pill:hover {
  background: var(--gray-150);
  text-decoration: none;
}

.offer-timer {
  text-align: center;
  line-height: 1.12;
  min-width: 0;
}

.offer-timer__label {
  display: block;
  font-size: 0.5625rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.offer-timer__time {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.offer-timer.is-expired .offer-timer__label,
.offer-timer.is-expired .offer-timer__time {
  color: var(--fg-muted);
}

.pw-topbar .btn {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  font-size: var(--text-sm);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Paywall — hero + phone
   -------------------------------------------------------------------------- */
.pw-hero {
  padding: 1.15rem 1.15rem 0;
  text-align: center;
}

.pw-h1 {
  max-width: 24rem;
  margin-inline: auto;
  font-size: clamp(1.6rem, 1.25rem + 2vw, 2.05rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.034em;
  line-height: 1.1;
}

.pw-sub {
  max-width: 24rem;
  margin: 0.7rem auto 0;
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--fg-default);
}

.pw-sub strong {
  color: var(--fg-strong);
  font-weight: var(--weight-bold);
}

.hero-band {
  position: relative;
  margin-top: 1.1rem;
  padding: 0.9rem 0 0;
  background: linear-gradient(180deg, #eef3ff, #f7fafe 78%, #ffffff);
  overflow: hidden;
  border-radius: var(--r-2xl);
}

.hero-arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-arcs span {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  border: 2px dotted rgba(76, 111, 255, 0.22);
  border-radius: var(--r-full);
}

.hero-arcs span:nth-child(1) {
  width: 16rem;
  height: 16rem;
}

.hero-arcs span:nth-child(2) {
  width: 23rem;
  height: 23rem;
}

.hero-arcs span:nth-child(3) {
  width: 31rem;
  height: 31rem;
}

.phone-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0.4rem 0 1.5rem;
}

.phone {
  width: clamp(196px, 62vw, 250px);
  padding: 8px;
  border-radius: 2.5rem;
  background: linear-gradient(160deg, #2b3444, #0b0f18);
  box-shadow: var(--shadow-xl);
}

.phone__screen {
  position: relative;
  min-height: 21.5rem;
  padding: 0.4rem 0.6rem 0.9rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, #f8faff, #eef2fb);
  overflow: hidden;
}

.phone__notch {
  width: 4.6rem;
  height: 1.15rem;
  margin: 0.15rem auto 0.5rem;
  border-radius: var(--r-full);
  background: #0b0f18;
}

.phone__title {
  margin: 0 0 0.6rem;
  text-align: center;
  font-size: 0.625rem;
  color: var(--fg-muted);
}

.phone__chat {
  display: grid;
  gap: 0.45rem;
}

.bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.6875rem;
  line-height: 1.35;
  text-align: left;
}

.bubble--user {
  justify-self: end;
  max-width: 90%;
  background: #cfe0ff;
  color: var(--ink-900);
  border-bottom-right-radius: 4px;
}

.bubble--ai {
  display: flex;
  gap: 0.35rem;
  justify-self: start;
  max-width: 94%;
  background: var(--white);
  color: var(--fg-default);
  box-shadow: var(--shadow-xs);
  border-bottom-left-radius: 4px;
}

.bubble--ai svg {
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.15rem;
  color: var(--accent);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.65rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.14);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  text-align: center;
  white-space: nowrap;
}

.float-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.float-card--brain {
  left: 0.3rem;
  top: 3rem;
}

.float-card--recall {
  right: 0.3rem;
  top: 3.6rem;
}

.float-card--insights {
  left: 0.5rem;
  top: 12.5rem;
}

/* Offer banner */
.offer-banner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -1.4rem 0.6rem 0;
  padding: 0.95rem 1.05rem;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #4c6fff, var(--blue-700));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(59, 92, 246, 0.34);
  text-align: left;
}

.offer-banner__label {
  margin: 0;
  font-size: 1.02rem;
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.offer-banner__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex: none;
}

.offer-banner__chip {
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--blue-700);
  font-size: 0.5625rem;
  font-weight: var(--weight-black);
  letter-spacing: 0.03em;
}

.offer-banner__amounts {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-now {
  display: inline-flex;
  align-items: flex-start;
  font-weight: var(--weight-black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-now .cur {
  font-size: 0.6em;
  margin-top: 0.18em;
}

.price-now .cents {
  font-size: 0.62em;
  margin-top: 0.06em;
}

.price-now--onblue {
  color: var(--white);
  font-size: 1.65rem;
}

.price-compare {
  font-size: var(--text-sm);
  color: var(--fg-faint);
  text-decoration: line-through;
}

.price-compare--onblue {
  color: rgba(255, 255, 255, 0.66);
}

/* --------------------------------------------------------------------------
   Paywall — features + gift
   -------------------------------------------------------------------------- */
.feature-list {
  display: grid;
  gap: 1.05rem;
  padding: 1.7rem 1.3rem 0.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature__icon {
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

.feature p {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--fg-default);
}

.feature strong {
  color: var(--fg-strong);
  font-weight: var(--weight-bold);
}

.gift-wrap {
  padding: 1.5rem 1.15rem 1.75rem;
}

.gift-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.55rem 1rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--blue-300);
  border-radius: var(--r-xl);
}

.gift-card__chip {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.gift-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--accent);
}

.gift-icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.gift-card h3 {
  margin: 0;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gift-card p {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Paywall — pricing
   -------------------------------------------------------------------------- */
.price-band {
  padding: 1.75rem 1.15rem 1.5rem;
  background: var(--gray-50);
  text-align: center;
}

.pw-h2 {
  max-width: 23rem;
  margin-inline: auto;
  font-size: clamp(1.4rem, 1.15rem + 1.5vw, 1.8rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.price-card {
  margin-top: 1.1rem;
  padding: 1.1rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.price-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-card__name {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.save-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--r-full);
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: var(--weight-black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card__numbers {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
}

.price-now--card {
  padding: 0.4rem 0.55rem;
  border-radius: 0.55rem;
  background: var(--blue-50);
  color: var(--fg-strong);
  font-size: 2rem;
}

.price-now--card .cur {
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

.price-now--card .cents {
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.price-card .btn {
  margin-top: 1rem;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.pay-chip {
  display: grid;
  place-items: center;
  min-width: 3.1rem;
  height: 1.75rem;
  padding: 0 0.45rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.35rem;
  box-shadow: var(--shadow-xs);
  font-size: 0.5625rem;
  font-weight: var(--weight-black);
  letter-spacing: 0.02em;
  color: var(--ink-800);
  line-height: 1;
}

.pay-chip--apple {
  font-size: 0.625rem;
  letter-spacing: -0.02em;
}

.pay-chip--visa {
  color: #1a1f71;
  font-size: 0.6875rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.pay-chip--amex {
  background: #1f72cd;
  border-color: #1f72cd;
  color: var(--white);
  font-size: 0.5625rem;
}

.pay-chip--disc {
  color: var(--ink-800);
  font-size: 0.5rem;
  letter-spacing: 0.01em;
}

.mc {
  display: flex;
  align-items: center;
}

.mc i {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: var(--r-full);
}

.mc i:first-child {
  background: #eb001b;
}

.mc i:last-child {
  margin-left: -0.32rem;
  background: #f79e1b;
  opacity: 0.9;
}

.disc-dot {
  display: inline-block;
  width: 0.28rem;
  height: 0.28rem;
  margin: 0 0.06rem;
  border-radius: var(--r-full);
  background: var(--amber-500);
  vertical-align: middle;
}

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--fg-default);
}

.secure-line svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
}

.legal-text {
  max-width: 26rem;
  margin: 0.9rem auto 0;
  text-align: left;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   Paywall — comparison table
   -------------------------------------------------------------------------- */
.compare-wrap {
  padding: 2rem 1.15rem 1.5rem;
}

.compare {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 0.75rem 0.2rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-150);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-size: 0.625rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.compare thead th:first-child {
  text-align: left;
}

.compare tbody th {
  width: 42%;
  text-align: left;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  line-height: 1.3;
}

.compare td {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.25;
}

.mark {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0 auto 0.35rem;
  border-radius: var(--r-full);
  color: var(--white);
}

.mark svg {
  width: 0.7rem;
  height: 0.7rem;
}

.mark--yes {
  background: var(--green-500);
}

.mark--no {
  background: var(--gray-300);
}

.compare__val {
  display: block;
}

/* --------------------------------------------------------------------------
   Paywall — story bands + chat mockups
   -------------------------------------------------------------------------- */
.pw-band {
  padding: 1.9rem 1.15rem 1.6rem;
}

.pw-band--tint {
  background: linear-gradient(180deg, #eef3ff, #f5f8ff);
}

.pw-band__copy {
  max-width: 22rem;
  margin: 0.8rem auto 0;
  text-align: center;
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--fg-default);
}

.chat-mock {
  width: 100%;
  max-width: 20rem;
  margin: 1.1rem auto 0;
  padding: 0.55rem;
  background: #f7f9ff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  text-align: left;
}

.chat-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0.35rem 0.55rem;
  border-bottom: 1px solid var(--gray-150);
  font-size: 0.625rem;
  color: var(--fg-muted);
}

.chat-mock__dots {
  color: var(--fg-faint);
  letter-spacing: 0.12em;
}

.chat-mock__body {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.55rem;
}

.chat-mock .bubble {
  font-size: 0.75rem;
  line-height: 1.4;
}

.chat-mock .bubble--user {
  justify-self: end;
  max-width: 88%;
  background: #cfe0ff;
  border-radius: 11px 11px 4px 11px;
  color: var(--ink-900);
}

.chat-mock .bubble--ai {
  justify-self: start;
  max-width: 94%;
  background: var(--white);
  border-radius: 11px 11px 11px 4px;
  box-shadow: var(--shadow-xs);
  color: var(--fg-default);
}

.chat-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--blue-200);
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--accent);
  font-size: 0.5625rem;
  font-weight: var(--weight-bold);
}

.chat-tag svg {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--accent);
}

/* Prompt list mockup */
.prompt-card {
  max-width: 21rem;
  margin: 1.1rem auto 0;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: left;
}

.prompt-card__head {
  padding: 0.8rem 1rem 0.7rem;
  border-bottom: 1px solid var(--gray-150);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}

.prompt-rows {
  display: grid;
}

.prompt-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--gray-150);
}

.prompt-row:last-child {
  border-bottom: 0;
}

.prompt-row__icon {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
}

.prompt-row__text {
  flex: 1;
  min-width: 0;
}

.prompt-row__name {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  color: var(--fg-strong);
  line-height: 1.25;
}

.prompt-row__sub {
  display: block;
  font-size: 0.625rem;
  line-height: 1.3;
  color: var(--fg-muted);
}

.free-chip {
  flex: none;
  padding: 0.15rem 0.45rem;
  border-radius: var(--r-full);
  background: var(--amber-100);
  color: var(--amber-600);
  font-size: 0.5625rem;
  font-weight: var(--weight-bold);
}

/* --------------------------------------------------------------------------
   Paywall — testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  padding: 2rem 1.15rem 0.4rem;
}

.testimonials__title {
  max-width: 22rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.35rem, 1.1rem + 1.5vw, 1.7rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.t-card {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  background: var(--gray-50);
  border-radius: var(--r-xl);
}

.t-card:first-of-type {
  margin-top: 1.25rem;
}

.t-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.t-name {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
  color: var(--fg-strong);
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--green-600);
  white-space: nowrap;
}

.verified svg {
  width: 0.95rem;
  height: 0.95rem;
}

.stars {
  display: flex;
  gap: 0.12rem;
  margin: 0.45rem 0 0.55rem;
  color: #f0a020;
}

.stars svg {
  width: 0.95rem;
  height: 0.95rem;
}

.t-quote {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--fg-default);
}

.t-footnote {
  margin: 1rem 0 0;
  font-size: 0.625rem;
  line-height: 1.5;
  color: var(--fg-faint);
}

/* Repeated offer under testimonials */
.offer-repeat {
  padding: 1rem 1.15rem 2rem;
}

.offer-repeat .offer-banner {
  margin: 0;
}

.offer-repeat .btn {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Paywall — footer
   -------------------------------------------------------------------------- */
.pw-footer {
  padding: 1.5rem 1.15rem calc(6.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  background: var(--gray-25);
}

.pw-footer .brand {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--fg-muted);
}

.footer-legal {
  font-size: 0.625rem;
  line-height: 1.55;
  color: var(--fg-faint);
}

/* --------------------------------------------------------------------------
   Paywall — sticky bottom CTA
   -------------------------------------------------------------------------- */
.bottom-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--funnel-width);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  background: color-mix(in srgb, var(--bg-app) 96%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border-subtle);
  transform: translateX(-50%) translateY(115%);
  transition: transform var(--dur-slow) var(--ease-out);
}

.bottom-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Author-level override so the hidden attribute always wins over display:flex. */
.bottom-cta[hidden] {
  display: none;
}

.bottom-cta__price {
  line-height: 1.15;
  min-width: 0;
}

.bottom-cta__price strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}

.bottom-cta__price span {
  display: block;
  font-size: 0.625rem;
  color: var(--fg-muted);
}

.bottom-cta .btn {
  margin-left: auto;
  min-height: 2.9rem;
  padding-inline: 1.25rem;
  font-size: var(--text-base);
  white-space: nowrap;
}

@media (min-width: 53.75rem) {
  .bottom-cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Paywall — demo checkout modal
   -------------------------------------------------------------------------- */
.demo-modal {
  width: calc(100% - 2rem);
  max-width: 23rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-2xl);
  background: transparent;
}

.demo-modal::backdrop {
  background: rgba(10, 16, 32, 0.52);
}

.demo-card {
  position: relative;
  padding: 1.5rem 1.15rem 1.15rem;
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-xl);
}

.demo-card h2 {
  margin: 0;
  font-size: var(--text-xl);
  letter-spacing: -0.025em;
}

.demo-card p {
  margin: 0.6rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--fg-muted);
}

.demo-card code {
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: var(--gray-100);
  font-family: var(--font-mono);
  font-size: 0.72em;
  color: var(--fg-default);
}

.demo-card strong {
  color: var(--fg-strong);
}

.demo-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.demo-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-full);
  background: var(--gray-100);
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.demo-close:hover {
  background: var(--gray-150);
}

/* --------------------------------------------------------------------------
   Small screens (320–360px)
   -------------------------------------------------------------------------- */
@media (max-width: 22.5rem) {
  .pills {
    grid-template-columns: 1fr;
  }

  .welcome__choices {
    grid-template-columns: 1fr;
  }

  .hard-grid {
    grid-template-columns: 1fr;
  }

  .price-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-card__numbers {
    align-self: flex-start;
  }

  .float-card {
    transform: scale(0.9);
  }

  .offer-banner {
    margin-inline: 0.8rem;
    padding-inline: 0.85rem;
  }

  .email-form__input,
  .email-form .btn {
    font-size: var(--text-base);
  }
}

/* --------------------------------------------------------------------------
   Paywall — story cards and small component patches
   -------------------------------------------------------------------------- */
.story {
  margin-top: 1.1rem;
  padding: 1.5rem 1.05rem 1.1rem;
  background: var(--white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.story__title {
  max-width: 18rem;
  margin: 0 auto;
  font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.55rem);
  font-weight: var(--weight-black);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.story__copy {
  max-width: 20rem;
  margin: 0.7rem auto 0;
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--fg-default);
}

.gift-card__title {
  margin: 0;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg-strong);
}

.pay-chip--apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

.pay-chip--apple .icon {
  width: 0.82rem;
  height: 0.82rem;
}

.bottom-cta__price strong {
  display: flex;
  align-items: flex-start;
}

.bottom-cta__price .cur,
.bottom-cta__price .cents {
  font-size: 0.68em;
}
