/* Premium access-plan comparison. Billing truth remains server-owned. */
.access-route-page {
  padding-bottom: 42px;
}

.access-route-page .page-header {
  margin-bottom: 22px;
}

.access-route-page .page-title p {
  max-width: 860px;
}

.access-current-summary {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 14px;
  padding: 15px 18px;
  border: 1px solid rgba(216, 163, 67, .32);
  border-radius: 10px;
  background: #090e12;
}

.access-current-summary span {
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.access-current-summary strong {
  color: var(--gold-300);
  font: 500 22px/1.2 var(--serif);
}

.access-current-summary small {
  color: var(--text-secondary);
  font-size: 13px !important;
}

.access-payment-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 13px 16px;
  border: 1px solid rgba(216, 163, 67, .2);
  border-radius: 9px;
  color: var(--text-secondary);
  background: #080d11;
  font-size: 14px;
  line-height: 1.5;
}

.access-payment-note.ready {
  border-color: rgba(65, 181, 117, .35);
}

.access-payment-note svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: var(--gold-300);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.access-payment-note strong {
  color: var(--text-primary);
}

.access-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.access-plan-card {
  display: flex;
  min-width: 0;
  min-height: 600px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #303940;
  border-radius: 12px;
  background: #090e12;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.access-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 163, 67, .55);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .32);
}

.access-plan-card.current {
  border-color: var(--gold-300);
  box-shadow: inset 0 0 0 1px rgba(216, 163, 67, .12), 0 20px 54px rgba(0, 0, 0, .3);
}

.access-plan-card.recommended:not(.current) {
  border-color: rgba(216, 163, 67, .62);
}

.access-plan-card-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.access-plan-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(216, 163, 67, .34);
  border-radius: 50%;
  color: var(--gold-300);
  background: #0c1217;
}

.access-plan-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.55;
}

.access-plan-badge {
  padding: 6px 9px;
  border: 1px solid rgba(216, 163, 67, .55);
  border-radius: 999px;
  color: var(--gold-200);
  background: #121008;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.access-plan-badge.recommended {
  color: #171107;
  background: var(--gold-300);
}

.access-plan-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.access-plan-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.access-plan-title h2 {
  margin: 0;
  color: var(--text-primary);
  font: 500 clamp(27px, 2vw, 34px)/1.08 var(--serif);
}

.access-plan-price {
  color: var(--gold-300);
  font: 500 24px/1.1 var(--serif);
  white-space: nowrap;
}

.access-plan-description {
  min-height: 78px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.58;
}

.access-plan-audience {
  margin-top: 18px;
  padding: 14px 15px;
  border-left: 2px solid var(--gold-500);
  background: #0c1217;
}

.access-plan-audience span {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.access-plan-audience p {
  margin: 5px 0 0;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

.access-plan-features {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.access-plan-features li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.48;
}

.access-plan-features li span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--gold-300);
}

.access-plan-features li svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.access-plan-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.access-plan-difference {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.access-plan-difference strong {
  color: var(--gold-200);
}

.access-plan-action {
  width: 100%;
  min-height: 48px;
}

.access-plan-action.current {
  border-color: rgba(216, 163, 67, .52);
  color: var(--gold-200);
  background: #151108;
  opacity: 1;
}

.access-plan-action.included {
  color: var(--text-secondary);
  opacity: .72;
}

.access-billing-footnote {
  max-width: 900px;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.access-load-error {
  display: grid;
  justify-items: start;
  max-width: 720px;
  gap: 12px;
}

.access-load-error h2,
.access-load-error p {
  margin: 0;
}

.access-checkout-modal .access-plan-icon {
  margin-bottom: 16px;
}

.access-checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 14px;
  padding: 16px;
  border: 1px solid rgba(216, 163, 67, .34);
  border-radius: 9px;
  background: #090e12;
}

.access-checkout-total span {
  color: var(--text-secondary);
  font-size: 14px;
}

.access-checkout-total strong {
  color: var(--gold-300);
  font: 500 26px/1.15 var(--serif);
}

.warning-text {
  color: #d7b875;
}

@media (max-width: 1280px) {
  .access-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .access-plan-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .access-current-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .access-plan-grid {
    grid-template-columns: 1fr;
  }
  .access-plan-card,
  .access-plan-card:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
  }
  .access-plan-title {
    align-items: start;
    flex-direction: column;
  }
  .access-plan-description {
    min-height: 0;
  }
  .access-payment-note {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .access-plan-card {
    padding: 18px 16px;
  }
  .access-plan-title h2 {
    font-size: 27px;
  }
  .access-checkout-total {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-plan-card {
    transition: none;
  }
}
