/* ==========================================================================
   /built-in-paywall/ — page-specific layout (Consent-cluster page).
   Links after site.css (tokens/buttons) + inner.css (shared inner-page bits).
   Reuses inner.css components (.ihero shell, .grad-head, .body-copy, .two-col,
   .ipanel, .dot-list) wherever the design matches; only per-section
   arrangement + image sizing live here.
   ========================================================================== */

/* Body offset: fixed 82px header + fixed 50px 2nd-level strip (>=1200px).
   Below 1200px the strip is hidden and the header collapses to the mobile bar. */
body { padding-top: 132px; }
@media screen and (max-width: 1199px) { body { padding-top: 60px; } }

/* Submenu active-item fallback (the partial's inline script also bolds it). */
#to-paywall .submenu__link { font-weight: 900; }

/* ==========================================================================
   01 — Hero (shared dark red-gradient art; brand + centred title, illustration
   + copy, then a badges panel and the Revenue Recovery Calculator card)
   ========================================================================== */
.phero {
  /* reuse .ihero shell (position/veil/colour); swap in the paywall hero art
     (identical geometric→red-glow art shared across the Consent cluster) */
  /* background art inherited from .ihero (shared canonical /img/hero-bg.png) */
  padding: 77px 0 /* live lockup y≈215-219 */ 64px;
}
.phero-inner { position: relative; z-index: 1; }

.phero-brand {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 6px 0 14px;
}
.phero-brand img { height: 48px; width: auto; }
@media (max-width: 640px) { .phero-brand img { height: 35px; } }

.phero-title {
  text-align: center;
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 40px;
}
.phero-title .l1 { color: var(--coral); display: block; }
.phero-title .l2 { color: #fff; display: block; }

.phero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 44px;
}
.phero-illus img { width: 100%; height: auto; }

.phero-subhead {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.2;
  color: #fff; margin: 0 0 22px; max-width: 460px;
}
.phero-bullets { list-style: none; margin: 0 0 30px; padding: 0; }
.phero-bullets li {
  position: relative; padding-left: 22px; margin-bottom: 12px;
  font-size: 18px; line-height: 1.45; color: #fff;
}
.phero-bullets li::before { content: "•"; position: absolute; left: 2px; top: -1px; font-size: 20px; }

.phero-cta { display: flex; gap: 18px; flex-wrap: wrap; }
.phero-cta .pill-btn { border-radius: 70px; height: 56px; padding: 0 40px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.phero-cta .pill-btn--red { font-weight: 700; }

/* lower row: badges panel + calculator card */
.phero-lower {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch;
}
.phero-badges {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  background: rgba(255,255,255,.08); border-radius: 16px;
  padding: 18px 26px;
}
.phero-badges img { display: block; }
.phero-badges .b-gcpp { height: 40px; }
.phero-badges .b-cmp  { height: 62px; }
.phero-badges .b-tcf  { height: 52px; }

/* Revenue Recovery Calculator — styled link panel to /paywall_calculator */
.calc-card {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border-radius: 20px; padding: 26px 30px;
  text-decoration: none; color: var(--navy);
  box-shadow: 0 24px 60px rgba(6,8,30,.28);
  transition: box-shadow .2s ease, transform .2s ease;
}
.calc-card:hover { transform: translateY(-2px); box-shadow: 0 30px 70px rgba(6,8,30,.36); }
.calc-card__body { flex: 1; }
.calc-card__body h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.2; }
.calc-card__body p { font-size: 14px; line-height: 1.45; color: var(--body); margin: 0 0 16px; }
.calc-card__btn {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  border-radius: 70px; padding: 10px 22px;
}
.calc-card:hover .calc-card__btn { background: var(--red-dark); }
.calc-card__icon { width: 74px; height: auto; flex: none; }

/* ==========================================================================
   02 — Consent or Subscribe
   ========================================================================== */
.consent-subscribe .two-col { gap: 44px; align-items: center; }
.consent-subscribe .ipanel { padding: 40px 44px; }
.cs-visual img { width: 100%; height: auto; }

/* ==========================================================================
   03 — How to activate (3 numbered step cards)
   ========================================================================== */
.activate .grad-head { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  background: #fff; border-radius: 24px; padding: 54px 34px 34px;
  margin-top: 26px;
}
.step__num {
  position: absolute; top: -26px; left: 34px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--red); color: var(--red);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
}
.step__widget { min-height: 66px; display: flex; align-items: center; margin: 0 0 26px; }
.step__widget img { height: auto; }
.step__widget > img { max-width: 100%; }
.step__widget--stats { gap: 16px; }
.step__widget--stats img { width: 104px; height: auto; }
.step__cap { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--navy); margin: 0; }

/* ==========================================================================
   04 — How does this work for visitors?
   ========================================================================== */
.how-works .two-col { gap: 44px; align-items: center; }
.how-works .ipanel { padding: 40px 44px; }
.hw-visual img { width: 100%; height: auto; }

/* ==========================================================================
   05 — How much does it cost? (one white card: title + two tiers)
   ========================================================================== */
.cost-card {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr;
  gap: 40px; align-items: stretch; padding: 48px 56px;
}
.cost-title { margin: 0; align-self: center; }
.cost-tier {
  position: relative; padding-left: 24px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.cost-tier .pill-btn { margin-top: auto; }
.cost-tier::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; background: var(--red); border-radius: 3px;
}
.cost-tier h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.25; }
.cost-tier p { font-size: 16px; line-height: 1.45; color: var(--body); margin: 0 0 22px; }
.cost-tier .pill-btn { border-radius: 70px; height: 52px; padding: 0 30px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }

/* ==========================================================================
   06 — Learn-more band
   ========================================================================== */
.lm-grid { gap: 56px; align-items: center; }
.lm-visual img { width: 100%; height: auto; }
.lm-link {
  display: inline-block; text-decoration: none; margin: 0;
  font-size: clamp(30px, 4.4vw, 45px); line-height: 1.15;
}
.lm-link:hover { opacity: .85; }

/* ==========================================================================
   07 — Ready to work with us? CTA (white card on tint section)
   ========================================================================== */
.ready-card { text-align: center; padding: 48px 24px 56px; }
.ready-illus { width: 190px; height: auto; margin: 0 auto 20px; }
.ready-head {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.05; font-weight: 800;
  color: var(--navy); margin: 0 0 30px; letter-spacing: -0.01em;
}
.ready-card .pill-btn { text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .phero-grid { grid-template-columns: 1fr; gap: 26px; }
  .phero-illus { order: -1; }
  .phero-lower { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { margin-top: 26px; }
  .cost-card { grid-template-columns: 1fr; gap: 30px; padding: 40px 32px; }
  .cost-title br { display: none; }
  /* image leads on the "how does this work" row */
  .hw-visual { order: -1; }
  .lm-grid { grid-template-columns: 1fr; }
  .lm-visual { order: -1; }
}

@media screen and (max-width: 860px) {
  .phero { padding: 26px 0 44px; }
  .phero-title { margin: 0 0 24px; }
  .phero-bullets li { font-size: 16px; }
  .phero-badges { flex-wrap: wrap; gap: 18px; padding: 14px 18px; }
  .phero-badges .b-gcpp { height: 32px; } .phero-badges .b-cmp { height: 48px; } .phero-badges .b-tcf { height: 40px; }
  .phero-cta .pill-btn { flex: 1; min-width: 150px; }
  .consent-subscribe .ipanel, .how-works .ipanel { padding: 30px 26px; }
  .calc-card { padding: 22px 24px; }
}

@media screen and (max-width: 560px) {
  .step__widget--stats { flex-wrap: wrap; }
  .cost-card { padding: 32px 22px; }
}
