/* ===== DESIGN TOKENS (matching landing page theme.css) ===== */
:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-card: #1a2235;
  --fg: #e8ecf4;
  --fg-muted: #8b95a8;
  --accent: #d4a053;
  --accent-light: #e8c17a;
  --accent-glow: rgba(212, 160, 83, 0.15);
  --border: rgba(139, 149, 168, 0.12);
  --radius: 12px;
  --max-width: 1140px;
  --form-width: 680px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
.accent { color: var(--accent); }

/* ===== PAGE WRAPPER ===== */
.intake-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== NAV ===== */
.intake-nav {
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* ===== MAIN ===== */
.intake-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 80px 24px 100px;
}

.intake-container {
  max-width: var(--form-width);
  margin: 0 auto;
  width: 100%;
}

/* ===== HEADER ===== */
.intake-header {
  margin-bottom: 48px;
  text-align: center;
}

.intake-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212, 160, 83, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.intake-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}

.intake-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== ERROR ===== */
.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.92rem;
}

/* ===== FORM ===== */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

label {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.required {
  color: var(--accent);
}

/* Inputs */
input, select, textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder {
  color: rgba(139, 149, 168, 0.5);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b95a8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select option {
  background: var(--bg-card);
  color: var(--fg);
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
  background: var(--accent);
  color: #0a0e17;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  align-self: flex-start;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 160, 83, 0.25);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-privacy {
  color: var(--fg-muted);
  font-size: 0.82rem;
  margin-top: -4px;
}

/* ===== SUCCESS ===== */
.success-check {
  text-align: center;
  margin-bottom: 32px;
}

.success-check svg {
  display: inline-block;
}

/* ===== HOME LINK ===== */
.btn-home {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(212, 160, 83, 0.3);
  border-radius: 8px;
  padding: 12px 24px;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  margin-top: 8px;
}

.btn-home:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent-light);
}

/* ===== FOOTER ===== */
.intake-footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-divider {
  color: var(--fg-muted);
  opacity: 0.4;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .intake-main {
    padding: 48px 20px 64px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    width: 100%;
  }

  .intake-footer {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .footer-divider { display: none; }
}