.retainer-page {
  background: var(--white);
}

.retainer-topbar {
  position: absolute;
}

.retainer-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 148px clamp(18px, 5vw, 68px) 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(53, 109, 243, 0.28), transparent 31%),
    linear-gradient(135deg, #12151b 0%, #1c2330 60%, #172440 100%);
}

.retainer-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  pointer-events: none;
}

.retainer-hero-inner,
.retainer-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.retainer-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.58fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.retainer-hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(3.2rem, 6.3vw, 6.2rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.retainer-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(248, 250, 252, 0.76);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

.retainer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.retainer-trust span {
  padding: 9px 12px;
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(248, 250, 252, 0.07);
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 999px;
}

.checkout-card {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 40px);
  color: var(--ink-strong);
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(248, 250, 252, 0.66);
  border-radius: 14px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.checkout-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-person img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid var(--teal);
  border-radius: 10px;
}

.checkout-person div {
  display: grid;
  gap: 2px;
}

.checkout-person span,
.checkout-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.checkout-person strong {
  font-size: 1rem;
}

.checkout-kicker {
  margin: 0;
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.checkout-price {
  display: grid;
  gap: 8px;
}

.checkout-price strong {
  font-size: clamp(4.2rem, 7vw, 6rem);
  letter-spacing: -0.07em;
  line-height: 0.83;
}

.checkout-price span {
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-summary {
  margin: 0;
  color: var(--muted);
}

.checkout-button {
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
}

.checkout-button span {
  font-size: 1.3rem;
}

.whatsapp-share {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.whatsapp-share:hover,
.whatsapp-share:focus-visible {
  color: var(--ink-strong);
}

.retainer-explainer,
.billing-terms {
  padding: clamp(76px, 10vw, 130px) clamp(18px, 5vw, 68px);
}

.explainer-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.3fr);
  gap: 18px clamp(40px, 8vw, 110px);
  align-items: start;
}

.explainer-heading .section-label {
  grid-column: 1 / -1;
}

.explainer-heading h2,
.billing-terms h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.explainer-heading > p:last-child {
  max-width: 600px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.retainer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 66px 0 0;
  list-style: none;
}

.retainer-steps li {
  display: grid;
  gap: 30px;
  min-height: 260px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.retainer-steps li > span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.retainer-steps div {
  align-self: end;
}

.retainer-steps strong {
  color: var(--ink-strong);
  font-size: 1.25rem;
}

.retainer-steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

.billing-terms {
  color: var(--white);
  background: var(--forest-dark);
}

.terms-layout {
  display: grid;
  gap: 48px;
}

.billing-terms h2 {
  max-width: 800px;
  margin-top: 14px;
  color: var(--white);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.16);
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 10px;
}

.terms-grid article {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 24px;
  align-content: end;
  background: #1c2330;
}

.terms-grid strong {
  font-size: 1.18rem;
}

.terms-grid span {
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.9rem;
}

.terms-note {
  max-width: 900px;
  margin: 0;
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.88rem;
  line-height: 1.65;
}

.terms-note a {
  color: var(--gold);
  font-weight: 900;
}

.retainer-footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 900px) {
  .retainer-hero-inner,
  .explainer-heading {
    grid-template-columns: 1fr;
  }

  .retainer-hero-copy h1 {
    max-width: 820px;
  }

  .checkout-card {
    max-width: 560px;
  }

  .retainer-steps,
  .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .retainer-hero {
    min-height: 0;
    padding-top: 118px;
  }

  .retainer-hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .retainer-trust,
  .retainer-footer div {
    display: grid;
  }

  .retainer-steps,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .retainer-steps li {
    min-height: 210px;
  }
}
