* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: #f4f6f9; color: #0f2341; font-family: Inter, system-ui, sans-serif; }
a { color: #3e5c86; }
.top { background: #0b1a30; }
.top-inner { max-width: 1280px; margin: 0 auto; padding: 20px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top img { display: block; width: auto; }
#stage, .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
#stage { color: #c3cbd6; }
#progress { display: block; width: 100%; height: 3px; border: 0; appearance: none; background: #1c2e4c; }
#progress::-webkit-progress-bar { background: #1c2e4c; }
#progress::-webkit-progress-value { background: #c3cbd6; }
#progress::-moz-progress-bar { background: #c3cbd6; }
main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 72px 24px 96px; }
.legal-footer { padding: 20px 24px 28px; font-size: 14px; }
.legal-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.eyebrow { margin: 0; color: #3e5c86; }
h1 { margin: 16px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 48px; font-weight: 500; line-height: 1.05; }
.sub { margin: 14px 0 0; line-height: 1.6; color: #4a5568; }
label, legend { font-size: 14px; font-weight: 600; }
section > label { display: block; margin: 24px 0 8px; }
input:not([type="radio"]), textarea { display: block; width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid #c5ced9; background: #fff; color: inherit; font: inherit; font-size: 18px; }
textarea { line-height: 1.55; resize: vertical; }
fieldset { margin: 24px 0 0; border: 0; padding: 0; min-inline-size: 0; }
legend { margin-bottom: 12px; }
.opt { display: flex; gap: 12px; align-items: center; min-height: 54px; margin-bottom: 10px; padding: 12px 18px; border: 1px solid #c5ced9; background: #fff; font-size: 16px; font-weight: 400; cursor: pointer; }
.opt:has(:checked) { background: #0f2341; color: #fff; border-color: #0f2341; }
.opt input { accent-color: #5676a3; }
:focus-visible { outline: 2px solid #3e5c86; outline-offset: 3px; }
.card { margin: 28px 0 0; background: #fff; border: 1px solid #d5dce5; }
.card div { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 16px; padding: 16px 20px; border-bottom: 1px solid #e8ecf2; }
.card div:last-child { border-bottom: 0; }
.card dt { color: #5f6b7a; }
.card dd { margin: 0; text-align: right; overflow-wrap: anywhere; white-space: pre-wrap; }
.nav { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; background: none; border: 0; color: #4a5568; font: inherit; text-decoration: none; cursor: pointer; }
.btn { min-height: 56px; padding: 0 30px; border: 0; background: #0f2341; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn:disabled { background: #c5ced9; color: #4a5568; cursor: not-allowed; }
.message { padding: 12px; background: #e2eaf4; line-height: 1.5; }
.error { background: #f8e8e5; color: #8a2e22; }
.outcome { text-align: center; }
.outcome a { margin-top: 24px; }
.outcome .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.spinner { width: 48px; height: 48px; margin: 0 auto 24px; border: 3px solid #d5dce5; border-top-color: #3e5c86; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .top-inner { padding: 16px 24px; }
  main { padding-top: 48px; }
  h1 { font-size: 38px; }
}
.spinner svg { display: none; }
.outcome.is-complete { padding: clamp(26px, 6vw, 52px); background: #fff; border: 1px solid #d5dce5; box-shadow: 0 18px 44px #0f234114; }
.is-complete .spinner { display: grid; place-items: center; width: 64px; height: 64px; border: 0; background: #e2eaf4; color: #0f2341; animation: none; }
.is-complete .spinner svg { display: block; }
.is-complete .sub { max-width: 420px; margin-inline: auto; }
