:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050505;
  color: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(0, 118, 255, 0.14), transparent 32%), #020202;
}

.page-wrap {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.brand {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2rem);
  letter-spacing: 0.08em;
}

.top-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-links a {
  text-decoration: none;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 8px 12px;
  color: #e2e8f0;
  background: rgba(2, 6, 23, 0.88);
  font-weight: 600;
}

.top-links a:hover {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border-color: #2563eb;
  color: #fff;
}

.form-shell {
  border: 1px solid #1f2937;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
  padding: 24px;
}

.doc-checklist {
  border: 1px solid #27416d;
  border-radius: 14px;
  padding: 14px;
  background: rgba(11, 18, 32, 0.78);
  margin: 0 0 18px;
}

.doc-checklist h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #bfdbfe;
}

.doc-checklist ul {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  line-height: 1.7;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

p.lead {
  margin: 0 0 20px;
  color: #cbd5e1;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #cbd5e1;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 13px 14px;
  background: #0b1220;
  color: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.file-note {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.upload-feedback {
  margin: 8px 0 0;
  color: #fda4af;
  font-size: 0.85rem;
  min-height: 1em;
}

.submit-row {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button,
.submit-row a {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

button {
  background: #2563eb;
  color: #fff;
}

.submit-row a {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.helper {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
}

.success-shell {
  text-align: center;
}

.success-shell h2 {
  margin-bottom: 8px;
}

.success-shell p {
  color: #cbd5e1;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .page-wrap {
    width: 94%;
    padding-top: 20px;
  }

  .form-shell {
    padding: 16px;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
