:root {
  --navy: #182444;
  --navy-2: #23325a;
  --gold: #bfa046;
  --gold-soft: #e8ddb9;
  --cream: #faf7f1;
  --paper: #fffdf9;
  --ink: #182444;
  --muted: #6c7180;
  --line: rgba(24, 36, 68, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(24, 36, 68, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 5%, rgba(191, 160, 70, .13), transparent 30rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }

.page-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; display: block; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .01em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.privacy-note { color: var(--muted); font-size: 13px; }

.screen { display: none; animation: reveal .48s ease both; }
.screen.active { display: grid; }

.intro-screen {
  min-height: calc(100vh - 92px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: 72px 0 90px;
}

.eyebrow, .card-kicker {
  margin: 0 0 18px; color: #8a7022; font-size: 12px; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 {
  max-width: 800px; margin-bottom: 24px; font-family: var(--serif);
  font-weight: 500; font-size: clamp(44px, 6vw, 76px); line-height: .99; letter-spacing: -.035em;
}
h1 em { color: #a38735; font-style: normal; }
.lede { max-width: 650px; margin-bottom: 28px; color: #4b5368; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.lede.compact { margin-bottom: 0; max-width: 760px; }

.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.pillars span {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.48); font-size: 12px; font-weight: 600;
}

.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 20px; border: 1px solid transparent; border-radius: 8px; cursor: pointer;
  font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, .answer-option:focus-within { outline: 3px solid rgba(191,160,70,.55); outline-offset: 3px; }
.button.primary { background: var(--navy); color: white; box-shadow: 0 10px 30px rgba(24,36,68,.18); }
.button.secondary { border-color: var(--line); color: var(--navy); background: transparent; box-shadow: none; }
.button.gold { background: var(--gold); color: var(--navy); white-space: nowrap; }
.button:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.compass-art {
  position: relative; aspect-ratio: 1; width: min(100%, 480px); justify-self: center;
  border-radius: 50%; background: var(--navy); color: white;
  box-shadow: 0 34px 90px rgba(24,36,68,.26), inset 0 0 0 1px rgba(255,255,255,.12);
}
.compass-art::before, .compass-art::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.12); transform: translate(-50%,-50%);
}
.compass-art::before { width: 1px; height: 82%; }
.compass-art::after { width: 82%; height: 1px; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.orbit-one { inset: 9%; }
.orbit-two { inset: 26%; }
.needle { position: absolute; inset: 20%; transform: rotate(28deg); }
.needle::before, .needle::after { content: ""; position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%); }
.needle::before { top: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-bottom: 118px solid var(--gold); }
.needle::after { bottom: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 118px solid rgba(250,247,241,.75); }
.compass-center { position: absolute; inset: 42%; display: grid; place-items: center; z-index: 2; border-radius: 50%; background: var(--cream); color: var(--navy); font: 600 24px var(--serif); }
.direction { position: absolute; color: var(--gold-soft); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.north { top: 4%; left: 50%; transform: translateX(-50%); }
.east { right: 3%; top: 50%; transform: translateY(-50%); }
.south { bottom: 4%; left: 50%; transform: translateX(-50%); }
.west { left: 3%; top: 50%; transform: translateY(-50%); }

.assessment-screen, .context-screen { min-height: calc(100vh - 92px); align-content: center; max-width: 820px; margin: 0 auto; padding: 54px 0 80px; }
.assessment-topline { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.assessment-topline .eyebrow { margin-bottom: 5px; }
.question-count { color: var(--muted); font-size: 13px; }
.text-button { padding: 8px 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.progress-track { height: 5px; margin-bottom: 28px; overflow: hidden; border-radius: 10px; background: rgba(24,36,68,.1); }
.progress-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }
.question-card { padding: clamp(26px, 5vw, 54px); border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,249,.94); box-shadow: var(--shadow); }
.question-context { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.question-card h2 { max-width: 680px; margin-bottom: 30px; font: 500 clamp(26px,4vw,38px)/1.2 var(--serif); letter-spacing: -.02em; }
.answer-list { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.answer-option { position: relative; display: flex; align-items: center; gap: 13px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: white; transition: border-color .2s, background .2s, transform .2s; }
.answer-option:hover { transform: translateX(3px); border-color: rgba(191,160,70,.65); }
.answer-option.selected { border-color: var(--gold); background: #fcf8eb; }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.answer-bullet { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border: 1px solid rgba(24,36,68,.24); border-radius: 50%; font-size: 11px; font-weight: 700; }
.selected .answer-bullet { border-color: var(--navy); background: var(--navy); color: white; }
.answer-label { font-size: 14px; font-weight: 600; }
.question-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }

.context-card > h2 { margin-bottom: 28px; }
.context-card .field + .field { margin-top: 22px; }
.field select { width: 100%; min-height: 50px; padding: 12px 42px 12px 14px; border: 1px solid rgba(24,36,68,.2); border-radius: 8px; background: white; color: var(--navy); outline: none; }
.field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,160,70,.18); }
.context-fieldset, .support-fieldset { margin: 22px 0; padding: 0; border: 0; }
.context-fieldset legend, .support-fieldset legend { margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.compact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.compact-options label, .support-fieldset label { position: relative; cursor: pointer; }
.compact-options input, .support-fieldset input { position: absolute; opacity: 0; }
.compact-options span, .support-fieldset span { display: block; border: 1px solid var(--line); border-radius: 8px; background: white; transition: border-color .2s, background .2s; }
.compact-options span { padding: 12px 14px; text-align: center; font-size: 13px; font-weight: 600; }
.compact-options input:checked + span, .support-fieldset input:checked + span { border-color: var(--gold); background: #fcf8eb; box-shadow: inset 0 0 0 1px var(--gold); }
.compact-options input:focus-visible + span, .support-fieldset input:focus-visible + span { outline: 3px solid rgba(191,160,70,.55); outline-offset: 3px; }
.context-continue { width: 100%; margin-top: 8px; }

.capture-screen { min-height: calc(100vh - 92px); align-content: center; max-width: 960px; margin: 0 auto; padding: 52px 0 76px; }
.capture-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.capture-topline .eyebrow { margin: 0; }
.capture-card { display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.capture-preview { padding: clamp(30px, 5vw, 52px); background: var(--navy); color: white; }
.capture-preview .card-kicker { color: var(--gold-soft); }
.capture-preview h1 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 58px); }
.capture-preview p { color: rgba(255,255,255,.72); line-height: 1.65; }
.preview-pills { display: grid; gap: 9px; margin-top: 30px; }
.preview-pills span { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; }
.preview-pills b { color: var(--gold-soft); }
.capture-form { position: relative; padding: clamp(30px, 5vw, 52px); }
.support-fieldset { margin-top: 0; }
.support-fieldset label { display: block; }
.support-fieldset label + label { margin-top: 7px; }
.support-fieldset span { padding: 9px 11px; color: #4f586b; font-size: 11px; line-height: 1.4; }
.field + .field { margin-top: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(24,36,68,.2); border-radius: 8px; background: white; color: var(--navy); outline: none; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,160,70,.18); }
.check-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 18px; color: #565e70; cursor: pointer; font-size: 11px; line-height: 1.5; }
.check-row input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--navy); }
.required-check { color: #3d465a; }
.submit-button { width: 100%; margin-top: 18px; }
.data-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.form-error { min-height: 18px; margin: 12px 0 -6px; color: #9a2f2f; font-size: 12px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.results-screen { padding: 64px 0 44px; }
.results-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.results-heading h1 { margin-bottom: 18px; font-size: clamp(40px, 5.6vw, 68px); }
.results-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; align-items: stretch; }
.score-panel, .priority-card { padding: clamp(24px, 4vw, 38px); border-radius: 16px; }
.score-panel { background: var(--navy); color: white; }
.score-row + .score-row { margin-top: 24px; }
.score-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.score-name { font-size: 13px; font-weight: 600; }
.score-number { color: var(--gold-soft); font: 500 22px var(--serif); }
.score-bar { height: 6px; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.13); }
.score-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gold); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.score-key { margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 11px; }
.priority-card { border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.priority-card h2 { margin-bottom: 13px; font: 500 clamp(30px,4vw,44px)/1.08 var(--serif); }
.priority-card > p { color: #51596b; line-height: 1.65; }
.action-list { display: grid; gap: 12px; margin-top: 24px; }
.action-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding-top: 14px; border-top: 1px solid var(--line); }
.action-number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--navy); font-size: 12px; font-weight: 700; }
.action-item strong { display: block; margin-bottom: 4px; font-size: 14px; }
.action-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.next-step-panel { display: grid; grid-template-columns: 1fr auto; gap: 52px; align-items: center; margin-top: 22px; padding: clamp(28px,5vw,48px); border-radius: 16px; background: var(--navy); color: white; }
.next-step-panel .card-kicker { color: var(--gold-soft); }
.next-step-panel h2 { max-width: 680px; margin-bottom: 13px; font: 500 clamp(28px,4vw,42px)/1.12 var(--serif); }
.next-step-panel p { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.next-step-panel .offer-note { margin-top: 12px; color: var(--gold-soft); font-size: 12px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 36px 4px; color: var(--muted); font-size: 12px; line-height: 1.6; }
footer p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 680px); }
  .site-header { min-height: 76px; }
  .brand strong { font-size: 12px; }
  .privacy-note { display: none; }
  .intro-screen { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding: 54px 0 64px; }
  .hero-copy { text-align: left; }
  .compass-art { width: min(86vw, 390px); order: -1; }
  .needle::before { border-left-width: 14px; border-right-width: 14px; border-bottom-width: 94px; }
  .needle::after { border-left-width: 14px; border-right-width: 14px; border-top-width: 94px; }
  .assessment-screen, .context-screen { min-height: auto; padding: 32px 0 56px; }
  .question-card { border-radius: 13px; }
  .results-screen { padding-top: 42px; }
  .results-heading { display: block; }
  .results-heading .text-button { margin-top: 18px; }
  .results-layout, .next-step-panel { grid-template-columns: 1fr; }
  .capture-screen { min-height: auto; padding-top: 34px; }
  .capture-card { grid-template-columns: 1fr; }
  .capture-preview, .capture-form { padding: 30px 24px; }
  .capture-preview h1 { font-size: 38px; }
  .next-step-panel { gap: 26px; }
  .next-step-panel .button { width: 100%; white-space: normal; text-align: center; }
}

@media (max-width: 440px) {
  .site-header { min-height: 70px; }
  .brand small { display: none; }
  h1 { font-size: 40px; }
  .pillars { gap: 6px; }
  .pillars span { font-size: 11px; }
  .compass-art { width: 90vw; max-width: 330px; }
  .question-card { padding: 22px 17px; }
  .question-card h2 { font-size: 27px; }
  .question-nav .button { flex: 1; padding-inline: 12px; }
  footer { display: block; }
  footer p + p { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
