:root { font: 16px/1.45 system-ui, sans-serif; color: #203A29; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 38rem; margin: auto; padding: 1rem; }
header.site-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-weight: 700; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #203A29; font-size: 1.3rem; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.brand img { display: block; width: 2.25rem; height: 2.25rem; }
.site-nav { display: flex; gap: .9rem; margin-left: auto; font-size: .88rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
h1 { font-size: clamp(1.65rem, 6vw, 2.3rem); line-height: 1.12; margin: 0 0 .65rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p, h2, h3 { margin: 0 0 .7rem; }
.card, .actions, form { margin-bottom: .85rem; }
.card { background: #F4F7EC; border: 1px solid #D6E2C5; border-radius: .9rem; padding: .9rem; }
.card :last-child, .actions form { margin-bottom: 0; }
label { display: block; font-weight: 600; }
input:not([type=hidden]) {
    display: block; font: inherit; width: 100%; min-height: 2.75rem;
    margin: .15rem 0 .6rem; padding: .3rem .55rem; border: 1px solid #84976E; border-radius: .5rem;
}
.rate { display: flex; align-items: center; gap: .45rem; margin-bottom: .25rem; font-weight: 600; }
.rate strong { display: inline-block; padding: .12rem .5rem; border-radius: .5rem; background: #B6DF3E; color: #203A29; }
.total { font-weight: 750; font-size: 1.1rem; }
.muted { color: #52624B; font-size: .9rem; }
.actions { display: grid; gap: .65rem; }
a { color: #285C34; }
.button, button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .85rem;
    background: #B6DF3E; color: #203A29; border: 0; border-radius: .7rem; font: inherit; font-weight: 700;
    text-decoration: none; cursor: pointer;
}
button:disabled { background: #E6ECC9; color: #6C7563; cursor: not-allowed; }
.button-secondary {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .85rem;
    background: #fff; color: #203A29; border: 1px solid #84976E; border-radius: .7rem; font: inherit; font-weight: 650;
    text-decoration: none; cursor: pointer;
}
:focus-visible { outline: .18rem solid #315C34; outline-offset: .15rem; }
.site-footer { margin-top: 1.5rem; padding-top: .8rem; border-top: 1px solid #D6E2C5; color: #52624B; font-size: .72rem; line-height: 1.4; }
.site-footer p { max-width: 38rem; }
.offers { padding: 0; list-style: none; }
code, pre { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; }

/* Landing sections */
.section { margin-top: 1.9rem; }
.eyebrow { margin-bottom: .3rem; color: #4F6338; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.steps li { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem; border: 1px solid #D6E2C5; border-radius: .85rem; background: #fff; }
.step-number { flex: 0 0 1.9rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #B6DF3E; color: #203A29; font-weight: 800; }
.steps h3, .feature h3 { margin-bottom: .2rem; }
.steps p, .feature p { margin-bottom: 0; color: #52624B; font-size: .92rem; }
.feature-grid { display: grid; gap: .7rem; }
.feature { padding: .9rem; border: 1px solid #D6E2C5; border-radius: .85rem; background: #F9FBF4; }
.faq { border-top: 1px solid #D6E2C5; padding: .75rem 0; }
.faq:last-of-type { border-bottom: 1px solid #D6E2C5; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: .55rem; margin-bottom: 0; color: #52624B; }
.cta-band { display: grid; gap: .8rem; margin-top: 1.9rem; padding: 1rem; border-radius: 1rem; background: #203A29; color: #fff; }
.cta-band .eyebrow { color: #D5EF8B; }
.cta-band h2, .cta-band p { margin-bottom: .3rem; }
.cta-band p { color: #E4EBD9; font-size: .94rem; }
.cta-band .button { justify-self: start; }

/* Application wizard */
.form-note { padding: .6rem .75rem; border-radius: .6rem; background: #F4F7EC; border: 1px dashed #A7B78A; color: #4A5841; font-size: .82rem; }
.wizard-progress { display: flex; gap: .3rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .68rem; color: #6C7563; }
.wizard-progress li { flex: 1; padding: .35rem .25rem; border-bottom: 2px solid #D6E2C5; white-space: nowrap; }
.wizard-progress li.is-active { color: #203A29; border-color: #6E9C24; font-weight: 700; }
.wizard-step h2 { margin-bottom: .8rem; }
.field-grid { display: grid; gap: 0 .7rem; }
.field { margin: 0; }
.field-wide { grid-column: 1 / -1; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.wizard-actions .button, .wizard-actions button { flex: 1 1 8rem; }
.check-list { margin: 0 0 1rem; padding-left: 1.2rem; color: #45543B; }
.check-list li { margin-bottom: .3rem; }
.draft-block { margin: 1rem 0; padding: .85rem; border: 1px solid #D6E2C5; border-radius: .8rem; background: #F9FBF4; }
.draft-block h3 { margin-bottom: .5rem; }
.draft-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; font-size: .9rem; }
.draft-badge { display: inline-block; padding: .05rem .4rem; border-radius: .4rem; background: #E6ECC9; color: #52624B; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Offers, verifier and processing */
.offer-card h2 { margin-bottom: .55rem; }
.offer-position { margin-bottom: .15rem; color: #4F6338; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.offer-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0 0 .85rem; }
.offer-terms div { padding: .55rem .65rem; border-radius: .55rem; background: #fff; border: 1px solid #D6E2C5; }
.offer-terms dt { color: #6C7563; font-size: .72rem; }
.offer-terms dd { margin: .1rem 0 0; font-weight: 750; }
.steps-compact { margin-bottom: .9rem; }
.steps-compact li { padding: .65rem; }
.processing-card { margin-top: .9rem; }
.progress-track { width: 100%; height: .45rem; margin-bottom: .9rem; overflow: hidden; border-radius: 999px; background: #E3E9D8; }
.progress-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: #6E9C24; transform-origin: left center; animation: progress-fill 2s linear forwards; }
@keyframes progress-fill { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .progress-fill { animation: none; } }

/* Account mock */
.account-section { padding-top: .9rem; border-top: 1px solid #D6E2C5; }
.account-card { margin-top: .3rem; }
.editorial-note { margin-bottom: 0; color: #6C7563; font-size: .78rem; font-style: italic; }

@media (min-width: 34rem) {
    .steps { gap: .8rem; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-band { grid-template-columns: 1fr auto; align-items: center; }
    .cta-band .button { justify-self: end; }
}
