:root {
  --ink: #242823;
  --muted: #62695f;
  --line: #d8dfd3;
  --paper: #fafbf8;
  --green: #526b48;
  --sage: #e2eadc;
  --lilac: #eee8f3;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.65 var(--sans); letter-spacing: 0; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.16; text-wrap: balance; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #79578e; outline-offset: 5px; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; background: white; padding: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: #151513; color: #f4efe4; }
.header-inner { max-width: 1240px; padding: 16px 36px; min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; flex-shrink: 0; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand > span { font-size: 15px; }
.brand small { display: block; font-size: 7px; margin-top: 3px; color: #c3c8a2; }
.header-link { font-size: 12px; text-decoration: none; }
.header-link span { margin-left: 15px; }
.orientation-page { max-width: 1240px; padding: 0 36px; margin: auto; }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.prototype { color: var(--muted); }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 80px; padding: 32px 0 45px; }
.stage { min-height: 568px; scroll-margin-top: 110px; }
.step-toolbar { display: grid; grid-template-columns: 100px 1fr 36px; align-items: center; min-height: 36px; gap: 12px; margin-bottom: 32px; }
.step-toolbar > .eyebrow { grid-column: 2; text-align: right; }
.text-button { border: 0; background: transparent; padding: 5px 0; font-size: 11px; text-align: left; text-underline-offset: 5px; }
.text-button:hover { text-decoration: underline; }
.text-button > span { margin-right: 8px; }
.eyebrow { font-size: 10px; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.restart { width: 36px; height: 36px; grid-column: 3; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; }
.restart:hover { background: var(--sage); }
.section-label { color: var(--green); font-size: 12px; margin-bottom: 18px; }
.stage h1 { font-size: 46px; max-width: 24ch; }
.stage.intro h1 { font-size: 64px; }
.stage h1 em { color: var(--green); font-weight: 600; }
.stage h1:focus { outline: none; }
.stage-description { color: var(--muted); max-width: 56ch; font-size: 15px; margin-top: 20px; }
.concern-field { position: relative; margin-top: 28px; }
textarea { width: 100%; min-height: 150px; display: block; resize: vertical; max-height: 400px; padding: 18px 20px 32px; border: 1px solid #b7c0ae; border-radius: 5px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.7; }
textarea::placeholder { color: #7e8578; }
#character-count { position: absolute; right: 14px; bottom: 10px; font-size: 10px; color: var(--muted); pointer-events: none; }
.input-hint { color: var(--muted); font-size: 11px; margin-top: 10px; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid var(--ink); border-radius: 4px; padding: 14px 20px; background: var(--ink); color: #fff; font: 400 13px/1.5 var(--sans); text-decoration: none; min-height: 50px; max-width: 100%; }
.primary-button > span { flex: none; font-size: 18px; }
.primary-button:hover { background: #43553a; border-color: #43553a; }
#intro-form > .primary-button { margin-top: 25px; }
.privacy-note { color: var(--muted); font-size: 10px; margin-top: 18px; padding-left: 18px; position: relative; }
.privacy-note > span { position: absolute; left: 0; font-size: 12px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 35px; }
.answer-button { border: 1px solid #b1bca6; border-radius: 5px; background: white; padding: 17px 18px; min-height: 62px; font-size: 15px; text-align: center; transition: border-color .15s, background .15s; }
.answer-button:hover { background: var(--sage); border-color: #6e825e; }
.answers:not(.topic-answers) .answer-button:last-child { grid-column: 1 / -1; background: transparent; border-color: var(--line); font-size: 12px; min-height: 44px; padding: 12px; }
.answers:not(.topic-answers) .answer-button:last-child:hover { background: var(--lilac); }
.topic-answers { grid-template-columns: 1fr; gap: 0; }
.topic-answers .answer-button { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 58px; padding: 15px 7px; background: transparent; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.topic-answers .answer-button:first-child { border-top: 1px solid var(--line); }
.topic-answers .answer-button:hover { background: var(--sage); }
.question-note { color: var(--muted); font-size: 11px; margin-top: 18px; max-width: 47ch; }
.rail { border-left: 1px solid var(--line); padding-left: 32px; padding-top: 7px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.rail h2 { font: 400 13px var(--sans); }
#path-count { font: 500 21px var(--serif); color: #6a765e; }
.concern-preview { margin-top: 25px; }
.concern-preview p { font: 500 19px/1.5 var(--serif); overflow-wrap: anywhere; margin-top: 8px; white-space: pre-wrap; }
.concern-preview .text-button { color: var(--muted); margin-top: 8px; font-size: 10px; }
.path { margin: 30px 0 0; padding: 0; list-style: none; }
.path li { position: relative; padding: 0 0 27px 27px; min-height: 62px; }
.path li:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 13px; bottom: 0; width: 1px; background: var(--line); }
.path li::before { content: ''; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border: 1px solid #9ea992; border-radius: 50%; background: var(--paper); }
.path li.path-done::before { background: #71855f; border-color: #71855f; }
.path li.path-current::before { background: #ad91bd; border: 3px solid var(--lilac); box-shadow: 0 0 0 1px #ad91bd; }
.path li.path-pending { color: #8d9487; }
.path li > span { display: block; font-size: 12px; }
.path li > small { display: block; font-size: 10px; margin-top: 5px; color: var(--muted); }
.path li button { display: block; border: 0; background: transparent; padding: 0; width: 100%; text-align: left; }
.path li button:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.path li button > span { font-size: 12px; display: block; }
.path li button > small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.nicole-note { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 20px; display: flex; gap: 12px; align-items: center; }
.nicole-note img { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 48% 25%; flex: none; }
.nicole-note > div > span { font: 500 16px/1.45 var(--serif); display: block; }
.nicole-note a { font-size: 10px; color: var(--muted); display: block; text-decoration: none; margin-top: 6px; }
.result-kind { font-size: 11px; color: var(--green); margin: 22px 0; padding: 9px 0; border-block: 1px solid var(--line); }
.reasons { margin: 25px 0; }
.reasons h2 { font: 500 14px var(--sans); }
.reasons ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.reasons li + li { margin-top: 8px; }
.first-step { border-left: 3px solid #ac94b9; padding: 5px 0 5px 20px; margin: 30px 0; }
.first-step p { font: 500 25px/1.5 var(--serif); margin-top: 10px; }
.result-note { color: var(--muted); font-size: 10px; margin-top: 14px; max-width: 62ch; }
.result-back { display: block; margin-top: 22px; }
.result-support .stage-label { color: #765c37; }
.result-support .result-kind { color: #765c37; }
.load-status { font-size: 12px; color: var(--muted); margin-top: 18px; }
.load-error { color: #8d3643; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 21px 0; font-size: 10px; color: var(--muted); }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 44px 35px 30px; border: 0; border-radius: 6px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #242823b8; }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { font-size: 34px; margin: 18px 0 23px; }
dialog p:not(.eyebrow) { font-size: 13px; margin-top: 15px; }
.dialog-close { position: absolute; top: 9px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 27px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.secondary-button { border: 1px solid var(--line); border-radius: 4px; background: transparent; padding: 12px 16px; font-size: 12px; }
@media (max-width: 1000px) {
  .journey-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .rail { padding-left: 24px; }
  .stage h1 { font-size: 38px; }
  .stage.intro h1 { font-size: 56px; }
}
@media (max-width: 740px) {
  .header-inner { padding: 15px 20px; min-height: 74px; gap: 16px; }
  .brand { gap: 9px; }
  .brand svg { width: 37px; height: 37px; }
  .brand > span { font-size: 13px; }
  .brand small { display: none; }
  .header-link { font-size: 10px; text-align: right; }
  .header-link span { margin-left: 5px; }
  .orientation-page { padding-inline: 20px; }
  .page-top { padding-block: 19px; font-size: 10px; }
  .journey-layout { grid-template-columns: 1fr; gap: 38px; padding-top: 20px; }
  .stage { min-height: 0; }
  .step-toolbar { margin-bottom: 27px; }
  .stage h1 { font-size: 34px; }
  .stage.intro h1 { font-size: 48px; }
  .section-label { font-size: 11px; margin-bottom: 14px; }
  .stage-description { font-size: 13px; margin-top: 18px; }
  textarea { font-size: 16px; min-height: 142px; padding: 15px 15px 30px; }
  .concern-field { margin-top: 22px; }
  .privacy-note { font-size: 9px; }
  .input-hint { font-size: 10px; }
  .answers { margin-top: 26px; }
  .answer-button { padding: 16px 12px; font-size: 14px; }
  .topic-answers .answer-button { font-size: 13px; }
  .rail { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .rail-heading { padding-bottom: 14px; }
  .path { margin-top: 24px; }
  .nicole-note { max-width: 350px; }
  .page-footer { align-items: flex-start; font-size: 9px; }
  .page-footer > span { max-width: 26ch; }
  .first-step p { font-size: 23px; }
  dialog { padding-inline: 25px; }
  dialog h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
