@font-face { font-family: Geist; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light dark; --bg: light-dark(#faf9f6,#111112); --surface: light-dark(#fff,#1e1e20); --ink: light-dark(#20201e,#edede9); --muted: light-dark(#62625d,#b5b5ae); --line: light-dark(#d7d7d0,#41413e); --selected: light-dark(#eeeee7,#292a27); --inverse: light-dark(#fff,#111112); font: 17px/1.55 Geist, system-ui, sans-serif; background: var(--bg); color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select, summary, label.choice { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .5; cursor: default; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
h1:focus { outline: none; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1.1rem; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.85rem,4vw,2.7rem); letter-spacing: -.035em; margin: .5rem 0 1.15rem; font-weight: 650; }
h2 { font-size: 1.35rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 .85rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg); max-width: 64rem; margin: auto; padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
html { scroll-padding-top: 5rem; }
.wordmark { text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 700; }
.header-link, .header-current { font-size: .82rem; }
.header-link { background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: .6rem 1rem; min-height: 44px; }
.route { border-block: 1px solid var(--line); }
.route ol { display: grid; grid-template-columns: repeat(4,1fr); list-style: none; padding: .85rem 1.5rem; margin: auto; max-width: 45rem; gap: .6rem; }
.route li { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .8rem; }
.route li.current { color: var(--ink); font-weight: 650; }
.step-number { display: inline-grid; place-items: center; border: 1px solid var(--line); width: 1.65rem; height: 1.65rem; border-radius: 50%; font-size: .75rem; flex-shrink: 0; }
.current .step-number { color: var(--inverse); background: var(--ink); border-color: var(--ink); }
.page { max-width: 42rem; padding: 2.3rem 1.5rem 4rem; margin: auto; }
.eyebrow { font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.intro { color: var(--muted); font-size: 1rem; }
.page-heading { margin-bottom: 1.7rem; }
.choices { display: grid; gap: .6rem; }
.choice { display: flex; gap: .85rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .95rem 1rem; min-height: 54px; }
.choice:hover { border-color: var(--ink); }
.choice.selected { border-color: var(--ink); background: var(--selected); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 19px; height: 19px; margin: .22rem 0 0; flex-shrink: 0; accent-color: var(--ink); }
.choice-title { display: block; font-weight: 520; }
.choice-description { display: block; color: var(--muted); font-size: .88rem; margin-top: .35rem; line-height: 1.6; }
.choice span { min-width: 0; }
.muted { color: var(--muted); font-size: .82rem; margin-top: 1rem; }
.escape-choices { margin-top: 1.2rem; }
.escape-choices .choice { background: transparent; }
.primary, .secondary, .text-button { min-height: 48px; padding: .7rem 1.2rem; border-radius: 99px; font-weight: 600; border: 1px solid var(--line); }
.primary { background: var(--ink); color: var(--inverse); border-color: var(--ink); }
.secondary { background: transparent; }
.text-button { background: transparent; border-color: transparent; padding-inline: .35rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 450; }
.actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.step-footer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.step-footer .actions { justify-content: space-between; }
.step-footer .actions > .primary:first-child { margin-left: auto; }
.sources { margin-top: 2.5rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
summary { min-height: 44px; padding: .6rem 0; font-weight: 550; }
.source-note { display: block; margin-top: .3rem; font-size: .8rem; }
.branch-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1.2rem; }
.branch-heading p { margin: 0; }
.branch-heading button { font-size: .78rem; flex-shrink: 0; }
.context, .reflection, .notice { padding: 1rem; border-left: 3px solid var(--ink); background: var(--selected); font-size: .9rem; }
.position-context { border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; margin: 0 0 1.25rem; font-size: .88rem; }
.position-context strong { display: block; }
.position-context .text-button { font-size: .78rem; padding-block: .3rem; }
.sharing-status { font-size: .82rem; color: var(--muted); }
.empty-results h3 { font-size: 1rem; }
.empty-results p:last-child { margin-bottom: 0; }
.local-answers ul { padding-left: 1.25rem; }
.more-situations { margin-top: 1rem; }
.focus-reason { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
.focus-reason legend { margin-bottom: .6rem; font-size: .85rem; color: var(--muted); }
.situation-reminder { margin: 0 0 1.2rem; font-size: .85rem; color: var(--muted); }
.other-perspective { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.perspective-card { background: var(--selected); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; margin-top: 1rem; }
.perspective-card legend { font-weight: 600; margin: .75rem 0; }
.perspective-card .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perspective-card .choice { padding: .65rem; }
.perspective-card .choice-title { font-size: .83rem; }
@media (max-width: 360px) { .perspective-card .choices { grid-template-columns: 1fr; } }
.count-context { margin-top: 1rem; color: var(--muted); font-size: .82rem; }
.reflection { margin-top: 1.5rem; }
.error { color: light-dark(#9d2626,#ffb6ad); }
.status { color: var(--muted); }
.your-selections { margin: 1.5rem 0; border-block: 1px solid var(--line); padding: .5rem 0; }
.your-selections section { padding: 1rem 0; border-top: 1px solid var(--line); }
.your-selections ul { padding-left: 1.25rem; }
.small-label { color: var(--muted); font-size: .8rem; margin-bottom: .35rem; }
.share-panel { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; margin: 1.5rem 0 2.5rem; }
.share-panel p { font-size: .9rem; color: var(--muted); }
.results-section { border-top: 1px solid var(--line); padding: 2rem 0; }
.result-switch { display: flex; gap: .5rem; margin: 1.2rem 0; }
.result-switch button { flex: 1; border-radius: 10px; font-size: .85rem; padding: .65rem; }
.result-switch button[aria-pressed="true"] { background: var(--ink); color: var(--inverse); border-color: var(--ink); }
.sample-context .muted { margin: 0 0 1.25rem; }
.starting-points { margin-top: 1.5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.section-head button { font-size: .8rem; }
.bars { list-style: none; padding: 0; margin: 1rem 0; }
.bars li { margin: 0 0 1.1rem; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .87rem; }
.count { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.you { display: inline-block; margin-left: .5rem; font-size: .64rem; border: 1px solid var(--line); padding: .05rem .4rem; border-radius: 4px; white-space: nowrap; }
progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 10px; margin-top: .5rem; background: var(--line); color: var(--ink); }
progress::-webkit-progress-bar { background: var(--line); border-radius: 10px; }
progress::-webkit-progress-value { background: var(--ink); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--ink); border-radius: 10px; }
.select-field { display: grid; gap: .5rem; font-size: .85rem; margin: 1rem 0; }
select { width: 100%; min-height: 48px; padding: .65rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.question-results { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.finish { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; color: var(--muted); }
.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; }
@media (max-width: 480px) {
  .site-header { padding: .65rem 1rem; gap: .5rem; }
  .wordmark { font-size: .58rem; letter-spacing: .1em; max-width: 6rem; }
  .header-link { font-size: .74rem; padding: .55rem .75rem; }
  .route ol { padding: .85rem 1rem; gap: .3rem; }
  .route li { flex-direction: column; align-items: flex-start; gap: .35rem; font-size: .7rem; }
  .page { padding: 1.6rem 1rem 3rem; }
  .choice { padding: .85rem; gap: .7rem; }
  .choice-title { font-size: .95rem; }
  .choice-description { font-size: .85rem; }
  .branch-heading { align-items: flex-start; }
  .step-footer .actions { align-items: stretch; }
  .step-footer .primary { flex: 1; border-radius: 12px; }
  .share-panel .actions { align-items: stretch; flex-direction: column; }
  .bar-label { gap: .5rem; }
}
@media (prefers-reduced-motion: no-preference) { .choice, button { transition: background .12s ease, border-color .12s ease; } }
