/* BECOMATRIX brand system v0.1 (preview)
   Base: black/charcoal. Accents: metallic gold, controlled purple. Type: ivory/silver. */
:root {
  --bg: #0a0a0b;
  --bg-raise: #15120b;
  --panel: #141416;
  --line: #2a2a2e;
  --gold: #c9a14e;
  --gold-hi: #f2d68c;
  --gold-lo: #9a7a36;
  --purple: #6d4fa3;
  --purple-soft: #8f76c4;
  --ivory: #f5f1e6;
  --silver: #b8b4a8;
  --dim: #7d7a72;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

/* ---------- chrome ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(10,10,11,.92); backdrop-filter: blur(8px); z-index: 10;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand .word { font-family: var(--font-display); letter-spacing: .18em; font-size: 15px; color: var(--ivory); }
.brand .word span { color: var(--gold); }
.topbar nav a { margin-left: 18px; font-size: 14px; color: var(--silver); }
.topbar nav a:hover { color: var(--gold-hi); }

.wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.wrap-wide { max-width: 980px; }

/* ---------- landing ---------- */
.hero { text-align: center; padding: 64px 0 40px; }
.hero img { width: 92px; height: 92px; }
.kicker {
  letter-spacing: .3em; font-size: 12px; color: var(--gold);
  text-transform: uppercase; margin: 18px 0 10px;
}
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 6vw, 52px); line-height: 1.12; color: var(--ivory);
}
h1 em { color: var(--gold); font-style: normal; }
.lede { color: var(--silver); font-size: 18px; max-width: 560px; margin: 20px auto 0; }
.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 4px;
  font-size: 15px; letter-spacing: .04em; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-gold { background: linear-gradient(160deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); color: #15120b; font-weight: 600; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,161,78,.25); color: #15120b; }
.btn-ghost { border-color: var(--gold-lo); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.section { margin-top: 72px; }
.section h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 14px; color: var(--ivory); }
.section h2 .slash { color: var(--gold); }
.section p { color: var(--silver); }

.loop { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.loop span {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: 12.5px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase;
}
.loop i { color: var(--dim); font-style: normal; align-self: center; }

.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.journey div {
  border: 1px solid var(--line); border-radius: 8px; padding: 18px 14px; background: var(--panel);
}
.journey b { display: block; font-family: var(--font-display); color: var(--gold-hi); font-size: 17px; margin-bottom: 6px; }
.journey small { color: var(--silver); font-size: 13.5px; }

.note-box {
  border: 1px solid var(--gold-lo); border-left-width: 4px; border-radius: 6px;
  background: var(--bg-raise); padding: 18px 20px; margin-top: 22px; color: var(--silver); font-size: 14.5px;
}
.note-box b { color: var(--ivory); }
.purple-mark { color: var(--purple-soft); }

footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 20px 40px; text-align: center; color: var(--dim); font-size: 13px; }
footer .fbrand { letter-spacing: .2em; color: var(--gold); font-size: 12px; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- assessment flow ---------- */
.progress-rail { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 8px 0 26px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); width: 0; transition: width .3s ease; }
.step-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }

.q-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 26px; margin-top: 10px;
}
.q-text { font-family: var(--font-display); font-size: 22px; line-height: 1.35; color: var(--ivory); margin-bottom: 6px; }
.q-why { font-size: 13px; color: var(--dim); margin-bottom: 22px; }
.likert { display: grid; gap: 8px; }
.likert button {
  text-align: left; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--silver); font-size: 15px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.likert button:hover, .likert button:focus-visible { border-color: var(--gold); color: var(--ivory); background: rgba(201,161,78,.06); outline: none; }
.likert button .n { color: var(--gold); font-size: 12px; margin-right: 10px; letter-spacing: .1em; }
.q-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.link-btn { background: none; border: none; color: var(--dim); font-size: 13.5px; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--silver); }

/* ---------- consent ---------- */
.consent-list { list-style: none; margin: 18px 0; }
.consent-list li { padding: 12px 0 12px 30px; position: relative; color: var(--silver); border-bottom: 1px solid var(--line); font-size: 15px; }
.consent-list li::before { content: "—"; position: absolute; left: 4px; color: var(--gold); }
.consent-check { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0; padding: 16px; border: 1px solid var(--purple); border-radius: 8px; background: rgba(109,79,163,.07); }
.consent-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--purple); }
.consent-check label { font-size: 14.5px; color: var(--ivory); }

/* ---------- result ---------- */
.score-block { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 22px; margin-top: 16px; }
.score-block h3 { font-family: var(--font-display); color: var(--gold-hi); font-size: 19px; }
.score-block .desc { color: var(--silver); font-size: 14.5px; margin-top: 8px; }
.meter { height: 8px; background: var(--line); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.meter-label { font-size: 12px; color: var(--dim); margin-top: 6px; }
.status {
  display: inline-block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--purple); color: var(--purple-soft); border-radius: 999px; padding: 4px 12px; margin-top: 12px;
}
.status.insufficient { border-color: var(--dim); color: var(--dim); }
.challenge { margin-top: 12px; }

/* ---------- forms ---------- */
.field { margin-top: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: .08em; color: var(--silver); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ivory); font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--gold); }
.preview-flag {
  display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--gold-lo); color: var(--gold); border-radius: 4px; padding: 3px 10px; margin-left: 10px;
}
/* ---------- audit + symbolic ---------- */
.audit-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.audit-table td { border-top: 1px solid var(--line); padding: 10px 8px; font-size: 13px; color: var(--silver); vertical-align: top; }
.audit-table td:first-child { color: var(--gold); white-space: nowrap; width: 38%; font-size: 12px; letter-spacing: .06em; }

.hidden { display: none !important; }

@media (max-width: 560px) {
  .topbar nav a { margin-left: 10px; font-size: 13px; }
  .wrap { padding-top: 28px; }
  .q-card { padding: 22px 18px; }
}
@media print {
  body { background: #fff; color: #111; }
  .topbar, .cta-row, .link-btn, .challenge { display: none !important; }
  .score-block, .q-card { border-color: #999; background: #fff; }
  .q-text, h1, h2, h3, .score-block h3 { color: #111 !important; }
  .desc, .section p, .lede { color: #333 !important; }
}
