body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f4f5f8;
}

.intake-card {
  border: none;
  overflow: hidden;
}

.intake-card-header {
  background: #8d0000;
  color: #fff;
  padding: 2rem 1.5rem 1.25rem;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.form-title {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.form-subtitle {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
}

.section {
  margin-bottom: 1.25rem;
  border: 1px solid #e2e2e2;
  border-radius: 0.5rem;
  background: #fff;
}

.section-header {
  background: #8d0000;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #d4d4d4;
}

.section-body {
  padding: 1rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.boxed-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 0.65rem;
  background: #fafafa;
  cursor: pointer;
}

.boxed-check input {
  margin-top: 0.2rem;
}

.boxed-check .form-check-label {
  display: inline-block;
  line-height: 1.4;
  opacity: 0.95;
}

.form-control,
textarea.form-control {
  border-radius: 0.45rem;
  border-color: #d2d2d2;
}

.form-control:focus,
textarea.form-control:focus {
  border-color: #8d0000;
  box-shadow: 0 0 0 0.15rem rgba(141, 0, 0, 0.15);
}

.mb-3 .btn,
.d-flex .btn {
  min-width: 140px;
}

#formAlert {
  border-radius: 0.5rem;
}

.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}

.boxed-check:hover {
  border-color: #8d0000;
  background: #fff7f7;
}

@media (max-width: 768px) {
  .section-body {
    padding: 0.85rem;
  }

  .section-header {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
}
