/* ─── INTAKE PAGE ─────────────────────────────────────────────── */
.intake-main {
  padding-top: calc(var(--space-20) + 60px);
  padding-bottom: var(--space-24);
  min-height: 100vh;
}

.intake-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.intake-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.intake-sub {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 50ch;
  margin: 0 auto;
}

/* ─── TABS ────────────────────────────────────────────────────── */
.product-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  padding: var(--space-3) var(--space-6);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ─── FORM PANELS ─────────────────────────────────────────────── */
.intake-form { display: none; }
.intake-form.active { display: block; }

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-gold);
}
.form-meta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.form-desc { color: var(--text-muted); font-size: var(--text-sm); max-width: 50ch; line-height: 1.6; }
.form-pricing {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: right;
  flex-shrink: 0;
}
.price-tier { font-size: var(--text-xs); color: var(--text-muted); }
.price-tier strong { color: var(--gold); margin-left: var(--space-2); }

/* ─── FORM SECTIONS ───────────────────────────────────────────── */
.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-5);
}
.form-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.optional {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.section-hint { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: var(--space-5); line-height: 1.6; }

/* ─── FIELDS ──────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.field-wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.req { color: var(--gold); }
.field input[type="text"],
.field input[type="email"],
.field input[type="date"],
.field input[type="time"],
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  transition: border-color 0.2s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; }
.field input:disabled { opacity: 0.4; pointer-events: none; }
.field-hint { font-size: var(--text-xs); color: var(--text-faint); line-height: 1.5; }

/* ─── UNKNOWN CHECKBOX ────────────────────────────────────────── */
.unknown-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.unknown-check input[type="checkbox"] { accent-color: var(--gold); cursor: pointer; }
.unknown-check label { font-size: var(--text-xs); color: var(--text-muted); cursor: pointer; }

/* ─── CAVEAT ──────────────────────────────────────────────────── */
.caveat {
  background: rgba(161,44,123,0.08);
  border: 1px solid rgba(161,44,123,0.25);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-2);
}
.caveat strong { color: #c163a7; }

/* ─── SYSTEM SELECT ───────────────────────────────────────────── */
.system-select { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.system-option {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  cursor: pointer;
  transition: border-color 0.2s;
}
.system-option:has(input:checked) { border-color: var(--gold); background: var(--gold-dim2); }
.system-option input { accent-color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.system-name { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--text); margin-bottom: var(--space-1); }
.system-desc { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }

/* ─── TIER SELECT ─────────────────────────────────────────────── */
.tier-select { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); }
.tier-option {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  cursor: pointer;
  transition: border-color 0.2s;
}
.tier-option:has(input:checked) { border-color: var(--gold); background: var(--gold-dim2); }
.tier-option input { display: none; }
.tier-option-inner { display: flex; justify-content: space-between; align-items: center; }
.tier-option-inner span:first-child { font-size: var(--text-sm); font-weight: 600; color: var(--text); }
.tier-option-price { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--gold); }
.tier-option-desc { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }

/* ─── DURATION SELECT ─────────────────────────────────────────── */
.duration-select { display: flex; flex-direction: column; gap: var(--space-2); }
.duration-opt { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); cursor: pointer; }
.duration-opt input { accent-color: var(--gold); }

/* ─── RUSH ROW ────────────────────────────────────────────────── */
.rush-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.rush-row input { accent-color: var(--gold); }
.rush-row label { font-size: var(--text-sm); color: var(--text); cursor: pointer; }
.rush-note { font-size: var(--text-xs); color: var(--text-muted); width: 100%; }

/* ─── PROMO ───────────────────────────────────────────────────── */
.promo-field { max-width: 280px; }

/* ─── SUBMIT ──────────────────────────────────────────────────── */
.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
}

/* ─── SUCCESS OVERLAY ─────────────────────────────────────────── */
.success-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,15,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.success-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  max-width: 480px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
}
.success-card h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }
.success-card p { color: var(--text-muted); line-height: 1.7; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  .field-row { grid-template-columns: 1fr; }
  .system-select { grid-template-columns: 1fr; }
  .form-meta { flex-direction: column; }
  .form-pricing { text-align: left; }
  .product-tabs { overflow-x: auto; }
}
