:root {
  --cream: #faf5ee;
  --cream-2: #f2e9db;
  --ink: #1c1a17;
  --navy: #14161f;
  --amber: #b5652f;
  --amber-2: #e8a468;
  --line: #e4d8c4;
  --green: #2f6b4f;
  --red: #a8412f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

.serif { font-family: Georgia, "Times New Roman", serif; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

nav.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
nav.top .brand { font-family: Georgia, serif; font-weight: bold; font-size: 20px; }
nav.top .tag { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #7a6f5e; }

.hero { padding: 56px 24px 40px; }
.eyebrow {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber);
  font-weight: 600; margin-bottom: 14px;
}
h1 {
  font-family: Georgia, serif; font-size: 44px; line-height: 1.12; margin: 0 0 18px;
  max-width: 720px;
}
h1 .accent { color: var(--amber); text-decoration: underline; text-decoration-color: var(--amber-2); }
.lede { font-size: 18px; color: #40382e; max-width: 560px; margin: 0 0 28px; }

.honesty-box {
  background: var(--navy); color: #f1ece0; border-radius: 14px; padding: 22px 24px;
  max-width: 520px; margin: 0 0 32px; font-size: 14.5px;
}
.honesty-box strong { color: var(--amber-2); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
button, .btn {
  font: inherit; cursor: pointer; border: none; border-radius: 999px;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #322c22; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.fine { font-size: 12.5px; color: #7a6f5e; margin-top: 4px; }

section { padding: 40px 24px; border-top: 1px solid var(--line); }
h2 { font-family: Georgia, serif; font-size: 28px; margin: 0 0 12px; }
.section-lede { color: #40382e; max-width: 620px; margin-bottom: 24px; }

.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  max-width: 560px;
}
.demo-card .eyebrow2 { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #7a6f5e; margin-bottom: 10px; }
.demo-card .stem { font-size: 17px; margin-bottom: 16px; }
.demo-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.demo-options button {
  background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px; font-weight: 500; text-align: left;
}
.demo-options button:hover { border-color: var(--amber); }
.demo-readout {
  background: var(--cream-2); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; min-height: 44px;
}
.demo-readout .label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--amber); font-weight: 700; margin-bottom: 4px; }

.auth-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  max-width: 420px;
}
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; background: var(--cream-2); color: var(--ink); font-weight: 600; }
.auth-tabs button.active { background: var(--ink); color: #fff; }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input[type="text"], input[type="password"] {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1.5px solid var(--line);
  font: inherit; font-size: 15px;
}
.error-msg { color: var(--red); font-size: 13.5px; margin-top: 10px; min-height: 18px; }
.hidden { display: none !important; }

footer { padding: 30px 24px 60px; color: #8a8073; font-size: 13px; }

/* Questions page */
.progress-bar { height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 22px; }
.progress-fill { height: 100%; background: var(--amber); transition: width .2s; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.q-meta { font-size: 12.5px; color: #7a6f5e; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.q-stem { font-size: 18px; margin-bottom: 20px; }
.q-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.q-options button {
  text-align: left; background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font-size: 15px;
}
.q-options button.selected { border-color: var(--amber); background: #fbeee0; }
.q-nav { display: flex; justify-content: space-between; }

.done-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: center; }
