/* Intake form & report styles — extends theme.css */

.btn-nav {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}
.btn-nav:hover { color: var(--fg); }

.nav-link {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }

/* Intake hero */
.intake-hero {
  padding: 80px 48px 60px;
  border-bottom: 1px solid var(--border);
}
.intake-hero-inner {
  max-width: 700px;
}
.intake-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.15;
}
.intake-lede {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
}

/* Form section */
.intake-form-section {
  padding: 60px 48px 80px;
}
.intake-form-wrap {
  max-width: 680px;
}

/* Error */
.form-error {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 28px;
}

/* Fieldset */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 40px;
}
.fieldset-legend {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  width: 100%;
  display: block;
}

/* Form groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 6px;
}
.required { color: var(--gold); }
.form-hint {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 90, 71, 0.12);
}
.form-textarea { resize: vertical; }

/* Form actions */
.form-actions {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.form-disclaimer {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Report page */
.report-hero {
  padding: 80px 48px 60px;
  border-bottom: 1px solid var(--border);
}
.report-hero-inner { max-width: 700px; }
.report-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 8px;
}
.report-date {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

/* Score badge */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
}
.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--badge-color, var(--accent));
  line-height: 1;
}
.score-label {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.score-label em { font-style: normal; color: var(--badge-color, var(--accent)); font-weight: 500; }

/* Report body */
.report-body { padding: 60px 48px 80px; }
.report-wrap { max-width: 700px; }

.report-section { margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* AI summary */
.ai-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
}
.ai-para {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ai-para:last-child { margin-bottom: 0; }

/* Score breakdown */
.score-breakdown { display: flex; flex-direction: column; gap: 16px; }
.score-row { display: flex; flex-direction: column; gap: 6px; }
.score-row-label { font-size: 13px; color: var(--fg-muted); }
.score-bar-wrap { display: flex; align-items: center; gap: 14px; }
.score-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}
.score-row-val { font-size: 13px; font-weight: 500; color: var(--fg); min-width: 36px; text-align: right; }

/* Profile grid */
.profile-grid { display: flex; flex-direction: column; }
.profile-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.profile-row:first-child { border-top: 1px solid var(--border); }
.profile-key { color: var(--fg-muted); }
.profile-val { color: var(--fg); }

/* Next steps */
.next-steps {}
.steps-list {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.steps-list li {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.6;
  counter-increment: steps;
}
.steps-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.steps-list { counter-reset: steps; }

/* Report CTA */
.report-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.report-cta-text {
  font-size: 15px;
  color: var(--fg-muted);
}

@media (max-width: 768px) {
  .intake-hero, .intake-form-section, .report-hero, .report-body { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .profile-row { grid-template-columns: 110px 1fr; }
}