/* Speaker Intake Form — supplemental styles */

.intake-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 64px; /* nav height */
}

.intake-header {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 4rem) 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%),
    var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.intake-header-inner {
  max-width: 640px;
}
.intake-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}
.intake-header p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.intake-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-section {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.form-section:last-of-type {
  border-bottom: none;
}

.section-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  width: 100%;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.optional-label {
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.field-row:last-child {
  margin-bottom: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field.full-width {
  margin-bottom: 1.5rem;
}
.field.full-width:last-child {
  margin-bottom: 0;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}
.req {
  color: var(--accent);
}

.char-counter {
  float: right;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: rgba(143, 167, 143, 0.4);
}
input:focus,
textarea:focus {
  border-color: var(--accent);
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

.field-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-surface);
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.checkbox-field label {
  font-size: 0.9rem;
  cursor: pointer;
}

.operator-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1rem;
}

.form-footer {
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0f1a0f;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hidden { display: none !important; }

.form-error {
  color: #f87171;
  font-size: 0.9rem;
  padding: 10px 16px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
}

/* Confirmation screen */
.confirmation {
  max-width: 560px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.5rem;
}
.confirm-icon {
  margin-bottom: 2rem;
}
.confirmation h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  color: var(--fg);
  margin-bottom: 1rem;
}
.confirmation p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.confirm-note {
  font-size: 0.9rem !important;
  color: var(--fg-muted);
}
.btn-home {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-home:hover { color: var(--accent-dim); }

/* Responsive */
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 1rem; }
  .operator-section { padding: 1.5rem; }
  .intake-body { padding: 2rem 1.25rem 3rem; }
}