:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, sans-serif;
  color: #1d2925;
  background: #f7f5ee;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 72rem; margin: auto; padding: 0 clamp(1rem, 5vw, 4rem); }
.hero { padding: clamp(2rem, 8vw, 6rem) 0 3rem; border-bottom: 1px solid #bfc6b9; }
.hero p:not(.wordmark) { max-width: 46ch; font-size: 1.15rem; }
.wordmark { font-size: .95rem; font-weight: 750; color: #315d4b; }
h1, h2, h3, p { margin: 0 0 .7rem; }
h1, h2 { font-family: Georgia, serif; letter-spacing: -.035em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { line-height: 1.25; }
.hero .button { margin-top: .7rem; }
#audit, .offer { padding: 2.25rem 0; }
.settings, .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.settings, .listings { margin: 1rem 0; }
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; align-items: stretch; }
fieldset, .result { min-width: 0; margin: 0; padding: .9rem; background: #fffefa; border: 1px solid #bfc6b9; border-radius: .85rem; }
legend { font-weight: 750; padding: 0 .35rem; }
label { display: grid; gap: .2rem; font-weight: 600; font-size: .9rem; }
fieldset label + label { margin-top: .6rem; }
input, select { width: 100%; min-height: 2.75rem; font: inherit; padding: .35rem .55rem; border: 1px solid #7f8b81; border-radius: .45rem; color: inherit; background: white; }
.button { display: inline-block; min-height: 2.75rem; padding: .6rem .9rem; font: inherit; font-weight: 700; border-radius: .5rem; border: 1px solid #245241; text-decoration: none; cursor: pointer; }
.primary, [aria-pressed="true"] { color: #fff; background: #245241; }
.secondary:not([aria-pressed="true"]) { color: #245241; background: #fffefa; }
:focus-visible { outline: 3px solid #a94c1f; outline-offset: 3px; }
#results { margin-top: 2rem; }
.result dl { margin: 0; }
.result dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .5rem; padding: .35rem 0; border-bottom: 1px solid #dce2d6; }
.result dd { margin: 0; font-weight: 750; }
.loss { color: #9b3024; }
.note, footer { color: #455149; font-size: .9rem; }
.offer { padding: clamp(1rem, 4vw, 2.25rem); background: #e8efe2; border-radius: 1rem; }
.survey-checkbox { display: flex; align-items: center; gap: .5rem; margin: .5rem 0; min-height: 2.75rem; }
.survey-checkbox input { width: 1.1rem; height: 1.1rem; min-height: 0; flex: none; }
#response:not(:empty) { margin-top: .8rem; }
footer { padding: 1rem 0 2rem; }
@media (max-width: 47rem) { .listings { grid-template-columns: 1fr; } }
