:root {
  --ink: #15302d;
  --ink-soft: #45605b;
  --cream: #fbfaf5;
  --paper: #fffefa;
  --line: #dfe4dc;
  --sage: #e6eee7;
  --mint: #b9dcc8;
  --accent: #d8fb70;
  --accent-deep: #75a948;
  --coral: #f39a79;
  --white: #ffffff;
  --shadow: 0 25px 70px rgba(26, 58, 49, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
.page-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.glow-one { width: 590px; height: 590px; background: #edf6c8; top: -255px; right: -145px; opacity: .65; }
.glow-two { width: 390px; height: 390px; background: #dcf0df; top: 760px; left: -230px; opacity: .7; }

.site-header { max-width: 1240px; margin: 0 auto; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.9px; font-size: 18px; }
.brand > span:last-child span { color: var(--accent-deep); }
.brand-mark { position: relative; width: 27px; height: 27px; border-radius: 50%; background: var(--ink); display: inline-block; overflow: hidden; }
.brand-mark::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(216,251,112,.72); border-radius: 50%; }
.brand-mark i { position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; }
.brand-mark i:first-child { top: 4px; border-bottom: 10px solid var(--accent); }
.brand-mark i:last-child { bottom: 4px; border-top: 10px solid #75a948; }
nav { display: flex; gap: 28px; margin-left: 85px; }
nav a, .header-link { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 13px; }
nav a:hover { color: var(--ink); }
.header-link { color: var(--ink); background: var(--white); padding: 10px 15px; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(22, 43, 37, .04); }
.header-link span { color: var(--accent-deep); margin-left: 4px; }

main { max-width: 1240px; padding: 0 32px; margin: 0 auto; }
.hero { padding: 77px 0 64px; max-width: 780px; text-align: center; margin: auto; }
.eyebrow, .section-kicker { color: #6b8078; font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 800; margin: 0 0 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #5c766f; background: rgba(255,255,255,.65); padding: 7px 11px; border-radius: 20px; border: 1px solid #e2e8dc; }
.eyebrow span { height: 6px; width: 6px; border-radius: 50%; background: var(--accent-deep); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -2.7px; }
h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(47px, 6.2vw, 76px); line-height: 1.03; font-weight: 600; margin: 17px 0 21px; }
h1 em { color: #5d8a6a; font-style: italic; }
.hero-copy { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: auto; max-width: 590px; }
.hero-notes { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #60736d; font-weight: 600; margin-top: 29px; }
.hero-notes b { color: #508761; font-size: 13px; margin-right: 3px; }

.calculator-shell { background: var(--paper); border: 1px solid #dce4dc; border-radius: 21px; box-shadow: var(--shadow); overflow: hidden; }
.calculator-heading { display: flex; justify-content: space-between; gap: 24px; padding: 35px 38px 30px; border-bottom: 1px solid var(--line); }
.calculator-heading .section-kicker { margin-bottom: 7px; }
.calculator-heading h2, .how-it-works h2 { font-family: "Playfair Display", Georgia, serif; font-size: 32px; line-height: 1.1; margin: 0 0 7px; }
.calculator-heading p:not(.section-kicker) { color: var(--ink-soft); font-size: 13px; margin: 0; }
.live-indicator { height: fit-content; margin-top: 12px; white-space: nowrap; color: #53745f; background: #edf5eb; font-size: 11px; font-weight: 700; padding: 8px 10px; border-radius: 14px; }
.live-indicator span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #75b973; margin-right: 6px; }
.calculator-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .9fr); }
.entry-column { padding: 31px 38px 38px; min-width: 0; }
.debt-list { display: grid; gap: 12px; }
.debt-card { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 17px 18px 18px; }
.debt-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.debt-card-title { display: flex; gap: 9px; align-items: center; }
.debt-index { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #557861; background: #e8f0e9; font-family: "DM Mono", monospace; font-size: 10px; }
.debt-card-title input { width: 170px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 800; font-size: 13px; outline: none; }
.debt-card-title input:focus { color: #578662; }
.remove-debt { width: 29px; height: 29px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 50%; color: #8b9c94; font-size: 20px; line-height: 1; }
.remove-debt:hover { color: #bb6654; background: #fff0ec; }
.debt-fields { display: grid; grid-template-columns: 1.15fr .72fr .9fr 1fr; gap: 12px; }
.field-label { display: block; color: #587069; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.input-wrap { display: flex; width: 100%; height: 43px; align-items: center; gap: 6px; margin-top: 6px; padding: 0 11px; background: #f8faf6; border: 1px solid #e1e8df; border-radius: 8px; transition: border .2s, box-shadow .2s; }
.input-wrap:focus-within { background: #fff; border-color: #79a985; box-shadow: 0 0 0 3px rgba(119,168,130,.13); }
.input-wrap > span { color: #82948c; font-family: "DM Mono", monospace; font-size: 11px; }
.input-wrap input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); font-family: "DM Mono", monospace; font-size: 13px; font-weight: 500; }
.input-wrap input::placeholder { color: #aab8b0; }
.date-wrap input { font-family: "Manrope", Arial, sans-serif; font-size: 12px; }
.select-wrap { padding-right: 8px; }
.select-wrap select { width: 100%; min-width: 0; appearance: none; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.select-wrap::after { content: "⌄"; color: #759087; font-size: 15px; line-height: 1; pointer-events: none; }
.add-debt-button { margin-top: 13px; background: transparent; border: 0; padding: 6px 2px; color: #4c8160; font-size: 12px; font-weight: 800; }
.add-debt-button span { font-size: 17px; vertical-align: -1px; margin-right: 5px; }.add-debt-button:hover { color: #285d3d; }

.extra-panel { display: flex; gap: 15px; margin-top: 31px; padding: 23px; background: #f0f6ed; border-radius: 14px; border: 1px solid #dbe8d9; }
.panel-number { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #3f704f; background: #d9ecd5; font-family: "DM Mono", monospace; font-size: 11px; }
.extra-content { width: 100%; }.extra-content .section-kicker, .choice-card .section-kicker { margin-bottom: 5px; }.extra-content h3, .choice-card h3 { margin-bottom: 15px; font-size: 15px; letter-spacing: -.35px; }
.extra-row { display: flex; gap: 16px; align-items: end; }.grow { flex: 1; }.type-choice { min-width: 235px; }
.segmented-control { display: flex; height: 43px; margin-top: 6px; padding: 3px; background: #e0e9df; border-radius: 8px; }
.segmented-control button { flex: 1; color: #5f766b; background: transparent; border: 0; border-radius: 6px; padding: 0 10px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.segmented-control button.selected { color: #214a35; background: #fff; box-shadow: 0 1px 3px rgba(38,67,49,.15); }
.field-hint { color: #688174; font-size: 10px; margin: 9px 0 0; }

.choices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.choice-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; }
.choice-card h3 { margin-bottom: 13px; }.goal-buttons { display: grid; gap: 7px; }
.goal-option { display: flex; align-items: center; gap: 9px; text-align: left; padding: 9px; border: 1px solid transparent; border-radius: 8px; background: #f8faf7; color: var(--ink); }
.goal-option:hover { background: #f2f6ef; }.goal-option.selected { background: #eef6e9; border-color: #bbd7b8; }
.option-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px; background: #e4ece2; color: #507b58; font-size: 16px; }.goal-option.selected .option-icon { background: var(--accent); color: #385e35; }
.goal-option strong { display: block; font-size: 10px; letter-spacing: -.15px; }.goal-option small { display: block; color: #71827b; font-size: 9px; line-height: 1.35; margin-top: 2px; }
.strategy-card { background: #fcfdf9; }.strategy-switch { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.strategy-name { color: #91a097; font-size: 10px; font-weight: 800; }.strategy-name.active { color: #3f6f4e; }
.switch { display: inline-flex; position: relative; cursor: pointer; }.switch input { position: absolute; opacity: 0; pointer-events: none; }.switch-track { position: relative; display: block; width: 41px; height: 23px; border-radius: 15px; background: #b8c8bb; transition: background .2s; }.switch-track span { position: absolute; width: 17px; height: 17px; top: 3px; left: 4px; background: white; border-radius: 50%; box-shadow: 0 1px 3px #718077; transition: transform .2s; }.switch input:checked + .switch-track { background: #79a978; }.switch input:checked + .switch-track span { transform: translateX(16px); }
.strategy-description { min-height: 38px; color: #75867f; font-size: 9px; line-height: 1.55; margin: 12px 0 0; }.strategy-description strong { color: #53735f; }

.results-panel { padding: 32px 30px; color: #eaf6ea; background: #12332d; position: relative; overflow: hidden; }.results-panel::after { content: ""; position: absolute; border: 1px solid rgba(211,243,191,.1); width: 315px; height: 315px; border-radius: 50%; right: -185px; top: -147px; }.results-top, .total-debt-block, .results-divider, .outcome-label, .primary-outcome, .result-metrics, .payment-comparison, .allocation-note { position: relative; z-index: 1; }
.results-top { display: flex; justify-content: space-between; align-items: center; }.results-top .section-kicker { color: #98b6a4; margin: 0; }.result-status { font-family: "DM Mono", monospace; color: #d5f775; border: 1px solid rgba(213,247,117,.28); border-radius: 12px; padding: 4px 7px; font-size: 8px; }
.total-debt-block { margin-top: 28px; }.total-debt-block span, .total-debt-block small { display: block; color: #a5bdb0; font-size: 10px; font-weight: 700; }.total-debt-block strong { display: block; letter-spacing: -1.8px; color: #fffef8; font-family: "Playfair Display", Georgia, serif; font-size: clamp(32px, 3vw, 42px); font-weight: 600; line-height: 1.15; margin: 4px 0 3px; }.results-divider { height: 1px; background: rgba(226,246,228,.17); margin: 28px 0 23px; }.outcome-label { color: #9ebbae; text-transform: uppercase; letter-spacing: 1.2px; font-size: 9px; font-weight: 800; }
.primary-outcome { display: flex; gap: 12px; align-items: center; margin: 11px 0 23px; }.outcome-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 11px; background: var(--accent); color: #365a35; font-size: 19px; }.primary-outcome strong { display: block; color: #f8fff2; font-family: "Playfair Display", Georgia, serif; font-size: 19px; letter-spacing: -.5px; line-height: 1.1; }.primary-outcome small { display: block; color: #a4c1b1; font-size: 10px; margin-top: 4px; }.primary-outcome.muted .outcome-symbol { background: #31554c; color: #b5ccba; }
.result-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.metric { min-width: 0; padding: 12px 11px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; }.metric span { display: block; min-height: 27px; color: #a3baae; font-size: 9px; line-height: 1.35; }.metric strong { display: block; color: #edffce; font-family: "DM Mono", monospace; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.payment-comparison { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(226,246,228,.14); }.comparison-head { display: flex; justify-content: space-between; gap: 8px; color: #a4bdb0; font-size: 10px; font-weight: 700; }.comparison-head strong { color: #d8fa70; font-family: "DM Mono", monospace; font-size: 9px; white-space: nowrap; }.bar-group { margin-top: 13px; display: grid; gap: 10px; }.bar-row { display: grid; grid-template-columns: 69px 1fr auto; align-items: center; gap: 8px; color: #a5bdb0; font-size: 9px; }.bar-row i { height: 5px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.13); }.bar-row b { display: block; width: 100%; height: 100%; border-radius: inherit; background: #83a498; transition: width .3s ease; }.bar-row.positive b { background: #cdea75; }.bar-row em { min-width: 47px; color: #d0e0d3; font-family: "DM Mono", monospace; font-size: 8px; font-style: normal; text-align: right; }.bar-row.positive em { color: #efffd1; }
.allocation-note { display: flex; gap: 8px; margin-top: 28px; padding: 11px; color: #91ac9f; background: rgba(255,255,255,.045); border-radius: 8px; }.allocation-note span { color: #d7f972; font-size: 16px; line-height: 1; }.allocation-note p { margin: 0; font-size: 9px; line-height: 1.4; }

.how-it-works { display: grid; grid-template-columns: .8fr 1.6fr; gap: 70px; padding: 104px 38px 99px; }.how-it-works h2 { font-size: 34px; }.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }.steps article { padding-left: 15px; border-left: 1px solid #cbdace; }.steps span { color: #6c9b69; font-family: "DM Mono", monospace; font-size: 11px; }.steps h3 { margin: 16px 0 8px; font-size: 13px; letter-spacing: -.3px; }.steps p { color: #75857e; font-size: 11px; line-height: 1.65; margin: 0; }
.ad-slot { position: relative; min-height: 112px; margin: 28px auto 0; padding: 21px 18px 16px; overflow: hidden; background: #fffefa; border: 1px solid #dfe6dc; border-radius: 12px; text-align: center; }
.ad-slot[hidden] { display: none; }.ad-label { position: absolute; top: 8px; left: 0; right: 0; color: #9aaca2; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }.ad-slot ins { display: block; min-height: 72px; }
footer { max-width: 1240px; padding: 22px 32px 30px; margin: auto; display: flex; justify-content: space-between; color: #82928a; border-top: 1px solid #e1e6df; font-size: 10px; }

@media (max-width: 920px) { nav { margin-left: 0; }.calculator-grid { grid-template-columns: 1fr; }.results-panel { min-height: 430px; }.choices-grid { grid-template-columns: 1fr 1fr; }.how-it-works { gap: 35px; }.results-panel::after { right: -85px; }.debt-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .site-header, main, footer { padding-left: 18px; padding-right: 18px; }.site-header { padding-top: 18px; }.site-header nav { display: none; }.header-link { font-size: 11px; padding: 8px 11px; }.hero { padding: 61px 6px 45px; }.hero-notes { gap: 9px 13px; }.calculator-heading, .entry-column { padding-left: 19px; padding-right: 19px; }.calculator-heading { padding-top: 26px; padding-bottom: 23px; }.live-indicator { display: none; }.debt-fields, .choices-grid, .how-it-works { grid-template-columns: 1fr; }.debt-fields { gap: 10px; }.extra-row { display: block; }.type-choice { min-width: 0; margin-top: 14px; }.choices-grid { gap: 12px; }.results-panel { padding: 27px 21px; }.how-it-works { padding: 70px 12px 62px; }.steps { grid-template-columns: 1fr; gap: 20px; }.steps article { padding-left: 14px; }.steps h3 { margin-top: 8px; } footer { font-size: 9px; }.calculator-heading h2 { font-size: 28px; } }
