/* =========================================================
   VEN Foundation — Debt-Free Plan Save-Choice UI
   3 options: email only / create account / already have account
   ========================================================= */

.dp-choice {
  padding: 32px 24px;
  text-align: center;
}

.dp-choice-ornament {
  font-family: var(--f-display);
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.dp-choice-title {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

.dp-choice-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 44ch;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

.dp-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 32px auto;
  text-align: left;
}

.dp-choice-card {
  position: relative;
  background: var(--surface, #0E0D0A);
  border: 1px solid var(--hairline-strong);
  padding: 28px 24px 24px;
  cursor: pointer;
  transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  font-family: inherit;
  text-align: left;
}
.dp-choice-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.dp-choice-card:active {
  transform: translateY(0);
}

.dp-choice-recommended {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.06) 0%, rgba(201, 169, 97, 0.02) 100%);
}

.dp-choice-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--gold);
  color: var(--bg, #0A0A0A);
  padding: 4px 10px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--f-body);
}

.dp-choice-icon {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
}

.dp-choice-name {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.dp-choice-body {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  font-weight: 300;
}

.dp-choice-existing {
  padding: 16px 0;
  margin: 0 auto 20px;
  max-width: 400px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.dp-choice-existing-btn {
  background: transparent;
  border: 0;
  color: var(--gold);
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
  transition: color 200ms ease;
}
.dp-choice-existing-btn:hover {
  color: var(--gold-soft, #E2CB8E);
  border-bottom-color: var(--gold-soft, #E2CB8E);
}

.dp-choice-back {
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 16px;
  transition: color 200ms ease;
}
.dp-choice-back:hover {
  color: var(--gold);
}

/* ---------- Processing state ---------- */
.dp-processing {
  text-align: center;
  padding: 48px 20px;
}
.dp-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(201, 169, 97, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: dp-spin 800ms linear infinite;
}
@keyframes dp-spin { to { transform: rotate(360deg); } }
.dp-processing-msg {
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

/* ---------- Error state ---------- */
.dp-error-box {
  padding: 40px 24px;
  text-align: center;
  border: 1px solid rgba(226, 123, 123, 0.3);
  background: rgba(226, 123, 123, 0.06);
}
.dp-error-icon {
  font-family: var(--f-display);
  font-size: 40px;
  color: #E27B7B;
  margin-bottom: 16px;
}
.dp-error-title {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
.dp-error-desc {
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 24px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Success email display ---------- */
.dp-success-email {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gold);
  padding: 10px 14px;
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid var(--hairline);
  display: inline-block;
  margin: 14px 0;
  word-break: break-all;
  max-width: 90%;
}

.dp-success-note {
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 16px;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .dp-choice { padding: 24px 16px; }
  .dp-choice-title { font-size: 22px; }
  .dp-choice-desc { font-size: 13px; margin-bottom: 28px; }
  .dp-choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dp-choice-card { padding: 22px 20px 20px; }
  .dp-choice-icon { font-size: 26px; }
  .dp-choice-name { font-size: 16px; }
  .dp-choice-body { font-size: 12px; }
  .dp-choice-badge { font-size: 8px; letter-spacing: 0.18em; }
}
