/* Purchase pages — Phase 3 */

.purchase-main {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 24px;
}

.purchase-back {
  display: inline-flex;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}
.purchase-back:hover { color: var(--gold-light); }

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.offer-copy { padding: 8px 0; }

.offer-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.offer-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #dedad2;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 28px 0 0;
}

.price-current {
  color: var(--gold-light);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}


.price-note {
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.product-image {
  margin: 34px 0 0;
  width: 100%;
  max-height: 410px;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
}

.info-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 20px;
}

.info-panel,
.next-steps {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
}

.info-panel h2,
.next-steps h2,
.checkout-card h2,
.help-card h2 {
  margin: 0 0 14px;
  font-size: 1.16rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  margin: 10px 0;
  color: #d8d4cc;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 900;
}

.next-steps { margin-top: 14px; }

.steps { display: grid; gap: 16px; }

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #090909;
  font-weight: 900;
}

.step strong { display: block; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); }

.checkout-column {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.checkout-card,
.help-card {
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  background: rgba(17,17,17,0.96);
  box-shadow: var(--shadow-sm);
}

.checkout-card { padding: 30px; }

.checkout-kicker {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.trust-row {
  display: grid;
  gap: 10px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-row span {
  color: #d8d4cc;
  font-size: 0.91rem;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 22px 0;
  color: #d5d1c9;
  font-size: 0.9rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}

.buy-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #555;
  color: #d0d0d0;
  font-size: 1rem;
  font-weight: 900;
  cursor: not-allowed;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.buy-btn.enabled {
  background: var(--gold);
  color: #080808;
  cursor: pointer;
}

.buy-btn.enabled:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.checkout-fineprint {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  text-align: center;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 15px;
  font-size: 0.84rem;
}

.help-card {
  margin-top: 14px;
  padding: 22px 24px;
  border-color: var(--border);
}

.help-card p {
  margin: 0 0 13px;
  color: var(--muted);
}

.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.help-link {
  min-height: 42px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.86rem;
}
.help-link:hover {
  border-color: var(--gold-border);
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .purchase-grid { grid-template-columns: 1fr; }
  .checkout-column { position: static; }
}

@media (max-width: 620px) {
  .purchase-main {
    width: min(100% - 24px, var(--container));
    padding: 26px 0 8px;
  }
  .purchase-back { margin-bottom: 22px; }
  .info-panels { grid-template-columns: 1fr; }
  .checkout-card { padding: 24px 20px; }
  .offer-copy h1 { font-size: clamp(2.2rem, 12vw, 3.25rem); }
  .product-image { aspect-ratio: 1.25 / 1; }
}


/* Phase 4 — purchase accessibility & narrow-screen hardening */
.consent input {
  min-width: 22px;
  min-height: 22px;
}

.help-link { min-height: 46px; }

@media (max-width: 420px) {
  .price-row {
    flex-wrap: wrap;
    row-gap: 2px;
  }

  .checkout-card,
  .help-card,
  .info-panel,
  .next-steps {
    padding-left: 18px;
    padding-right: 18px;
  }

  .policy-links {
    flex-direction: column;
    align-items: center;
  }
}
