/* Client onboarding page — matches landing page theme */
:root {
  --bg: #0c0c0e;
  --surface: #141416;
  --surface2: #1c1c1f;
  --border: #2a2a2e;
  --text: #f0ede6;
  --text-muted: #7a7873;
  --accent: #d4a84b;
  --accent-dim: rgba(212, 168, 75, 0.12);
  --accent-hover: #e6bc62;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Reuse landing page header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem; border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.wordmark {
  font-family: var(--serif); font-size: 1.25rem;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
header nav {
  display: flex; gap: 1.5rem; align-items: center;
}
header nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em;
  transition: color 0.2s;
}
header nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent-dim);
  border: 1px solid rgba(212, 168, 75, 0.25);
  color: var(--accent) !important;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: rgba(212, 168, 75, 0.2); border-color: rgba(212, 168, 75, 0.4); }

/* Page layout */
.onboarding-page {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.onboarding-container {
  width: 100%;
  max-width: 680px;
}

/* Header */
.onboarding-header { margin-bottom: 3rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.onboarding-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 1rem;
}
.onboarding-lede {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.7; max-width: 520px;
}

/* Form sections */
.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.form-section-title {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}

.field-group { margin-bottom: 1.25rem; }
.field-group:last-child { margin-bottom: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

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

.field-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.field-input::placeholder { color: var(--text-muted); opacity: 0.6; }
.field-input:focus {
  border-color: rgba(212, 168, 75, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}
.field-input.input-error { border-color: #e05447; }
.field-input:disabled { opacity: 0.5; cursor: not-allowed; }

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

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #e05447;
  margin-top: 0.35rem;
  min-height: 1.2em;
}

/* Footer area */
.form-footer {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 400px;
}

.btn-submit {
  background: var(--accent);
  color: #0c0c0e;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-submit:hover:not(:disabled) { background: var(--accent-hover); }
.btn-submit:active:not(:disabled) { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Confirmation state */
.hidden { display: none; }

.confirmation {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}
.confirmation-icon { margin-bottom: 1.5rem; }
.confirmation h2 {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.confirmation p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 2rem;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: rgba(212, 168, 75, 0.4); color: var(--accent); }

/* Responsive */
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .onboarding-page { padding-top: 5rem; }
  header nav { display: none; }
}