:root {
  --night: #0f0817;
  --night-2: #170d21;
  --panel: #21132f;
  --violet: #a65eed;
  --magenta: #dd3cdd;
  --red: #f04b3f;
  --gold: #ffcc00;
  --paper: #f4f1e8;
  --ink: #171816;
  --muted: #a99bb5;
  --line: rgba(255,255,255,.14);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--night); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(166,94,237,.2), transparent 30rem),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(145deg, #0b0510, var(--night-2));
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: #faf9fb;
  font-family: var(--sans);
}
button, input, select { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  display: flex;
  width: min(100% - 40px, 1360px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 9px; align-items: center; color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 4px; }
.brand-x { color: var(--gold); }
.brand-partner { font-weight: 800; }
.brand-cursor { display: inline-block; width: 5px; height: 11px; margin-left: 4px; background: var(--red); vertical-align: -1px; }
.header-meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.header-meta b { border-left: 1px solid var(--line); padding-left: 12px; color: var(--gold); }

main { width: min(100% - 40px, 1360px); margin: auto; }
.assessment-screen { min-height: calc(100vh - 144px); padding: clamp(48px, 7vw, 104px) 0; animation: enter .45s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); }

.intro-screen { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(420px,.96fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.intro-copy h1 { max-width: 13ch; margin: 0; font-size: clamp(50px, 6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
.intro-copy h1 em { color: var(--gold); font-weight: 500; }
.intro-lede { max-width: 55ch; margin: 28px 0; color: #d1c7d7; font-family: var(--display); font-size: clamp(19px, 1.6vw, 26px); line-height: 1.45; }
.assessment-promise { display: flex; flex-wrap: wrap; gap: 12px; }
.assessment-promise span { display: inline-flex; gap: 8px; align-items: baseline; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); padding: 8px 12px; color: var(--muted); font-size: 12px; }
.assessment-promise b { color: var(--gold); font-family: var(--mono); }

.use-case-picker { border: 1px solid rgba(166,94,237,.36); border-radius: 22px; background: linear-gradient(150deg, rgba(166,94,237,.13), rgba(255,255,255,.035)); padding: clamp(22px, 3vw, 38px); box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.picker-heading { display: grid; gap: 6px; margin-bottom: 18px; }
.picker-heading span, .section-heading span { font-family: var(--display); font-size: 24px; font-weight: 700; }
.picker-heading small, .section-heading small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.use-case-options { display: grid; gap: 8px; }
.use-case-options button { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: rgba(9,4,14,.4); padding: 13px; cursor: pointer; text-align: left; transition: border-color .18s, background .18s, transform .18s; }
.use-case-options button:hover { border-color: rgba(255,204,0,.5); transform: translateX(2px); }
.use-case-options button.is-selected { border-color: var(--gold); background: rgba(255,204,0,.09); }
.use-case-options i { display: grid; width: 30px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: rgba(166,94,237,.16); color: #d9b8f8; font-family: var(--mono); font-size: 10px; font-style: normal; font-weight: 700; }
.use-case-options button.is-selected i { background: var(--gold); color: #2b1b02; }
.use-case-options span { display: grid; gap: 2px; }
.use-case-options b { font-family: var(--display); font-size: 18px; }
.use-case-options small { color: var(--muted); font-size: 12px; line-height: 1.35; }

.primary-action, .secondary-action, .text-action { border: 0; cursor: pointer; transition: transform .18s, opacity .18s, background .18s; }
.primary-action { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; margin-top: 20px; border-radius: 12px; background: var(--gold); padding: 0 18px; color: #241603; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.primary-action:hover:not(:disabled) { transform: translateY(-2px); }
.primary-action:disabled { cursor: not-allowed; opacity: .35; }
.primary-action.compact { width: auto; min-width: 150px; margin: 0; }
.primary-action span { font-size: 18px; }
.privacy-note { margin: 12px 0 0; color: #81738d; font-size: 11px; text-align: center; }

.question-screen { display: grid; grid-template-columns: 250px minmax(0,800px); gap: clamp(40px, 7vw, 110px); align-items: center; justify-content: center; }
.question-rail { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); padding-right: 32px; }
.question-progress { display: grid; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.question-progress > div { overflow: hidden; height: 3px; background: rgba(255,255,255,.1); }
.question-progress i { display: block; width: 10%; height: 100%; background: linear-gradient(90deg, var(--violet), var(--gold)); transition: width .3s var(--ease); }
.workflow-context { margin-top: auto; padding-top: 30px; color: var(--muted); font-size: 13px; }
.workflow-context strong { display: block; margin-top: 4px; color: #fff; font-family: var(--display); font-size: 22px; }
.question-card { display: grid; align-content: center; min-height: 570px; }
.question-number { color: var(--gold); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.question-card h2 { max-width: 24ch; margin: 24px 0 54px; font-size: clamp(34px, 4vw, 58px); font-weight: 500; letter-spacing: -.025em; line-height: 1.04; }
.answer-scale { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 0; border: 0; padding: 0; }
.answer-scale legend { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.answer-scale button { display: grid; min-height: 88px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); padding: 12px 8px; cursor: pointer; }
.answer-scale button:hover, .answer-scale button.is-selected { border-color: var(--gold); background: rgba(255,204,0,.09); }
.answer-scale b { color: var(--gold); font-family: var(--display); font-size: 28px; }
.answer-scale span { color: var(--muted); font-size: 11px; }
.answer-scale button.is-selected span { color: #fff; }
.question-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; }
.text-action { background: transparent; padding: 10px 0; color: var(--muted); font-size: 13px; }
.text-action:hover { color: #fff; }

.results-screen { display: block; max-width: 1160px; margin: auto; }
.results-hero { display: grid; grid-template-columns: 1fr 240px; gap: 60px; align-items: center; }
.results-hero h1 { margin: 0; font-size: clamp(54px, 7vw, 100px); font-weight: 500; letter-spacing: -.045em; line-height: .93; }
.results-summary { max-width: 68ch; color: #c9becf; font-family: var(--display); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; }
.score-orbit { display: grid; width: 220px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--score) * 1%), rgba(255,255,255,.1) 0); box-shadow: 0 0 60px rgba(255,204,0,.12); transition: background .5s var(--ease); }
.score-orbit::before { grid-area: 1 / 1; width: 184px; aspect-ratio: 1; border-radius: 50%; background: var(--night-2); content: ""; }
.score-orbit > div { position: relative; grid-area: 1 / 1; display: grid; text-align: center; }
.score-orbit strong { color: var(--gold); font-family: var(--display); font-size: 78px; font-weight: 500; line-height: .85; }
.score-orbit span { color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.dimension-panel, .next-actions-panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); padding: 28px; }
.section-heading { display: grid; gap: 5px; margin-bottom: 24px; }
.dimension-bars { display: grid; gap: 18px; }
.dimension-row { display: grid; gap: 8px; }
.dimension-row > div:first-child { display: flex; justify-content: space-between; gap: 16px; color: #d9d0de; font-size: 13px; }
.dimension-row b { color: var(--gold); font-family: var(--mono); }
.bar { overflow: hidden; height: 7px; border-radius: 999px; background: rgba(255,255,255,.09); }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); }
.next-actions-panel ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: action; }
.next-actions-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; counter-increment: action; }
.next-actions-panel li::before { display: grid; width: 30px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--gold); color: #241603; content: counter(action, decimal-leading-zero); font-family: var(--mono); font-size: 10px; font-weight: 700; }
.next-actions-panel li span { color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; }
.next-actions-panel li p { grid-column: 2; margin: -7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

.lead-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); margin-top: 18px; border: 1px solid rgba(255,204,0,.38); border-radius: 20px; background: linear-gradient(135deg, rgba(255,204,0,.09), rgba(166,94,237,.08)); padding: clamp(26px, 4vw, 52px); }
.lead-copy h2, .unlocked-plan h2 { margin: 0 0 18px; font-size: clamp(36px, 4vw, 58px); font-weight: 500; letter-spacing: -.03em; line-height: .98; }
.lead-copy > p:not(.eyebrow), .unlocked-plan p { color: #c9becf; font-family: var(--display); font-size: 18px; line-height: 1.45; }
.lead-proof { display: grid; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.lead-proof i { width: 36px; height: 1px; background: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label.full { grid-column: 1 / -1; }
label > span { color: #d7ccdd; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
input, select { width: 100%; min-height: 46px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; outline: 0; background: rgba(7,3,11,.55); padding: 0 12px; color: #fff; }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,0,.1); }
select option { color: var(--ink); }
.consent, .conversation { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 15px; }
.consent input, .conversation input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--gold); }
.consent span, .conversation span { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; text-transform: none; }
.honeypot { position: absolute !important; left: -10000px !important; }
.form-status { min-height: 18px; margin: 12px 0 -8px; color: var(--gold); font-size: 11px; }
.unlocked-plan { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-top: 18px; border-radius: 20px; background: var(--paper); padding: clamp(28px, 4vw, 52px); color: var(--ink); }
.unlocked-plan .eyebrow { color: #6e4700; }
.unlocked-plan p { max-width: 64ch; color: #504b52; }
.plan-actions { display: grid; min-width: 200px; gap: 10px; }
.secondary-action { min-height: 44px; border: 1px solid var(--ink); border-radius: 10px; background: transparent; padding: 0 16px; color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.unlocked-plan .text-action { color: #5f5863; }

footer { display: flex; width: min(100% - 40px, 1360px); min-height: 68px; align-items: center; justify-content: space-between; margin: auto; border-top: 1px solid var(--line); color: #7f708c; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .site-header { min-height: 64px; }
  .header-meta > span { display: none; }
  .header-meta b { border: 0; padding: 0; }
  .assessment-screen { min-height: auto; padding: 46px 0 70px; }
  .intro-screen, .question-screen, .results-hero, .results-grid, .lead-card { grid-template-columns: 1fr; }
  .intro-screen { gap: 42px; }
  .intro-copy h1 { max-width: none; }
  .use-case-picker { padding: 20px; }
  .question-screen { gap: 28px; }
  .question-rail { display: grid; grid-template-columns: 1fr; gap: 10px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .question-rail .eyebrow { margin-bottom: 0; }
  .workflow-context { margin: 0; padding: 0; }
  .workflow-context strong { display: inline; margin-left: 5px; font-size: 16px; }
  .question-card { min-height: 0; }
  .question-card h2 { margin: 18px 0 34px; }
  .results-hero { gap: 24px; }
  .score-orbit { width: 180px; justify-self: start; }
  .score-orbit::before { width: 150px; }
  .score-orbit strong { font-size: 62px; }
  .unlocked-plan { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  main, .site-header, footer { width: min(100% - 28px, 1360px); }
  .brand { gap: 6px; font-size: 9px; letter-spacing: .07em; }
  .brand img { width: 26px; height: 26px; }
  .brand-cursor { width: 4px; height: 9px; margin-left: 3px; }
  .header-meta { font-size: 9px; }
  .intro-copy h1 { font-size: 48px; }
  .intro-lede { font-size: 18px; }
  .answer-scale { grid-template-columns: repeat(5,1fr); gap: 5px; }
  .answer-scale button { min-height: 74px; padding: 8px 3px; }
  .answer-scale b { font-size: 22px; }
  .answer-scale span { font-size: 9px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  footer { align-items: start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (max-width: 440px) {
  .header-meta { display: none; }
}

@media print {
  body { background: #fff; color: #111; }
  .site-header, .intro-screen, .question-screen, .lead-card, footer, .plan-actions { display: none !important; }
  main { width: 100%; }
  .results-screen { padding: 20px; }
  .results-summary, .dimension-row > div:first-child, .next-actions-panel li p { color: #444; }
  .dimension-panel, .next-actions-panel { border-color: #bbb; background: #fff; }
  .score-orbit { print-color-adjust: exact; }
  .unlocked-plan { display: block !important; border: 1px solid #bbb; }
}
