:root {
  --bg: #130f0f;
  --panel: #211818;
  --panel-2: #2d2020;
  --text: #f8eeee;
  --muted: #cdb9b9;
  --accent: #ff6b4a;
  --border: #4b3232;
  --danger: #ffd6cc;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #321c1c 0, var(--bg) 45%);
  color: var(--text);
}
.page-shell { width: min(1180px, 94vw); margin: 0 auto; padding: 32px 0 56px; }
.hero, .input-panel, .synthesis-card, .agent-card, .validation-fail {
  background: rgba(33, 24, 24, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.hero { padding: 30px; margin-bottom: 18px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin: 0; line-height: .95; }
.subtitle { color: var(--muted); max-width: 780px; font-size: 1.1rem; }
.disclaimer { margin-top: 18px; padding: 14px; border: 1px solid #6b3b30; border-radius: 12px; background: #2a1815; color: #ffe4dc; }
.validation-fail { border-color: #ff9c86; background: #3a1913; padding: 20px; margin-bottom: 18px; color: var(--danger); }
.input-panel { padding: 22px; margin-bottom: 18px; }
label { display: block; font-weight: 700; margin: 16px 0 8px; }
textarea {
  width: 100%; min-height: 150px; resize: vertical; border: 1px solid var(--border); border-radius: 12px;
  background: #110c0c; color: var(--text); padding: 14px; font-size: 1rem; line-height: 1.45;
}
#founder_answer { min-height: 105px; }
.form-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
button {
  border: 0; border-radius: 999px; background: var(--accent); color: #1a0d08;
  padding: 13px 22px; font-weight: 800; cursor: pointer; font-size: 1rem;
}
button:hover { filter: brightness(1.06); }
.history { color: var(--muted); }
.synthesis-card { padding: 24px; margin-bottom: 18px; }
.ares-card { border-color: #8f4b3b; }
.agents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 16px; }
.agent-card { padding: 20px; }
.card-header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 14px; }
.card-header h2 { margin: 0; font-size: 1.35rem; }
.card-header span { color: var(--muted); text-align: right; font-size: .92rem; }
.field { margin: 12px 0; }
.field p, .synthesis-card p { color: #f5e8e8; line-height: 1.5; }
ul { margin-top: 8px; }
li { margin: 7px 0; line-height: 1.45; }
.empty-state { color: var(--muted); font-style: italic; }
.status-pill { display: inline-block; padding: 8px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); font-weight: 800; }
.hard-question { font-size: 1.1rem; font-weight: 700; color: #ffe0d8; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
@media (max-width: 650px) { .card-header { display: block; } .card-header span { display: block; text-align: left; margin-top: 4px; } }
