/* ─── ONBOARD FORM PAGE ─────────────────────────── */
.onboard-page {
  min-height: 100vh;
  padding: 100px clamp(24px, 8vw, 96px) 80px;
  max-width: 720px;
  margin: 0 auto;
}

.onboard-header {
  margin-bottom: 48px;
}

.onboard-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.onboard-sub {
  font-size: 17px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
  max-width: 480px;
}

/* Error banner */
.form-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 91, 0, 0.08);
  border: 1px solid rgba(255, 91, 0, 0.3);
  border-radius: 8px;
  padding: 14px 18px;
  color: #ff8c3a;
  font-size: 14px;
  margin-bottom: 32px;
}

/* Form steps */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-step {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.form-step--cta {
  border-bottom: none;
  padding-bottom: 60px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 28px;
}

.step-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

/* Fields */
.field-group {
  margin-bottom: 20px;
}

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

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

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

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.15s;
  display: block;
}

.field-input::placeholder {
  color: var(--text-muted);
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* CTA step */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.cta-text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-submit:hover {
  background: #e04d00;
}

.btn-submit:active {
  transform: scale(0.98);
}

/* ─── BRIEF RESULT PAGE ─────────────────────────── */
.brief-page {
  min-height: 100vh;
  padding: 100px clamp(24px, 8vw, 96px) 80px;
  max-width: 860px;
  margin: 0 auto;
}

.brief-header {
  margin-bottom: 56px;
}

.brief-business {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 12px 0 8px;
  line-height: 1.1;
}

.brief-type {
  font-size: 16px;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 20px;
}

.brief-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.meta-badge--complete {
  background: rgba(0, 200, 100, 0.1);
  color: #00c864;
  border: 1px solid rgba(0, 200, 100, 0.3);
}

.meta-badge--pending {
  background: rgba(255, 91, 0, 0.1);
  color: var(--accent-warm);
  border: 1px solid rgba(255, 91, 0, 0.3);
}

.meta-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* Brief sections */
.brief-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.brief-section--last {
  border-bottom: none;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.brief-text {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-num {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  min-width: 32px;
}

.pillar-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

/* Themes */
.themes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-tag {
  background: rgba(255, 91, 0, 0.08);
  border: 1px solid rgba(255, 91, 0, 0.2);
  color: var(--accent-warm);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* Platforms */
.platform-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
}

.platform-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  min-width: 80px;
}

.platform-reason {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Schedule */
.schedule-text {
  margin-bottom: 20px;
}

.formats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* Key messages */
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.message-num {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  min-width: 24px;
  margin-top: 2px;
}

.message-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 640px) {
  .calendar-grid { grid-template-columns: 1fr 1fr; }
}

.calendar-week {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.week-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 91, 0, 0.06);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.week-posts {
  list-style: none;
  padding: 0;
}

.week-posts li {
  font-size: 12px;
  color: var(--text-dim);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.week-posts li:last-child {
  border-bottom: none;
}

/* Metrics */
.metrics-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}

/* Pending state */
.brief-pending {
  text-align: center;
  padding: 80px 0;
}

.brief-pending h2 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 12px;
}

.brief-pending p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-back:hover {
  background: #e04d00;
}

/* Bottom actions */
.brief-actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.btn-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-new:hover { background: #e04d00; }

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-home:hover {
  border-color: var(--text-dim);
  color: var(--text);
}