:root {
  color-scheme: light;
  --ink: #13223b;
  --muted: #465872;
  --blue: #174bb6;
  --line: #d6dfec;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #f0f4fa; color: var(--ink); line-height: 1.52; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2d75ed; outline-offset: 3px; }
.top { color: white; background: #081426; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 74rem; margin: auto; padding: .82rem clamp(1rem, 4vw, 2.5rem); }
.brand { display: inline-flex; align-items: center; gap: .65rem; letter-spacing: .075em; font-weight: 750; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 1px solid #89b1f9; border-radius: .48rem; color: #cbe0ff; background: #173157; font-size: 1.19rem; letter-spacing: 0; }
.brand small { color: #c7d7ef; font-size: .82em; }
.demo-label { color: #d4e2f7; font-size: .88rem; }
.shell { display: grid; grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr); max-width: 69rem; margin: clamp(1rem, 4vw, 3.2rem) auto; border: 1px solid #d8e2f1; border-radius: 1rem; overflow: hidden; box-shadow: 0 18px 52px #162f5b14; }
.story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 8rem);
  min-height: 100%;
  padding: clamp(1.6rem, 4vw, 3.1rem);
  color: #fff;
  background-color: #0c2142;
  background-image: linear-gradient(174deg, #0b1c36 9%, #10274ded 35%, #0d1e38b8 75%, #07142695), url("/assets/hero.jpg");
  background-position: 60% center;
  background-size: cover;
}
.kicker { color: #a9caff; font-size: .89rem; letter-spacing: .067em; font-weight: 700; text-transform: uppercase; }
h1 { max-width: 12ch; margin-top: .8rem; font-size: clamp(2.4rem, 5.3vw, 4.05rem); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.story-copy { margin-top: 1rem; max-width: 31ch; color: #e4edfc; font-size: 1.05rem; }
.next { padding-top: 1.12rem; border-top: 1px solid #b4cffb70; }
.next h2 { font-size: 1.08rem; }
.next p { max-width: 33ch; margin-top: .32rem; font-size: .98rem; color: #e3edfc; }
.panel { min-width: 0; padding: clamp(1.35rem, 4vw, 2.6rem); background: white; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; margin-bottom: .25rem; }
.panel h2 { font-size: clamp(1.68rem, 3.5vw, 2.18rem); line-height: 1.16; letter-spacing: -.044em; }
.support { color: var(--muted); font-size: .91rem; }
form { margin-top: 1.2rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .29rem; font-size: .95rem; font-weight: 680; }
input, select, textarea { display: block; width: 100%; min-height: 2.82rem; padding: .56rem .7rem; border: 1px solid #aebed4; border-radius: .45rem; color: var(--ink); background-color: white; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #526680; opacity: 1; }
select {
  appearance: none;
  padding-right: 2.35rem;
  background-image: linear-gradient(45deg, transparent 50%, #34547e 50%), linear-gradient(135deg, #34547e 50%, transparent 50%);
  background-repeat: no-repeat;
  background-position: calc(100% - 1.15rem) 50%, calc(100% - .82rem) 50%;
  background-size: .34rem .34rem, .34rem .34rem;
}
textarea { min-height: 6.3rem; resize: vertical; }
.helper { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .34rem; }
.counter { white-space: nowrap; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1rem; }
.primary { min-height: 2.95rem; padding: .64rem 1.15rem; border: 1px solid #174bb6; border-radius: .46rem; color: white; background: var(--blue); font-size: 1rem; font-weight: 700; }
.primary:hover { background: #113987; }
.message { padding: clamp(.6rem, 2vw, 1.6rem) 0; }
.message > p { margin-top: .65rem; max-width: 43ch; color: var(--muted); overflow-wrap: anywhere; }
.check { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border: 1px solid #89b7a5; border-radius: 50%; color: #146445; background: #e4f4ed; font-size: 1.45rem; font-weight: 750; }
.summary { margin: 1.2rem 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .55rem; background: #f3f7fd; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0 0 .55rem; overflow-wrap: anywhere; }
.summary dd:last-child { margin-bottom: 0; }
@media (max-width: 74rem) { .shell { margin-inline: clamp(.8rem, 3.6vw, 2.3rem); } }
@media (max-width: 48rem) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .story { min-height: auto; gap: 1.5rem; background-position: 60% 44%; }
  h1 { max-width: 16ch; }
  .story-copy { max-width: 38ch; }
  .next p { max-width: 44ch; }
}
@media (max-width: 31rem) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .actions > .primary { width: 100%; }
  .demo-label { font-size: .83rem; text-align: right; }
}

.brand { color: white; text-decoration: none; }
.back-home { color: #d4e2f7; font-size: .92rem; text-underline-offset: .18em; }
.status { margin: 0 0 .95rem; font-size: .95rem; color: #344d71; }
.status.error { color: #9d231e; }
.human-check { margin-top: 1rem; }
.primary:disabled { cursor: not-allowed; opacity: .62; }
.return { color: var(--blue); font-weight: 670; text-underline-offset: .19em; }
