:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #071a33;
  background: #ffffff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { min-width: 320px; background: #ffffff; }
[hidden] { display: none !important; }

.page {
  width: min(100%, 760px);
  height: 100svh;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 20px max(12px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content { margin: auto 0; }
.kicker {
  margin: 0 0 9px;
  color: #1769ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(34px, 7vw, 54px);
  line-height: .98;
  letter-spacing: -.045em;
}
.subline {
  margin: 11px 0 0;
  color: #526278;
  font-size: 14px;
  line-height: 1.4;
}

form { margin-top: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 10px; }
.fields label { display: grid; gap: 4px; }
.fields span { font-size: 11px; font-weight: 700; }
.fields b { color: #1769ff; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  height: 42px;
  padding: 8px 10px;
  border: 1px solid #c9d4e2;
  border-radius: 8px;
  outline: 0;
  color: #071a33;
  background: #ffffff;
  font: inherit;
}
input:focus { border-color: #1769ff; box-shadow: 0 0 0 3px rgba(23,105,255,.13); }

.consent {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  margin-top: 10px;
  color: #3f4e62;
  font-size: 11px;
  line-height: 1.32;
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent i { width: 18px; height: 18px; border: 1.5px solid #91a1b5; border-radius: 4px; background: #ffffff; }
.consent input:focus-visible + i { outline: 3px solid rgba(23,105,255,.2); }
.consent input:checked + i { border-color: #1769ff; background: #1769ff; }
.consent input:checked + i::after { content: "✓"; display: block; color: white; font-size: 13px; line-height: 16px; text-align: center; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#form-error { margin: 8px 0 0; color: #a12622; font-size: 11px; line-height: 1.3; }
button {
  width: 100%;
  height: 47px;
  margin-top: 12px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #1769ff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: .65; cursor: wait; }
.microcopy { margin: 7px 0 0; color: #68768a; font-size: 10px; text-align: center; }

footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #66758a;
  font-size: 11px;
}
footer a { color: inherit; text-decoration: none; }
footer a:focus-visible, footer a:hover { color: #1769ff; }

.pending { max-width: none; background: #071a33; color: #ffffff; text-align: center; }
.pending > p {
  width: min(100%, 620px);
  margin: auto;
  font-size: clamp(34px, 8vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.pending footer { color: #bfcad8; }

@media (max-width: 430px) {
  .page { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 36px; }
}

@media (max-height: 730px) {
  .page { padding-top: 10px; padding-bottom: 8px; }
  h1 { font-size: 31px; }
  .subline { margin-top: 7px; font-size: 12px; }
  form { margin-top: 10px; }
  input[type="text"], input[type="email"], input[type="tel"] { height: 36px; }
  .consent { margin-top: 7px; font-size: 9.5px; }
  button { height: 41px; margin-top: 8px; }
}
