:root { color-scheme: light dark; --line: #8886; --accent: #1a56db; --err: #b00020; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 16px/1.45 system-ui, sans-serif; }
.brandbar { background: #071a28; border-bottom: 1px solid #5cc6ff29; padding: .3rem max(1rem, env(safe-area-inset-right)) .3rem max(1rem, env(safe-area-inset-left)); padding-top: max(.3rem, env(safe-area-inset-top)); flex: none; }
.wordmark { display: block; max-width: 34rem; margin: 0 auto; color: #eef5fa; text-decoration: none; font: 800 1rem/1.2 "Arial Black", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; }
.wordmark i { font-style: normal; color: #5cc6ff; }
.wordmark:focus-visible { outline-color: #5cc6ff; }
main { max-width: 34rem; margin: 0 auto; padding: 1rem 1rem 2rem; }
h1 { font-size: 1.15rem; margin: 0; }
h2 { font-size: 1.15rem; line-height: 1.3; margin: 1.25rem 0 .5rem; }
h2:focus { outline: none; }
label { display: block; margin: .5rem 0 .2rem; }
.hint { font-size: .875rem; opacity: .8; margin: .3rem 0; }
.note { font-size: .8125rem; opacity: .85; margin: .5rem 0 0; }
.reserve-note { font-size: .875rem; font-weight: 600; margin: .5rem 0 0; }
.callout { border: 2px solid currentColor; border-radius: .5rem; padding: .25rem .9rem; margin: 1rem 0; }
.callout p { margin: .5rem 0; }
.req { color: var(--err); }
.err, .inline-err { border-left: 4px solid var(--err); padding: .25rem .75rem; margin: .5rem 0; }
.err ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.inline-err { margin: .25rem 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
input[type=text], input[type=email], input[type=url], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: .5rem; border: 1px solid var(--line); border-radius: 6px; }
textarea { display: block; resize: vertical; }
label.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .9375rem; margin: .75rem 0 .25rem; }
label.check input { margin-top: .25rem; flex: none; width: 1.1rem; height: 1.1rem; }
button { font: inherit; padding: .55rem 1.1rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.linkbtn { min-height: 0; padding: .1rem 0; border: 0; border-radius: 0; background: none; color: var(--accent); text-decoration: underline; font-size: .875rem; }
button:disabled { opacity: .6; cursor: progress; }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.actions { display: flex; gap: .75rem; align-items: center; margin-top: .75rem; }
.actions .primary { margin-left: auto; }
.skip { padding: .5rem; }

.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center;
  border: 2px dashed var(--line); border-radius: 10px; padding: 1rem; min-height: 6.5rem; margin: .5rem 0; cursor: pointer; }
.drop-main { font-weight: 600; }
.drop-types { font-size: .875rem; opacity: .8; }
.drop.over { border-color: var(--accent); background: #1a56db1a; }
.drop:has(:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.files { list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.files li { display: flex; gap: .5rem; align-items: center; justify-content: space-between; padding: .1rem 0; }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files button { min-height: 1.75rem; padding: .1rem .5rem; font-size: .8125rem; }

.progress, [data-next], [data-back], .skip { display: none; }

.js .progress { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.js [data-next], .js [data-back] { display: inline-block; }
.js .skip { display: inline-block; }
.js .progress li { width: 1.6rem; height: 1.6rem; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; }
.js .progress li[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.js .progress li.done { border-color: var(--accent); color: var(--accent); }
.js body { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.js main { flex: 1; min-height: 0; width: 100%; padding: .75rem 1rem; }
.js .app { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.js form#rfp-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.js .step { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.js .step[hidden] { display: none; }
.js .step h2 { margin: .75rem 0 .35rem; }
.js textarea { flex: 1; min-height: 5rem; max-height: 15rem; resize: none; }
.js .drop { flex: 1; min-height: 5rem; margin: .35rem 0; }
.js .drop .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.js .actions { margin-top: auto; padding-top: .5rem; }
.js .files { max-height: 5.5rem; overflow: auto; }
.js .files:empty { display: none; }
.js .hint, .js .note { margin: .25rem 0; }

@media (max-width: 480px) {
  .js .step h2 { font-size: 1rem; margin: .5rem 0 .2rem; }
  .js main { padding-block: .35rem .4rem; }
  .js .step h2 { margin: .3rem 0 .1rem; }
  .js .reserve-note { margin-top: .2rem; }
  .js .note { margin: .15rem 0; }
  .js .actions { padding-top: .35rem; }
  .js label.check { margin: .45rem 0 .15rem; }
  .brandbar { padding-block: .18rem; }
}

@media (max-height: 480px) {
  .js h2 { font-size: 1rem; margin: .4rem 0 .2rem; }
  .js .drop { min-height: 3rem; padding: .4rem; }
  .js .hint, .js .note { font-size: .75rem; }
  .js textarea { min-height: 3rem; }
  .js button { min-height: 2.25rem; padding: .3rem .9rem; }
}
