/* Founding-list form, shared by the static founding.html page and the in-app
   #/founding route (this file is appended to the app CSS bundle by scripts/build.mjs).
   Self-contained: 18px body text, every control at least 48px tall. */
.founding-form, .founding-closed { max-width: 620px; font-size: 18px; line-height: 1.65; }
.founding-closed { padding: 26px 28px; border: 1px solid #50614966; border-radius: 9px; background: #19221a66; }
.founding-closed p { margin: 0 0 12px; color: #c9cfbe; }
.founding-closed p:last-child { margin-bottom: 0; }
.founding-closed strong { color: #ece5d3; font-size: 19px; }
.founding-label { display: block; font-size: 18px; color: #e9e2d0; margin: 22px 0 8px; }
.founding-input { width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 15px; font-size: 18px; color: #efe9da; background: #0c130f; border: 1px solid #8a7b55; border-radius: 6px; }
.founding-input:focus-visible, .founding-band input:focus-visible + span, .founding-consent input:focus-visible, .founding-submit:focus-visible { outline: 3px solid #dfc693; outline-offset: 3px; }
.founding-bands { margin: 26px 0 0; padding: 0; border: 0; }
.founding-bands legend { font-size: 18px; color: #e9e2d0; padding: 0; margin-bottom: 4px; }
.founding-note { font-size: 15px; color: #b3baa8; margin: 4px 0 12px; }
.founding-band-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.founding-band { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid #50614999; border-radius: 6px; background: #121a1466; color: #d8d2c2; font-size: 17px; cursor: pointer; }
.founding-band input { width: 22px; height: 22px; accent-color: #bfa566; flex: 0 0 auto; }
.founding-band:has(input:checked) { border-color: #dfc693; color: #f0ead9; background: #2318080f; }
.founding-consent { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 0; font-size: 17px; color: #d8d2c2; cursor: pointer; }
.founding-consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: #bfa566; flex: 0 0 auto; }
.founding-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 24px; padding: 12px 28px; font-size: 18px; border-radius: 6px; border: 1px solid #dfc693; background: #dfc693; color: #182017; cursor: pointer; }
.founding-submit:hover { background: #ecd9ae; }
.founding-submit:disabled { opacity: .55; cursor: default; }
/* The result message is scrolled to the viewport centre and focused after every
   submit outcome; the scroll margins keep it clear of the app's fixed mobile tab
   bar (~68px + safe area) and the sticky top bar if the browser clamps the scroll. */
.founding-status { min-height: 1.6em; margin: 18px 0 0; font-size: 18px; scroll-margin-top: 96px; scroll-margin-bottom: calc(110px + env(safe-area-inset-bottom)); }
.founding-status:focus { outline: none; }
.founding-status.is-done { color: #cfe3bb; }
.founding-status.is-problem { color: #eccfa8; }
.founding-status.is-quiet { color: #b3baa8; }
/* Success: the spent form gives way to one calm, unmistakable panel. */
.founding-form.is-complete > :not(.founding-status) { display: none; }
.founding-form.is-complete .founding-status.is-done { margin: 10px 0 0; padding: 24px 26px; border: 1px solid #9cb57c59; border-radius: 9px; background: #18261a; color: #d9e8c6; font-size: 19px; line-height: 1.65; }
/* The trap field is invisible to people (including screen readers) but present for
   automated form fills; any value in it cancels the network request client-side. */
.founding-extra { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .founding-band-grid { grid-template-columns: 1fr; } }
/* In-app #/founding route layout (unused on the static page, harmless there). */
.founding-panel { margin: 6px 0 34px; }
.founding-after { max-width: 65ch; }
.founding-after h2 { font-size: 26px; }
.founding-after p { font-size: 16px; line-height: 1.7; }
.founding-after a { color: #dfc693; }
