:root {
    color-scheme: light;
    font-family: Aeonik, "Avenir Next", system-ui, sans-serif;
    color: #221e63;
    background: #f3f2f9;
    line-height: 1.55;
}
body { margin: 0; }
main { box-sizing: border-box; max-width: 46rem; margin: auto; padding: clamp(1.25rem, 4vw, 3rem); }
.wordmark { color: #221e63; font-size: 1.15rem; font-weight: 750; margin: 0 0 2rem; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 1rem; }
form { display: grid; gap: 1.5rem; margin-block-start: 2rem; }
fieldset { min-width: 0; border: 1px solid #d6d2ee; background: white; border-radius: 1rem; padding: 1.25rem; }
legend { font-size: 1.2rem; font-weight: 700; padding-inline: .35rem; }
.field + .field, .choice + .choice { margin-block-start: .85rem; }
.field label { font-weight: 600; }
.field select { background: white; }
.optional { color: #5b5b73; }
.field input, .field select { box-sizing: border-box; width: 100%; display: block; border: 1px solid #7b79b9; border-radius: .55rem; color: inherit; padding: .65rem .75rem; font: inherit; }
.choice { display: flex; align-items: flex-start; gap: .75rem; }
.choice input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: #221e63; }
.errorlist { color: #9e1932; padding-inline-start: 1.25rem; }
button { justify-self: start; background: #221e63; color: white; border: 0; border-radius: 2rem; padding: .75rem 1.4rem; font: inherit; font-weight: 700; cursor: pointer; }
:focus-visible { outline: 3px solid #7759fe; outline-offset: 3px; }

.replacement-details { display: none; }
.replacement-option:has(input:checked) + .replacement-details { display: block; }
