:root { color-scheme: light; color: #17384b; background: #f6f7f5; font: 100%/1.55 system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: #fff; border-bottom: 1px solid #d2dedc; }
nav, footer { width: min(70rem, calc(100% - 2rem)); margin: auto; display: flex; align-items: center; gap: 1.25rem; padding-block: .9rem; }
nav { justify-content: space-between; }
nav img { display: block; height: auto; }
a { color: #174e52; text-underline-offset: .18em; }
main { width: min(47rem, calc(100% - 2rem)); margin: clamp(1.5rem, 5vw, 3.5rem) auto; }
h1, h2, legend { color: #17384b; line-height: 1.12; font-family: Georgia, serif; font-weight: 600; }
h1 { margin: 0 0 1rem; max-width: 22ch; font-size: clamp(2.05rem, 5vw, 3.2rem); letter-spacing: -.035em; }
.intro { margin: 0 0 1.6rem; max-width: 64ch; }
form, .receipt { border: 1px solid #d2dedc; background: #fff; padding: clamp(1rem, 4vw, 2rem); border-radius: .65rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend, h2 { font-size: 1.55rem; margin: 0 0 1rem; padding: 0; }
.fields { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: .35rem; font-weight: 600; }
input, select, button { font: inherit; }
input:not([type=file]):not([type=checkbox]), select { width: 100%; min-height: 2.8rem; color: #143543; background: #fff; padding: .45rem .65rem; border: 1px solid #899e9e; border-radius: .3rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #916824; outline-offset: 3px; }
.upload { margin: 1.5rem 0; padding: 1rem; border: 1px dashed #718e8e; border-radius: .4rem; background: #f7faf9; }
.upload > p { margin: .25rem 0 .8rem; color: #415862; }
input[type=file] { width: 100%; min-height: 2.75rem; }
input::file-selector-button { color: #174e52; background: #edf4f1; padding: .5rem .75rem; border: 1px solid #718e8e; border-radius: .25rem; font: inherit; cursor: pointer; }
#chosen-files { margin: .35rem 0 0; padding: 0; list-style: none; }
#chosen-files li { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-block: .2rem; }
#chosen-files li span { overflow-wrap: anywhere; }
#chosen-files button { padding: .45rem .25rem; border: none; background: none; text-decoration: underline; color: #174e52; cursor: pointer; }
.privacy-note { margin-bottom: 1rem; }
.privacy-note summary { cursor: pointer; color: #174e52; text-decoration: underline; text-underline-offset: .18em; }
.privacy-note p { margin: .35rem 0 0; }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.consent input { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin: .23rem 0 0; accent-color: #174e52; }
.send { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; margin-top: 1.2rem; background: #174e52; color: #fff; border: 0; border-radius: .35rem; padding: .6rem 1.1rem; cursor: pointer; font-weight: 650; }
.send:disabled { opacity: .65; }
.error { padding: .65rem .8rem; border-left: 3px solid #9f352e; background: #fff4f2; }
#intake-status:empty { margin: 0; }
footer { border-top: 1px solid #d2dedc; justify-content: center; flex-wrap: wrap; }
@media (max-width: 36rem) { .fields { grid-template-columns: 1fr; } .send { width: 100%; } }
