:root {
  --bg: #05080d;
  --panel: rgba(14, 20, 30, 0.9);
  --panel-strong: rgba(10, 16, 24, 0.98);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.08);
  --text: #edf4fb;
  --muted: #9eb0c3;
  --gold: #f2c14e;
  --gold-deep: #d39a1f;
  --cyan: #7fd7ff;
  --success: #9fe3bf;
  --danger: #ffb0b0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 215, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.16), transparent 32%),
    linear-gradient(180deg, #04070b 0%, #071019 52%, #06090f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 92%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.site-header {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.back-link {
  width: fit-content;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  color: var(--text);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  flex: 0 0 58px;
  filter: drop-shadow(0 14px 26px rgba(207, 147, 33, 0.22));
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-title,
.section-heading h2,
.hero h2,
.confirmation h2,
.choice-card h3,
.pricing-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.brand-title {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

main {
  display: grid;
  gap: 22px;
}

.section-panel,
.confirmation {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.94), rgba(8, 12, 19, 0.96));
  box-shadow: var(--shadow);
}

.section-panel {
  padding: 28px;
}

.section-panel::after,
.confirmation::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%, transparent 60%, rgba(242, 193, 78, 0.06));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.card {
  position: relative;
  z-index: 1;
}

.hero-text,
.section-note,
.choice-card p,
.pricing-copy,
.confirmation p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.discount-table-card {
  margin-top: 18px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(242, 193, 78, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
}

.discount-table-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.discount-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(4, 8, 13, 0.35);
}

.discount-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: clamp(12px, 1.25vw, 14px);
}

.discount-table th,
.discount-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.2;
}

.discount-table thead th {
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #eef5fc;
  background: rgba(127, 215, 255, 0.08);
  border-bottom-color: rgba(127, 215, 255, 0.16);
}

.discount-table tbody td {
  color: var(--muted);
}

.discount-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.discount-table tbody tr:last-child td {
  border-bottom: 0;
}

.discount-table tbody td:nth-child(1) {
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

.discount-table th:nth-child(1),
.discount-table td:nth-child(1) {
  width: 24%;
}

.discount-table th:nth-child(2),
.discount-table td:nth-child(2),
.discount-table th:nth-child(3),
.discount-table td:nth-child(3),
.discount-table th:nth-child(4),
.discount-table td:nth-child(4),
.discount-table th:nth-child(5),
.discount-table td:nth-child(5) {
  width: 19%;
}

.discount-table tbody td:nth-child(2),
.discount-table tbody td:nth-child(3),
.discount-table tbody td:nth-child(4),
.discount-table tbody td:nth-child(5) {
  font-family: "Sora", sans-serif;
}

.pricing-details {
  display: grid;
  gap: 10px;
}

.pricing-details summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  line-height: 1.65;
}

.pricing-details summary::-webkit-details-marker {
  display: none;
}

.pricing-details summary::marker {
  content: "";
}

.pricing-details summary:hover,
.pricing-details summary:focus-visible {
  color: #ffffff;
}

.pricing-summary-more {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

.pricing-details-body {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(127, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.pricing-details-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.discount-table thead th:first-child {
  border-top-left-radius: 12px;
}

.discount-table thead th:last-child {
  border-top-right-radius: 12px;
}

.discount-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.discount-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.discount-table tbody td:nth-child(5) {
  color: var(--gold);
  font-weight: 700;
}

.post-payment-card {
  display: grid;
  gap: 16px;
}

.post-payment-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.post-payment-step h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.post-payment-step p,
.post-payment-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.post-payment-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7d772, #ce961f);
  color: #1a1203;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.post-payment-note {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(127, 215, 255, 0.16);
  background: rgba(127, 215, 255, 0.05);
}

.button,
.select-plan {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.select-plan:hover {
  transform: translateY(-1px);
}

.button-gold,
.select-plan {
  color: #181202;
  background: linear-gradient(180deg, #f7d772, #ce961f);
  border-color: rgba(242, 193, 78, 0.8);
  box-shadow: 0 18px 30px rgba(206, 150, 31, 0.22);
}

.button-outline {
  color: var(--text);
  border-color: rgba(127, 215, 255, 0.36);
  background: rgba(127, 215, 255, 0.08);
}

.button-mufon {
  border-color: rgba(242, 193, 78, 0.3);
  background:
    linear-gradient(180deg, rgba(127, 215, 255, 0.12), rgba(127, 215, 255, 0.06)),
    rgba(242, 193, 78, 0.04);
  box-shadow: 0 0 0 rgba(127, 215, 255, 0), 0 0 0 rgba(242, 193, 78, 0);
}

.button-mufon:hover,
.button-mufon:focus-visible {
  border-color: rgba(242, 193, 78, 0.68);
  background:
    linear-gradient(180deg, rgba(127, 215, 255, 0.2), rgba(127, 215, 255, 0.12)),
    rgba(242, 193, 78, 0.08);
  box-shadow:
    0 0 22px rgba(127, 215, 255, 0.26),
    0 0 42px rgba(242, 193, 78, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.03);
}

.button-full {
  width: 100%;
}

.card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.card-accent {
  background:
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.card-kicker,
.choice-kicker,
.pricing-tier {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.decision-list {
  display: grid;
  gap: 14px;
}

.decision-item {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.decision-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.decision-label {
  font-weight: 700;
}

.decision-value {
  color: var(--muted);
  line-height: 1.6;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: end;
}

.choice-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.choice-card-mufon {
  border-color: rgba(242, 193, 78, 0.3);
  background:
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.choice-points {
  margin: 18px 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.pricing-card-featured-alt {
  border-color: rgba(127, 215, 255, 0.24);
  background: radial-gradient(circle at top left, rgba(127, 215, 255, 0.12), transparent 32%), rgba(255, 255, 255, 0.04);
}

.pricing-card-founder {
  border-color: rgba(242, 193, 78, 0.46);
  background:
    radial-gradient(circle at top right, rgba(242, 193, 78, 0.22), transparent 38%),
    rgba(255, 255, 255, 0.05);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.price-meta,
.secondary-price {
  color: var(--muted);
}

.pricing-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.form-panel {
  margin-top: 2px;
}

.verification-form {
  margin-top: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group-full {
  grid-column: 1 / -1;
}

.field-group label,
.consent-row {
  font-size: 14px;
  color: #dbe8f5;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(127, 215, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(127, 215, 255, 0.1);
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-errors {
  margin-top: 16px;
  min-height: 20px;
  color: var(--danger);
}

.form-errors.is-visible {
  font-weight: 600;
}

.confirmation {
  padding: 28px;
}

@media (max-width: 960px) {
  .hero,
  .split-heading,
  .choice-grid,
  .pricing-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .section-panel,
  .confirmation {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .form-actions .button,
  .select-plan {
    width: 100%;
  }
}

.checkout-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 7, 12, 0.72);
  backdrop-filter: blur(4px);
  z-index: 1200;
}

.checkout-modal.is-open {
  display: flex;
}

.checkout-modal-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.98), rgba(8, 12, 19, 0.98));
  box-shadow: var(--shadow);
  padding: 22px;
}

.checkout-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-modal-close {
  appearance: none;
  border: 1px solid rgba(127, 215, 255, 0.36);
  background: rgba(127, 215, 255, 0.08);
  color: var(--text);
  border-radius: 999px;
  min-height: 38px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-modal-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.checkout-modal-text {
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-modal-note {
  margin-top: 12px;
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
}

.checkout-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Keep native dropdown list text readable on Windows/light popup menus. */
.field-group select option {
  color: #0f172a;
  background: #ffffff;
}