* { box-sizing: border-box; }

:root {
  --navy: #071a3a;
  --blue: #73a9df;
  --blue-dark: #4f8dcc;
  --ink: #14233f;
  --muted: #68758b;
  --line: #dfe6ef;
  --bg: #f6f9fc;
  --white: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(115,169,223,.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.card {
  width: min(100%, 560px);
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: 24px;
  padding: 38px clamp(24px, 6vw, 54px) 34px;
  box-shadow: 0 24px 70px rgba(7, 26, 58, .10);
}

.brand {
  text-align: center;
  margin-bottom: 22px;
}

.brand img {
  display: block;
  width: min(100%, 380px);
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
}

.intro {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 9px;
}

h1 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: clamp(29px, 6vw, 39px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.intro p {
  margin: 0 auto;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.field { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

label span { color: var(--blue-dark); }

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(115,169,223,.14);
}

input.invalid { border-color: #c94b5b; }

.hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  color: #b33b4b;
  font-size: 11px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 7px 0 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue-dark);
  flex: 0 0 auto;
}

button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px 18px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}

button:hover {
  background: #0b2754;
  box-shadow: 0 10px 25px rgba(7,26,58,.18);
  transform: translateY(-1px);
}

button:disabled { opacity: .7; cursor: wait; transform: none; }

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

button.loading .spinner { display: inline-block; }

.privacy {
  margin: 13px 4px 0;
  color: #8a95a6;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
}

.message { text-align: center; padding: 18px 4px 4px; }
.message h2 { color: var(--navy); margin: 10px 0 8px; }
.message p { color: var(--muted); line-height: 1.6; font-size: 14px; }

.check {
  width: 54px; height: 54px; margin: 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(115,169,223,.15);
  color: var(--blue-dark);
  font-size: 28px; font-weight: 700;
}

.secondary {
  width: auto;
  padding: 11px 20px;
  background: #eef4fa;
  color: var(--navy);
  margin-top: 8px;
}

.secondary:hover { background: #e3edf7; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .page { padding: 16px 12px; }
  .card { border-radius: 18px; padding: 28px 20px 24px; }
  .brand img { width: min(100%, 310px); max-height: 120px; }
}

.hidden-frame { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }
.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
