/* ── Calculator Page ────────────────────────────────────────────────── */
.calc-page { background: var(--navy); min-height: 100vh; }

/* Override nav for dark calc page */
.calc-page .nav {
  background: rgba(13, 27, 42, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc-page .nav-logo { color: #fff; }
.calc-page .nav-tagline { color: rgba(255,255,255,0.45); }

/* Override footer for dark calc page */
.calc-page .footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.calc-page .footer-brand { color: #fff; }
.calc-page .footer-desc { color: rgba(255,255,255,0.5); }
.calc-page .footer-disclaimer { color: rgba(255,255,255,0.3); }

.calc-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

/* Header */
.calc-header { text-align: center; margin-bottom: 48px; }

.calc-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.calc-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.calc-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Progress */
.calc-progress { margin-bottom: 40px; }

.cp-steps {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

.cp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.cp-step.active, .cp-step.done { opacity: 1; }

.cps-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: transparent;
  transition: all 0.3s;
}

.cp-step.active .cps-num {
  border-color: var(--gold);
  color: var(--gold);
}

.cp-step.done .cps-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.cps-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cp-step.active .cps-label { color: rgba(255,255,255,0.7); }
.cp-step.done .cps-label { color: rgba(255,255,255,0.4); }

.cp-connector {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 20px;
}

.cp-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.cp-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 2px;
}

/* Step container */
.calc-step { display: none; }
.calc-step.active { display: block; animation: stepIn 0.3s ease; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step card */
.step-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.step-heading {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.step-hint {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Fields */
.field-group { margin-bottom: 28px; }

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.input-prefix-wrap { position: relative; }

.input-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  -moz-appearance: textfield;
}

.field-input::-webkit-inner-spin-button,
.field-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.field-input::placeholder { color: rgba(255,255,255,0.28); }
.field-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }

.prefixed { padding-left: 36px; }

.field-select {
  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='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field-select option { background: var(--navy); color: #fff; }

.field-error {
  display: none;
  color: #e08080;
  font-size: 13px;
  margin-top: 8px;
}

[type="number"]#dependents {
  -moz-appearance: textfield;
  width: 120px;
}

/* Radio groups */
.radio-group {
  display: flex;
  gap: 12px;
}

.radio-card {
  cursor: pointer;
  flex: 1;
}

.radio-card input { display: none; }

.radio-card-label {
  display: block;
  padding: 14px 20px;
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}

.radio-card input:checked + .radio-card-label {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.radio-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.radio-card-wide { cursor: pointer; }
.radio-card-wide input { display: none; }

.rcw-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}

.rcw-desc {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.radio-card-wide input:checked ~ .rcw-label { color: var(--gold); }

/* Timeline grid */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.timeline-card { cursor: pointer; }
.timeline-card input { display: none; }

.tc-inner {
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: all 0.2s;
}

.timeline-card input:checked ~ .tc-inner {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}

.tc-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}

.timeline-card input:checked ~ .tc-inner .tc-label { color: var(--gold); }

.tc-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* Actions */
.step-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 36px;
}

.btn-next {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.btn-next:hover { background: var(--gold-dim); }

.btn-back {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.btn-back:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
}

.btn-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.btn-submit:hover { background: var(--gold-dim); }

/* Results */
.results-card { text-align: center; }

.results-header { margin-bottom: 32px; }

.results-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.results-score {
  font-family: 'Playfair Display', serif;
  font-size: 96px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.results-score-label {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.rg-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px 20px;
}

.rgi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}

.rgi-value {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

.results-insight {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  text-align: left;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.results-cta { margin-top: 36px; text-align: center; }

.results-cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta-primary:hover { background: var(--gold-dim); }

.results-cta-free {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* ── Results ─────────────────────────────────────────────────────────────── */
.results-card { text-align: center; }

.results-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 40px;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
}

.rl-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Verdict header */
.r-verdict {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1.5px solid;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.rv-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}

.rv-text { flex: 1; }

.rv-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.rv-sub {
  font-size: 13px;
  opacity: 0.7;
}

/* Key figures */
.r-figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.rfig {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}

.rfig-value {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.rfig-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Period toggle */
.r-period-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.rpt-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.rpt-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Comparison table */
.r-table-wrap { margin-bottom: 28px; }

.r-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-compare-table th {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
}

.r-compare-table th:last-child { text-align: right; }

.r-compare-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
}

.r-compare-table td:last-child { text-align: right; }
.r-compare-table tr:last-child td { border-bottom: none; }

.rct-section-header {
  background: rgba(255,255,255,0.03) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.25) !important;
  padding: 8px 14px !important;
}

.rct-total td {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pos { color: #5DC98A; }
.neg { color: #E08080; }

/* Teaching notes */
.r-notes-section { margin-bottom: 28px; }

.rnotes-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.rnotes-list { display: flex; flex-direction: column; gap: 8px; }

.rnote-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.rnote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.rnote-header:hover { background: rgba(255,255,255,0.03); }

.rnote-cat {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.rnote-meta { display: flex; align-items: center; gap: 12px; }

.rnote-savings {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.note-positive { background: rgba(93,201,154,0.12); color: #5DC98A; }
.note-negative { background: rgba(224,128,128,0.12); color: #E08080; }
.note-neutral  { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45); }

.rnote-toggle { font-size: 10px; color: rgba(255,255,255,0.3); }

.rnote-body {
  display: none;
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.rnote-note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 14px;
}

.rnote-evidence {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 12px 16px;
}

.rne-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.rne-items {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Disclaimer */
/* Net wealth comparison block */
.r-wealth-compare {
  background: rgba(42, 212, 144, 0.06);
  border: 1px solid rgba(42, 212, 144, 0.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.rwc-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.rwc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.rwc-scenario {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px 16px;
}
.rwcs-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.rwc-scenario.leave .rwcs-label { color: var(--gold); }
.rwcs-value5 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.rwcs-value10 {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.rwc-vs {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.rwc-delta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
}
.rwcd-label { color: rgba(255,255,255,0.45); }
.rwcd-5yr.pos, .rwcd-10yr.pos { color: var(--green); font-weight: 600; }
.rwcd-5yr.neg, .rwcd-10yr.neg { color: #e08080; font-weight: 600; }
.rwc-note {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin-top: 8px;
}

.r-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  font-style: italic;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border-left: 3px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
  text-align: left;
}

/* Email capture */
.r-email-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
  text-align: center;
}

.res-headline {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.res-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.res-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.res-email-input {
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  min-width: 240px;
}

.res-email-input::placeholder { color: rgba(255,255,255,0.3); }
.res-email-input:focus { outline: none; border-color: var(--gold); }

.res-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.res-submit:hover { background: var(--gold-dim); }

.res-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 10px;
}

.res-success {
  font-size: 14px;
  color: #5DC98A;
  font-weight: 600;
  margin-top: 12px;
}

/* CTA */
.r-cta {
  text-align: center;
  margin-bottom: 20px;
  padding: 32px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 12px;
}

.rcta-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.rcta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.rcta-btn:hover { background: var(--gold-dim); }

.rcta-price {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

/* Start over */
.r-restart {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  display: block;
  margin: 0 auto;
}

.r-restart:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
}

/* ── Upsell module ──────────────────────────────────────────────────── */
.r-upsell {
  background: linear-gradient(135deg, rgba(212,168,67,0.10) 0%, rgba(212,168,67,0.04) 100%);
  border: 1.5px solid rgba(212,168,67,0.35);
  border-radius: 16px;
  padding: 36px 36px 28px;
  margin-bottom: 20px;
  text-align: center;
}

.ru-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.ru-heading {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ru-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ru-bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  max-width: 480px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ru-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.ru-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(212,168,67,0.2);
  border-radius: 50%;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  margin-top: 1px;
}

.ru-pricing {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.ru-pricing strong {
  color: var(--gold);
}

.ru-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 10px;
  text-decoration: none;
  min-height: 52px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
  margin-bottom: 14px;
}

.ru-cta-btn:hover { background: var(--gold-dim); }

.ru-login {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.ru-login-link {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ru-login-link:hover { color: var(--gold); }

/* ── Responsive ───────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .calc-wrapper { padding: 40px 20px 64px; }
  .step-card { padding: 32px 24px; }
  .step-heading { font-size: 24px; }
  .calc-title { font-size: 34px; }
  .r-figure-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .rfig-value { font-size: 18px; }
  .rfig-label { font-size: 10px; }
  .res-email-input { min-width: 200px; }
  .step-actions { flex-direction: column; gap: 10px; }
  .step-actions .btn-next,
  .step-actions .btn-submit { width: 100%; text-align: center; }
  .step-actions .btn-back { width: 100%; text-align: center; }
}

/* Mobile */
@media (max-width: 600px) {
  .calc-wrapper { padding: 32px 16px 56px; }
  .step-card { padding: 24px 18px; }
  .step-heading { font-size: 20px; }
  .calc-title { font-size: 28px; }
  .calc-subtitle { font-size: 14px; }
  .calc-header { margin-bottom: 32px; }

  /* Progress steps — compact: numbers only, minimal connectors */
  .cp-steps { gap: 0; }
  .cps-label { display: none; }
  .cp-step { gap: 0; }
  .cp-connector { width: 16px; margin-bottom: 0; height: 1px; }
  .cps-num { width: 26px; height: 26px; font-size: 11px; }
  .calc-progress { margin-bottom: 28px; }
  .cp-bar { margin-top: 12px; }

  /* Form inputs — full width, min 44px tap targets */
  .field-input,
  .field-select { font-size: 16px; padding: 14px 16px; min-height: 48px; box-sizing: border-box; }
  .field-label { font-size: 13px; }
  .field-group { margin-bottom: 20px; }
  [type="number"]#dependents { width: 100%; }

  /* Radio groups — stack on mobile */
  .radio-cards-grid { grid-template-columns: 1fr; gap: 8px; }
  .radio-card-label { padding: 12px 16px; font-size: 14px; }
  .radio-group { gap: 8px; }

  /* Timeline — stack on mobile */
  .timeline-grid { grid-template-columns: 1fr; }
  .tc-inner { padding: 16px; }

  /* Select — ensure large tap target */
  .field-select { min-height: 48px; -webkit-appearance: none; appearance: none; }

  /* Results figure grid — stack to 1 column on very narrow */
  .r-figure-grid { grid-template-columns: 1fr; gap: 10px; }
  .rfig { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px; }
  .rfig-value { font-size: 20px; margin-bottom: 0; }

  /* Results score */
  .results-score { font-size: 64px; }
  .results-grid { grid-template-columns: 1fr; }

  /* Results table — horizontal scroll, no page overflow */
  .r-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -18px;
    margin-right: -18px;
    padding: 0 18px;
  }
  .r-compare-table { font-size: 12px; min-width: 440px; }
  .r-compare-table th,
  .r-compare-table td { padding: 9px 10px; }
  .rct-section-header { padding: 7px 10px !important; }

  /* Period toggle */
  .r-period-toggle { gap: 6px; }
  .rpt-btn { padding: 8px 14px; font-size: 12px; }

  /* Verdict header */
  .r-verdict { padding: 16px 18px; gap: 12px; }
  .rv-icon { width: 32px; height: 32px; font-size: 18px; }
  .rv-label { font-size: 14px; }
  .rv-sub { font-size: 12px; }

  /* Teaching notes */
  .rnote-header { padding: 12px 16px; }
  .rnote-cat { font-size: 13px; }
  .rnote-body { padding: 0 16px 14px; }
  .rnote-note { font-size: 12px; }

  /* Email capture */
  .r-email-section { padding: 24px 20px; }
  .res-headline { font-size: 18px; }
  .res-desc { font-size: 13px; }
  .res-form { flex-direction: column; align-items: stretch; }
  .res-email-input {
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
    font-size: 16px;
    padding: 14px 18px;
    min-height: 48px;
  }
  .res-submit { width: 100%; padding: 14px; font-size: 15px; min-height: 48px; }

  /* CTA section */
  .r-cta { padding: 24px 20px; }
  .rcta-btn { width: 100%; text-align: center; box-sizing: border-box; font-size: 15px; padding: 16px; }
  .rcta-price { font-size: 12px; }
  .r-cta { margin-bottom: 16px; }

  /* Restart button */
  .r-restart { width: 100%; text-align: center; }

  /* Upsell module */
  .r-upsell { padding: 28px 20px 24px; }
  .ru-heading { font-size: 22px; }
  .ru-sub { font-size: 14px; }
  .ru-cta-btn { width: 100%; justify-content: center; box-sizing: border-box; font-size: 15px; padding: 16px 24px; }
  .ru-bullets li { font-size: 13px; }

  /* Footer override for calc page */
  .calc-page .footer { padding: 40px 20px; }

  /* Nav override for calc page — hamburger visible */
  .calc-page .nav { padding: 0 16px; }
}

/* Very narrow: 320px */
@media (max-width: 375px) {
  .calc-wrapper { padding: 24px 14px 48px; }
  .step-card { padding: 20px 14px; }
  .step-heading { font-size: 18px; }
  .calc-title { font-size: 24px; }
  .step-label { font-size: 10px; }
  .step-hint { font-size: 13px; }
  .r-verdict { flex-direction: column; align-items: flex-start; }
  .results-score { font-size: 56px; }
  .res-headline { font-size: 16px; }
  .r-email-section { padding: 20px 14px; }
}

/* Landscape phone / short viewport */
@media (max-height: 600px) and (max-width: 600px) {
  .calc-header { margin-bottom: 20px; }
  .step-card { padding: 20px 16px; }
  .calc-progress { margin-bottom: 16px; }
}