:root { color-scheme: light; font-family: system-ui, sans-serif; color: #221b39; background: #f8f7fc; }
* { box-sizing: border-box; }
body { margin: 0; }
body > header { background: #fff; border-bottom: 1px solid #e0daee; padding: .85rem clamp(1rem, 5vw, 4rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
header a { display: inline-flex; gap: .55rem; align-items: center; font-weight: 650; }
nav { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; }
main { width: min(100% - 2rem, 52rem); margin: 2rem auto 4rem; }
a { color: #5737a1; text-underline-offset: .15em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin-block: 1.6rem .7rem; }
p, li { line-height: 1.6; }
form, section { padding: clamp(1rem, 4vw, 1.6rem); margin-block: 1rem; border: 1px solid #e0daee; border-radius: 1rem; background: #fff; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
label { display: grid; gap: .4rem; font-weight: 650; }
input, button { font: inherit; border-radius: .55rem; padding: .65rem .8rem; }
input { width: 100%; border: 1px solid #8d819e; }
button { margin-block-start: 1rem; background: #5737a1; color: #fff; border: 0; font-weight: 700; cursor: pointer; }
dl { display: grid; grid-template-columns: 1fr auto; gap: .75rem; }
dd { margin: 0; font-weight: 700; text-align: end; }
#finance-error { color: #9e2b28; }
