/* ============ Calculator page ============ */
.calc-body { background: var(--cream); }

/* Header */
.calc-header {
  background: var(--cream);
  padding: 8px 0 56px;
}
.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
  transition: color 150ms var(--ease);
}
.back-link:hover { color: var(--navy); }

.calc-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144;
  max-width: 820px;
}
.calc-sub {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  max-width: 640px;
  line-height: 1.5;
}

/* Inputs section */
.calc-inputs {
  background: var(--cream);
  padding: 24px 0 80px;
}

#calc-form { display: block; }

.step {
  border: 0;
  margin: 0 0 40px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(28px, 3.2vw, 44px);
  box-shadow: 0 1px 0 rgba(14,42,71,0.04), 0 12px 32px -18px rgba(14,42,71,0.18);
  position: relative;
  min-width: 0;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--honey);
  border-radius: 18px 0 0 0;
  pointer-events: none;
}
.step legend {
  float: left;
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
}
.step legend + * { clear: both; }
.step > *:not(legend) { clear: both; }
.step-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
  margin-right: 12px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
  letter-spacing: -0.015em;
}
.legend-opt {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 28px;
}
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }

.field > label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.field-hint {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}
.value-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--honey);
  font-variation-settings: "opsz" 110;
}

/* Inputs */
input[type="number"],
select {
  background: var(--cream);
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'><path d='M3 5l4 4 4-4' stroke='%230E2A47' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
input[type="number"]:focus,
select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.12);
}

/* Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--honey) 0%, var(--honey) var(--fill, 30%), var(--hairline) var(--fill, 30%), var(--hairline) 100%);
  border-radius: 999px;
  outline: none;
  margin: 6px 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--navy);
  border: 3px solid var(--honey);
  border-radius: 50%;
  cursor: grab;
  transition: transform 120ms var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.1); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--navy);
  border: 3px solid var(--honey);
  border-radius: 50%;
  cursor: grab;
}
.range-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* Radios + Checkboxes */
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio, .check {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
  user-select: none;
}
.radio:hover, .check:hover { border-color: rgba(14, 42, 71, 0.3); }
.radio input, .check input {
  accent-color: var(--honey);
  width: 16px;
  height: 16px;
  margin: 0;
}
.radio:has(input:checked),
.check:has(input:checked) {
  border-color: var(--honey);
  background: rgba(230, 163, 64, 0.08);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Disclose */
.disclose-toggle {
  background: none;
  border: none;
  color: var(--navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hairline);
  text-align: left;
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.disclose-toggle:hover { color: var(--honey); border-color: var(--honey); }
.points-block { margin-top: 22px; }

/* Submit button */
.calc-submit {
  display: block;
  width: 100%;
  font-size: 19px;
  font-weight: 700;
  padding: 22px 24px;
  margin-top: 8px;
  letter-spacing: 0.005em;
  box-shadow: 0 10px 30px -8px rgba(230, 163, 64, 0.55), 0 4px 12px -4px rgba(14,42,71,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.calc-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ============ Results ============ */
.calc-results {
  background: var(--cream);
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 10vw, 120px);
  border-top: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.calc-results.visible {
  opacity: 1;
  transform: none;
}

#result-kicker {
  margin: 0 0 28px;
}

.big-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.big-num {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px 26px;
  position: relative;
  box-shadow: 0 1px 0 rgba(14,42,71,0.04), 0 14px 36px -20px rgba(14,42,71,0.2);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.big-num:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -18px rgba(14,42,71,0.28);
}
.big-num-honey {
  border-color: rgba(230, 163, 64, 0.55);
  background: linear-gradient(180deg, rgba(230, 163, 64, 0.10) 0%, rgba(230, 163, 64, 0.04) 100%);
}
.big-num-honey::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--honey);
  border-radius: 16px 16px 0 0;
}
.big-num-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--navy);
  font-variation-settings: "opsz" 144;
  margin-bottom: 14px;
}
.big-num-honey .big-num-value {
  color: var(--honey);
  font-size: clamp(44px, 6.4vw, 72px);
}
.big-num-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.big-num-caption {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.45;
}

.result-summary {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--ink);
  margin: 0 0 56px;
  max-width: 720px;
  line-height: 1.5;
}

.edge-banner {
  background: linear-gradient(135deg, rgba(230, 163, 64, 0.16) 0%, rgba(230, 163, 64, 0.08) 100%);
  border-left: 4px solid var(--honey);
  padding: 22px 26px;
  border-radius: 10px;
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}
.edge-banner strong { color: var(--navy); font-weight: 700; }

.result-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 44px);
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(14,42,71,0.04), 0 14px 36px -22px rgba(14,42,71,0.18);
}
.result-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--navy);
  letter-spacing: -0.018em;
  margin: 0 0 24px;
}

/* Gap table */
.gap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.gap-table th, .gap-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 500;
}
.gap-table th {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 800;
}
.gap-table td.num, .gap-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.gap-table tr.total td {
  border-bottom: none;
  border-top: 3px solid var(--navy);
  padding-top: 20px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}

/* Moves */
.moves {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  counter-reset: move;
}
.move {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 26px;
  counter-increment: move;
  position: relative;
  padding-left: 74px;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.move:hover {
  transform: translateX(2px);
  border-color: rgba(230, 163, 64, 0.45);
}
.move::before {
  content: counter(move);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--honey);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  font-variation-settings: "opsz" 110;
  box-shadow: 0 4px 12px -2px rgba(230, 163, 64, 0.5);
}
.move h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.move p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
}
.closing-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--honey);
  font-size: 18px;
  text-align: center;
  margin: 32px 0 0;
  font-variation-settings: "opsz" 110;
}

/* Recommendation card */
.rec-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--honey);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 44px);
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(14,42,71,0.04), 0 16px 40px -22px rgba(14,42,71,0.22);
}
.rec-card .kicker { margin: 0 0 12px; }
.rec-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px);
  color: var(--navy);
  letter-spacing: -0.022em;
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144;
}
.rec-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.rec-meta-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.rec-meta-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.rec-section { margin-bottom: 22px; }
.rec-section h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 8px;
  font-weight: 800;
}
.rec-section p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}
.rec-procon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.rec-cta {
  display: inline-block;
  text-decoration: none;
  margin-top: 8px;
}

/* Worksheet */
.worksheet {
  background: var(--navy);
  color: var(--cream);
  border-radius: 16px;
  padding: clamp(40px, 5vw, 64px) 0;
  margin: 16px 0 40px;
  text-align: center;
}
.worksheet-inner { max-width: 580px; }
.worksheet-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--honey);
  letter-spacing: -0.022em;
  margin: 0 0 14px;
  font-variation-settings: "opsz" 144;
}
.worksheet-sub {
  font-size: 18px;
  font-weight: 500;
  color: rgba(251, 247, 239, 0.92);
  margin: 0 auto 30px;
  max-width: 480px;
  line-height: 1.55;
}
.worksheet-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.worksheet-form input[type="email"] {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(251, 247, 239, 0.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--cream);
  outline: none;
  font-family: inherit;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.worksheet-form input[type="email"]::placeholder { color: rgba(251, 247, 239, 0.45); }
.worksheet-form input[type="email"]:focus {
  border-color: var(--honey);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(230, 163, 64, 0.18);
}
.worksheet-form .trust {
  grid-column: 1 / -1;
  margin: 6px auto 0;
  color: rgba(251, 247, 239, 0.7);
}
.worksheet-form .form-msg {
  grid-column: 1 / -1;
  font-size: 14px;
  min-height: 1.2em;
  text-align: center;
}
.worksheet-form .form-msg.error { color: #F2C879; }
.worksheet-form .form-msg.success { color: var(--honey-soft); font-weight: 600; }

/* Disclaimer */
.disclaimer {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 32px auto 0;
  max-width: 560px;
  line-height: 1.6;
}

/* ============ Mobile ============ */
@media (max-width: 760px) {
  .step-grid { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .big-numbers { grid-template-columns: 1fr; gap: 14px; }
  .rec-meta { grid-template-columns: 1fr; }
  .rec-procon { grid-template-columns: 1fr; gap: 18px; }
  .worksheet-form { grid-template-columns: 1fr; }
  .radio-row { flex-direction: column; gap: 8px; }
  .radio, .check { width: 100%; }
}

/* ============ Print ============ */
@media print {
  body { background: #fff; }
  nav.nav, .calc-inputs, .worksheet, .footer { display: none !important; }
  .calc-header { padding-bottom: 24px; }
  .calc-results { padding-top: 0; border: none; opacity: 1 !important; transform: none !important; }
  .result-card, .rec-card { box-shadow: none; page-break-inside: avoid; }
  .big-num { break-inside: avoid; }
  a[href]::after { content: ""; }
}

/* ============ Live sticker readout ============ */
.sticker-readout {
  margin-top: 6px;
  background: linear-gradient(135deg, rgba(14,42,71,0.96) 0%, rgba(14,42,71,1) 100%);
  border-radius: 14px;
  padding: 20px 24px;
  color: var(--cream);
  box-shadow: 0 10px 28px -14px rgba(14,42,71,0.5);
  position: relative;
  overflow: hidden;
}
.sticker-readout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 72px;
  height: 4px;
  background: var(--honey);
  border-radius: 14px 0 0 0;
}
.sticker-readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.sticker-readout-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
}
.sticker-readout-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 48px);
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
}
.sticker-readout-hint {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(251, 247, 239, 0.78);
  font-variant-numeric: tabular-nums;
}

.rec-disclosure {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}

/* ============================================
   v2: Mode toggle (Quick / Deep)
   ============================================ */
.mode-toggle {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.mode-btn {
  flex: 1 1 240px;
  background: #fff;
  border: 1.5px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 160ms var(--ease);
  font-family: inherit;
}
.mode-btn:hover { border-color: var(--honey); transform: translateY(-1px); }
.mode-btn .mode-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.mode-btn .mode-hint {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.mode-btn.mode-active {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 8px 22px -10px rgba(14,42,71,0.4);
}
.mode-btn.mode-active .mode-title { color: var(--cream); }
.mode-btn.mode-active .mode-hint { color: rgba(251,247,239,0.78); }

/* ============================================
   v2: Sticker readout benchmark line
   ============================================ */
.sticker-readout-bench {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(251,247,239,0.82);
  font-weight: 500;
  font-style: italic;
}

/* ============================================
   v2: Expense profile (deep mode)
   ============================================ */
.hint-block {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.step-grid-tight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 28px;
}
.profile-total {
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(14,42,71,0.04);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.profile-total-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.profile-total-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}

/* ============================================
   v2: Pill buttons (travel style)
   ============================================ */
#travel-style .step-grid-tight {
  gap: 28px 32px;
}
#travel-style .field label {
  margin-bottom: 10px;
  display: block;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.pill {
  background: #fff;
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 140ms var(--ease), background-color 140ms var(--ease), color 140ms var(--ease), transform 80ms var(--ease), box-shadow 140ms var(--ease);
  line-height: 1.2;
  white-space: nowrap;
}
.pill:hover {
  border-color: var(--honey);
  color: var(--navy);
}
.pill:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}
.pill:active {
  transform: scale(0.97);
}
.pill.pill-on {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
  box-shadow: 0 4px 12px -4px rgba(14,42,71,0.35);
}
.pill.pill-on:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ============================================
   v2: Trip-cost intelligence card
   ============================================ */
.intel-card {
  background: linear-gradient(135deg, #fff 0%, rgba(127,183,190,0.06) 100%);
  border: 1px solid rgba(127,183,190,0.3);
}
.intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.intel-block {
  min-width: 0;
}
.intel-h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.intel-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.intel-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.intel-list li {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(14,42,71,0.06);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.intel-list li:last-child { border-bottom: 0; }
.intel-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--honey);
  font-weight: 700;
}
.intel-list li > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.intel-num {
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Benchmark bar viz */
.intel-bar {
  margin-top: 14px;
}
.intel-bar-track {
  position: relative;
  height: 10px;
  background: rgba(14,42,71,0.08);
  border-radius: 999px;
  margin: 14px 0 6px;
}
.intel-bar-range {
  position: absolute;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(127,183,190,0.55), rgba(230,163,64,0.55));
  border-radius: 999px;
}
.intel-bar-marker {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  background: var(--coral);
  border-radius: 2px;
  transform: translateX(-2px);
  box-shadow: 0 2px 6px rgba(231,111,81,0.5);
}
.intel-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   v2: Rec card — reasons list + score table
   ============================================ */
.rec-reasons {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rec-reasons li {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}
.rec-reasons li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--honey);
  font-weight: 800;
  font-size: 16px;
}

/* Net value pill in rec-meta */
.rec-meta > div:nth-child(3) .rec-meta-value {
  color: var(--honey);
}

/* Scored breakdown table */
.rec-math {
  margin: 28px 0 0;
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
}
.rec-math summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  list-style: none;
  padding: 8px 0;
  position: relative;
  padding-left: 22px;
  transition: color 140ms var(--ease);
}
.rec-math summary::-webkit-details-marker { display: none; }
.rec-math summary::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 13px;
  color: var(--honey);
  transition: transform 160ms var(--ease);
  display: inline-block;
}
.rec-math[open] summary::before { transform: rotate(90deg); }
.rec-math summary:hover { color: var(--coral); }
.rec-math-inner {
  margin-top: 16px;
  padding: 18px;
  background: rgba(14,42,71,0.03);
  border-radius: 12px;
  overflow-x: auto;
}
.rec-math-intro {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.5;
}
.score-table, .rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.score-table th, .rank-table th {
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 10px 8px 0;
  border-bottom: 1.5px solid rgba(14,42,71,0.12);
}
.score-table th.num, .rank-table th.num { text-align: right; }
.score-table td, .rank-table td {
  padding: 10px 10px 10px 0;
  border-bottom: 1px solid rgba(14,42,71,0.06);
  vertical-align: top;
  color: var(--ink);
}
.score-table td.num, .rank-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.score-table td.num.neg { color: var(--coral); }
.score-table td.why {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.score-table tfoot td {
  border-bottom: 0;
  border-top: 2px solid var(--navy);
  padding-top: 14px;
  font-size: 15px;
  color: var(--navy);
}
.rank-table .rank-top {
  background: rgba(230,163,64,0.08);
}
.rank-table .rank-top td:first-child {
  color: var(--honey);
  font-weight: 800;
}
.rank-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--navy);
}

/* Mobile: stack the score table */
@media (max-width: 540px) {
  .score-table th:nth-child(3),
  .score-table td.why { display: none; }
}

/* ============ FOOTER FINE PRINT (legal disclaimer) ============ */
.footer-fineprint {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 247, 239, 0.12);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.footer-fineprint p {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(251, 247, 239, 0.45);
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0;
}

/* ============ Sprint 3 UI Polish ============ */

/* Honey focus ring only on pill-based calculators (Disney/Cruise) */
.has-pills input[type="number"]:focus,
.has-pills input[type="text"]:focus,
.has-pills select:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(200, 136, 42, 0.18);
}

/* More breathing room inside step cards */
.step {
  padding: clamp(32px, 3.8vw, 52px);
  margin-bottom: 28px;
}

/* Step number label — slightly more visual weight */
.step-num {
  font-size: 11px;
  letter-spacing: 0.22em;
}

/* Stronger top accent bar */
.step::before {
  height: 5px;
  width: 64px;
}

/* Field label — slightly more margin */
.field > label {
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.025em;
}

/* Field spacing in grid */
.step-grid {
  gap: 20px 28px;
}

/* Inputs — slightly more padding, better touch targets */
input[type="number"],
input[type="text"],
select {
  padding: 13px 16px;
  font-size: 16px; /* prevents iOS zoom */
}
select {
  padding-right: 40px;
}

/* Radio/checkbox pills — meet 44px touch target */
.radio, .check {
  padding: 11px 16px;
  min-height: 44px;
  font-size: 15px;
}

/* Results summary cards — cleaner elevation + hover */
.summary-card {
  border-radius: 14px;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 180ms ease;
}
.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -16px rgba(14, 42, 71, 0.28);
}

/* Gap table — slightly more row breathing */
.gap-table th, .gap-table td {
  padding: 14px 0;
}

/* Submit button — slightly more generous */
.calc-submit {
  padding: 20px 24px;
  font-size: 18px;
  margin-top: 12px;
}

/* Hint text below inputs */
.hint {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
}

/* ============ AI Live Pricing Component ============ */
.ai-pricing-wrap {
  margin: 32px 0 0;
  padding: 24px 28px;
  background: rgba(14,42,71,0.04);
  border: 1.5px solid rgba(14,42,71,0.1);
  border-radius: 14px;
}

.ai-pricing-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  letter-spacing: 0.005em;
}
.ai-pricing-btn:hover { background: #1a3a5c; transform: translateY(-1px); }
.ai-pricing-btn:disabled { opacity: 0.65; cursor: progress; transform: none; }
.ai-btn-icon { opacity: 0.85; flex-shrink: 0; }

.ai-pricing-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 420px;
}

/* Loading state */
.ai-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.ai-loading-dots {
  display: flex;
  gap: 5px;
}
.ai-loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--honey);
  animation: ai-dot-pulse 1.2s ease-in-out infinite;
}
.ai-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-dot-pulse {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Results head */
.ai-results-head {
  margin: 24px 0 20px;
}
.ai-results-head h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 8px;
  letter-spacing: -0.015em;
}
.ai-results-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Trip cards */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 0 0 20px;
}
.ai-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px -4px rgba(14,42,71,0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.ai-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(14,42,71,0.18);
}
.ai-card-body {
  padding: 18px 18px 12px;
  flex: 1;
}
.ai-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.35;
}
.ai-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--honey);
  margin: 0 0 8px;
  font-variation-settings: "opsz" 110;
}
.ai-card-detail {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.ai-card-cta {
  display: block;
  background: var(--honey);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  text-align: center;
  transition: background 150ms ease;
  letter-spacing: 0.01em;
}
.ai-card-cta:hover { background: #d49520; }

/* Raw toggle */
.ai-raw-toggle {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.ai-raw-toggle summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  user-select: none;
}
.ai-raw-content {
  margin-top: 12px;
  padding: 14px 16px;
  background: #f6f4ef;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  max-height: 300px;
  overflow-y: auto;
}

/* Error state */
.ai-error {
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Disclosure */
.ai-disclosure {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 600px) {
  .ai-cards { grid-template-columns: 1fr; }
  .ai-pricing-btn { font-size: 14px; padding: 13px 18px; }
}

/* ============ How It Works Strip (Competitive Improvement #3 + #8) ============ */
.calc-how-it-works {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}
.calc-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 160px;
}
.how-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.how-step-body { flex: 1; }
.how-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 3px;
  line-height: 1.3;
}
.how-step-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.how-step-arrow {
  color: var(--honey);
  font-size: 18px;
  padding-top: 8px;
  flex-shrink: 0;
  opacity: 0.6;
}
@media (max-width: 700px) {
  .how-steps { flex-direction: column; gap: 14px; }
  .how-step-arrow { display: none; }
}

/* ============ Pill Buttons ============ */
.pill-field {
  margin-bottom: 12px;
  max-width: 520px;
}
.pill-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: 0.025em;
}
.pill-label-note {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.wpills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.wpill {
  min-width: 46px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--hairline);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 130ms ease, background 130ms ease, color 130ms ease;
  line-height: 1;
}
.wpill:hover {
  border-color: var(--honey);
  background: rgba(200, 136, 42, 0.07);
}
.wpill.active {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--navy);
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .wpill { min-width: 44px; padding: 10px 12px; font-size: 15px; }
}
@media (max-width: 380px) {
  .wpill { min-width: 38px; padding: 9px 10px; font-size: 14px; }
}

/* ============ Toggle Add-ons ============ */
.toggle-group {
  margin-bottom: 20px;
  max-width: 520px;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  gap: 12px;
}
.toggle-row:first-of-type { border-top: 1px solid var(--hairline); }
.toggle-info { flex: 1; }
.toggle-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1px;
}
.toggle-price {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.toggle-btn {
  flex-shrink: 0;
  padding: 5px 13px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 130ms ease, color 130ms ease;
  background: var(--hairline);
  color: var(--muted);
  min-width: 44px;
}
.toggle-btn.on {
  background: var(--navy);
  color: var(--cream);
}

/* ============ Running Total Bar ============ */
.running-total-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--navy);
  display: none;
}
.running-total-bar.visible {
  display: block;
}
.running-total-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px var(--gutter, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rt-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251,247,239,0.55);
  margin: 0 0 2px;
}
.rt-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--honey);
  margin: 0;
  font-variation-settings: "opsz" 110;
  letter-spacing: -0.02em;
}
.rt-meta {
  font-size: 13px;
  color: rgba(251,247,239,0.65);
  margin: 0;
  text-align: right;
}
@media (max-width: 600px) {
  .rt-num { font-size: 24px; }
  .rt-meta { font-size: 12px; }
}


/* ============ Mobile calc layout improvements ============ */
@media (max-width: 900px) {
  .toggle-group { max-width: 100%; }
  .pill-field { max-width: 100%; }
  .toggle-row { padding: 12px 0; }
  .toggle-name { font-size: 13px; }
  .toggle-price { font-size: 11px; }
  .running-total-inner { padding: 12px 16px; }
  .rt-num { font-size: 22px; }
  .rt-meta { font-size: 11px; }
}
