/* ==========================================================
   Paywall (Design 2 — Trial Guide / Timeline)
   Scoped under .new-onboarding
   ========================================================== */

.new-onboarding .d2 {
  padding: 60px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.new-onboarding .d2-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0 16px;
}

.new-onboarding .d2-footer {
  padding: 8px 0 26px;
  background: linear-gradient(0deg, var(--warm-cream) 85%, transparent);
}

.new-onboarding .d2-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.new-onboarding .d2-title em {
  font-style: normal;
  color: var(--coral);
}

/* ── Rating strip ───────────────────────────────────────── */
.new-onboarding .d2-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 12px;
}

.new-onboarding .d2-rating-score {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
}

.new-onboarding .d2-rating-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.new-onboarding .d2-rating-stars span {
  color: var(--coral);
  font-size: 14px;
  line-height: 1;
}

.new-onboarding .d2-rating-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

.new-onboarding .d2-rating-label {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1;
}

.new-onboarding .d2-rating-label strong {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
}

/* ── Timeline ───────────────────────────────────────────── */
.new-onboarding .d2-timeline {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.new-onboarding .d2-step {
  display: flex;
  gap: 12px;
  position: relative;
}

.new-onboarding .d2-step:not(:last-child) .d2-line {
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}

.new-onboarding .d2-node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.new-onboarding .d2-node svg {
  width: 11px;
  height: 11px;
  color: #fff;
}

.new-onboarding .d2-step-body {
  flex: 1;
  padding-bottom: 14px;
}

.new-onboarding .d2-day {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: -.01em;
  margin-bottom: 2px;
}

.new-onboarding .d2-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.new-onboarding .d2-desc strong {
  color: var(--text-primary);
}

/* ── Pricing ────────────────────────────────────────────── */
.new-onboarding .d2-price-box {
  border: 2px solid var(--coral);
  border-radius: 14px;
  padding: 11px 40px 11px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  background: var(--coral-glow);
}

.new-onboarding .d2-price-box:not(.sel) {
  border-color: var(--border);
  background: var(--sand-light);
}

.new-onboarding .d2-plan-name {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.new-onboarding .d2-plan-badge {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 5px;
}

.new-onboarding .d2-price-main {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -.02em;
}

.new-onboarding .d2-price-main em {
  font-style: normal;
  color: var(--coral);
}

.new-onboarding .d2-price-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

.new-onboarding .d2-radio {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: all .2s;
}

.new-onboarding .d2-price-box.sel .d2-radio {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 3px #fff;
}

.new-onboarding .d2-plans-link {
  text-align: center;
  font-size: 12.5px;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.new-onboarding .d2-monthly {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
  opacity: 0;
}

.new-onboarding .d2-monthly.open {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 8px;
}

.new-onboarding .d2-monthly-inner {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 11px 40px 11px 14px;
  background: var(--sand-light);
  cursor: pointer;
  transition: all .2s;
  position: relative;
}

.new-onboarding .d2-monthly-inner.sel {
  border-color: var(--coral);
  background: var(--coral-glow);
  border-width: 2px;
}

/* ── CTA + trust ────────────────────────────────────────── */
.new-onboarding .pw-cta {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 16.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s;
}

.new-onboarding .pw-cta:active {
  transform: scale(.97);
  opacity: .9;
}

.new-onboarding .pw-trust {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.new-onboarding .pw-trust span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Paywall shell ──────────────────────────────────────── */
.new-onboarding .pw-shell {
  width: 100%;
  max-width: 393px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-cream) 100%);
}

/* ── Back button (reuse tutorial styles) ────────────────── */
.new-onboarding .pw-back {
  position: absolute;
  top: 14px;
  left: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white);
}

.new-onboarding .pw-back:active {
  opacity: .7;
}

.new-onboarding .pw-back svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}
