:root {
  --navy: #0b2f4f;
  --navy-light: #143c63;
  --accent: #ff5757;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e2e8f0;
  --bg: #f5f7fa;
  --success: #1a7f37;
  --error: #c92a2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 40px 28px;
  border-radius: 12px;
  text-align: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
  color: #a9c3dd;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 16px;
  color: #d6e2ee;
  margin: 0;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 34, 58, 0.08);
  padding: 28px;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}

.form-card h2 {
  margin-top: 0;
  font-size: 20px;
  color: var(--navy);
}

.field-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field-row .field {
  margin-bottom: 0;
}

label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(20, 60, 99, 0.12);
}

textarea {
  resize: vertical;
}

.consent-field {
  margin: 8px 0 20px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.uf-help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

button#submit-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

button#submit-btn:hover {
  opacity: 0.92;
}

button#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.form-status.success {
  color: var(--success);
  font-weight: 600;
}

.form-status.error {
  color: var(--error);
  font-weight: 600;
}

.disclaimer {
  margin-top: 32px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.disclaimer p {
  margin: 0 0 10px;
}

@media (max-width: 520px) {
  .field-row {
    flex-direction: column;
    gap: 0;
  }
  .hero h1 {
    font-size: 22px;
  }
}
