:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172f2a; background: #f7f5ee; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
.top { background: #16362d; color: #fffaf0; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.15rem; }
.brand { font-weight: 750; text-decoration: none; }
.intro { padding-block: clamp(2rem, 6vw, 4rem); border-bottom: 1px solid #d5d9cd; }
.preview { color: #87392e; font-weight: 650; }
h1, h2, legend { font-family: Georgia, serif; }
h1 { margin: .6rem 0 1rem; font-size: clamp(2.7rem, 8vw, 5.7rem); line-height: .96; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 39rem; line-height: 1.6; margin-bottom: 0; }
.offers { border: 0; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; min-width: 0; }
legend, h2 { font-size: 1.8rem; font-weight: 700; }
legend { padding: 0; margin-bottom: .8rem; }
.offer { display: grid; align-content: start; gap: .45rem; border: 1px solid #bec9bb; background: #fffdf6; border-radius: .6rem; padding: 1rem; }
label.offer { cursor: pointer; }
.offer:has(input:checked) { border-color: #235d46; box-shadow: inset 0 0 0 1px #235d46; background: #e7efe4; }
.offer input { justify-self: start; margin: .15rem 0; }
.offer strong { font-size: 1.2rem; }
.offer b { font-size: 1.25rem; }
.offer.unavailable { background: #edece3; }
.form-panel { padding: clamp(1rem, 4vw, 2rem); background: #fffdf6; border: 1px solid #d5d9cd; border-radius: .6rem; }
h2 { margin: 0; }
.form-panel p { line-height: 1.5; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fields label { display: block; font-weight: 650; }
.fields label span { font-size: .9rem; font-weight: normal; }
.fields .wide { grid-column: 1 / -1; }
.fields input, textarea { display: block; width: 100%; margin-top: .4rem; border: 1px solid #aeb9af; border-radius: .35rem; background: white; padding: .65rem; font: inherit; font-weight: normal; color: inherit; }
textarea { resize: vertical; }
input[type=radio], input[type=checkbox] { accent-color: #235d46; width: 1.2rem; height: 1.2rem; }
.agreement { display: flex; align-items: flex-start; gap: .6rem; margin-block: 1.3rem; }
.agreement input { flex-shrink: 0; margin: .1rem 0 0; }
button { border: 0; border-radius: .4rem; background: #163e31; color: white; font: inherit; font-weight: 700; padding: .75rem 1rem; cursor: pointer; }
:focus-visible { outline: 3px solid #9a462c; outline-offset: 3px; }
#status { margin-bottom: 0; }
.documents { margin-block: 2rem; }
details { border-bottom: 1px solid #d5d9cd; padding-block: .8rem; }
summary { cursor: pointer; font-weight: 650; }
details p { max-width: 44rem; line-height: 1.6; }
.footer { border-top: 1px solid #d5d9cd; padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.catalog-offers { margin-block: 2rem; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.catalog-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .8rem; }
.catalog-cards h3, .catalog-cards p { margin: 0; }
.catalog-cards p, .documents article p { max-width: 45rem; line-height: 1.6; }
.catalog-status { color: #495c51; }
.documents article + article { border-top: 1px solid #d5d9cd; margin-top: 1.5rem; padding-top: 1.5rem; }
@media (max-width: 40rem) { .offers, .fields, .catalog-cards { grid-template-columns: 1fr; } }
