/*
 * books-ab-test-1528840.css — /books paywall A/B test styles
 * Task #1528840: "Go Big" (Autopilot-first) vs "Step Up" (Pro-first)
 *
 * Owns: three-option paywall layout, per-tier CTA styles, secondary/tertiary
 *       button variants used in the A/B test.
 * Does NOT own: base br-paywall__* styles (books-1527573.css owns those).
 */

/* ── Three-option layout ──────────────────────────────────────────────── */
.br-paywall__options--three {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 0;
}

@media (min-width: 700px) {
  .br-paywall__options--three {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
    align-items: start;
  }
}

/* ── Primary option — enlarged, dominant ─────────────────────────────── */
.br-paywall__opt--primary {
  order: 1;
}

.br-paywall__opt--secondary {
  order: 2;
}

.br-paywall__opt--tertiary {
  order: 3;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ── Badge variants ───────────────────────────────────────────────────── */
.br-paywall__opt-badge--muted {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

/* ── Per-month label inside price ─────────────────────────────────────── */
.br-paywall__per-mo {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

/* ── Outline CTA (secondary button style) ────────────────────────────── */
.br-paywall__opt-cta--outline {
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  color: #fff !important;
}

.br-paywall__opt-cta--outline:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.8) !important;
}

/* ── Ghost CTA (tertiary — lowest emphasis) ──────────────────────────── */
.br-paywall__opt-cta--ghost {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
  padding: 10px 16px !important;
}

.br-paywall__opt-cta--ghost:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.5) !important;
}

/* ── Mobile: stack gracefully ─────────────────────────────────────────── */
@media (max-width: 699px) {
  .br-paywall__options--three .br-paywall__opt--tertiary {
    /* Smaller footprint on mobile to reduce scroll fatigue */
    padding: 16px;
  }

  .br-paywall__options--three .br-paywall__opt-cta--ghost {
    font-size: 13px !important;
    padding: 10px 14px !important;
  }

  /* All CTA buttons must meet 44px minimum tap target (WCAG 2.5.5) */
  .br-paywall__opt-cta,
  .br-paywall__opt-cta--outline,
  .br-paywall__opt-cta--ghost {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
