:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090b14;
  color: #f4f5ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(114, 126, 242, .20), transparent 42%),
    #090b14;
}

main {
  width: min(100% - 32px, 680px);
  margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom));
}

header { margin-bottom: 24px; }
.eyebrow, .step-label { color: #aeb7ff; font-weight: 800; letter-spacing: .04em; }
h1 { margin: 8px 0 10px; font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.04; }
h2 { margin: 4px 0 14px; font-size: 1.45rem; }
p { line-height: 1.55; }
.lead, .privacy { color: #b7bdd1; }

.card {
  overflow: hidden;
  border: 1px solid #303858;
  border-radius: 22px;
  background: rgba(17, 21, 38, .96);
  padding: clamp(20px, 5vw, 32px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.progress { height: 7px; border-radius: 999px; overflow: hidden; background: #252b43; margin-bottom: 24px; }
.progress span { display: block; width: 0; height: 100%; background: #9ba8ff; transition: width .2s ease; }
.step-label { margin: 0; font-size: .82rem; text-transform: uppercase; }

label { display: block; margin: 18px 0 8px; font-weight: 750; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; line-height: 1.45; }
.check input { width: 22px; height: 22px; flex: 0 0 auto; }
textarea, input[type="text"] {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #465173;
  border-radius: 14px;
  background: #0c1020;
  color: #fff;
  padding: 13px 14px;
  font: inherit;
  font-size: 16px;
}
textarea { resize: vertical; min-height: 104px; }
input[type="text"] { font-size: 1.45rem; letter-spacing: .18em; }

button {
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 800;
}
button:disabled { opacity: .42; }
.primary { background: #9ba8ff; color: #10152f; }
.abort { background: transparent; color: #d7daea; border: 1px solid #58617e; }
.status { min-height: 26px; color: #ffd18a; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
