.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.auth-shell::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 30% at 20% 20%, rgba(255, 90, 50, 0.18), transparent 60%),
    radial-gradient(35% 28% at 80% 25%, rgba(91, 231, 255, 0.16), transparent 60%),
    radial-gradient(45% 30% at 25% 80%, rgba(120, 80, 240, 0.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.auth-card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  text-align: left;
}
.auth-card.center { text-align: center; }
/* On centered cards, stack the logo above the eyebrow and center it
   (otherwise the inline-block logo and inline-flex eyebrow sit side by side). */
.auth-card.center .brand { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.auth-card .brand {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  line-height: 0;
}
.auth-card .brand img { width: 160px; height: auto; display: block; }
.auth-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #5be7ff;
  margin: 0 0 14px;
}
.auth-card .eyebrow .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.auth-card h1 {
  font-family: 'Plus Jakarta Sans', Manrope, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.auth-card h1.lg {
  font-size: 34px;
}
.auth-card .deck {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}
.auth-card .deck strong {
  color: var(--ink);
  font-weight: 700;
}
.auth-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
}
.auth-card .price-row .amount {
  font-family: 'Plus Jakarta Sans', Manrope, sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.auth-card .price-row .per {
  color: var(--muted);
  font-size: 14px;
}

/* Compact layout for the one-screen Elements checkout (less scrolling). */
.auth-card.compact { padding: 24px 26px; }
.auth-card.compact .brand { display: block; width: fit-content; margin: 0 auto 14px; }
.auth-card.compact .brand img { width: 116px; }
.auth-card.compact .eyebrow { margin: 0 0 7px; }
.auth-card.compact h1.lg { font-size: 25px; margin: 0 0 6px; }
.auth-card.compact .deck { font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.auth-card.compact .price-row { margin: 2px 0 16px; gap: 6px; justify-content: flex-start; }
.auth-card.compact .price-row .amount { font-size: 30px; }
.auth-card.compact .price-row .per { font-size: 13px; }
.auth-card.compact .field { margin-bottom: 12px; }
.auth-card.compact .field-row { gap: 12px; }

/* Promo code field */
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; }
.promo-btn {
  flex: 0 0 auto;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.promo-btn:hover { border-color: #5be7ff; }
.promo-btn:disabled { opacity: 0.6; cursor: default; }
.promo-msg { font-size: 12.5px; margin: 8px 0 0; }
.promo-msg.ok { color: #6cf09f; }
.promo-msg.err { color: #ff9a9a; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field label .opt {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  opacity: 0.7;
}
.field input {
  font: inherit;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: #5be7ff;
  box-shadow: 0 0 0 4px rgba(91, 231, 255, 0.18);
}
.field select {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  width: 100%;
  padding: 14px 42px 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238c93a3' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select:focus {
  outline: none;
  border-color: #5be7ff;
  box-shadow: 0 0 0 4px rgba(91, 231, 255, 0.18);
}
.field select:invalid { color: var(--muted); }
.field select option { background: #0c0b25; color: var(--ink); }
#payment-element {
  margin-top: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.submit, .btn-pill {
  display: inline-block;
  width: 100%;
  padding: 15px 24px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: Manrope, sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 10px 30px -10px rgba(77, 142, 255, 0.6);
}
.submit:hover, .btn-pill:hover { background: #2a64d9; transform: translateY(-1px); }
.btn-pill.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--ink);
}
.btn-pill.ghost:hover { background: rgba(255, 255, 255, 0.10); }
.error {
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.32);
  color: #ff9a9a;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 16px;
}
.notice {
  background: rgba(91, 231, 255, 0.10);
  border: 1px solid rgba(91, 231, 255, 0.28);
  color: #c9f6ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.foot-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 18px 0 0;
  text-align: center;
}
.foot-note a {
  color: #5be7ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 231, 255, 0.3);
}
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 231, 255, 0.32), rgba(91, 231, 255, 0.06));
  border: 1px solid rgba(91, 231, 255, 0.4);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
}
.icon-circle.green {
  background: radial-gradient(circle, rgba(46, 213, 115, 0.32), rgba(46, 213, 115, 0.06));
  border-color: rgba(46, 213, 115, 0.4);
}
.icon-circle.warn {
  background: radial-gradient(circle, rgba(255, 154, 0, 0.28), rgba(255, 154, 0, 0.06));
  border-color: rgba(255, 154, 0, 0.4);
}
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

.includes {
  text-align: left;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
}
.includes li {
  list-style: none;
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5be7ff;
  font-weight: 700;
}
.includes li:last-child { border-bottom: none; }
.includes ul { margin: 0; padding: 0; }

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}
.account-row dt { color: var(--muted); font-weight: 500; }
.account-row dd { margin: 0; color: var(--ink); font-weight: 600; }
.account-row .badge {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 213, 115, 0.18);
  color: #6cf09f;
  border: 1px solid rgba(46, 213, 115, 0.32);
}
.account-row .badge.warn {
  background: rgba(255, 154, 0, 0.18);
  color: #ffce82;
  border-color: rgba(255, 154, 0, 0.32);
}
.account-row .badge.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-color: var(--line);
}
