:root {
  color-scheme: light;
  --ink: #231c20;
  --muted: #665a61;
  --brand: #751f37;
  --dark: #391521;
  --cream: #f8f5f1;
  --line: #e6deda;
  font: 100%/1.55 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid #bd5272; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.65rem; }
.wordmark, h1, h2 { font-family: Georgia, serif; }
.wordmark { font-size: 1.32rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .55rem clamp(.9rem, 2.6vw, 2rem); }
nav a { font-size: .875rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 2.7rem; align-items: center; justify-content: center; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .35rem; background: var(--brand); color: white; font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { background: #5f182c; }
.button:disabled { background: #ece5e7; color: #655960; cursor: default; }
.button.light { background: #fff; color: var(--dark); }
.button.light:hover { background: #f3e4e8; }
.hero { background: var(--dark); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: clamp(2rem, 8vw, 7.75rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.eyebrow { color: #edc7d2; font-size: .875rem; font-weight: 700; }
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; margin-block: .9rem 1.1rem; }
.hero-copy > p:not(.eyebrow) { color: #f0dce4; }
.hero-copy > p:not(.eyebrow):not(.fee-line) { max-width: 35ch; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 1.4rem; font-size: .875rem; }
.fee-line { border-top: 1px solid #784857; padding-top: .8rem; margin-top: 1.6rem; font-size: .875rem; max-width: 28rem; }
.fee-line strong { color: white; }
.quote { background: #fff; color: var(--ink); border: 1px solid #fff; border-radius: .7rem; padding: clamp(1rem, 3vw, 1.75rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(1.8rem, 3.15vw, 2.55rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.quote h2 { font-size: 1.9rem; margin-bottom: 1rem; }
label, legend { font-size: .875rem; font-weight: 700; }
.money-field { display: flex; align-items: center; gap: .625rem; margin-top: .3rem; padding-inline: .7rem; border: 1px solid #bfb4ba; border-radius: .35rem; }
.money-field:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.money-field span { white-space: nowrap; color: var(--muted); }
.money-field input { font: inherit; border: 0; background: transparent; color: inherit; outline: 0; width: 100%; min-width: 0; padding-block: .6rem; }
.hint, .error { color: var(--muted); font-size: .8rem; margin-top: .3rem; }
.error { color: #9a2137; }
fieldset { padding: 0; border: 0; margin: .9rem 0 0; min-width: 0; }
legend { padding: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .35rem; }
.choices label { position: relative; }
.choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choices span { display: block; text-align: center; border: 1px solid #bfb4ba; border-radius: .35rem; padding: .55rem .2rem; cursor: pointer; }
.choices input:checked + span { border-color: var(--brand); color: var(--brand); background: #f9edf1; }
.choices input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.rate { margin-top: .55rem; }
.summary { font-variant-numeric: tabular-nums; padding: .75rem .85rem; margin-top: .85rem; background: var(--cream); border-radius: .4rem; }
.summary div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .15rem .7rem; font-size: .85rem; padding: .12rem 0; }
.summary dd { font-weight: 700; }
.summary .result { border-top: 1px solid var(--line); padding: .5rem 0 0; margin-top: .4rem; }
.result dt { font-weight: 650; }
.result dd { color: var(--brand); font-size: clamp(1.2rem, 3vw, 1.55rem); }
.quote-cta { width: 100%; margin-top: .9rem; }
.note { margin-top: .55rem; }
.info-section { padding-block: clamp(2rem, 5vw, 3.75rem); }
.three-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 2rem); margin-top: 1.2rem; }
.steps { padding-left: 1.3rem; margin-bottom: 0; }
.steps li { padding: .7rem .5rem 0 .25rem; border-top: 1px solid var(--line); }
.steps li::marker { color: var(--brand); font-weight: 700; }
.info-section h3 { font-size: 1rem; }
.info-section p { margin-top: .45rem; color: var(--muted); max-width: 58ch; font-size: .95rem; }
.benefits { background: var(--cream); }
.benefit-grid article { padding: .85rem 1rem; border-left: 2px solid #c295a4; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem clamp(1.75rem, 8vw, 6rem); align-items: center; }
.callout { padding: 1rem 1.15rem; background: var(--cream); border-left: 2px solid #c295a4; }
.help { background: var(--dark); color: white; }
.help p { color: #f0dce4; }
.help .button { justify-self: end; }
.site-footer { padding-block: 1.2rem; }
.site-footer > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; }
.site-footer p { font-size: .85rem; color: var(--muted); }
@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; gap: .65rem 1rem; padding-block: .65rem; }
  nav { order: 2; width: 100%; justify-content: flex-start; }
  .hero-grid { gap: 2rem; grid-template-columns: minmax(0, 1fr); }
  .quote { width: min(100%, 34rem); }
  .desktop-break { display: none; }
}
@media (max-width: 36rem) {
  .container { width: calc(100% - 2rem); }
  .three-column, .two-column { grid-template-columns: minmax(0, 1fr); }
  .help .button { justify-self: start; }
  .hero-actions { gap: .65rem; }
  nav { column-gap: .85rem; }
  nav a { font-size: .8rem; }
}
