:root {
  --bg-dark: #0f1117;
  --bg-darker: #07080c;
  --bg-light: #f5f7fb;
  --text-dark: #111827;
  --text-light: #ffffff;
  --muted: #6b7280;
  --blue: #2457ff;
  --orange: #ff6b00;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(980px, 92%);
  margin: 0 auto;
}

.nav {
  background: rgba(7,8,12,0.96);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #d1d5db;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(36,87,255,0.35);
  transition: 0.2s ease;
  font-size: 1rem;
}

.btn:hover { transform: translateY(-2px); }

.btn.secondary {
  background: #fff;
  color: var(--text-dark);
  box-shadow: none;
}

.hero-form {
  background:
    radial-gradient(circle at top right, rgba(36,87,255,0.28), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255,107,0,0.22), transparent 35%),
    linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  color: #fff;
  padding: 82px 0 58px;
}

.eyebrow {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #e5e7eb;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  max-width: 860px;
  margin-bottom: 22px;
}

.hero-form p {
  max-width: 760px;
  color: #d1d5db;
  font-size: 1.18rem;
}

.form-section { padding: 58px 0 84px; }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.form-card, .side-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
}

.form-card { padding: 34px; }
.side-card { padding: 26px; position: sticky; top: 96px; }

.progress-wrap {
  margin-bottom: 28px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.progress-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transition: width 0.25s ease;
}

fieldset {
  border: none;
  display: grid;
  gap: 22px;
  margin-bottom: 34px;
}

legend {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.helper {
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 8px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 850;
  color: #111827;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: var(--text-dark);
}

textarea { min-height: 116px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(36,87,255,0.14);
  border-color: var(--blue);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  background: #fff;
  font-weight: 700;
}

.check-card input { width: auto; margin-top: 5px; }

.check-card:has(input:checked) {
  border-color: rgba(36,87,255,0.55);
  background: rgba(36,87,255,0.06);
}

.consent-box {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-box input { width: auto; margin-top: 5px; }
.consent-box small { color: var(--muted); display: block; margin-top: 4px; }

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.summary-box {
  display: none;
  margin-top: 24px;
  background: #0f1117;
  color: #e5e7eb;
  border-radius: 20px;
  padding: 22px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

.side-card h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.side-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.side-card li {
  list-style: none;
  color: var(--muted);
  display: flex;
  gap: 10px;
}

.side-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
}

.notice {
  border-left: 4px solid var(--orange);
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

footer {
  background: #05060a;
  color: #9ca3af;
  padding: 32px 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 10px;
}

.footer-inner a { color: #e5e7eb; }

@media (max-width: 900px) {
  .form-layout, .grid-2, .check-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .side-card { position: static; }
  .form-card { padding: 24px; }
}

.footer-links, .legal-note { width: 100%; }
.legal-note { color: #6b7280; font-size: 0.82rem; }
