/* Brand colours taken from omniforce.ai Framer tokens, 22 Nov 2026 */
:root {
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --purple-darker: #5b21b6;
  --purple-light: #a78bfa;
  --purple-soft: #ede9fe;
  --lilac: #e8e4ef;
  --bg: #faf8fc;
  --ink: #1a1225;
  --muted: #3d3450;
  --slate: #6b6280;
  --white: #ffffff;
  --line: #d9d3e4;
  --danger: #8a1c3a;
  --ok: #037c46;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 18, 37, 0.08);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

.draft-banner {
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  text-align: center;
}
.draft-banner strong { font-weight: 600; }

.wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.wordmark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
}
.brand-pill {
  font-size: 12px;
  color: var(--purple-darker);
  background: var(--purple-soft);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  text-decoration: none;
}
footer.foot {
  margin-top: 48px;
  padding-top: 16px;
  font-size: 13px;
}
footer.foot a {
  color: var(--slate);
  text-decoration: none;
}

h1, h2, .score-line {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1 { font-size: clamp(1.8rem, 4.4vw, 2.55rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.lede, .body, p { margin: 0 0 16px; }
.lede { font-size: 1.15rem; color: var(--muted); }

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.area {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.area strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-darker);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--ink);
}

.cred {
  background: var(--white);
  border-left: 3px solid var(--purple);
  padding: 16px 18px;
  margin: 8px 0 28px;
  border-radius: 0 12px 12px 0;
}

.btn {
  appearance: none;
  border: 0;
  background: var(--purple);
  color: var(--white);
  font: inherit;
  font-weight: 560;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--purple-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .choice:focus-visible, .back:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 2px;
}
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.secondary:hover { background: var(--purple-soft); }
.btn.full { width: 100%; }

.fine {
  margin-top: 14px;
  font-size: 13px;
  color: var(--slate);
}

.placeholder {
  display: inline;
  background: #fff4c8;
  color: #5c4a00;
  border: 1px dashed #c9a227;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 0.92em;
  font-weight: 550;
  text-decoration: none;
  white-space: normal;
}
.placeholder-block {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: #fff8dd;
  border: 1px dashed #c9a227;
  border-radius: 12px;
}
.placeholder-block p { margin: 0 0 8px; font-size: 13px; color: #5c4a00; }
.placeholder-block p:last-child { margin-bottom: 0; }

.progress-wrap { margin-bottom: 22px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 8px;
}
.progress {
  height: 6px;
  background: var(--lilac);
  border-radius: 99px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--purple);
  width: 0;
  transition: width 0.2s ease;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-darker);
  font-weight: 600;
  margin-bottom: 8px;
}
.question { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-bottom: 22px; }

.choices { display: grid; gap: 10px; }
.choice {
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.12s ease, background 0.12s ease;
}
.choice:hover { border-color: var(--purple-light); }
.choice[aria-checked="true"], .choice.selected {
  border-color: var(--purple);
  background: var(--purple-soft);
  box-shadow: 0 0 0 1px var(--purple);
}
.helper {
  margin: 6px 0 0 4px;
  font-size: 13px;
  color: var(--slate);
}
.choice-stack { display: grid; gap: 2px; }

.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.back {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 8px 0;
}
.back:hover { color: var(--ink); }

form.contact { display: grid; gap: 14px; margin-top: 8px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 550; }
input, textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.optional { font-weight: 400; color: var(--slate); }
.error { color: var(--danger); font-size: 13px; margin: 0; min-height: 0; }

.results-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.score-line {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.tier-pill {
  display: inline-block;
  background: var(--purple-soft);
  color: var(--purple-darker);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.bars { display: grid; gap: 10px; margin: 8px 0 24px; }
.bar-row { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 10px; align-items: center; font-size: 13px; }
.bar-row span:first-child { color: var(--muted); }
.bar {
  height: 8px;
  background: var(--lilac);
  border-radius: 99px;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: var(--purple);
  border-radius: 99px;
}
.insight {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 20px;
}
.insight strong { display: block; margin-bottom: 4px; font-size: 13px; color: var(--purple-darker); }
.steps { padding-left: 20px; margin: 0 0 18px; }
.steps li { margin: 0 0 6px; }

.debug {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f1f8;
  overflow: hidden;
}
.debug summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.debug pre {
  margin: 0;
  padding: 0 16px 16px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.hidden { display: none !important; }
.screen { animation: in 0.22s ease; }
@keyframes in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .areas { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .results-card { padding: 20px 16px; }
  .btn { width: 100%; }
  .nav-row .btn { width: auto; }
}

.kit-capture {
  margin-top: 32px;
  padding-top: 8px;
}
.kit-capture h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.kit-capture > p {
  color: var(--muted);
  margin: 0 0 16px;
}
.kit-form {
  min-height: 120px;
}
.kit-frame {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 16px;
  background: transparent;
}
.kit-form-note {
  margin-top: 12px;
}
.fine a {
  color: var(--purple-dark);
}

label.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}
label.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--purple);
}
.kit-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.kit-status.ok {
  background: #e8f7ef;
  color: var(--ok);
}
.kit-status.warn {
  background: #fff4c8;
  color: #5c4a00;
}
.restart-wrap { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; }
}

.role-label .label-text { white-space: nowrap; }
.email-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 8px 0 16px; }
.email-actions [hidden] { display: none; }

@media print {
  .site, .email-actions, .restart-wrap, .back, footer.foot { display: none !important; }
}
