/* Mimir Lineage – the beta application page on www (B339). Tokens are in home.css; the navy band and footer are shared. */
.apply-band .sub-hero { padding-bottom: 120px; }
.apply { display: flex; flex-direction: column; gap: 32px; margin-top: -84px; padding-bottom: 64px; }
.footer-band { margin-top: 0; }

.apply-status { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.apply-status-now { flex: 1 1 320px; min-width: 0; }
.apply-status-kicker { margin: 0; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.apply-status-big { margin: 6px 0 0; font-size: clamp(1.7rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.15; }
.apply-status-of { margin: 4px 0 0; color: var(--muted); }
.meter { margin-top: 14px; height: 10px; border-radius: 999px; background: var(--tint-teal); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--teal); }
.meter-few { background: #fbe3cf; }
.meter-few span { background: #a8540f; }
.apply-status-honest { flex: 1 1 380px; min-width: 0; margin: 0; display: flex; gap: 14px; align-items: flex-start; background: var(--tint-blue); border-radius: 12px; padding: 18px 20px; }
.apply-status-honest svg { flex: none; margin-top: 2px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; }

.apply-steps h2, .apply-form h2 { margin: 0 0 16px; font-size: 1.6rem; }
.apply-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.apply-steps li { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.apply-steps li span:last-child { color: var(--muted); }
.apply-step-no { color: var(--teal); font-weight: 800; font-size: 28px; line-height: 1.1; }

.apply-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.apply-form h2 { margin-bottom: 6px; }
.apply-form form { display: flex; flex-direction: column; gap: 22px; margin-top: 22px; }
.apply-hint { margin: 0; color: var(--muted); font-size: 15px; }
.apply-error { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: #fde8e4; color: #8a1c0b; font-weight: 600; }
.apply-row { display: flex; flex-wrap: wrap; gap: 18px; }
.apply-row .apply-field { flex: 1 1 300px; }
.apply-field { display: flex; flex-direction: column; gap: 6px; }
.apply-field label, .apply-choices legend { font-weight: 600; }
.apply-field input, .apply-field textarea { font: inherit; padding: 13px 14px; border-radius: 8px; border: 1.5px solid #6f8799; background: var(--card); color: var(--ink); }
.apply-field textarea { resize: vertical; }
.apply-field textarea:focus-visible, .apply-choices input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.apply-count { margin: 0; font-size: 14px; color: var(--muted); text-align: right; }
.apply-choices { border: 0; margin: 0; padding: 0; }
.apply-choices legend { padding: 0; margin-bottom: 10px; }
.apply-choices div { display: flex; flex-wrap: wrap; gap: 10px; }
.apply-choices label { display: flex; gap: 8px; align-items: center; min-height: 44px; box-sizing: border-box; border: 1.5px solid #6f8799; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.apply-choices label:has(input:checked) { border: 2px solid var(--teal); background: var(--tint-teal); }
.apply-send { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.apply-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

:root[data-theme='dark'] .apply-error { background: #4a1d16; color: #ffd5cc; }
:root[data-theme='dark'] .meter-few { background: #4a3020; }
:root[data-theme='dark'] .meter-few span { background: #f5c58f; }
