/* Intake form styles — extends theme.css design tokens */

.intake-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
}

.intake-container {
  width: 100%;
  max-width: 600px;
}

.intake-header {
  margin-bottom: 48px;
}

.intake-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.intake-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8680' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.submit-btn {
  background: var(--accent);
  color: #0a0a08;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
}

.submit-btn:hover { background: var(--accent-dim); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

/* Success state */
.success-panel {
  text-align: center;
  padding: 64px 32px;
}

.success-icon {
  font-size: 56px;
  margin-bottom: 24px;
}

.success-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.success-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Error message */
.form-error {
  background: rgba(255,80,80,0.08);
  border: 1px solid rgba(255,80,80,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #ff6b6b;
  display: none;
}
.form-error.visible { display: block; }