:root {
  color-scheme: light;
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #e1e1e1;
  --line-strong: #7f7f7f;
  --paper: #ffffff;
  --surface: #ffffff;
  --control-radius: 9px;
  --accent: #118845;
  --accent-dark: #118845;
  --accent-soft: #e7f3ec;
  --danger: #a63737;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  overflow-anchor: none;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.4;
}
button, input, select { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.site-header {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 14px max(20px, calc((100% - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.page-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: calc(100svh - 58px);
  background: var(--paper);
}
.funnel {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 0;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  scroll-margin-top: 12px;
}

.landing-intro {
  display: flex;
  flex: 1;
  width: 100%;
  padding: 0;
  transition: opacity .2s ease-out, transform .22s ease-out;
}
.landing-intro.leaving { opacity: 0; transform: translateY(-12px); }
.landing-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: calc(100svh - 58px);
  padding: clamp(28px, 6vh, 60px) clamp(38px, 7vw, 56px) clamp(64px, 14vh, 130px);
  background: var(--paper);
}
.landing-hero {
  display: block;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
}
.landing-panel h1 {
  display: grid;
  gap: 7px;
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.05rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.landing-panel h1 span { display: block; }
.landing-panel h1 span:first-child { font-size: .88em; }
.landing-panel h1 strong { color: var(--accent-dark); font-weight: 800; }
.landing-summary {
  max-width: 610px;
  margin: 16px 0 0;
  color: #3f474c;
  font-size: 1rem;
  line-height: 1.5;
}
.landing-question {
  margin: 28px 0 0;
  padding: 19px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--surface);
}
.landing-question h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}
.landing-detail {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.42;
}
.landing-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: var(--control-radius);
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}
.landing-start span:first-child { min-width: 0; }
.button-arrows {
  font-size: 1.05em;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
}
.landing-start:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.landing-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.landing-benefits li {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #424242;
  font-size: .76rem;
}
.benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #a3a3a3;
  border-radius: 50%;
  color: var(--accent-dark);
  background: #f9fbfa;
}
.benefit-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-benefits strong { font-size: inherit; font-weight: 700; }

.quiz-progress {
  width: 100%;
  padding: 13px 18px 17px;
  border-bottom: 1px solid var(--line);
  background: #ececec;
}
.quiz-progress-copy {
  position: relative;
  display: block;
  height: 1rem;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .75rem;
}
.quiz-progress-copy strong {
  position: absolute;
  left: var(--progress-position, 0%);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1rem;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: left .25s ease, color .2s ease, transform .25s ease;
}
.quiz-progress-copy strong.at-start { transform: translateX(0); }
.quiz-progress-copy strong.at-end { transform: translateX(-100%); }
.quiz-progress-copy strong.complete { color: var(--accent-dark); }
.quiz-progress-track { position: relative; height: 6px; overflow: visible; background: #d5d9da; }
.quiz-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .25s ease;
}
.quiz-progress-track::after {
  position: absolute;
  top: 50%;
  left: var(--progress-position, 0%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  transform: translate(-50%, -50%);
  transition: left .25s ease;
}

#magnolia-replica {
  display: grid;
  flex: 1;
  grid-template-rows: minmax(0, 1fr) auto auto;
  width: 100%;
  min-height: 540px;
  padding: 0 42px 20px;
  background: var(--paper);
}
#step-root {
  display: grid;
  align-content: start;
  align-items: start;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 36px 0 12px;
  transition: opacity .2s ease-out, transform .22s ease-out;
}
#step-root.center-step { align-content: center; }
#step-root.leaving { opacity: 0; transform: translateX(-12px); }
#step-root.entering { opacity: 0; transform: none; }
#step-root.entering-from-landing { transform: translateY(12px); }
#step-root.transition-backward.leaving { transform: translateX(12px); }
#step-root.transition-backward.entering { transform: none; }
.step-panel { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.wide-panel { width: 100%; }
.step-panel > legend {
  float: left;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(1.45rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.18;
  text-align: left;
}
.step-panel > legend + * { clear: both; }
.step-panel > legend span { display: block; }
.person-position {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 0;
}
.step-help, .estimate-note {
  width: 100%;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.42;
}

.native-select-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.native-select,
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field-date select {
  width: var(--control-width, 100%);
  min-width: 0;
  height: 54px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: border-color .42s ease-out, outline-color .52s ease-out;
}
.native-select {
  display: block;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  margin-right: auto;
  margin-left: 0;
}
.field select {
  display: block;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
  margin-right: auto;
  margin-left: 0;
}
.native-select:focus,
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus,
.field-date select:focus {
  border-color: var(--accent-dark);
  outline-color: var(--accent-dark);
  transition-duration: .12s;
}
.visible-choice-list {
  display: grid;
  justify-items: start;
  gap: 13px;
  width: 100%;
  max-width: 100%;
}
.visible-choice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}
.visible-choice {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  color: var(--ink);
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: border-color .42s ease-out, outline-color .52s ease-out;
}
.visible-choice input { flex: 0 0 19px; width: 19px; height: 19px; margin: 0; accent-color: var(--accent-dark); }
.visible-choice:has(input:focus-visible) { outline-color: var(--accent-dark); transition-duration: .12s; }
.choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-field > legend { margin: 0 0 10px; padding: 0; font-weight: 600; }

.loan-card, .borrower-card { margin: 0 0 16px; padding: 0; border: 0; background: transparent; }
.loan-card + .loan-card, .borrower-card + .borrower-card { padding-top: 18px; border-top: 1px solid var(--line); }
.subsection-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.text-button, .review-edit {
  padding: 2px 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font-size: .73rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field-grid { display: grid; gap: 22px 14px; }
.field-grid-3 { grid-template-columns: 1fr; }
.field { display: grid; align-content: start; gap: 9px; min-width: 0; color: var(--ink); font-weight: 600; }
.field > span:first-child { min-height: 22px; }
.field > input,
.field > .input-affix:not(.duration-number) {
  --control-width: min(100%, 18rem);
  width: min(100%, 18rem);
  margin-right: auto;
  margin-left: 0;
}
.field > .input-affix:has([data-loan-field="rate"]) { width: min(100%, 12rem); }
.field > input[name="zipCode"] { --control-width: min(100%, 10rem); }
.field > input[name="phone"] { --control-width: min(100%, 16rem); }
.field > input[name="email"] { --control-width: min(100%, 20rem); }
.field small { color: var(--muted); font-size: .7rem; font-weight: 400; line-height: 1.35; }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  box-shadow: 0 0 0 1000px var(--paper) inset;
  caret-color: var(--ink);
}
.field .field-error, .field-error-inline {
  display: block;
  margin: 0;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}
[aria-invalid="true"] { border-color: var(--danger) !important; outline: 2px solid rgba(163, 49, 49, .18) !important; }
.field.has-error .input-affix { border-color: var(--danger); outline: 2px solid rgba(166, 55, 55, .18); }
.choice-field.has-error .visible-choice { border-color: var(--danger); background: #fff7f7; }
.consents.has-error .consent-checkbox { border-color: var(--danger); background: #fff7f7; }
.input-affix {
  display: grid;
  height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--paper);
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: border-color .42s ease-out, outline-color .52s ease-out;
}
.input-affix:focus-within {
  border-color: var(--accent-dark);
  outline-color: var(--accent-dark);
  transition-duration: .12s;
}
.input-affix input,
.input-affix input:focus,
.input-affix input[aria-invalid="true"] {
  height: 100%;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  outline: 0 !important;
}
.input-affix b {
  display: grid;
  place-items: center;
  min-width: 47px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid var(--line-strong);
  border-radius: 0;
  color: #6e767b;
  background: var(--paper);
  font-weight: 400;
}
.input-affix.calculated input { background: transparent; }
.input-affix.calculated b { background: var(--paper); }
.input-affix.just-calculated input { animation: calculated-pulse 2.6s ease-out; }
@keyframes calculated-pulse {
  0% { background: #fff; }
  16% { background: #cbe5d6; }
  72% { background: #deeee5; }
  100% { background: #fff; }
}
.date-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
}
.date-pair > select,
.optional-month {
  min-width: 0;
}
.date-pair > select {
  flex: 0 0 7.75rem;
  width: 7.75rem;
  margin: 0;
}
.optional-month {
  flex: 0 0 8.75rem;
  width: 8.75rem;
}
.optional-month select {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.duration-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.duration-number {
  flex: 0 1 9rem;
  min-width: 0;
  width: 9rem;
  height: 54px;
  min-height: 54px;
}
.duration-unit-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  height: 54px;
  width: fit-content;
  min-width: 0;
}
.duration-unit-choice {
  position: relative;
  display: flex;
  height: 54px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  color: #697176;
  font-size: .75rem;
  font-weight: 600;
  background: var(--paper);
  cursor: pointer;
  width: 7rem;
  transition: color .16s ease, border-color .2s ease, background-color .2s ease;
}
.duration-unit-choice input {
  appearance: auto;
  -webkit-appearance: radio;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent-dark);
}
.duration-unit-choice:has(input:checked) {
  color: var(--accent-dark);
  border-color: var(--accent);
  background: #e7f3ec;
}
.duration-unit-choice:has(input:focus-visible) { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.field.has-error .duration-number, .field.has-error .duration-unit-choice { border-color: var(--danger); }
.optional-month { display: grid; gap: 5px; min-width: 0; }
.optional-month small { padding-left: 1px; text-align: left; }
.add-button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  padding: 7px 0;
  border: 0;
  color: var(--accent-dark);
  background: transparent;
  font-weight: 600;
}
.add-button span { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--accent-dark); border-radius: 50%; }
.borrower-card h2 { margin: 0 0 18px; font-size: 1.05rem; font-weight: 700; }
.identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.full-field { grid-column: 1 / -1; }
.birth-date { display: grid; grid-template-columns: 70px auto 70px auto 110px; align-items: center; justify-content: start; gap: 7px; width: fit-content; max-width: 100%; }
.birth-date i { color: #858d92; font-style: normal; }
.birth-date input { text-align: center; }
.birth-date.has-error input { border-color: var(--danger); outline: 2px solid rgba(163, 49, 49, .18); }

.contact-grid { display: grid; gap: 20px; }
.contact-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: -3px 0 14px;
  padding: 0;
  color: #3f474c;
  font-size: .78rem;
  list-style: none;
}
.contact-reassurance li::before { margin-right: 6px; color: var(--accent); content: "✓"; font-weight: 700; }
.consents { display: grid; gap: 7px; margin-top: 13px; }
.consent-checkbox {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 8px 0;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.38;
  cursor: pointer;
}
.consent-checkbox input {
  display: grid;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  padding: 0;
  place-content: center;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #fff;
}
.consent-checkbox input:checked {
  border-color: var(--accent-dark);
  background-color: var(--accent-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 12%22%3E%3Cpath d=%22M1 6l4 4L15 1%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 10px;
}
.consent-checkbox input:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.consent-checkbox strong { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.review-list { overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--control-radius); background: #fff; }
.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
.review-row:last-child { border-bottom: 0; }
.review-row-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-width: 0; }
.review-row-label { color: var(--muted); font-size: .68rem; font-weight: 600; }
.review-row strong { min-width: 0; font-size: .82rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.review-row-detail { color: var(--muted); font-size: .68rem; line-height: 1.3; overflow-wrap: anywhere; }

.calculation-loading { display: grid; place-items: center; align-content: center; min-height: 350px; text-align: center; }
.calculation-loading h2 { margin: 17px 0 0; font-size: 1.4rem; font-weight: 700; }
.spinner { display: block; width: 42px; height: 42px; border: 4px solid #dbe5e9; border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  width: 100%;
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  color: #762525;
  background: #fff2f2;
  font-size: .85rem;
  font-weight: 600;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.form-actions:has(.next-button[hidden]) { justify-content: flex-start; }
.back-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  color: var(--ink);
  background: var(--surface);
  font-size: .86rem;
  font-weight: 600;
}
.back-button span { font-weight: 800; letter-spacing: -.08em; }
.next-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--accent-dark);
  border-radius: var(--control-radius);
  color: #fff;
  background: var(--accent);
  font-size: .86rem;
  font-weight: 700;
}
.next-button:active, .landing-start:active { background: var(--accent-dark); }
.back-button:active { background: #efefef; }
.next-button:focus-visible, .back-button:focus-visible, .review-edit:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  .landing-start:hover, .next-button:hover { background: var(--accent-dark); }
  .back-button:hover { background: #f2f4f2; }
}

.confirmation-panel { width: 100%; padding: 7px 0 18px; text-align: left; }
.confirmation-panel h2 { margin: 4px 0 12px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.result-kicker { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.confirmation-result { padding: 16px 14px; border: 1px solid var(--line-strong); border-radius: var(--control-radius); background: #fff; text-align: center; }
.confirmation-result > p { margin: 0; }
.confirmation-result > p:first-child { color: var(--muted); font-size: .8rem; font-weight: 600; }
.confirmation-saving {
  margin-top: 8px !important;
  color: var(--accent-dark);
  font-size: clamp(3.5rem, 18vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .92;
}
.confirmation-saving sup { font-size: .32em; vertical-align: top; }
.confirmation-reassurance { margin: 12px 0 0; padding: 10px 11px; border-left: 3px solid var(--accent); background: #fff; font-size: .82rem; line-height: 1.4; }
.confirmation-copy { margin: 12px 0 0; color: #344047; font-size: .86rem; line-height: 1.4; }
.result-legal { margin: 10px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.35; }
.callback-process { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.callback-process h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; }
.callback-process ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.callback-process li { position: relative; display: grid; gap: 1px; min-height: 31px; padding-left: 39px; }
.process-number {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--accent-dark);
  border-radius: var(--control-radius);
  color: var(--accent-dark);
  background: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.callback-process li strong { font-size: .84rem; }
.callback-process .process-copy { color: var(--muted); font-size: .76rem; line-height: 1.38; }
.phone-reminder { margin: 11px 0 0; padding: 10px 11px; border: 1px solid var(--line); background: #fff; font-size: .74rem; line-height: 1.36; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px max(20px, calc((100% - 1080px) / 2)) max(22px, env(safe-area-inset-bottom));
  border-top: 0;
  color: var(--muted);
  background: var(--paper);
  font-size: .74rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 15px; }
.site-footer a, .legal-content a { color: inherit; text-underline-offset: 3px; }
.legal-content { width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 68px; }
.legal-content h1 { margin: 20px 0; font-size: 2rem; }
.legal-content h2 { margin-top: 27px; font-size: 1.18rem; }
.prototype-notice { padding: 11px 13px; border-left: 3px solid var(--accent); background: var(--accent-soft); }
[hidden] { display: none !important; }

@media (max-width: 800px) {
  .site-header { min-height: 54px; padding: 12px 16px; }
  .page-shell { min-height: calc(100svh - 54px); }
  .funnel { padding: 0; border-right: 0; border-left: 0; }
  .landing-panel { min-height: calc(100svh - 54px); padding: clamp(24px, 6vh, 50px) 24px clamp(64px, 14vh, 110px); }
  .landing-hero { padding: 0; }
  .landing-question { margin: 23px 0 0; padding: 18px; }
  .landing-panel h1 { font-size: clamp(1.82rem, 8vw, 2.18rem); }
  .quiz-progress { padding: 13px 18px 16px; }
  #magnolia-replica { min-height: 0; padding: 0 24px 10px; }
  #step-root { padding: 30px 0 10px; }
  .step-panel > legend { margin-bottom: 17px; padding: 0; font-size: 1.4rem; }
  .step-help, .estimate-note { margin-top: 0; margin-bottom: 18px; font-size: .83rem; }
  .field-grid, .identity-grid, .contact-grid { gap: 18px; }
  .field { gap: 8px; }
  .native-select, .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field-date select { height: 50px; }
  .input-affix { height: 50px; }
  .duration-number, .duration-unit-choice { height: 50px; min-height: 50px; }
  .duration-number { flex-basis: clamp(5.5rem, 25vw, 8rem); width: clamp(5.5rem, 25vw, 8rem); }
  .duration-unit-options { height: 50px; }
  .duration-unit-choice { width: clamp(5.5rem, 22vw, 7rem); }
  .duration-unit-choice { gap: 9px; padding: 0 12px; font-size: .92rem; }
  .duration-unit-choice input { flex-basis: 20px; width: 20px; height: 20px; }
  .field-grid-3, .identity-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .date-pair > select { flex-basis: 7rem; width: 7rem; }
  .optional-month { flex-basis: 8rem; width: 8rem; }
  .birth-date { grid-template-columns: 58px auto 58px auto 96px; width: fit-content; max-width: 100%; }
  .form-actions { margin-top: 12px; padding-top: 0; }
  .review-panel > legend { margin-bottom: 8px; }
  .review-panel .step-help { margin-bottom: 8px; }
  .review-panel .review-row { padding: 9px 11px; }
  .calculation-loading { min-height: calc(100svh - 150px); }
  .site-footer { flex-direction: column; gap: 9px; padding: 17px 16px max(23px, env(safe-area-inset-bottom)); }
}

@media (max-width: 800px) and (max-height: 700px) {
  .site-header { min-height: 48px; padding: calc(8px + env(safe-area-inset-top)) 15px 8px; }
  .page-shell { min-height: calc(100svh - 48px); }
  .funnel { padding: 0; }
  .landing-panel { min-height: calc(100svh - 48px); padding: 20px 18px 42px; }
  .landing-hero { padding: 0; }
  .landing-question { margin: 18px 0 0; padding: 14px; }
  .landing-panel h1 { font-size: clamp(1.65rem, 7.4vw, 1.95rem); }
  .landing-summary { margin-top: 10px; font-size: .9rem; line-height: 1.4; }
  .landing-question h2 { font-size: 1.02rem; }
  .landing-detail { margin-top: 6px; font-size: .78rem; line-height: 1.32; }
  .landing-start { min-height: 46px; margin-top: 12px; }
  .landing-benefits { margin-top: 18px; }
  .landing-benefits li { gap: 4px; font-size: .68rem; }
  .benefit-icon { width: 30px; height: 30px; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .quiz-progress { padding: 11px 16px 14px; }
  .quiz-progress-copy { margin-bottom: 5px; }
  #magnolia-replica { padding-right: 19px; padding-left: 19px; }
  #step-root { padding: 20px 0 6px; }
  .step-panel > legend { margin-bottom: 11px; padding: 0; font-size: 1.2rem; }
  .step-help, .estimate-note { margin: 0 0 10px; font-size: .75rem; line-height: 1.3; }
  .field-grid, .identity-grid, .contact-grid { gap: 11px; }
  .field { gap: 5px; font-size: .9rem; }
  .field > span:first-child { min-height: 18px; }
  .native-select, .field input:not([type="radio"]):not([type="checkbox"]), .field select, .field-date select { height: 44px; }
  .input-affix { height: 44px; }
  .duration-number, .duration-unit-choice { height: 44px; min-height: 44px; }
  .duration-number { flex-basis: clamp(5rem, 25vw, 7rem); width: clamp(5rem, 25vw, 7rem); }
  .duration-entry { gap: 7px; }
  .duration-unit-options { height: 44px; gap: 7px; }
  .duration-unit-choice { width: clamp(5rem, 22vw, 6.5rem); }
  .duration-unit-choice { gap: 7px; padding: 0 8px; font-size: .82rem; }
  .field small { font-size: .63rem; }
  .visible-choice-list, .visible-choice-row { gap: 9px; }
  .visible-choice { min-height: 48px; padding: 9px 11px; }
  .loan-card, .borrower-card { margin-bottom: 7px; }
  .contact-reassurance { margin-bottom: 8px; }
  .consents { margin-top: 8px; }
  .consent-checkbox { padding: 5px 0; font-size: .67rem; line-height: 1.28; }
  .form-actions { margin-top: 7px; padding-top: 0; }
  .back-button, .next-button { min-height: 42px; padding: 7px 13px; }
  .review-panel .step-help { display: none; }
  .review-panel .review-row { padding: 7px 9px; }
  .review-row-label { font-size: .61rem; }
  .review-row strong { font-size: .72rem; }
  .review-row-detail { font-size: .61rem; }
  .review-edit { font-size: .65rem; }
  .calculation-loading { min-height: calc(100svh - 120px); }
}

@media (max-width: 800px) and (max-height: 600px) {
  .quiz-progress { padding: 9px 16px 11px; }
  #step-root { padding-top: 14px; }
  .step-panel > legend { margin-bottom: 8px; }
  .field-grid, .identity-grid, .contact-grid { gap: 8px; }
}

@media (max-width: 420px) {
  .landing-start { gap: 7px; padding-right: 10px; padding-left: 10px; font-size: .9rem; }
  .form-actions { gap: 8px; }
  .back-button, .next-button { padding-right: 12px; padding-left: 12px; font-size: .8rem; }
}


.landing-panel h1 .h1-second { font-size: .8em; color: var(--accent-dark); }
.landing-panel h1 span:first-child { font-size: .72em; }
.landing-summary { margin-top: 12px; }
.landing-question h2 { font-size: 1.02rem; }
.landing-steps { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--line-strong); }
.landing-steps h2 { margin: 0 0 14px; font-size: 1.1rem; }
.landing-steps ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.landing-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.landing-steps .step-number { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: .8rem; font-weight: 700; }
.landing-steps strong { display: block; font-size: .95rem; }
.landing-steps li span:not(.step-number) { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; line-height: 1.42; }
@media (max-width: 800px) {
  .landing-panel { justify-content: flex-start; padding-bottom: 36px; }
  .landing-panel h1 { font-size: clamp(1.6rem, 7vw, 1.95rem); }
  .landing-summary { font-size: .92rem; line-height: 1.42; }
  .landing-question { margin-top: 18px; padding: 15px; }
}
@media (max-width: 800px) and (max-height: 700px) {
  .landing-panel h1 { font-size: clamp(1.45rem, 6.6vw, 1.75rem); }
  .landing-summary { margin-top: 8px; font-size: .84rem; line-height: 1.36; }
  .landing-question { margin-top: 14px; padding: 12px; }
  .landing-steps { margin-top: 44px; }
}

.landing-no { display: block; width: 100%; min-height: 46px; margin-top: 8px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: var(--control-radius); color: var(--ink); background: #fff; font: inherit; font-weight: 600; }
.landing-no-message { margin: 10px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
@media (max-width: 800px) and (max-height: 700px) { .landing-no { min-height: 42px; margin-top: 7px; } }


.landing-intro.leaving { transform: translateY(-12px); }
#step-root.leaving { transform: translateX(-12px); }
#step-root.entering { transform: none; }
#step-root.entering-from-landing { transform: translateY(12px); }
#step-root.transition-backward.leaving { transform: translateX(12px); }
#step-root.transition-backward.entering { transform: none; }

:root { --dr-font: "Poppins", Arial, sans-serif; --dr-ink: #0b1f3a; --dr-kicker: #1565c0; --dr-band: #0d47a1; --dr-marker: #ffe45c; --dr-cta: #f57c00; --dr-cta-dark: #c25e00; --dr-cta-glow: rgba(245, 124, 0, .45); --dr-card: #fff; --dr-soft: #eef4fb; --dr-proof-bg: #f7fbff; --dr-proof-border: #90b4e0; }

.dr .landing-panel { justify-content: flex-start; padding: 0 20px 32px; background: #fff; }
.dr .landing-panel > * { max-width: 560px; width: 100%; margin-right: auto; margin-left: auto; }
.dr-dateline { margin-top: 12px; padding: 6px 12px; border-radius: 6px; color: #fff; background: var(--dr-band); font: 600 .74rem/1.3 var(--dr-font); text-align: center; }
.dr .landing-hero { margin-top: 18px; }
.dr .landing-panel h1 { gap: 4px; font-family: var(--dr-font); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--dr-ink); font-size: clamp(1.7rem, 7.4vw, 2.3rem); }
.dr .landing-panel h1 span:first-child { font-size: .62em; font-weight: 700; color: var(--dr-kicker); text-transform: uppercase; letter-spacing: .02em; }
.dr h1 mark { padding: 0 .12em; color: var(--dr-ink); background: linear-gradient(transparent 12%, var(--dr-marker) 12%, var(--dr-marker) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dr .landing-summary { margin-top: 10px; color: #333b40; font-size: .93rem; line-height: 1.45; }
.dr-proof { display: grid; gap: 6px; margin-top: 14px; padding: 12px 14px; border: 2px dashed var(--dr-proof-border); border-radius: 10px; background: var(--dr-proof-bg); font-family: var(--dr-font); }
.dr-proof-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .9rem; font-weight: 600; color: #333b40; }
.dr-proof-row s { color: #c62828; font-size: 1.05rem; font-weight: 700; text-decoration-thickness: 2px; }
.dr-proof-new strong { padding: 1px 7px; border-radius: 4px; color: var(--dr-ink); background: var(--dr-marker); font-size: 1.25rem; font-weight: 800; }
.dr-proof small { color: #69737a; font-size: .7rem; line-height: 1.3; }
.dr .landing-question { margin-top: 14px; padding: 14px; border: 0; border-radius: 12px; background: var(--dr-card); box-shadow: 0 6px 22px rgba(10, 30, 60, .12); }
.dr-step { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--dr-kicker); font: 700 .72rem var(--dr-font); text-transform: uppercase; }
.dr-step i { flex: 1; height: 6px; border-radius: 3px; background: #e3e7ea; overflow: hidden; }
.dr-step b { display: block; width: 8%; height: 100%; background: var(--dr-cta); }
.dr .landing-question h2 { font-family: var(--dr-font); font-size: 1.12rem; font-weight: 800; color: var(--dr-ink); }
.dr .landing-start { min-height: 58px; margin-top: 12px; border: 0; border-bottom: 4px solid var(--dr-cta-dark); border-radius: 10px; background: var(--dr-cta); font-family: var(--dr-font); font-size: 1.05rem; font-weight: 800; letter-spacing: .01em; animation: dr-pulse 2.4s ease-in-out 1.2s infinite; }
.dr .landing-start:active { transform: translateY(2px); border-bottom-width: 2px; }
@keyframes dr-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--dr-cta-glow); } 50% { box-shadow: 0 0 0 7px transparent; } }
.dr-trust { display: flex; justify-content: center; gap: 14px; margin: 12px auto 0; padding: 0; list-style: none; color: var(--dr-kicker); font: 700 .8rem var(--dr-font); }
.dr-section { margin-top: 40px; }
.dr-section h2 { margin: 0 0 14px; font-family: var(--dr-font); font-size: 1.2rem; font-weight: 800; color: var(--dr-ink); text-align: center; }
.dr-cards { display: grid; gap: 10px; }
.dr-cards > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: var(--dr-soft); }
.dr-cards b { grid-row: span 2; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: var(--dr-band); font: 800 1.1rem var(--dr-font); }
.dr-cards strong { font-family: var(--dr-font); font-size: .98rem; color: var(--dr-ink); }
.dr-cards span { color: #4a545a; font-size: .86rem; line-height: 1.35; }
.dr .landing-steps { padding-top: 0; border-top: 0; }
.dr .landing-steps .step-number { background: var(--dr-band); }
.dr-placeholder p { margin: 0; padding: 18px; border: 1px dashed #b8c0c5; border-radius: 10px; color: #7a8388; font-size: .85rem; text-align: center; }
.dr .dr-repeat { margin-top: 28px; }
.dr .site-header { border-bottom: 0; }
@media (max-width: 800px) and (max-height: 700px) {
  .dr .landing-hero { margin-top: 12px; }
  .dr .landing-panel h1 { font-size: clamp(1.5rem, 6.8vw, 1.9rem); }
  .dr .landing-summary { font-size: .84rem; margin-top: 7px; }
  .dr-proof { margin-top: 10px; padding: 8px 12px; gap: 3px; }
  .dr .landing-question { margin-top: 10px; padding: 11px 12px; }
  .dr .landing-start { min-height: 52px; margin-top: 9px; }
  .dr-trust { margin-top: 9px; }
}

@media (max-width: 800px) and (max-height: 600px) {
  .dr-dateline { margin-top: 8px; padding: 4px 10px; }
  .dr .landing-hero { margin-top: 8px; }
  .dr .landing-panel h1 { font-size: 1.42rem; }
  .dr .landing-summary { font-size: .8rem; line-height: 1.35; }
  .dr-proof small { display: none; }
  .dr-proof-row { font-size: .82rem; }
  .dr-proof-new strong { font-size: 1.1rem; }
  .dr .landing-question h2 { font-size: 1rem; }
  .dr-step { margin-bottom: 5px; }
  .dr .landing-start { min-height: 50px; font-size: .98rem; }
}
.dr sup { font-size: .5em; vertical-align: super; line-height: 0; }
.dr .landing-hero { margin-top: 20px; }
.dr-lead { margin: 12px 0 6px; color: var(--dr-ink); font: 700 .98rem/1.35 var(--dr-font); }
.dr-bullets { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.dr-bullets li { position: relative; padding-left: 26px; color: #2b3338; font-size: .94rem; line-height: 1.35; }
.dr-bullets li::before { position: absolute; top: 1px; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--dr-cta); content: "✓"; font-size: .7rem; font-weight: 800; }
.dr-notes { margin-top: 36px; padding-top: 14px; border-top: 1px solid #e3e7ea; }
.dr-notes p { margin: 0 0 8px; color: #6b757b; font-size: .72rem; line-height: 1.4; }
@media (max-width: 800px) and (max-height: 700px) {
  .dr .landing-hero { margin-top: 14px; }
  .dr-lead { margin: 8px 0 4px; font-size: .9rem; }
  .dr-bullets li { font-size: .86rem; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .dr .landing-hero { margin-top: 10px; }
  .dr-lead { font-size: .84rem; }
  .dr-bullets { gap: 3px; }
  .dr-bullets li { font-size: .8rem; padding-left: 22px; }
  .dr-bullets li::before { width: 16px; height: 16px; }
}

.dr-test-line { margin: 10px 0 0; color: var(--dr-kicker); font: 700 .98rem/1.35 var(--dr-font); }
.dr-money-intro { margin: -4px 0 12px; color: #3b454b; font-size: .92rem; line-height: 1.45; text-align: center; }
.dr-money .dr-proof { gap: 8px; padding: 14px 16px; }
.dr-proof-title { margin: 0 0 2px; color: var(--dr-ink); font-weight: 700; font-size: .9rem; }
.dr-proof-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 8px; border-top: 1px solid #cfdcea; color: var(--dr-ink); font-weight: 800; }
.dr-proof-total strong { padding: 2px 8px; border-radius: 4px; background: var(--dr-marker); font-size: 1.35rem; }
.dr .landing-question h2 { font-size: 1.05rem; }
@media (max-width: 800px) and (max-height: 700px) { .dr-test-line { margin-top: 7px; font-size: .9rem; } }
@media (max-width: 800px) and (max-height: 600px) { .dr-test-line { font-size: .84rem; } .dr .landing-question h2 { font-size: .96rem; } }

.dr .landing-panel h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
.dr .landing-panel h1 span:first-child { font-size: 1em; font-weight: 800; color: var(--dr-ink); text-transform: none; letter-spacing: -.02em; }
.dr-lead { margin: 12px 0 0; font-size: 1.12rem; line-height: 1.35; }
.dr-card-title { margin: 0 0 12px; color: var(--dr-ink); font: 800 1.12rem/1.3 var(--dr-font); }
.dr .landing-question h2 { font-size: 1.08rem; font-weight: 700; }
.dr-card-meta { margin: 9px 0 0; color: #4a545a; font: 600 .82rem var(--dr-font); text-align: center; }
.dr-section h2 { font-size: 1.35rem; }
.dr-bigstat { display: grid; justify-items: center; gap: 2px; margin: 0 0 16px; text-align: center; }
.dr-bigstat strong { padding: 0 10px; color: var(--dr-ink); background: var(--dr-marker); font: 800 2.4rem/1.1 var(--dr-font); }
.dr-bigstat span { color: var(--dr-ink); font: 700 1.05rem/1.3 var(--dr-font); }
.dr-reasons { display: grid; gap: 10px; margin-bottom: 16px; }
.dr-reasons > div { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; }
.dr-reasons b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: #c62828; font: 800 .95rem var(--dr-font); }
.dr-reasons p { margin: 0; color: #2b3338; font-size: 1rem; line-height: 1.42; }
.dr-reasons strong { color: var(--dr-ink); font-family: var(--dr-font); }
.dr .landing-steps strong, .dr-cards strong { font-size: 1.02rem; }
.dr .landing-steps li span:not(.step-number), .dr-cards span { color: #2f383d; font-size: .95rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .dr .landing-panel h1 { font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .dr-lead { font-size: 1rem; margin-top: 9px; }
  .dr-card-title { font-size: 1.02rem; margin-bottom: 9px; }
  .dr-card-meta { margin-top: 7px; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .dr .landing-panel h1 { font-size: 1.55rem; }
  .dr-lead { font-size: .92rem; }
  .dr-card-title { font-size: .95rem; }
  .dr .landing-question h2 { font-size: .96rem; }
}

:root { --dr-font: "Montserrat", Arial, sans-serif; }
.dr .landing-panel h1 span.dr-callout:first-child { display: inline-block; width: fit-content; margin-bottom: 4px; padding: 3px 9px; border-radius: 5px; color: #fff; background: var(--dr-band); font-size: .5em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dr-lead { font-weight: 600; font-size: 1.05rem; color: #262626; }
.dr-test-callout { margin: 16px 0 10px; color: var(--dr-ink); font: 800 1.2rem/1.28 var(--dr-font); }
.dr .landing-question { margin-top: 0; border: 2px solid var(--dr-cta); box-shadow: 0 6px 20px rgba(0, 0, 0, .10); }
.dr-under-button { margin: 10px 0 0; color: var(--dr-kicker); font: 700 .88rem var(--dr-font); text-align: center; }
.dr-plain { margin: 0 0 14px; color: #262626; font-size: 1.02rem; line-height: 1.5; }
@media (max-width: 800px) and (max-height: 700px) {
  .dr-test-callout { margin: 11px 0 8px; font-size: 1.05rem; }
  .dr-lead { font-size: .95rem; }
  .dr-under-button { margin-top: 7px; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .dr-test-callout { font-size: .95rem; margin: 8px 0 6px; }
  .dr-lead { font-size: .86rem; }
  .dr .landing-panel h1 span.dr-callout:first-child { margin-bottom: 2px; }
}


:root[data-palette="vertvert"] { --dr-green: #118845; --dr-ink: #111; --dr-kicker: var(--dr-green); --dr-band: var(--dr-green); --dr-cta: var(--dr-green); --dr-cta-dark: #118845; --dr-cta-glow: rgba(17, 136, 69,.4); --dr-proof-border: #b8dbc7; }
.dr, .dr p, .dr li, .dr span, .dr strong, .dr button { font-family: var(--dr-font); }
.dr .landing-panel h1 { font-size: clamp(1.75rem, 7.8vw, 2.3rem); }
.dr-lead { margin-top: 10px; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.dr-how { display: grid; gap: 7px; margin: 14px 0 12px; padding: 0; list-style: none; }
.dr-how li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; color: #262626; font-size: .93rem; line-height: 1.35; }
.dr-how b { display: grid; width: 22px; height: 22px; margin-top: 1px; place-items: center; border-radius: 50%; color: #fff; background: var(--dr-green); font-size: .75rem; font-weight: 800; }
.dr-how strong { color: var(--dr-ink); }
.dr .landing-question { padding: 12px 14px; border-color: var(--dr-green); }
.dr .landing-question h2 { font-size: 1.05rem; }
.dr .landing-start { min-height: 54px; margin-top: 10px; }
.dr-under-button { margin-top: 8px; color: var(--dr-green); }
.dr-plain { font-weight: 500; }
.dr-cards b, .dr .landing-steps .step-number { background: var(--dr-green); }
.dr-proof-total span { font-size: .92rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .dr .landing-panel h1 { font-size: clamp(1.55rem, 7vw, 1.95rem); }
  .dr-lead { font-size: .9rem; margin-top: 7px; }
  .dr-how { gap: 5px; margin: 10px 0 9px; }
  .dr-how li { font-size: .85rem; }
  .dr .landing-question { padding: 10px 12px; }
  .dr .landing-question h2 { font-size: .98rem; }
  .dr .landing-start { min-height: 48px; margin-top: 8px; }
  .dr-step { margin-bottom: 4px; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .dr .landing-panel h1 { font-size: 1.4rem; }
  .dr-lead { font-size: .82rem; line-height: 1.32; }
  .dr-how li { font-size: .78rem; line-height: 1.28; }
  .dr-how b { width: 19px; height: 19px; font-size: .68rem; }
  .dr .landing-question h2 { font-size: .9rem; }
  .dr .landing-start { min-height: 46px; font-size: .95rem; }
}

.dr ~ * , .site-header, .site-footer { font-family: "Montserrat", Arial, sans-serif; }

.dr-lead u { text-decoration-color: var(--dr-green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dr-facts { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.dr-facts li { position: relative; padding-left: 26px; color: #262626; font-size: 1rem; font-weight: 500; line-height: 1.42; }
.dr-facts li::before { position: absolute; top: 2px; left: 0; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--dr-green); content: "✓"; font-size: .7rem; font-weight: 800; }
.dr-loss { margin: 14px 0 0; color: var(--dr-ink); font-weight: 700; font-size: 1rem; text-align: center; }
.dr .dr-repeat { margin-top: 22px; }
.dr-faq details { border-bottom: 1px solid #e3e3e3; }
.dr-faq details:first-of-type { border-top: 1px solid #e3e3e3; }
.dr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; color: var(--dr-ink); font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; }
.dr-faq summary::-webkit-details-marker { display: none; }
.dr-faq summary::after { flex: none; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--dr-green); content: "+"; font-size: 1.1rem; font-weight: 800; line-height: 1; }
.dr-faq details[open] summary::after { content: "–"; }
.dr-faq ul { display: grid; gap: 7px; margin: 0; padding: 0 2px 16px 18px; color: #262626; font-size: .95rem; line-height: 1.42; }
.dr-faq li::marker { color: var(--dr-green); }
.dr-rating { display: flex; align-items: center; gap: 8px; list-style: none; margin-left: -18px; font-weight: 700; }
.dr-stars { display: inline-flex; gap: 2px; }
.dr-stars svg { width: 18px; height: 18px; fill: #118845; }
.dr-faq { margin-top: 36px; }


@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("/fonts/montserrat-latin-var.woff2") format("woff2"); }
.dr .landing-panel { padding-top: 0; }
.dr-fold { display: flex; flex-direction: column; min-height: calc(100vh - 54px); min-height: calc(100svh - 54px); padding: 26px 0 18px; }
.dr sup { font-size: .42em; font-weight: 600; vertical-align: top; position: relative; top: -.2em; margin-left: .08em; line-height: 1; }
.dr .landing-start { border: 0; border-bottom: 0; box-shadow: none; }
.dr .landing-start:active { transform: none; border-bottom-width: 0; filter: brightness(.94); }
.dr-lead u { text-decoration-color: var(--dr-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.dr-faq summary { -webkit-tap-highlight-color: transparent; outline: none; }
.dr-faq summary:focus-visible { outline: 2px solid var(--dr-green); outline-offset: 2px; border-radius: 4px; }
.dr-faq summary::after { transition: transform .25s ease; }
.dr-faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.dr-faq-body { overflow: hidden; }
.dr-faq-body ul { display: grid; gap: 7px; margin: 0; padding: 0 2px 16px 18px; color: #262626; font-size: .95rem; line-height: 1.42; }
.dr-faq a { color: var(--dr-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.dr-tp { white-space: nowrap; }
.dr-tp img { display: inline-block; width: 64px; height: 12px; margin: 0 2px; vertical-align: -1px; }
.dr * { -webkit-tap-highlight-color: transparent; }
@media (max-width: 800px) and (max-height: 700px) { .dr-fold { min-height: calc(100vh - 48px); min-height: calc(100svh - 48px); padding-top: 20px; } }
@media (max-width: 800px) and (max-height: 600px) { .dr-fold { padding-top: 14px; } }
@media (max-width: 800px) and (max-height: 700px) {
  .dr-fold { padding-top: 16px; padding-bottom: 10px; }
  .dr .landing-hero { margin-top: 10px; }
  .dr-how { margin: 9px 0 8px; gap: 4px; }
  .dr-under-button { margin-top: 6px; }
}
@media (max-width: 800px) and (max-height: 640px) {
  .dr-fold { padding-top: 14px; }
  .dr .landing-panel h1 { font-size: 1.62rem; }
  .dr-lead { font-size: .88rem; line-height: 1.36; }
  .dr-how li { font-size: .84rem; line-height: 1.32; }
  .dr .landing-question { padding: 10px 12px; }
  .dr .landing-start { min-height: 48px; }
}
@media (max-width: 800px) and (max-height: 580px) {
  .dr-fold { padding-top: 10px; padding-bottom: 6px; }
  .dr .landing-panel h1 { font-size: 1.42rem; }
  .dr-lead { font-size: .8rem; line-height: 1.3; }
  .dr-how { margin: 7px 0 6px; gap: 3px; }
  .dr-how li { font-size: .76rem; line-height: 1.26; }
  .dr .landing-question { padding: 8px 11px; }
  .dr .landing-question h2 { font-size: .9rem; }
  .dr .landing-start { min-height: 44px; margin-top: 6px; }
  .dr-under-button { margin-top: 4px; font-size: .8rem; }
}

.dr-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: .9rem; }
.dr-table th, .dr-table td { padding: 8px 6px; border-bottom: 1px solid #d9ece1; text-align: right; white-space: nowrap; }
.dr-table thead th { padding-top: 2px; color: var(--dr-green); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dr-table th[scope="row"], .dr-table thead th:first-child { text-align: left; white-space: normal; font-weight: 600; color: #262626; }
.dr-table thead th:first-child { color: var(--dr-green); font-weight: 800; }
.dr-table td s { color: #c62828; font-weight: 700; text-decoration-thickness: 2px; }
.dr-table tfoot th, .dr-table tfoot td { border-bottom: 0; padding-top: 10px; color: var(--dr-ink); font-weight: 800; }
.dr-table tfoot strong { padding: 1px 6px; border-radius: 4px; background: var(--dr-marker); font-size: 1.1rem; }
@media (max-width: 800px) and (max-height: 640px) and (min-height: 581px) {
  .dr .landing-panel h1 { font-size: 1.56rem; }
  .dr-how li { font-size: .81rem; line-height: 1.3; }
  .dr-how { gap: 3px; }
}
.dr-table th[scope="row"] { width: 48%; }
.dr-table td { padding-left: 4px; padding-right: 4px; }

.dr p sup, .dr li sup, .dr td sup { font-size: max(.42em, 9px); }
.dr-notes p sup { font-size: 9px; font-weight: 700; margin-right: 2px; }


.dr h1 > span, .dr h2, .dr-lead, .dr-how li span, .dr-under-button, .dr-step, .landing-question h2,
.dr-facts li, .dr-proof-title, .dr-loss, .dr-faq summary, .dr-faq-body li, .landing-start span { text-wrap: balance; }
.dr-notes p { text-wrap: pretty; }


.dr-how { gap: 9px; }
.dr-how li { line-height: 1.4; }
.dr-section { margin-top: 56px; }
.dr-money-intro { margin: 0 0 18px; color: var(--dr-ink); font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.dr-money .dr-proof { padding: 16px 16px 12px; }
.dr-loss { margin-top: 20px; line-height: 1.5; }
.dr-faq { margin-top: 64px; }
.dr-faq summary { padding: 18px 2px; line-height: 1.35; }
.dr-faq-body ul { gap: 9px; line-height: 1.5; }
.dr .dr-repeat { margin-top: 32px; }
.dr-notes { margin-top: 56px; }
.dr-notes p { line-height: 1.5; }
@media (max-width: 800px) and (max-height: 700px) { .dr-how { gap: 6px; } }
@media (max-width: 800px) and (max-height: 580px) { .dr-how { gap: 4px; } }

@media (max-width: 800px) and (max-height: 700px) {
  .dr-fold { padding-top: 22px; }
  .dr-lead { margin-top: 10px; font-size: .95rem; line-height: 1.45; }
  .dr-how { margin: 16px 0 18px; gap: 10px; }
  .dr-how li { font-size: .92rem; line-height: 1.35; }
  .dr-under-button { margin-top: 10px; }
}
@media (max-width: 800px) and (max-height: 640px) {
  .dr-fold { padding-top: 18px; }
  .dr-lead { font-size: .9rem; }
  .dr-how { margin: 12px 0 14px; gap: 8px; }
  .dr-how li { font-size: .88rem; }
}
@media (max-width: 800px) and (max-height: 580px) {
  .dr-fold { padding-top: 14px; }
  .dr .landing-panel h1 { font-size: 1.5rem; }
  .dr-lead { margin-top: 8px; font-size: .86rem; line-height: 1.4; }
  .dr-how { margin: 10px 0 12px; gap: 6px; }
  .dr-how li { font-size: .85rem; line-height: 1.3; }
  .dr .landing-question { padding: 10px 12px; }
  .dr .landing-question h2 { font-size: .95rem; }
  .dr .landing-start { min-height: 48px; margin-top: 8px; }
  .dr-under-button { margin-top: 8px; font-size: .84rem; }
}



.dr-fold { justify-content: space-evenly; }
.dr-fold > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.dr-fold > .dr-under-button { margin-top: 10px !important; }
.dr-fold > .landing-question { flex: 0 0 auto; }
.dr-lead { margin-top: 14px !important; line-height: 1.55; }
.dr-lead u { text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.dr-how { gap: 12px; }
.dr-how li { line-height: 1.42; }
@media (max-width: 800px) and (max-height: 700px) { .dr-how { gap: 8px; } .dr-lead { line-height: 1.45; } }
@media (max-width: 800px) and (max-height: 600px) { .dr-how { gap: 5px; } .dr-how li { font-size: .82rem; } .dr-lead { font-size: .84rem; margin-top: 8px !important; } }
@media (max-width: 800px) and (max-height: 580px) { .dr .landing-panel h1 { font-size: 1.44rem; } .dr-lead { line-height: 1.38; } .dr-fold { padding-bottom: 10px; } }
@media (max-width: 800px) and (max-height: 640px) {
  .dr-fold > .dr-under-button { margin-top: 6px !important; }
  .dr-how li { font-size: .84rem; line-height: 1.32; }
  .dr-lead { font-size: .88rem; line-height: 1.4; margin-top: 10px !important; }
  .dr .landing-question { padding: 10px 12px; }
}
@media (max-width: 800px) and (max-height: 580px) { .dr .landing-panel h1 { font-size: 1.38rem; } .dr-how li { font-size: .8rem; } .dr-lead { font-size: .83rem; } }


.dr-fold { row-gap: 12px; }
.b3-sub { display: grid; gap: 6px; margin-top: 16px; }
.b3-sub p { margin: 0; text-wrap: balance; text-wrap: pretty; }
.b3-fact { color: #454545; font: 500 .98rem/1.45 var(--dr-font); }
.b3-fix { color: var(--dr-ink); font: 800 1.08rem/1.4 var(--dr-font); }
.dr mark.b3-hl { color: inherit; background: #b8dbc7; padding: 0 .14em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.b3-how { margin: 0; padding: 0; list-style: none; }
.b3-how em { font-style: normal; }
.b3-ico { flex: none; display: grid; place-items: center; }
.b3-ico svg { display: block; fill: none; stroke: var(--dr-green); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.dr-fold > .b3-oks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.b3-oks span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.b3-oks svg { flex: none; width: 17px; height: 17px; }
.b3-oks circle { fill: var(--dr-green); }
.b3-oks path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { .dr-fold > .b3-oks { gap: 4px 12px; } .b3-oks span { gap: 6px; } .b3-oks svg { width: 16px; height: 16px; } }
@media (max-width: 370px) { .dr-fold > .b3-oks { gap: 4px 10px; font-size: .82rem; } .b3-oks span { gap: 5px; } .b3-oks svg { width: 15px; height: 15px; } }
@media (max-width: 370px) {
  .b3-fact { font-size: .92rem; line-height: 1.42; }
  .b3-fix { font-size: 1rem; line-height: 1.36; }
}
@media (max-width: 800px) and (max-height: 700px) {
  .dr-fold { row-gap: 10px; }
  .b3-sub { gap: 5px; margin-top: 12px; }
  .b3-fact { font-size: .9rem; line-height: 1.4; }
  .b3-fix { font-size: .98rem; line-height: 1.35; }
}
@media (max-width: 800px) and (max-height: 640px) {
  .b3-sub { margin-top: 10px; }
  .b3-fact { font-size: .86rem; line-height: 1.38; }
  .b3-fix { font-size: .93rem; line-height: 1.32; }
}
@media (max-width: 800px) and (max-height: 580px) {
  .dr-fold { row-gap: 8px; }
  .b3-sub { gap: 4px; margin-top: 8px; }
  .b3-fact { font-size: .8rem; line-height: 1.34; }
  .b3-fix { font-size: .87rem; line-height: 1.3; }
  .dr-fold > .b3-oks { font-size: .8rem; }
}

.dr mark.b3-hl { padding: 0 .1em; border-radius: 0; background: linear-gradient(transparent 52%, #b8dbc7 52%, #b8dbc7 94%, transparent 94%); }
.b3-fact { color: #4e4e4e; }
.b3-how { display: grid; gap: 8px; align-self: center; width: 100%; max-width: 360px; }
.b3-how li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; padding: 9px 12px; border: 1.5px solid #d4eade; border-radius: 12px; background: #fff; }
.b3-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--dr-soft); }
.b3-ico svg { width: 22px; height: 22px; }
.b3-how li > span { display: grid; gap: 1px; }
.b3-how strong { color: var(--dr-ink); font: 800 .95rem/1.3 var(--dr-font); }
.b3-how em { color: #454545; font: 500 .82rem/1.32 var(--dr-font); }
@media (min-height: 701px) { .b3-fact { font-size: .95rem; } .b3-fix { font-size: 1.1rem; } }
@media (max-width: 370px) {
  .b3-how li { grid-template-columns: 38px 1fr; gap: 11px; padding: 7px 11px; }
  .b3-ico { width: 38px; height: 38px; border-radius: 9px; }
  .b3-ico svg { width: 20px; height: 20px; }
  .b3-how strong { font-size: .88rem; }
  .b3-how em { font-size: .78rem; }
}
@media (max-width: 800px) and (max-height: 700px) {
  .dr-fold { row-gap: 8px; }
  .b3-fact { line-height: 1.36; }
  .b3-how { gap: 6px; }
  .b3-how li { grid-template-columns: 32px 1fr; gap: 11px; padding: 4px 11px; }
  .b3-ico { width: 32px; height: 32px; border-radius: 9px; }
  .b3-ico svg { width: 19px; height: 19px; }
  .b3-how strong { font-size: .86rem; line-height: 1.25; }
  .b3-how em { font-size: .76rem; line-height: 1.26; }
}
@media (max-width: 800px) and (max-height: 640px) {
  .dr-fold { row-gap: 6px; }
  .b3-how { gap: 5px; }
  .b3-how li { grid-template-columns: 30px 1fr; gap: 10px; padding: 3px 10px; }
  .b3-ico { width: 30px; height: 30px; border-radius: 8px; }
  .b3-ico svg { width: 17px; height: 17px; }
  .b3-how strong { font-size: .82rem; }
  .b3-how em { font-size: .72rem; line-height: 1.22; }
}
@media (max-width: 800px) and (max-height: 580px) {
  .b3-how { gap: 4px; }
  .b3-how li { grid-template-columns: 28px 1fr; padding: 4px 10px; }
  .b3-ico { width: 28px; height: 28px; }
  .b3-ico svg { width: 16px; height: 16px; }
  .b3-how strong { font-size: .78rem; }
  .b3-how em { font-size: .69rem; }
}


.b3-how { --g: 8px; --ico: 42px; --px: 12px; --py: 9px; --bd: 1.5px; --link: #b3d9c3; gap: var(--g); }
.b3-how li { position: relative; grid-template-columns: var(--ico) 1fr; padding: var(--py) var(--px); border-width: var(--bd); }
.b3-how .b3-ico { width: var(--ico); height: var(--ico); }
.b3-how strong, .b3-how em { text-wrap: balance; }
@media (max-width: 370px) { .b3-how { --ico: 38px; --px: 11px; --py: 7px; } }
@media (max-width: 800px) and (max-height: 700px) { .b3-how { --g: 6px; --ico: 32px; --px: 11px; --py: 4px; } }
@media (max-width: 800px) and (max-height: 640px) { .b3-how { --g: 5px; --ico: 30px; --px: 10px; --py: 3px; } }
@media (max-width: 800px) and (max-height: 580px) { .b3-how { --g: 4px; --ico: 28px; --px: 10px; --py: 4px; } }


.b4-rail li:not(:first-child)::before, .b4-rail li:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--px) + var(--ico) / 2 - 1px); width: 2px; background: var(--link); }
.b4-rail li:not(:first-child)::before { top: calc(-1 * (var(--g) + var(--bd))); bottom: calc(50% + var(--ico) / 2); }
.b4-rail li:not(:last-child)::after { top: calc(50% + var(--ico) / 2); bottom: calc(-1 * var(--bd)); }


.b4-tick { --g: 12px; }
.b4-tick li + li::before { content: ""; position: absolute; left: 50%; top: calc(-1 * (var(--g) + var(--bd))); width: 2px; height: var(--g); margin-left: -1px; background: var(--link); }
.b4-arrow { --g: 14px; }
.b4-arrow li + li::before { content: ""; position: absolute; left: calc(var(--px) + var(--ico) / 2 - 4px); top: calc(-1 * (var(--g) + var(--bd)) + 2px); width: 8px; height: 8px; border: solid var(--dr-green); border-width: 0 2px 2px 0; transform: rotate(45deg); }


.b4-rail { --link: #b8dbc7; }
@media (max-width: 800px) and (min-height: 701px) and (max-height: 840px) and (max-width: 390px) {
  .dr-fold { padding-top: 16px; row-gap: 9px; }
  .b3-how { --py: 7px; }
  .b3-how em { line-height: 1.26; }
}
@media (max-width: 800px) and (max-height: 700px) {
  .dr-fold { padding-top: 12px; row-gap: 7px; }
  .b3-sub { margin-top: 9px; }
  .b3-how { --py: 3px; }
  .b3-how em { line-height: 1.2; }
}
@media (max-width: 800px) and (max-height: 640px) { .dr-fold { padding-top: 10px; } .b3-sub { margin-top: 8px; } }
@media (max-width: 800px) and (max-height: 580px) { .dr-fold { padding-top: 8px; row-gap: 6px; } .b3-how { --py: 3px; } }
@media (max-width: 800px) and (min-height: 701px) and (max-height: 840px) and (max-width: 390px) {
  .dr-fold { padding-top: 12px; row-gap: 8px; }
  .b3-how { --py: 6px; }
}
@media (max-width: 800px) and (max-height: 700px) { .dr .landing-panel h1 { line-height: 1.08; } }
@media (max-width: 800px) and (max-height: 640px) {
  .dr-fold { padding-top: 6px; }
  .b3-how { --g: 4px; }
  .dr .landing-question { padding: 8px 12px; }
}
@media (max-width: 800px) and (max-height: 580px) { .dr-fold { padding-top: 6px; } .dr .landing-question { padding: 7px 11px; } }
@media (max-width: 800px) and (max-height: 700px) { .b3-how { --py: 4px; } .dr-fold > .dr-under-button { margin-top: 8px !important; } }
@media (max-width: 800px) and (max-height: 640px) { .b3-how { --py: 3px; } .dr-fold > .dr-under-button { margin-top: 6px !important; } }
@media (max-width: 800px) and (max-height: 580px) { .dr-fold { padding-top: 10px; } .b3-how { --py: 3px; } }
@media (max-width: 800px) and (min-height: 641px) and (max-height: 660px) { .b3-how { --py: 3px; } }

.b4-rail li:not(:first-child)::before { top: calc(-1 * (var(--g) + var(--bd))) !important; bottom: auto !important; height: var(--g) !important; }
.b4-rail li:not(:last-child)::after { display: none !important; }
@media (max-width: 370px) and (min-height: 700px) and (max-height: 800px) { .dr .landing-panel h1 { font-size: 1.62rem; } .dr-fold { padding-top: 16px; } }
@media (max-width: 800px) and (min-height: 801px) { .dr .landing-panel h1 { font-size: min(2rem, 8.2vw); } }
@media (max-width: 800px) and (min-height: 701px) { .dr .landing-panel h1 { font-size: 1.8rem !important; } .b3-how { --g: 8px; } }
@media (max-width: 370px) and (min-height: 701px) { .dr .landing-panel h1 { font-size: 1.62rem !important; } .b3-fact { font-size: .9rem; } .b3-how { --g: 6px; } .b3-how li { font-size: .92rem; } }


:root[data-palette="bleu"] { --dr-ink: #0b1f3a; --dr-kicker: #1565c0; --dr-band: #0d47a1; --dr-marker: #ffe45c; --dr-cta: #f57c00; --dr-cta-dark: #c25e00; --dr-cta-glow: rgba(245,124,0,.45); --dr-soft: #eef4fb; --dr-proof-bg: #f7fbff; --dr-proof-border: #90b4e0; }
:root[data-palette="vert"] { --dr-ink: #111; --dr-kicker: #118845; --dr-band: #118845; --dr-marker: #ffe14d; --dr-cta: #f57c00; --dr-cta-dark: #c25e00; --dr-cta-glow: rgba(245,124,0,.45); --dr-soft: #e7f3ec; --dr-proof-bg: #ffffff; --dr-proof-border: #b8dbc7; }
:root[data-palette="vertvert"] { --dr-green: #118845; --dr-ink: #111; --dr-kicker: #118845; --dr-band: #118845; --dr-marker: #ffe14d; --dr-cta: #118845; --dr-cta-dark: #118845; --dr-cta-glow: rgba(17, 136, 69,.4); --dr-soft: #e7f3ec; --dr-proof-bg: #ffffff; --dr-proof-border: #b8dbc7; }
:root[data-palette="marine"] { --dr-ink: #111827; --dr-kicker: #1e3a8a; --dr-band: #1e3a8a; --dr-marker: #ffd84d; --dr-cta: #118845; --dr-cta-dark: #118845; --dr-cta-glow: rgba(17, 136, 69,.45); --dr-soft: #f1f4fa; --dr-proof-bg: #f8fafc; --dr-proof-border: #a5b4d4; }


:root {
  --ink: #111;
  --muted: #5d5d5d;
  --line: #e5e5e5;
  --line-strong: #c0c0c0;
  --accent: #118845;
  --accent-dark: #118845;
  --accent-soft: #e7f3ec;
  --control-radius: 10px;
  --marker: #ffe14d;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
body, button, input, select, textarea { font-family: inherit; }
.site-header { font-family: inherit; }


.quiz-progress { border-bottom: 1px solid var(--line); background: #fff; }
.quiz-progress-copy strong { color: var(--ink); font-weight: 800; }
.quiz-progress-copy strong.complete { color: var(--accent); }
.quiz-progress-track { height: 8px; border-radius: 999px; background: #e6e6e6; }
.quiz-progress-track span { border-radius: 999px; background: var(--accent); }
.quiz-progress-track::after { display: none; }


.step-panel > legend { color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.step-help, .estimate-note { color: #333; font-weight: 500; }
.field > span:first-child, .choice-field > legend { color: var(--ink); font-weight: 700; }
.person-position { color: var(--accent); }


.visible-choice {
  min-height: 58px;
  border: 2px solid var(--line-strong);
  font-weight: 700;
  transition: border-color .15s ease, background-color .15s ease;
}
.visible-choice input { accent-color: var(--accent); }
.visible-choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.visible-choice:active { background: var(--accent-soft); }


.native-select,
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field-date select,
.input-affix { border-width: 2px; border-color: var(--line-strong); font-weight: 600; }
.input-affix input { border: 0 !important; }
.native-select:focus,
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus { border-color: var(--accent); }
.add-button, .text-button, .review-edit { color: var(--accent); font-weight: 700; }


.next-button {
  min-height: 52px;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--accent);
  font-size: .98rem;
  font-weight: 800;
}
.next-button:active { background: var(--accent-dark); }
.back-button { border: 2px solid var(--line-strong); font-weight: 700; }
* { -webkit-tap-highlight-color: transparent; }


.consent-checkbox input:checked { background-color: var(--accent); border-color: var(--accent); }
.consent-checkbox { color: #333; }


.review-list { border-width: 2px; border-color: var(--line); }
.review-row-label { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.review-row strong { color: var(--ink); font-weight: 700; }


.spinner { border-color: #e6e6e6; border-top-color: var(--accent); }
.calculation-loading h2 { color: var(--ink); font-weight: 800; }
@keyframes calc-step { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }


.confirmation-panel h2 { color: var(--ink); font-size: clamp(1.45rem, 6.4vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.confirmation-result { padding: 18px 14px; border: 2px solid var(--accent); border-radius: 12px; background: #ffffff; }
.confirmation-result > p:first-child { color: var(--ink); font-size: .95rem; font-weight: 700; }
.confirmation-saving { color: var(--ink); font-weight: 900; letter-spacing: -.02em; }
.confirmation-saving mark { padding: 0 .12em; color: var(--ink); background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 92%, transparent 92%); }
.confirmation-saving sup { font-size: .3em; }
.confirmation-sub { margin: 2px 0 0 !important; color: #333; font-size: .88rem; font-weight: 600; }
.confirmation-copy { color: #262626; font-size: .95rem; font-weight: 500; line-height: 1.45; }
.confirmation-copy a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.callback-process h3 { color: var(--ink); font-weight: 800; }
.process-number { background: var(--accent) !important; color: #fff !important; border: 0 !important; }
.callback-process li strong { color: var(--ink); font-size: .92rem; }
.callback-process .process-copy { color: #333; font-size: .84rem; }


body.quiz-active .page-shell { min-height: 0; }
body.quiz-active .site-footer {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  font-size: .66rem;
}
body.quiz-active .site-footer nav { gap: 14px; }


.input-affix.calculated b { background: transparent; }
.input-affix.just-calculated input { animation: none; }
.input-affix.just-calculated { animation: calculated-pulse 2.6s ease-out; }


:root { --box-line: #c9c9c9; --box-radius: 12px; --box-h: 58px; }
#step-root { max-width: 520px; }
.step-panel > legend { font-size: clamp(1.35rem, 5.6vw, 1.6rem); line-height: 1.2; }
.step-help, .estimate-note { font-size: .92rem; line-height: 1.4; }


.visible-choice-list { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 12px; }
.visible-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.visible-choice {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 64px;
  justify-content: center;
  padding: 12px 38px;
  border: 2px solid var(--box-line);
  border-radius: var(--box-radius);
  color: var(--ink);
  background: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}
.visible-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.visible-choice::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--box-line);
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}
.visible-choice:has(input:checked) { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
.visible-choice:has(input:checked)::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 6l4 4 8-8' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
}
.visible-choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-field > legend { margin-bottom: 8px; }


.field { gap: 7px; }
.field > span:first-child, .choice-field > legend { font-size: .95rem; }
.native-select,
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field-date select,
.input-affix {
  --control-width: 100%;
  width: 100%;
  max-width: none;
  height: var(--box-h);
  border: 2px solid var(--box-line);
  border-radius: var(--box-radius);
  color: var(--ink);
  background-color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}
.field > input, .field > .input-affix:not(.duration-number), .field > .input-affix:has([data-loan-field="rate"]) { width: 100%; }
.native-select, .field select, .field-date select {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0 44px 0 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e8541' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px 9px;
}
.native-select:has(option[value=""]:checked), .field select:has(option[value=""]:checked) { color: var(--muted); font-weight: 600; }
.field input:not([type="radio"]):not([type="checkbox"]) { padding: 0 16px; }
.field input::placeholder { color: #909090; font-weight: 500; }
.input-affix { overflow: hidden; }
.input-affix input { height: 100% !important; padding: 0 16px !important; background: transparent !important; }
.input-affix b { min-width: 44px; border-left: 0; color: var(--accent-dark); background: transparent; font-weight: 800; }
.input-affix:focus-within,
.native-select:focus,
.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus { border-color: var(--accent); outline: 3px solid rgba(17, 136, 69, .16); outline-offset: 0; }
.input-affix input:focus { outline: 0 !important; }


.date-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.date-pair > select, .optional-month { width: 100%; flex: none; }
.optional-month small { font-size: .72rem; }


.duration-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.duration-number { width: 100% !important; height: var(--box-h) !important; min-height: 0 !important; }
.duration-number input { text-align: center; }
.duration-unit-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; height: var(--box-h) !important; }
.duration-unit-choice {
  width: 100% !important;
  height: var(--box-h) !important;
  min-height: 0 !important;
  padding: 0 6px !important;
  border: 2px solid var(--box-line);
  border-radius: var(--box-radius);
  color: var(--ink);
  font-size: 1rem !important;
  font-weight: 700;
}
.duration-unit-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.duration-unit-choice:has(input:checked) { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }


.birth-date { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.5fr) !important; width: 100% !important; gap: 8px; }
.birth-date input { text-align: center; padding: 0 6px !important; }
.birth-date i { color: var(--box-line); font-weight: 700; }


.identity-grid, .contact-grid, .field-grid { gap: 16px; }
.full-field { grid-column: 1 / -1; }


.consent-checkbox { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: .8rem; }
.consent-checkbox input { width: 24px; height: 24px; margin: 0; border: 2px solid var(--box-line); border-radius: 6px; }
.consent-checkbox input:checked { background-size: 14px 11px; }


.review-list { border: 2px solid var(--box-line); border-radius: var(--box-radius); }
.review-row { border-bottom-color: #e7f3ec; }


.form-actions { gap: 10px; margin-top: 18px; }
.next-button { flex: 1; min-height: 58px; border-radius: var(--box-radius); font-size: 1.08rem; }
.back-button { flex: 0 0 auto; min-height: 58px; padding: 0 16px; border: 2px solid var(--box-line); border-radius: var(--box-radius); color: var(--ink); }

@media (max-width: 800px) {
  #magnolia-replica { padding-right: 16px; padding-left: 16px; }
  #step-root { padding-top: 24px; }
  .step-panel > legend { margin-bottom: 12px; }
  .step-help, .estimate-note { margin-bottom: 16px; font-size: .88rem; }
  .field-grid-3, .identity-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) and (max-height: 700px) {
  :root { --box-h: 52px; }
  #step-root { padding-top: 16px; }
  .step-panel > legend { font-size: 1.25rem; margin-bottom: 8px; }
  .step-help, .estimate-note { margin-bottom: 12px; font-size: .82rem; }
  .visible-choice { min-height: 56px; }
  .identity-grid, .contact-grid, .field-grid { gap: 12px; }
  .next-button, .back-button { min-height: 52px; }
  .form-actions { margin-top: 12px; }
}
@media (max-width: 800px) and (max-height: 640px) {
  :root { --box-h: 48px; }
  .visible-choice { min-height: 50px; }
  .identity-grid, .contact-grid, .field-grid { gap: 10px; }
}


#magnolia-replica { grid-template-rows: auto auto auto; align-content: start; }
#step-root.center-step { align-content: start; }
.review-row-label { font-size: .7rem; }
.review-row strong { font-size: .9rem; }
.review-row-detail { font-size: .74rem; }
.review-edit { font-size: .78rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .review-row strong { font-size: .8rem; }
  .review-row-detail, .review-row-label { font-size: .66rem; }
}
.add-button { justify-content: flex-start; text-align: left; font-size: .9rem; }
.visible-choice-row .visible-choice { padding-right: 12px; padding-left: 36px; }
@media (max-width: 800px) and (max-height: 640px) {
  :root { --box-h: 46px; }
  #step-root { padding-top: 12px; }
  .step-panel > legend { font-size: 1.15rem; margin-bottom: 6px; }
  .step-help, .estimate-note { margin-bottom: 8px; font-size: .78rem; line-height: 1.3; }
  .field { gap: 4px; }
  .field > span:first-child, .choice-field > legend { font-size: .85rem; min-height: 0; }
  .choice-field > legend { margin-bottom: 4px; }
  .visible-choice { min-height: 48px; font-size: .98rem; }
  .identity-grid, .contact-grid, .field-grid { gap: 8px; }
  .borrower-card h2 { margin-bottom: 8px; font-size: .95rem; }
  .add-button { margin-top: 2px; padding: 4px 0; font-size: .82rem; }
  .next-button, .back-button { min-height: 48px; }
  .form-actions { margin-top: 10px; }
  .optional-month small { font-size: .64rem; }
}

.borrower-card h2 { display: none; }
.contact-panel .contact-grid { gap: 12px; }
.contact-panel .step-help { margin-bottom: 12px; }
.consents { margin-top: 12px; }
@media (max-width: 800px) and (max-height: 700px) {
  .contact-panel .contact-grid { gap: 8px; }
  .consents { margin-top: 8px; }
  .consent-checkbox { padding: 2px 0; font-size: .74rem; line-height: 1.3; }
}
body.quiz-active .site-footer { padding-top: 6px; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
@media (max-width: 800px) and (max-height: 640px) {
  .contact-panel .contact-grid { gap: 5px; }
  .contact-panel .step-help { margin-bottom: 6px; font-size: .74rem; }
  .consent-checkbox { font-size: .7rem; line-height: 1.25; }
  body.quiz-active .site-footer { padding-top: 4px; font-size: .62rem; }
}
@media (max-width: 800px) { #magnolia-replica { padding-bottom: 2px; } .form-actions { margin-bottom: 0; } }
@media (max-width: 800px) and (max-height: 640px) { .contact-panel > legend { margin-bottom: 4px; } }


.choice-icon { flex: 0 0 auto; width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visible-choice-list .visible-choice.has-icon {
  justify-content: flex-start;
  gap: 16px;
  min-height: clamp(64px, 12svh, 88px);
  padding: 12px 52px 12px 20px;
  text-align: left;
}
.visible-choice-list .visible-choice.has-icon::before { right: 18px; left: auto; }
.visible-choice-row .visible-choice.has-icon {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: clamp(104px, 22svh, 150px);
  padding: 16px 12px;
}
.visible-choice-row .visible-choice.has-icon .choice-icon { width: 40px; height: 40px; }
.visible-choice-row .visible-choice.has-icon::before { top: 12px; right: 12px; left: auto; transform: none; }
.visible-choice.has-icon:has(input:checked) .choice-icon { stroke: var(--accent-dark); }


.back-button { min-height: 48px; padding: 0 6px; border: 0 !important; color: var(--muted); background: transparent; font-weight: 700; }
.back-button:active { background: transparent; color: var(--ink); }

.field small.field-error-inline, .field .field-error, .field-error-inline { color: var(--danger); font-size: .84rem; font-weight: 700; line-height: 1.3; }
.visible-choice-row + .field-error-inline, .choice-field .field-error-inline { margin-top: 6px; }

.form-actions, .form-error { width: 100%; max-width: 520px; margin-right: auto; margin-left: auto; }

@media (max-width: 800px) { .calculation-loading { min-height: calc(100svh - 190px); } }
@media (max-width: 800px) and (max-height: 700px) { .calculation-loading { min-height: calc(100svh - 170px); } }
.review-row { cursor: pointer; }


.form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 10px 16px 2px;
  color: #454545;
  font-size: .76rem;
  font-weight: 700;
}
.form-secure svg { flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


#magnolia-replica:has(#step-root.choice-step) { grid-template-rows: minmax(0, 1fr) auto auto; }
#step-root.choice-step { align-content: center; padding-bottom: 8vh; }


.calculation-loading { align-content: center; gap: 22px; }
.calculation-loading .spinner { width: 58px; height: 58px; border-width: 5px; }
.calculation-loading h2 { margin: 0; font-size: clamp(1.6rem, 7vw, 2rem); line-height: 1.15; }
@media (max-width: 800px) and (max-height: 600px) {
  :root { --box-h: 43px; }
  .form-secure { padding: 5px 16px 0; font-size: .7rem; }
  .form-secure svg { width: 14px; height: 14px; }
  #step-root { padding-top: 10px; }
  .identity-grid, .contact-grid, .field-grid { gap: 7px; }
  .next-button { min-height: 46px; }
  .form-actions { margin-top: 8px; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .contact-panel > legend { font-size: 1.1rem; }
  .contact-panel .step-help { line-height: 1.25; }
  .consents { margin-top: 5px; }
}



.bank-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bank-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(42px, 6.4svh, 54px);
  padding: 4px 6px;
  border: 2px solid var(--box-line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}
.bank-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bank-tile:has(input:checked) { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
.bank-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 800px) and (max-height: 640px) { .bank-grid { gap: 6px; } .bank-tile { min-height: 40px; font-size: .76rem; } }


.calculation-loading { gap: 26px; }
.calculation-loading h2 { order: 0; }
.calculation-steps { display: grid; gap: 14px; width: min(100%, 300px); margin: 0; padding: 0; list-style: none; text-align: left; }
.calculation-steps li { display: flex; align-items: center; gap: 12px; color: #a0a0a0; font-size: 1rem; font-weight: 700; transition: color .2s ease; }
.calculation-steps li.active, .calculation-steps li.done { color: var(--ink); }
.calculation-status { position: relative; flex: 0 0 auto; width: 22px; height: 22px; border: 2.5px solid #dddddd; border-radius: 50%; }
.calculation-steps li.active .calculation-status { border-color: #dddddd; border-top-color: var(--accent); animation: spin .7s linear infinite; }
.calculation-steps li.done .calculation-status {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 6l4 4 8-8' fill='none' stroke='white' stroke-width='2.4'/%3E%3C/svg%3E") center / 11px 9px no-repeat;
}
@media (max-width: 800px) and (max-height: 700px) {
  .bank-grid { gap: 6px; }
  .bank-tile { min-height: 38px; font-size: .76rem; }
  .contact-panel .contact-grid { gap: 6px; }
  .contact-panel .step-help { margin-bottom: 8px; font-size: .8rem; line-height: 1.3; }
}
@media (max-width: 800px) and (max-height: 640px) {
  .bank-tile { min-height: 35px; padding: 2px 4px; font-size: .72rem; }
  .bank-grid + * { margin-top: 0; }
}
@media (max-width: 800px) and (max-height: 580px) {
  .bank-tile { min-height: 33px; }
  fieldset:has(.bank-grid) .step-help { display: none; }
}

@media (max-width: 370px) {
  .bank-tile { min-height: 40px; font-size: .74rem; }
  .bank-grid { gap: 6px; }
  .contact-panel .contact-grid { gap: 8px; }
  .contact-panel .step-help { margin-bottom: 8px; font-size: .8rem; line-height: 1.3; }
  .consent-checkbox { font-size: .72rem; line-height: 1.28; }
}
@media (max-width: 800px) and (max-height: 700px) { .consents { margin-top: 6px; } }
@media (max-width: 800px) and (max-height: 640px) { .bank-tile { min-height: 35px; } }
@media (max-width: 800px) and (max-height: 600px) {
  .contact-panel .contact-grid { gap: 5px; }
  .contact-panel .step-help { margin-bottom: 6px; font-size: .74rem; }
  .consent-checkbox { font-size: .7rem; line-height: 1.25; }
}
@media (max-width: 800px) and (max-height: 580px) { .bank-tile { min-height: 33px; } }


.confirmation-panel h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 7vw, 1.9rem); }
.confirmation-result { overflow: hidden; padding: 0 0 16px; border: 2px solid var(--accent); border-radius: 14px; background: #fff; text-align: center; }
.confirmation-result > .result-kicker {
  margin: 0 0 12px;
  padding: 9px 12px;
  color: #fff;
  background: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.confirmation-saving { margin: 0 !important; padding: 0 12px; color: var(--accent-dark); font-size: clamp(3rem, 15vw, 4.2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.confirmation-saving sup { color: var(--ink); font-size: .28em; font-weight: 700; }
.confirmation-result > .confirmation-sub { margin: 6px 12px 0 !important; color: #333; font-size: .9rem; font-weight: 600; }
.result-monthly { margin: 12px 16px 0 !important; padding-top: 12px; border-top: 1px dashed var(--box-line); color: var(--ink); font-size: .95rem; font-weight: 600; }
.result-monthly strong { color: var(--accent-dark); font-weight: 900; }


.form-secure { gap: 11px; padding-top: 12px; color: #232323; font-size: .86rem; font-weight: 800; text-align: left; }
.form-secure svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.form-secure svg .lock-body { fill: currentColor; stroke: none; }
.form-secure svg .lock-hole { fill: #fff; stroke: none; }
.secure-copy { display: grid; gap: 1px; }
.secure-copy small { max-width: 255px; color: #5d5d5d; font-size: .7rem; font-weight: 500; line-height: 1.3; }
.secure-copy em { display: none; font-style: normal; }
@media (max-width: 800px) and (max-height: 700px) {
  .form-secure { gap: 8px; padding-top: 8px; color: #454545; font-size: .78rem; }
  .form-secure svg { width: 20px; height: 20px; }
  .secure-copy { display: flex; flex-wrap: wrap; gap: 0 5px; }
  .secure-copy small { display: none; }
  .secure-copy em { display: inline; font-weight: 500; }
}
@media (max-width: 800px) and (max-height: 600px) { .form-secure { padding-top: 4px; font-size: .7rem; } .form-secure svg { width: 16px; height: 16px; } }
.bank-tile { min-height: clamp(42px, 5.6svh, 50px); }
@media (max-width: 370px) {
  .form-secure { gap: 8px; padding-top: 8px; color: #454545; font-size: .76rem; }
  .form-secure svg { width: 20px; height: 20px; }
  .secure-copy { display: flex; flex-wrap: wrap; gap: 0 5px; }
  .secure-copy small { display: none; }
  .secure-copy em { display: inline; font-weight: 500; }
}
@media (max-width: 800px) and (max-height: 700px) { .bank-tile { min-height: 38px; } }
@media (max-width: 800px) and (max-height: 640px) { .bank-tile { min-height: 35px; } }
@media (max-width: 800px) and (max-height: 580px) { .bank-tile { min-height: 33px; } }
@media (max-width: 370px) and (max-height: 700px) { .bank-tile { min-height: 36px; } }
@media (max-width: 370px) and (max-height: 600px) { .form-secure { padding-top: 4px; font-size: .7rem; } .form-secure svg { width: 16px; height: 16px; } }


.gain-band { width: 100%; margin: 0; padding: 9px 16px; border-bottom: 1px solid #b8dbc7; color: var(--ink); background: var(--accent-soft); font-size: .9rem; font-weight: 700; text-align: center; }
.gain-band strong { color: var(--accent-dark); font-weight: 900; }
@media (max-width: 800px) and (max-height: 640px) { .gain-band { padding: 6px 12px; font-size: .8rem; } }


.bank-grid { gap: 8px; }
.bank-tile { min-height: 50px; font-size: .82rem; }
@media (max-width: 800px) and (max-height: 700px) { .bank-grid { gap: 7px; } .bank-tile { min-height: 47px; } }
@media (max-width: 800px) and (max-height: 640px) { .bank-tile { min-height: 44px; font-size: .76rem; } }
@media (max-width: 370px) { .bank-tile { font-size: .76rem; } }


.form-secure, .form-secure * { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.form-secure b { font-weight: 600; letter-spacing: 0; }
.secure-copy small, .secure-copy em { font-weight: 400; letter-spacing: 0; }


@media (max-width: 800px) and (max-height: 600px) { body[data-step$="identity"] .gain-band { display: none; } }


@media (max-width: 800px) and (max-height: 700px) { .bank-tile { min-height: 44px; } fieldset:has(.bank-grid) .step-help { display: none; } }
@media (max-width: 800px) and (max-height: 640px) { .bank-tile { min-height: 44px; } .bank-grid { gap: 6px; } }
@media (max-width: 800px) and (max-height: 580px) { .bank-tile { min-height: 42px; } }
@media (max-width: 370px) and (max-height: 700px) { .bank-tile { min-height: 44px; } }


.confirmation-result > .result-kicker { margin-bottom: 8px; padding: 7px 12px; font-size: .95rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.confirmation-panel { padding-top: 0; }
.confirmation-panel h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 6.4vw, 1.75rem); }
.confirmation-result { padding-bottom: 12px; }
.confirmation-saving { font-size: clamp(2.6rem, 13vw, 3.6rem); }
.result-monthly { margin-top: 8px !important; padding-top: 8px; font-size: .9rem; }
.callback-process { margin-top: 12px; padding-top: 0; border-top: 0; }
.callback-process h3 { margin-bottom: 8px; font-size: 1.05rem; }
.callback-process ol { gap: 8px; }
.callback-process li strong { font-size: .9rem; }
.callback-process li strong a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.callback-process .process-copy { font-size: .8rem; line-height: 1.32; }
.callback-process .dr-tp { white-space: nowrap; }
.callback-process .dr-tp img { vertical-align: -1px; }
.result-legal { margin-top: 10px; }
@media (max-width: 800px) and (max-height: 700px) {
  .confirmation-panel h2 { font-size: 1.35rem; margin-bottom: 8px; }
  .confirmation-saving { font-size: 2.6rem; }
  .confirmation-result > .confirmation-sub { font-size: .82rem; }
  .callback-process .process-copy { font-size: .76rem; }
}
@media (max-width: 370px) { .bank-tile { min-height: 46px; } }
@media (max-width: 370px) and (max-height: 700px) { .bank-tile { min-height: 44px; } }


.step-panel > legend, .step-panel > legend span, .step-help, .estimate-note, .field > span:first-child,
.choice-field > legend, .visible-choice span, .bank-tile span, .consent-checkbox span, .calculation-loading h2,
.calculation-steps li, .confirmation-panel h2, .confirmation-sub, .result-monthly, .callback-process li strong,
.callback-process .process-copy, .confirmation-copy, .result-legal, .form-error, .field-error-inline,
.review-row strong, .review-row-detail, .gain-band, .secure-copy { text-wrap: balance; }




.help-chip { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 6px 11px; border-radius: 8px; color: var(--accent-dark); background: var(--accent-soft); font-size: .9rem; font-weight: 700; line-height: 1.3; }
.help-chip svg { flex: 0 0 auto; width: 17px; height: 17px; fill: var(--accent-dark); }
.help-chip + * { clear: both; }
@media (max-width: 800px) and (max-height: 700px) { .help-chip { margin-bottom: 10px; padding: 5px 10px; font-size: .84rem; } }
@media (max-width: 800px) and (max-height: 600px) { .help-chip { margin-bottom: 6px; padding: 4px 9px; font-size: .78rem; } }


.info-tip {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  padding: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  background: #fff;
  font: 800 .78rem/1 Georgia, "Times New Roman", serif;
  vertical-align: 2px;
  cursor: pointer;
}
.info-tip[aria-expanded="true"] { color: #fff; background: var(--accent); }
.step-panel > legend .info-tip { width: 24px; height: 24px; vertical-align: 4px; }
.info-bubble {
  position: absolute;
  z-index: 50;
  padding: 11px 14px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 35, 27, .14);
  font: 600 .88rem/1.4 "Montserrat", Arial, sans-serif;
  text-wrap: balance;
  animation: bubble-in .14s ease-out;
}
.info-bubble::before {
  position: absolute;
  left: calc(var(--arrow-x, 50%) - 8px);
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}
.info-bubble.below::before { top: -8px; border-right: 0; border-bottom: 0; }
.info-bubble.above::before { bottom: -8px; border-top: 0; border-left: 0; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }


.form-secure { gap: 7px; padding: 10px 16px 0; color: #414141; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: .8rem; font-weight: 400; text-align: center; white-space: nowrap; }
.form-secure b { font-weight: 700; }
.form-secure svg { width: 17px; height: 17px; }
.form-secure svg .lock-shackle { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.form-secure svg .lock-body { fill: currentColor; stroke: none; }
.form-secure svg .lock-hole { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 800px) and (max-height: 700px) { .form-secure { padding-top: 7px; font-size: .76rem; } .form-secure svg { width: 16px; height: 16px; } }
@media (max-width: 800px) and (max-height: 600px) { .form-secure { padding-top: 4px; font-size: .7rem; } .form-secure svg { width: 14px; height: 14px; } }
@media (max-width: 370px) { .form-secure { font-size: .74rem; } }


.calculation-status { width: 24px; height: 24px; border: 0 !important; background: none !important; animation: none !important; }
.calculation-status svg { width: 24px; height: 24px; overflow: visible; }
.status-track { fill: #fff; stroke: #dddddd; stroke-width: 2.5; transition: fill .25s ease, stroke .25s ease; }
.status-arc { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 18 45; opacity: 0; transform-origin: 12px 12px; }
.status-tick { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .3s ease .12s; }
.calculation-steps li.active .status-arc { opacity: 1; animation: spin .8s linear infinite; }
.calculation-steps li.done .status-track { fill: var(--accent); stroke: var(--accent); }
.calculation-steps li.done .status-tick { stroke-dashoffset: 0; }
.calculation-steps li.done .calculation-status svg { animation: status-pop .32s ease-out; }
@keyframes status-pop { 0% { transform: scale(.8); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.calculation-found { margin: 0; padding: 10px 16px; border-radius: 10px; color: var(--ink); background: var(--accent-soft); font-size: 1rem; font-weight: 700; }
.calculation-found strong { color: var(--accent-dark); font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }


.next-call { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border: 2px solid var(--box-line); border-radius: 14px; background: #fff; text-align: left; }
.next-call-icon { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--accent); }
.next-call-icon svg { width: 22px; height: 22px; fill: #fff; }
.next-call-copy { display: grid; gap: 2px; min-width: 0; }
.next-call-kicker { margin: 0; color: var(--accent-dark); font-size: .76rem; font-weight: 800; }
.next-call-copy strong { color: var(--ink); font-size: 1rem; font-weight: 800; line-height: 1.25; }
.next-call-copy strong a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.next-call-copy > span { color: #333; font-size: .84rem; line-height: 1.35; }
.next-call-copy .dr-tp img { vertical-align: -1px; }
.next-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.next-steps li { display: grid; justify-items: center; gap: 4px; padding: 12px 10px; border: 2px solid var(--box-line); border-radius: 14px; text-align: center; }
.next-step-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: var(--accent-soft); }
.next-step-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.next-steps strong { color: var(--ink); font-size: .86rem; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.next-steps span:not(.next-step-icon) { color: #5d5d5d; font-size: .76rem; line-height: 1.3; }
@media (max-width: 800px) and (max-height: 700px) {
  .next-call { margin-top: 10px; padding: 10px 12px; }
  .next-call-icon { width: 38px; height: 38px; }
  .next-steps li { padding: 9px 8px; }
}

@media (min-height: 641px) { .bank-tile { min-height: 48px; } }
@media (min-height: 760px) { .bank-tile { min-height: 52px; } }
@media (min-height: 641px) and (max-height: 699px) { .bank-tile { min-height: clamp(44px, calc(14svh - 46.5px), 50px); } }
.next-call-copy strong, .next-call-copy > span, .next-steps span, .calculation-found, .help-chip span { text-wrap: balance; }
.info-tip { -webkit-appearance: none; appearance: none; margin-top: 0; margin-bottom: 0; line-height: 1; }



#magnolia-replica, #magnolia-replica:has(#step-root.choice-step) { grid-template-rows: auto auto auto; align-content: center; }
#step-root.choice-step { padding-bottom: 0; }
.form-actions { margin-top: 26px; }
@media (max-width: 800px) and (max-height: 700px) { .form-actions { margin-top: 18px; } }
@media (max-width: 800px) and (max-height: 600px) { .form-actions { margin-top: 10px; } }


.form-secure { gap: 6px; margin-bottom: 8px; font-size: .74rem; letter-spacing: -.01em; }
.form-secure svg { width: 15px; height: 15px; }
@media (max-width: 800px) and (max-height: 700px) { .form-secure { margin-bottom: 6px; font-size: .72rem; } .form-secure svg { width: 14px; height: 14px; } }
@media (max-width: 800px) and (max-height: 600px) { .form-secure { margin-bottom: 2px; font-size: .68rem; } }


.consents { margin-top: 18px; }
.consent-checkbox, .consent-checkbox span { font-size: .72rem; line-height: 1.4; text-wrap: wrap; color: #515151; }
.consent-checkbox { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.consent-checkbox input { width: 22px; height: 22px; }
@media (max-width: 800px) and (max-height: 700px) { .consents { margin-top: 14px; } .consent-checkbox, .consent-checkbox span { font-size: .68rem; line-height: 1.35; } }
@media (max-width: 800px) and (max-height: 600px) { .consents { margin-top: 8px; } .consent-checkbox, .consent-checkbox span { font-size: .64rem; } }


#magnolia-replica, #magnolia-replica:has(#step-root.choice-step) { grid-template-rows: minmax(0, 1fr) auto auto; align-content: stretch; }
#step-root, #step-root.choice-step { align-content: center; padding-bottom: 8px; }
.form-actions { margin-top: 14px; }
@media (max-width: 800px) and (max-height: 700px) { .form-actions { margin-top: 10px; } }

.back-button { min-height: 58px; padding: 0 18px; border: 2px solid var(--box-line) !important; border-radius: var(--box-radius); color: var(--ink); background: #fff; font-size: .95rem; font-weight: 700; }
.back-button:active { background: var(--accent-soft); }
@media (max-width: 800px) and (max-height: 700px) { .back-button { min-height: 52px; } }
@media (max-width: 800px) and (max-height: 640px) { .back-button { min-height: 48px; } }

.bank-grid .bank-tile { min-height: var(--bank-tile, 44px); }
body[data-step="bank"] #step-root { align-content: start; }
body[data-step="bank"] #magnolia-replica { padding-bottom: 14px; }

.next-button, .back-button, .confirmation-saving { white-space: nowrap; }
@media (max-width: 400px) { .next-button { gap: 7px; padding: 0 12px; font-size: .98rem; } .back-button { padding: 0 14px; } }


.result-path { position: relative; display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; text-align: left; }
.result-path li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: start; padding: 9px 12px; border: 2px solid var(--box-line); border-radius: 12px; background: #fff; }
.result-path li + li::before { position: absolute; top: -12px; left: 28px; width: 2px; height: 14px; background: #b8dbc7; content: ""; }
.path-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--accent-soft); }
.path-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.path-icon svg .fill { fill: var(--accent-dark); stroke: none; }
.result-path li > div { display: grid; gap: 2px; min-width: 0; align-self: center; }
.result-path strong { color: var(--ink); font-size: .92rem; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.result-path strong a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.result-path li > div > span { color: #333; font-size: .8rem; line-height: 1.35; text-wrap: balance; }
.result-path .path-note { color: #5d5d5d; font-size: .74rem; }
.result-path .dr-tp { white-space: nowrap; }
.result-path .dr-tp img { vertical-align: -1px; }
.path-kicker { margin: 0; color: var(--accent-dark); font-size: .74rem; font-weight: 800; }
.result-path .path-done { padding: 6px 12px; border-color: #b8dbc7; background: var(--accent-soft); }
.result-path .path-done .path-icon { width: 26px; height: 26px; margin-left: 4px; border-radius: 50%; background: var(--accent); }
.result-path .path-done .path-icon svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.6; }
.result-path .path-done strong { color: var(--accent-dark); font-size: .86rem; }
.result-path .path-current { border-color: var(--accent); }
.result-path .path-current .path-icon { background: var(--accent); }
.result-path .path-current .path-icon svg .fill { fill: #fff; }


@media (max-height: 739px) { body[data-step="contact-details"] .gain-band { display: none; } }
@media (max-height: 819px) { body[data-step="contact-details"] .gain-band { display: none; } }
@media (max-width: 370px) { .contact-panel .help-chip { font-size: .8rem; padding: 5px 9px; margin-bottom: 8px; } .contact-panel > legend { margin-bottom: 8px; } }
@media (max-width: 370px) and (max-height: 600px) { .contact-panel .help-chip { font-size: .72rem; padding: 3px 8px; margin-bottom: 4px; } .contact-panel > legend { margin-bottom: 4px; font-size: 1.05rem; } }


.test-perks { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 16px; margin: 0 0 14px; color: var(--accent-dark); font-size: .88rem; font-weight: 800; }
.test-perks span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.test-perks svg { width: 16px; height: 16px; }
.test-perks svg circle { fill: var(--accent); }
.test-perks svg path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.test-perks + * { clear: both; }
.review-panel .help-chip { margin-bottom: 10px; }
@media (max-width: 800px) and (max-height: 700px) { .test-perks { margin-bottom: 10px; font-size: .82rem; } }



.back-button { border: 0 !important; color: #333; background: #f0f0f0; font-weight: 700; }
.back-button:active { background: #e5e5e5; }


.step-panel > legend { font-size: 1.36rem; letter-spacing: -.02em; }
.q-mark { padding: 0 .08em; background: linear-gradient(transparent 58%, #b8dbc7 58%, #b8dbc7 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 800px) and (max-height: 700px) { .step-panel > legend { font-size: 1.24rem; } }
@media (max-width: 800px) and (max-height: 600px) { .step-panel > legend { font-size: 1.12rem; } }
@media (max-width: 370px) { .step-panel > legend { font-size: 1.16rem; } }


.loan-card, .borrower-card { margin-bottom: 0; }
#step-root, #step-root.choice-step { padding-bottom: 22px; }
.field-error-inline, .field .field-error { position: relative; }


.review-panel .review-row { padding: 6px 11px; gap: 8px; }
.review-row-copy { gap: 0; }
.review-row-label { font-size: .62rem; }
.review-row strong { font-size: .8rem; line-height: 1.25; }
.review-row-detail { font-size: .66rem; line-height: 1.25; }
.review-edit { font-size: .72rem; }
.review-panel > legend { margin-bottom: 6px; }
.review-panel .help-chip { margin-bottom: 8px; padding: 4px 10px; font-size: .8rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .review-panel .review-row { padding: 4px 10px; }
  .review-row strong { font-size: .74rem; }
  .review-row-detail, .review-row-label { font-size: .6rem; }
}

#step-root.center-step, #step-root { align-content: center; }
body[data-step="bank"] #step-root { align-content: start; }

.form-secure { margin: 0; padding: 12px 16px 0; line-height: 1.2; }
body.quiz-active .site-footer { padding-top: 12px; }
#magnolia-replica { padding-bottom: 0; }
body[data-step="bank"] #magnolia-replica { padding-bottom: 14px; }
@media (max-width: 800px) and (max-height: 600px) { .form-secure { padding-top: 8px; } body.quiz-active .site-footer { padding-top: 8px; } }
@media (max-width: 800px) and (max-height: 700px) { .contact-panel .help-chip { font-size: .8rem; padding: 5px 10px; margin-bottom: 8px; } .contact-panel .consents { margin-top: 10px; } }

@media (max-height: 859px) { body[data-step="contact-details"] .gain-band { display: none; } }
@media (max-width: 800px) and (max-height: 660px) {
  .contact-panel > legend { margin-bottom: 6px; }
  .contact-panel .help-chip { font-size: .74rem; line-height: 1.25; padding: 4px 9px; margin-bottom: 6px; }
  .contact-panel .contact-grid { gap: 4px; }
  .contact-panel .field { gap: 3px; }
  .contact-panel .consents { margin-top: 8px; }
  .consent-checkbox, .consent-checkbox span { font-size: .64rem; line-height: 1.3; }
}

@media (max-width: 800px) and (max-height: 700px) {
  .review-row-copy { display: block; }
  .review-row-label { display: inline; margin-right: 6px; }
  .review-row strong { display: inline; }
  .review-row-detail { display: block; }
}
@media (max-width: 800px) and (max-height: 600px) { .review-panel .review-row { padding: 3px 9px; } .review-panel > legend { margin-bottom: 4px; } .review-panel .help-chip { margin-bottom: 5px; font-size: .74rem; } }
@media (max-width: 800px) and (max-height: 630px) {
  .review-panel .review-row { padding: 2px 9px; }
  .review-row strong { font-size: .7rem; }
  .review-row-detail, .review-row-label { font-size: .56rem; }
  .review-edit { font-size: .64rem; }
  .review-panel > legend { font-size: 1.05rem; margin-bottom: 3px; }
  .review-panel .help-chip { margin-bottom: 4px; padding: 3px 8px; font-size: .7rem; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .contact-panel { --box-h: 42px; }
  .contact-panel > legend { font-size: 1rem; }
  .contact-panel .help-chip { font-size: .7rem; margin-bottom: 4px; }
  .contact-panel .consents { margin-top: 6px; }
}
@media (max-width: 800px) and (max-height: 560px) {
  .review-panel .help-chip { display: none; }
  .contact-panel { --box-h: 40px; }
  .contact-panel .field > span:first-child { font-size: .8rem; }
  .contact-panel .help-chip { font-size: .66rem; }
  .consent-checkbox, .consent-checkbox span { font-size: .6rem; }
  .form-actions { margin-top: 6px; }
}
.step-panel > legend .q-mark, .step-panel > legend span.q-mark { display: inline; }
.help-chip { display: flex; width: fit-content; max-width: 100%; }
.help-chip span { text-wrap: pretty; }


.bank-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bank-grid .bank-tile { flex: 0 0 auto; min-height: var(--bank-tile, 46px); padding: 0 16px; border-radius: var(--box-radius); font-size: .92rem; white-space: nowrap; }
@media (max-width: 370px) { .bank-grid { gap: 6px; } .bank-grid .bank-tile { padding: 0 13px; font-size: .86rem; } }
@media (max-width: 800px) and (max-height: 600px) { .bank-grid { gap: 6px; } .bank-grid .bank-tile { padding: 0 12px; font-size: .84rem; } }
.bank-grid { gap: 7px 6px; }
.bank-grid .bank-tile { padding: 0 12px; font-size: .86rem; }
@media (max-width: 800px) and (max-height: 700px) { .bank-grid { gap: 6px 5px; } .bank-grid .bank-tile { padding: 0 11px; font-size: .82rem; } }
@media (max-width: 370px) { .bank-grid .bank-tile { padding: 0 9px; font-size: .78rem; } }


.confirmation-result { padding: 16px 14px 14px; border: 2px solid var(--accent); border-radius: 14px; }
.confirmation-result > .result-lead { margin: 0 0 4px !important; color: var(--ink); font-size: 1.12rem; font-weight: 800; text-wrap: balance; }
.result-path li { background: #fff; }
.result-path li:first-child { border-color: var(--accent); }
.result-path li:first-child .path-icon { background: var(--accent); }
.result-path li:first-child .path-icon svg .fill { fill: #fff; }
.result-path .path-final { border-color: var(--accent); background: var(--accent-soft); }
.result-path .path-final .path-icon { background: var(--accent); }
.result-path .path-final .path-icon svg { stroke: #fff; }
.result-path .path-final strong { color: var(--accent-dark); font-size: 1rem; }
@media (max-width: 800px) and (max-height: 700px) { .confirmation-result { padding: 12px 12px 10px; } .confirmation-result > .result-lead { font-size: 1.02rem; } }
body[data-step="result"] #step-root { align-content: start; padding-top: 16px; }


.contact-panel:has(.field-error-inline) .help-chip { display: none; }
@media (max-width: 380px) { .contact-panel .help-chip { font-size: .76rem; line-height: 1.25; } .contact-panel .contact-grid { gap: 6px; } }

body[data-step="result"] #step-root { padding-top: 10px; padding-bottom: 6px; }
.result-legal { margin-top: 8px; }
@media (max-width: 380px) and (max-height: 700px) { .contact-panel .consents { margin-top: 6px; } .contact-panel > legend { margin-bottom: 6px; } }
@media (max-width: 370px) and (max-height: 600px) { .contact-panel .consents { margin-top: 4px; } }


.multi-loan { --box-h: 44px; }
.multi-loan .field-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.multi-loan .field-grid-3 > .field:first-child, .multi-loan .field-date, .multi-loan .field-grid-3 > .field:has(.duration-entry) { grid-column: 1 / -1; }
.multi-loan .field { gap: 3px; }
.multi-loan .field > span:first-child { min-height: 0; font-size: .82rem; }
.multi-loan .field input:not([type="radio"]):not([type="checkbox"]), .multi-loan .field select, .multi-loan .input-affix { font-size: .95rem; }
.multi-loan .loan-card + .loan-card { margin-top: 8px; padding-top: 8px; }
.multi-loan .subsection-heading { margin-bottom: 4px; }
.multi-loan .subsection-heading strong { font-size: .9rem; }
.multi-loan .optional-month small { display: none; }
.multi-loan .help-chip { margin-bottom: 6px; padding: 3px 9px; font-size: .78rem; }
.multi-loan > legend { margin-bottom: 6px; }
.multi-loan .add-button { margin-top: 4px; padding: 2px 0; font-size: .82rem; }

.multi-loan .help-chip { display: none; }
.multi-loan .field-date, .multi-loan .field-grid-3 > .field:has(.duration-entry) { grid-column: auto; }
.multi-loan .optional-month { display: none; }
.multi-loan .date-pair { grid-template-columns: 1fr; }
.multi-loan .duration-entry { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 5px; }
.multi-loan .duration-unit-options { gap: 4px; }
.multi-loan .duration-unit-choice { font-size: .82rem !important; padding: 0 2px !important; }
.multi-loan .loan-card + .loan-card .field > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.multi-loan .loan-card + .loan-card { margin-top: 6px; padding-top: 6px; }
@media (max-width: 800px) and (max-height: 640px) {
  .multi-loan { --box-h: 40px; }
  .multi-loan > legend { font-size: 1.05rem; margin-bottom: 4px; }
  .multi-loan .field > span:first-child { font-size: .76rem; }
  .multi-loan .field-grid-3 { gap: 4px 8px; }
  .multi-loan .subsection-heading { margin-bottom: 2px; }
  .multi-loan .subsection-heading strong { font-size: .82rem; }
  .multi-loan .loan-card + .loan-card { margin-top: 4px; padding-top: 4px; }
}
@media (max-width: 800px) and (max-height: 580px) { .multi-loan { --box-h: 36px; } .multi-loan .add-button { font-size: .76rem; } }
.multi-loan .field-grid-3 { align-items: end; }
.multi-loan .field-grid-3 > .field:has(.calculated) { grid-column: 1 / -1; }
.multi-loan .field > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


.site-header { justify-content: space-between; gap: 10px; }
.header-tp { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--ink); text-decoration: none; }
.tp-cubes { display: inline-flex; gap: 2px; }
.tp-cubes i { position: relative; display: block; width: 17px; height: 17px; background: #118845; }
.tp-cubes i::after { position: absolute; inset: 2px; background: #fff; content: ""; clip-path: polygon(50% 6%, 62% 38%, 96% 38%, 68% 58%, 79% 92%, 50% 71%, 21% 92%, 32% 58%, 4% 38%, 38% 38%); }
.tp-cubes i.tp-part { background: linear-gradient(90deg, #118845 70%, #dcdce6 70%); }
.header-tp small { color: #5d5d5d; font-size: .62rem; font-weight: 700; line-height: 1; }
@media (max-width: 370px) { .tp-cubes i { width: 15px; height: 15px; } }


.quiz-progress { display: flex; align-items: center; gap: 10px; padding: 9px 16px !important; }
.quiz-progress-track { flex: 1 1 auto; order: 1; }
.quiz-progress-copy { order: 2; flex: 0 0 auto; height: auto !important; margin: 0 !important; }
.quiz-progress-copy strong { position: static !important; transform: none !important; display: block; min-width: 3.2em; font-size: .8rem; text-align: right; }


@media (max-width: 800px) and (max-height: 700px) {
  .review-row-copy { display: grid; }
  .review-row-label { display: block; margin-right: 0; }
  .review-row strong { display: block; }
  .review-row strong { font-size: .84rem; }
  .review-row-detail, .review-row-label { font-size: .64rem; }
}
.review-panel .review-row { padding: var(--review-pad, 6px) 12px; }
.review-row strong { font-size: .86rem; }
.review-row-label { font-size: .64rem; }
.review-row-detail { font-size: .7rem; }

@media (max-width: 800px) and (min-height: 641px) and (max-height: 700px) {
  :root { --box-h: 56px; }
  .step-panel > legend { font-size: 1.3rem; }
  .identity-grid, .contact-grid, .field-grid { gap: 14px; }
  .contact-panel .contact-grid { gap: 10px; }
  .contact-panel .help-chip { font-size: .86rem; padding: 6px 11px; margin-bottom: 12px; }
  .consent-checkbox, .consent-checkbox span { font-size: .72rem; line-height: 1.38; }
  .contact-panel .consents { margin-top: 14px; }
}


.review-row-copy, .review-row-copy[class] { display: grid !important; grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: baseline; }
.review-row-label { grid-column: 1; grid-row: 1 / span 2; display: block !important; margin: 0 !important; line-height: 1.25; }
.review-row strong { grid-column: 2; display: block !important; }
.review-row-detail { grid-column: 2; display: block !important; }
@media (max-width: 370px) { .review-row-copy, .review-row-copy[class] { grid-template-columns: 80px minmax(0, 1fr); } }

@media (max-width: 800px) and (min-height: 641px) and (max-height: 700px) {
  .contact-panel { --box-h: 50px; }
  .contact-panel .contact-grid { gap: 6px; }
  .contact-panel .help-chip { font-size: .8rem; padding: 5px 10px; margin-bottom: 8px; }
  .contact-panel .consents { margin-top: 10px; }
  .consent-checkbox, .consent-checkbox span { font-size: .68rem; line-height: 1.35; }
}
@media (max-width: 800px) and (max-height: 640px) { .review-row strong { font-size: .78rem; } .review-row-detail, .review-row-label { font-size: .6rem; } .review-panel .help-chip { display: none; } }
@media (max-width: 800px) and (max-height: 700px) { .review-row strong { font-size: .8rem; } .review-row-detail { font-size: .64rem; } .review-panel > legend { margin-bottom: 6px; } .review-panel .help-chip { margin-bottom: 8px; } }
@media (max-width: 370px) { .review-row strong { font-size: .78rem; } .review-row-detail, .review-row-label { font-size: .6rem; } .review-row-copy, .review-row-copy[class] { grid-template-columns: 74px minmax(0, 1fr); column-gap: 8px; } }

.result-path { gap: 10px; }
.result-path li + li::before { top: -12px; left: 30px; width: 2px; height: 10px; }
.review-row-label { overflow-wrap: anywhere; hyphens: auto; }
.consent-note { margin: 0 0 0 32px; color: #717171; font-size: .64rem; line-height: 1.3; }
.consent-note a { color: inherit; text-underline-offset: 2px; }
.help-chip strong { font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.consents { gap: 2px; }
.consent-note { margin-top: -2px; font-size: .6rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .contact-panel .consents { margin-top: 6px; }
  .contact-panel .help-chip { margin-bottom: 6px; line-height: 1.25; }
  .contact-panel .contact-grid { gap: 4px; }
  .contact-panel .field > span:first-child { min-height: 0; }
}
@media (max-width: 800px) and (max-height: 600px) { .contact-panel { --box-h: 40px; } .consent-checkbox, .consent-checkbox span { font-size: .6rem; } }
.consents { gap: 2px; }
.consent-note { margin-top: -2px; font-size: .6rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .contact-panel .consents { margin-top: 6px; }
  .contact-panel .help-chip { margin-bottom: 6px; line-height: 1.25; }
  .contact-panel .contact-grid { gap: 4px; }
  .contact-panel .field > span:first-child { min-height: 0; }
}
@media (max-width: 800px) and (max-height: 600px) { .contact-panel { --box-h: 40px; } .consent-checkbox, .consent-checkbox span { font-size: .6rem; } }
.consents { gap: 2px; }
.consent-note { margin-top: -2px; font-size: .6rem; }
@media (max-width: 800px) and (max-height: 700px) {
  .contact-panel .consents { margin-top: 6px; }
  .contact-panel .help-chip { margin-bottom: 6px; line-height: 1.25; }
  .contact-panel .contact-grid { gap: 4px; }
  .contact-panel .field > span:first-child { min-height: 0; }
}
@media (max-width: 800px) and (max-height: 600px) { .contact-panel { --box-h: 40px; } .consent-checkbox, .consent-checkbox span { font-size: .6rem; } }
@media (max-width: 800px) and (max-height: 600px) { .contact-panel .help-chip { display: none; } }


.site-footer { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; text-align: center; }
.site-footer nav { display: inline-flex; gap: 14px; }

.review-row-copy, .review-row-copy[class] { grid-template-columns: 106px minmax(0, 1fr); }
.review-row-label { hyphens: none; overflow-wrap: normal; }
@media (max-width: 370px) { .review-row-copy, .review-row-copy[class] { grid-template-columns: 98px minmax(0, 1fr); } .review-row-label { font-size: .56rem; } }

.bank-grid .bank-tile { padding: 0 14px; font-size: .92rem; }
@media (max-width: 370px) { .bank-grid .bank-tile { padding: 0 10px; font-size: .84rem; } }


.legal-page { font-family: "Montserrat", Arial, sans-serif; }
.legal-content { color: #262626; line-height: 1.55; }
.legal-content h1 { font-size: 1.7rem; font-weight: 800; }
.legal-content h2 { font-size: 1.1rem; font-weight: 800; }
.legal-content p, .legal-content li { font-size: .92rem; }
.legal-content a { color: var(--accent-dark); }

.site-footer { padding-bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px)); }


.dr.s {
  --ink: #111;
  --green: #118845;
  --font: Arial, Helvetica, sans-serif;
  --xl: clamp(25px, min(8.2vw, 5.2svh), 38px);
  --l: clamp(18px, min(5.9vw, 3.75svh), 26px);
  --m: clamp(15px, min(4.7vw, 3svh), 20px);
  --gap: clamp(10px, 2.3svh, 22px);
}
.dr.s, .dr.s p, .dr.s li, .dr.s span, .dr.s strong, .dr.s em, .dr.s b, .dr.s button, .dr.s h1, .dr.s h2, .dr.s summary, .dr.s a { font-family: var(--font); color: var(--ink); letter-spacing: 0; }
.dr.s .landing-panel { padding: 0 20px 32px; }
.dr.s sup { font-size: max(9px, .45em); font-weight: 700; vertical-align: super; line-height: 0; color: inherit; }

.dr.s .s-fold { display: flex; flex-direction: column; gap: var(--gap); min-height: 0; padding: var(--gap) 0 0; }
.dr.s .s-fold > * { margin: 0 !important; }
.dr.s .s-fold p, .dr.s .s-fold h1, .dr.s .s-fold h2 { margin: 0; }
.dr.s .s-lead { display: grid; gap: calc(var(--gap) * .45); }


.dr.s .landing-panel h1.s-title { display: block; margin: 0; font-size: var(--xl) !important; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.dr.s .landing-panel h1.s-title span { display: inline; color: var(--green); font-size: inherit; font-weight: inherit; }
.dr.s .landing-panel h1.s-title sup { color: var(--green); }

.dr.s .s-fact { font-size: var(--l); font-weight: 700; line-height: 1.25; text-wrap: pretty; }
.dr.s .s-fix { font-size: var(--l); font-weight: 400; line-height: 1.25; text-wrap: pretty; }
.dr.s .s-fix .s-em { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.dr.s .landing-question { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.dr.s .landing-question h2 { font-size: var(--l); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.dr.s .landing-start { min-height: clamp(52px, 9svh, 64px); margin-top: calc(var(--gap) * .7); border: 0; border-radius: 6px; background: var(--green); box-shadow: none; animation: none; font-size: var(--m); font-weight: 700; }
.dr.s .landing-start span { color: #fff; font-size: var(--m); font-weight: 700; }
.dr.s .s-oks { margin-top: calc(var(--gap) * -.45) !important; font-size: var(--m); font-weight: 400; text-align: center; }


.dr.s .s-steps { display: grid; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.dr.s .s-steps li { display: grid; grid-template-columns: 1.1em minmax(0, 1fr); column-gap: .4em; align-items: start; font-size: var(--l); }
.dr.s .s-steps b { font-size: 1.45em; font-weight: 700; line-height: .95; color: var(--green); text-align: left; }
.dr.s .s-steps strong { display: block; font-size: var(--l); font-weight: 700; line-height: 1.2; }
.dr.s .s-steps em { display: block; margin-top: 3px; font-size: var(--m); font-style: normal; font-weight: 400; line-height: 1.3; text-wrap: pretty; }


.dr.s .dr-faq { margin-top: 36px; }
.dr.s .dr-faq summary { padding: 16px 2px; font-size: var(--m); font-weight: 700; }
.dr.s .dr-faq summary::after { background: var(--green); color: #fff; font-family: var(--font); }
.dr.s .dr-faq-body ul { color: var(--ink); font-size: var(--m); font-weight: 400; line-height: 1.4; }
.dr.s .dr-faq-body li, .dr.s .dr-faq-body a, .dr.s .dr-faq-body span { font-size: inherit; }
.dr.s .dr-repeat { width: 100%; margin-top: 24px; }
.dr.s .dr-notes p, .dr.s .dr-notes p * { color: #444; font-size: 12px; font-weight: 400; }
.dr.s .dr-notes p sup { font-size: 9px; }

@media (min-width: 801px) { .dr.s .s-fold { padding-top: 36px; } }


.dr.s .s-steps .nw { white-space: nowrap; }


.dr.s .dr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dr.s .dr-faq summary::after, .dr.s .dr-faq details[open] summary::after { content: "" !important; flex: 0 0 auto; display: block; box-sizing: border-box; width: 11px; height: 11px; margin: 0 6px 0 0; padding: 0; border: solid var(--green); border-width: 0 2.5px 2.5px 0; border-radius: 1px; background: none !important; transform: translateY(-3px) rotate(45deg) !important; transition: transform .28s cubic-bezier(.22,.8,.3,1) !important; }
.dr.s .dr-faq details.is-open summary::after { transform: translateY(3px) rotate(225deg) !important; }


.dr.s .dr-repeat { margin: 28px 0 0 !important; }
.dr.s .dr-notes { margin-top: 28px !important; }


.dr.s .dr-faq-body p { margin: 0 0 10px; color: var(--ink); font-size: var(--m); line-height: 1.45; text-wrap: pretty; }
.dr.s .dr-faq-body p:last-child { margin-bottom: 0; padding-bottom: 18px; }

.dr.s .dr-faq-body strong, .dr.s .dr-faq-body strong + a { font-weight: 700; color: var(--ink); }


:root { --ink: #111; --muted: #444; --control-radius: 6px; --box-radius: 6px; --box-line: #bfbfbf; }
html body, html body *:not(svg):not(path) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: 0 !important; }

html body .dr.s .landing-panel h1.s-title, html body .dr.s .landing-panel h1.s-title * { letter-spacing: -.01em !important; }


.step-panel > legend { font-size: clamp(18px, min(5.9vw, 3.75svh), 26px); font-weight: 700; line-height: 1.2; color: var(--ink); }
.q-mark { padding: 0; background: none; }


.help-chip { padding: 0; border-radius: 0; color: var(--ink); background: none; font-weight: 400; }
.help-chip svg { fill: var(--accent); }


.field > span:first-child, .choice-field > legend { font-weight: 700; color: var(--ink); }


.next-button { border-radius: 6px; box-shadow: none; font-weight: 700; }
.back-button { border-radius: 6px; }


.gain-band strong { font-weight: 700; }
.confirmation-saving { font-weight: 700; }
.site-header .brand span { font-weight: 700; }


.consent-note a { white-space: nowrap; }


:root { --t-l: clamp(18px, min(5.9vw, 3.75svh), 26px); --t-m: clamp(14px, min(4.4vw, 2.75svh), 18px); --t-s: clamp(12px, min(3.6vw, 2.2svh), 14px); }


.step-panel .help-chip { padding: 0 !important; margin-left: 0 !important; background: none !important; }
.help-chip strong { font-weight: 700; text-decoration: none; }


.review-list { border: 2px solid var(--box-line) !important; border-radius: var(--box-radius) !important; }
.review-row-label { color: var(--ink) !important; font-weight: 700 !important; text-transform: none !important; }
.review-row strong { font-weight: 700; }
.review-row-detail { color: #444 !important; }
.review-edit { color: var(--accent) !important; }


.contact-panel .consent-checkbox, .contact-panel .consent-checkbox span, .contact-panel .consent-note, .contact-panel .consent-note a { font-size: clamp(11px, min(3.05vw, 1.85svh), 12.5px) !important; line-height: 1.32 !important; color: var(--ink) !important; }
.contact-panel .consent-checkbox strong { font-weight: 700; text-decoration: none; }
.contact-panel .consent-note { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; text-indent: 0 !important; }
.contact-panel .consents { gap: 3px !important; }
.contact-panel .consent-note a { color: inherit; }


.calculation-loading { display: block !important; min-height: 0 !important; padding-top: 24px; text-align: left !important; }
.calculation-loading h2 { margin: 0 0 22px !important; font-size: var(--t-l) !important; font-weight: 700 !important; line-height: 1.2; text-align: left !important; justify-self: start !important; }
.calculation-steps { width: 100% !important; gap: 16px !important; }
.calculation-steps li { font-size: var(--t-m) !important; }
.calculation-found { display: block !important; width: 100% !important; justify-self: start !important; margin: 26px 0 0 !important; padding: 0 !important; background: none !important; border-radius: 0 !important; font-size: var(--t-m) !important; font-weight: 700 !important; text-align: left !important; }
.calculation-found strong { color: var(--accent); }


.result-simple { padding: 20px 0 16px !important; }
.result-simple .result-head { margin-bottom: 22px; }
.result-simple .result-lead { text-wrap: balance !important; margin: 0 !important; font-size: var(--t-l) !important; font-weight: 700 !important; line-height: 1.2; color: var(--ink); }
.result-simple .confirmation-saving { margin: 6px 0 4px !important; padding: 0 !important; color: var(--accent) !important; font-size: clamp(40px, min(13vw, 8svh), 58px) !important; font-weight: 700 !important; line-height: 1.05; text-align: left !important; }
.result-simple .confirmation-saving sup { color: var(--ink); font-size: .32em; }
.result-simple .confirmation-sub { font-weight: 400 !important; margin: 0 !important; font-size: var(--t-m) !important; line-height: 1.35; text-align: left !important; color: var(--ink); }
.result-simple .confirmation-sub strong { color: var(--accent); }
.result-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.result-steps li { display: grid; grid-template-columns: 1.1em minmax(0, 1fr); column-gap: .45em; align-items: start; font-size: var(--t-m); }
.result-steps b { font-size: 1.7em; font-weight: 700; line-height: .95; color: var(--accent); }
.result-steps strong { display: block; font-size: var(--t-m); font-weight: 700; line-height: 1.25; color: var(--ink); }
.result-steps em { display: block; margin-top: 3px; font-size: var(--t-s); font-style: normal; line-height: 1.35; color: #333; }
.result-steps a { color: inherit; }
.result-steps .dr-tp { white-space: nowrap; }
.result-steps .dr-tp img { vertical-align: -1px; }
.result-simple .result-legal { margin-top: 18px !important; font-size: 12px !important; color: #444 !important; }


.field-note { display: block; margin-top: 4px; color: #444; font-size: clamp(11px, min(3.2vw, 1.9svh), 13px); line-height: 1.3; }


.contact-panel .contact-grid { gap: var(--contact-gap, clamp(8px, 2.2svh, 20px)) !important; }
.contact-panel .consents { margin-top: var(--contact-gap, clamp(10px, 2.2svh, 20px)) !important; }
.contact-panel .consent-checkbox { padding-top: 0 !important; padding-bottom: 0 !important; }


.form-secure { margin-top: 3px !important; }
body.quiz-active .site-footer { padding-bottom: max(3px, env(safe-area-inset-bottom)) !important; }


.legal-content { color: var(--ink) !important; line-height: 1.5 !important; }
.legal-content h1 { font-size: var(--t-l) !important; font-weight: 700 !important; margin: 18px 0 8px !important; }
.legal-content h2 { font-size: var(--t-m) !important; font-weight: 700 !important; margin: 24px 0 6px !important; }
.legal-content p, .legal-content li { font-size: 15px !important; }
.legal-content a { color: var(--accent) !important; }
.legal-content a.back-button, .legal-sheet .back-button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; color: var(--ink) !important; text-decoration: none; font-size: var(--t-m); font-weight: 700; }
.legal-back-row { margin: 0 0 4px !important; }
.legal-sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; padding-bottom: env(safe-area-inset-bottom); }
.legal-sheet[hidden] { display: none; }
.legal-sheet .legal-content { padding: 0 0 8px !important; }
.legal-sheet-bar { width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: 16px 0 0; }
.legal-sheet-end { padding: 8px 0 28px; }
html.legal-open, html.legal-open body { overflow: hidden; }


.result-simple .result-head { margin: 4px 0 clamp(18px, 4svh, 34px) !important; padding: clamp(14px, 3svh, 24px) 12px; border-radius: 6px; background: #e7f3ec; text-align: center; }
.result-simple .result-lead, .result-simple .confirmation-saving, .result-simple .confirmation-sub { text-align: center !important; }
.result-simple .confirmation-saving { margin: 6px 0 6px !important; font-size: clamp(46px, min(16vw, 9.5svh), 72px) !important; }
.result-simple .result-steps { gap: clamp(14px, 2.8svh, 22px); }

.result-simple { padding-top: clamp(6px, 1.6svh, 20px) !important; padding-bottom: 6px !important; }
.result-simple .result-head { padding: clamp(8px, 1.8svh, 22px) 12px !important; margin-bottom: clamp(10px, 2.4svh, 30px) !important; }
.result-simple .result-lead { font-size: clamp(17px, min(5.9vw, 3.4svh), 26px) !important; }
.result-simple .confirmation-saving { font-size: clamp(38px, min(16vw, 8.2svh), 72px) !important; margin: 2px 0 4px !important; }
.result-simple .confirmation-sub { font-size: clamp(13px, min(4.4vw, 2.5svh), 18px) !important; }
.result-simple .result-steps { gap: clamp(8px, 1.8svh, 20px) !important; }
.result-steps li { font-size: clamp(13px, min(4.4vw, 2.55svh), 18px) !important; }
.result-steps strong { font-size: inherit !important; }
.result-steps em { font-size: clamp(12px, min(3.6vw, 2.1svh), 14px) !important; }
.result-steps b { font-size: 1.5em !important; }
.result-simple .result-legal { margin-top: clamp(8px, 1.6svh, 18px) !important; font-size: 11px !important; line-height: 1.3 !important; }


@media (max-width: 800px) and (max-height: 600px) { .contact-panel:not(:has(.field-error-inline)) .help-chip { display: block !important; font-size: 12.5px !important; line-height: 1.3 !important; } }
@media (max-width: 800px) and (max-height: 580px) { .contact-panel .help-chip { font-size: 12px !important; line-height: 1.25 !important; margin-bottom: 6px !important; } .contact-panel .field > span:first-child { font-size: 13px !important; } .contact-panel > legend { margin-bottom: 4px !important; } }


.result-simple { padding-top: 0 !important; }
.result-simple .result-main { display: flex; flex-direction: column; justify-content: space-evenly; gap: clamp(10px, 2.4svh, 26px); padding: clamp(8px, 1.6svh, 18px) 0; box-sizing: border-box; }
.result-simple .result-head { margin: 0 !important; padding: clamp(10px, 2.4svh, 26px) 12px !important; }
.result-simple .result-lead { font-size: clamp(18px, min(6.2vw, 3.7svh), 28px) !important; }
.result-simple .confirmation-saving { font-size: clamp(44px, min(17vw, 9.8svh), 84px) !important; margin: clamp(2px, .8svh, 8px) 0 !important; }
.result-simple .confirmation-sub { font-size: clamp(14px, min(4.6vw, 2.8svh), 20px) !important; }
.result-simple .result-steps { gap: clamp(10px, 2.6svh, 28px) !important; }
.result-steps li { font-size: clamp(15px, min(4.9vw, 2.95svh), 21px) !important; }
.result-steps em { font-size: clamp(13px, min(3.95vw, 2.4svh), 16px) !important; }
.result-simple .result-legal { margin-top: 14px !important; }
@media (max-width: 800px) and (max-height: 580px) { .contact-panel .consents { margin-top: 6px !important; } .contact-panel .help-chip { line-height: 1.2 !important; } .contact-panel .consent-checkbox, .contact-panel .consent-checkbox span, .contact-panel .consent-note, .contact-panel .consent-note a { font-size: 11px !important; line-height: 1.25 !important; } }
@media (max-width: 800px) and (max-height: 600px) { body[data-step="contact-details"] #step-root { padding-bottom: 8px !important; } }
.result-steps .nw { white-space: nowrap; }


.visible-choice-list .visible-choice:not(.has-icon) { justify-content: flex-start; min-height: clamp(50px, 10svh, 84px); padding: 12px 52px 12px 20px; text-align: left; }
.visible-choice-list .visible-choice:not(.has-icon)::before { right: 18px; left: auto; }


@media (min-width: 600px) {
  :root { --col: 560px; }
  .funnel { width: 100% !important; border: 0 !important; }
  .site-header { padding-left: max(20px, calc((100% - var(--col)) / 2)) !important; padding-right: max(20px, calc((100% - var(--col)) / 2)) !important; }
  .quiz-progress, .gain-band, .form-secure { width: 100% !important; max-width: var(--col) !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; padding-left: 0 !important; padding-right: 0 !important; }
  .gain-band { padding-left: 12px !important; padding-right: 12px !important; border-radius: 0 0 6px 6px; }
  #magnolia-replica { width: 100% !important; max-width: var(--col) !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box; }
  #step-root, [data-actions] { max-width: var(--col) !important; width: 100% !important; }
  .dr.s .landing-panel { padding-left: 0 !important; padding-right: 0 !important; }
  .dr.s .landing-panel > * { max-width: var(--col) !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
  .legal-content, .legal-sheet-bar { width: min(var(--col), calc(100% - 40px)) !important; }
  #magnolia-replica { min-height: 0 !important; }
}


@media (min-width: 801px) and (max-height: 760px) {
  :root { --box-h: 46px; }
  #step-root { padding-top: 14px !important; padding-bottom: 8px !important; }
  .step-panel > legend { margin-bottom: 10px !important; }
  .identity-grid, .field-grid { gap: 10px !important; }
  .quiz-progress { padding-top: 6px !important; padding-bottom: 6px !important; }
  .gain-band { padding-top: 6px !important; padding-bottom: 6px !important; }
}
@media (min-width: 801px) and (max-height: 640px) {
  :root { --box-h: 40px; }
  .identity-grid, .field-grid { gap: 6px !important; }
  .field > span:first-child, .choice-field > legend { font-size: 13px !important; }
  .step-panel > legend { margin-bottom: 6px !important; }
  body:not([data-step="project"]):not([data-step="borrower-count"]) .gain-band { display: none !important; }
  .review-panel .help-chip { display: none !important; }
  .review-row strong { font-size: 13.5px !important; line-height: 1.2 !important; }
  .review-row-detail, .review-row-label { font-size: 12px !important; }
}


@media (min-width: 600px) and (min-height: 761px) {
  .review-row-label { font-size: 13px !important; }
  .review-row strong { font-size: 16px !important; }
  .review-row-detail { font-size: 13px !important; }
  .review-edit { font-size: 14px !important; }
}
@media (min-width: 600px) {
  .result-simple .result-main { justify-content: center !important; gap: clamp(24px, 5svh, 44px) !important; }
}


.result-diy-lead { margin: 0 0 clamp(10px, 2.2svh, 22px) !important; font-size: clamp(13px, min(3.95vw, 2.4svh), 16px); font-weight: 400; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.result-diy-lead .nw { white-space: nowrap; }


.contact-panel .help-chip { display: block !important; width: 100% !important; max-width: none !important; text-align: center; text-wrap: balance; }
.contact-panel .help-chip svg { display: inline-block; width: 1.05em; height: 1.05em; margin: 0 .3em 0 0; vertical-align: -.15em; }
.contact-panel .help-chip span { display: inline; }

@media (max-width: 800px) and (max-height: 739px) { body[data-step="contact-details"] #step-root { padding-top: 10px !important; padding-bottom: 4px !important; } }


@supports (-webkit-touch-callout: none) {
  body:not(.quiz-active) .site-footer, body[data-step="result"] .site-footer { padding-bottom: calc(env(safe-area-inset-bottom) + 96px) !important; }
  .legal-sheet-end { padding-bottom: calc(env(safe-area-inset-bottom) + 96px) !important; }
}
@media (max-width: 800px) and (max-height: 600px) { .contact-panel:has(.field-error-inline) .help-chip { display: none !important; } }
.consent-note .nw { white-space: nowrap; }




:root { --aura: 0 0 0 3px rgba(17, 136, 69, .22); --aura-error: 0 0 0 3px rgba(166, 55, 55, .18); --ui-speed: .18s; }
.visible-choice, .bank-tile, .duration-unit-choice, .input-affix, .native-select,
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field-date select, .birth-date input {
  outline: 0 !important;
  transition: border-color var(--ui-speed) ease-out, background-color var(--ui-speed) ease-out, box-shadow var(--ui-speed) ease-out, color var(--ui-speed) ease-out !important;
}
.visible-choice:has(input:checked), .bank-tile:has(input:checked), .duration-unit-choice:has(input:checked),
.visible-choice:has(input:focus-visible), .bank-tile:has(input:focus-visible), .duration-unit-choice:has(input:focus-visible),
.input-affix:focus-within, .native-select:focus, .field input:not([type="radio"]):not([type="checkbox"]):focus,
.field select:focus, .field-date select:focus, .birth-date input:focus { border-color: var(--accent) !important; box-shadow: var(--aura) !important; }
[aria-invalid="true"], .field.has-error .input-affix { border-color: var(--danger) !important; box-shadow: var(--aura-error) !important; outline: 0 !important; }
.input-affix input:focus, .input-affix input[aria-invalid="true"] { box-shadow: none !important; }


.quiz-progress-track span { width: 100% !important; clip-path: inset(0 calc(100% - var(--fill, 0) * 1%) 0 0 round 999px); transition: clip-path .32s cubic-bezier(.25, .8, .3, 1) !important; }


#step-root { transition: opacity .15s ease-out, transform .17s ease-out !important; }


#step-root .contact-panel .help-chip { display: block !important; width: 100% !important; max-width: none !important; margin-left: 0 !important; padding: 0 !important; text-align: left !important; font-size: clamp(13.5px, min(4.3vw, 2.55svh), 17px) !important; line-height: 1.35 !important; text-wrap: pretty; color: var(--ink) !important; background: none !important; }
#step-root .contact-panel .help-chip span { display: inline; font-size: inherit !important; }
#step-root .contact-panel .help-chip svg { display: inline-block; width: 1.3em; height: 1.3em; margin: 0 .3em 0 0; vertical-align: -.3em; fill: var(--accent); }
#step-root .contact-panel:has(.field-error-inline) .help-chip { display: none !important; }


#step-root .review-edit { flex: 0 0 auto; display: grid; place-items: center; width: clamp(22px, 4.3svh, 28px); height: clamp(22px, 4.3svh, 28px); min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 6px; color: #444 !important; background: #f0f0f0 !important; text-decoration: none !important; transition: background-color var(--ui-speed) ease-out; }
#step-root .review-edit svg { width: clamp(12px, 2.15svh, 14px); height: clamp(12px, 2.15svh, 14px); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#step-root .review-edit:active { background: #e5e5e5 !important; }


@supports (-webkit-touch-callout: none) { html:has(body[data-step="result"]) { overscroll-behavior-y: none; } }


.step-panel .field > span:first-child::after, .step-panel .choice-field > legend:not(.ends-question)::after { content: "\00a0:"; }


#step-root .review-row { align-items: center !important; }
#step-root .review-row-copy, #step-root .review-row-copy[class] { align-items: center !important; }
#step-root .review-row-label { grid-column: 1; grid-row: 1; align-self: center; }
#step-root .review-row-copy:has(.review-row-detail) .review-row-label { grid-row: 1 / span 2; }
#step-root .review-row-copy > strong, #step-root .review-row-copy > .review-row-detail { grid-column: 2; }


#step-root .contact-panel .help-chip strong { padding: 0; background: none; color: var(--accent); text-decoration: none; }


#step-root .contact-panel .consent-checkbox, #step-root .contact-panel .consent-checkbox span, #step-root .contact-panel .consent-note, #step-root .contact-panel .consent-note a, #step-root .contact-panel .consent-note span { font-size: clamp(10px, min(2.8vw, 1.7svh), 11.5px) !important; line-height: 1.32 !important; }
#step-root .contact-panel .consent-checkbox input { width: 20px !important; height: 20px !important; flex-basis: 20px !important; }


#step-root .input-affix input, #step-root .input-affix input:focus, #step-root .input-affix input[aria-invalid="true"] { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; }


#step-root .consents.has-error .consent-checkbox { border: 0 !important; background: none !important; box-shadow: none !important; }
#step-root .consents .field-error-inline { display: block; max-width: none !important; margin: 4px 0 0 !important; padding-left: 32px; text-wrap: wrap !important; font-size: clamp(11px, min(3vw, 1.8svh), 12.5px) !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--danger) !important; }


.field-error-inline, .field-error, .form-error, .field-note, .step-help, .estimate-note, .consent-checkbox span, .consent-note,
.result-legal, .result-diy-lead, .result-steps em, .confirmation-copy, .review-row-detail, .help-chip span, .info-bubble,
.optional-month small, .secure-copy { text-wrap: wrap !important; }


#step-root .choice-field.has-error .visible-choice, #step-root .field.has-error .duration-unit-choice { border-color: var(--danger) !important; background: #fff !important; }
#step-root .birth-date.has-error input:not([aria-invalid="true"]) { border-color: var(--box-line) !important; box-shadow: none !important; outline: 0 !important; }
#step-root .field-error, #step-root .field-error-inline, #step-root .form-error { font-size: .84rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--danger) !important; }
#step-root .consents .field-error-inline { font-size: clamp(11px, min(3vw, 1.8svh), 12.5px) !important; }


#step-root .visible-choice:has(input:checked), #step-root .bank-tile:has(input:checked), #step-root .duration-unit-choice:has(input:checked),
#step-root .visible-choice:active { background: #fff !important; }

#step-root .input-affix.calculated input { background: transparent !important; }
#step-root .input-affix.just-calculated input { animation: none !important; }
#step-root .input-affix.just-calculated { animation: calculated-pulse 2.2s ease-out !important; }


html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }


#step-root .consent-checkbox .consent-note { display: inline !important; margin: 0 !important; padding: 0 !important; }


.cookie-banner { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; background: rgba(17, 17, 17, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cookie-box { width: min(380px, 100%); padding: 22px 20px 20px; border-radius: 10px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, .18); font-family: Arial, Helvetica, sans-serif; }
.cookie-box h2 { margin: 0 0 8px; color: var(--ink, #111); font-size: 20px; font-weight: 700; line-height: 1.2; }
.cookie-box p { margin: 0 0 16px; color: var(--ink, #111); font-size: 15px; line-height: 1.4; text-wrap: wrap; }
.cookie-box a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions button { min-height: 48px; padding: 0 10px; border: 0; border-radius: 6px; color: #222; background: #ececec; font: 700 16px/1.1 Arial, Helvetica, sans-serif; cursor: pointer; }
.cookie-actions button:active { background: #dedede; }
html:has(body.cookie-banner-open) { overflow: hidden; }
