:root {
  --ink: #1a1a1a; --navy: #0f1f3a; --slate: #1a3a5c; --gold: #d9a441;
  --cream: #faf6ec; --bg: #f4f1ea; --line: #e2dccb; --muted: #6b6457;
  --maxw: 760px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: Georgia, "Times New Roman", serif; line-height: 1.6;
  min-height: 100vh; display: flex; flex-direction: column;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; border-bottom: 1px solid var(--line); background: #fff;
}
.brand { font-family: "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: 2px;
  font-size: 12px; color: var(--navy); font-weight: 600; }
.brand span { color: var(--gold); }
.pill { font-family: "Segoe UI", sans-serif; font-size: 11px; padding: 3px 10px;
  border-radius: 999px; background: var(--cream); color: var(--slate); border: 1px solid var(--gold); }

#app { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 24px 20px 60px; flex: 1; }

/* intro */
.intro h1 { font-family: "Segoe UI", Helvetica, sans-serif; color: var(--navy);
  font-size: 38px; margin: 18px 0 6px; line-height: 1.1; }
.intro .sub { font-size: 18px; color: #2a2a2a; }
.frames { list-style: none; padding: 0; margin: 22px 0; }
.frames li { padding: 10px 14px; border-left: 4px solid var(--gold); background: var(--cream);
  border-radius: 4px; margin: 8px 0; font-size: 15px; }
.frames strong { color: var(--navy); }
.disclaimer { font-size: 12.5px; color: var(--muted); margin-top: 22px; }

button.primary { font-family: "Segoe UI", sans-serif; font-weight: 600; font-size: 16px;
  color: #fff; background: var(--navy); border: none; border-radius: 8px; padding: 12px 22px;
  cursor: pointer; transition: background .15s; }
button.primary:hover { background: var(--slate); }
button.primary:disabled { opacity: .5; cursor: default; }
button.ghost { font-family: "Segoe UI", sans-serif; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 18px; cursor: pointer; color: var(--slate); }

/* chat */
.transcript { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 16px; white-space: pre-wrap; }
.msg.guide { align-self: flex-start; background: #fff; border: 1px solid var(--line);
  border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg.typing { color: var(--muted); font-style: italic; }
.composer { display: flex; gap: 10px; align-items: flex-end; position: sticky; bottom: 0;
  background: var(--bg); padding-top: 8px; }
.composer textarea { flex: 1; resize: none; font-family: Georgia, serif; font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  max-height: 200px; }
.composer-hint { font-family: "Segoe UI", sans-serif; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* report */
.report-body { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 30px; }
.report-body h1 { font-family: "Segoe UI", sans-serif; color: var(--navy); font-size: 28px;
  border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.report-body h2 { font-family: "Segoe UI", sans-serif; color: var(--slate); font-size: 19px; margin-top: 24px; }
.report-body em { color: var(--muted); }
.report-actions { display: flex; gap: 12px; margin-top: 20px; }

.tagline { font-size: 19px; color: var(--slate); font-style: italic; margin: 2px 0 18px; }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 26px 0 14px; }
a.buy { text-decoration: none; display: inline-block; font-size: 18px; padding: 14px 26px;
  background: var(--gold); color: #3a2a00; border-radius: 10px; font-weight: 700;
  box-shadow: 0 2px 10px rgba(217,164,65,.35); }
a.buy:hover { background: #e7b455; }
.guarantee { font-size: 14px; color: #2a2a2a; background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
.honest-urgency { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }

@media (max-width: 560px) {
  .intro h1 { font-size: 30px; }
  .msg { max-width: 95%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  a.buy { text-align: center; }
}
