:root {
  --bg: #05070f;
  --ink: #e9f1ff;
  --ink-dim: rgba(233, 241, 255, 0.62);
  --neural: #4fd1ff;
  --amyloid: #ffb347;
  --tau: #ff4fa3;
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- fixed layers ---------- */
#gl {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
}
/* Unpainted click target that tracks the source link drawn inside the WebGL frame. */
#caption-link { position: fixed; z-index: 4; display: block; }
#caption-link[hidden] { display: none; }

/* ---------- loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg);
  transition: opacity 0.9s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
#loader.gone { display: none; }
#loader p { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.loader-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--neural);
  box-shadow: 0 0 24px 6px rgba(79, 209, 255, 0.55);
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(0.8); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 1; } }

/* ---------- chapter rail ---------- */
#rail {
  position: fixed; left: 28px; top: 50%; transform: translateY(-50%);
  z-index: 5; pointer-events: none;
  display: flex; gap: 14px; align-items: stretch;
}
.rail-line { width: 1px; background: rgba(233,241,255,0.12); position: relative; }
.rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--neural); box-shadow: 0 0 10px var(--neural); }
.rail-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.rail-dots li { position: relative; height: 30px; }
.rail-dots button {
  pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; gap: 12px; height: 30px;
  margin-left: -17.5px; padding: 0 8px 0 0;
  background: none; border: 0; font: inherit; color: inherit;
}
.rail-dots button i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: rgba(233,241,255,0.25); transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.rail-dots button span {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim);
  opacity: 0; transform: translateX(-6px); transition: opacity 0.4s, transform 0.4s; white-space: nowrap;
}
.rail-dots button:hover i, .rail-dots button:focus-visible i { background: var(--neural); transform: scale(1.3); }
.rail-dots button:hover span, .rail-dots button:focus-visible span { opacity: 1; transform: none; }
.rail-dots button:focus-visible { outline: 1px solid var(--neural); outline-offset: 4px; border-radius: 4px; }
.rail-dots li.active button i { background: var(--neural); box-shadow: 0 0 12px var(--neural); transform: scale(1.4); }
.rail-dots li.active button span { opacity: 1; transform: none; }
.rail-dots li.done button i { background: rgba(79,209,255,0.55); }

/* ---------- scroll cue ---------- */
#scroll-cue {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 5; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-dim);
  transition: opacity 0.6s ease;
}
/* Opacity-only animation: compositor-driven, never repaints. */
#scroll-cue i { display: block; width: 1px; height: 46px; background: linear-gradient(to bottom, var(--neural), transparent); animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
#scroll-cue.hidden { opacity: 0; visibility: hidden; }

/* ---------- story ---------- */
#story { position: relative; z-index: 2; }
.chapter { position: relative; }
/* Screen-reader copy only: nothing here is painted over the canvas. */
#captions { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caption {
  position: absolute; inset: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 8vw, 140px);
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
}
.caption > * { max-width: 30rem; pointer-events: auto; }
.caption.left { align-items: flex-start; text-align: left; }
.caption.right { align-items: flex-end; text-align: right; }
.caption.hero { align-items: center; text-align: center; }
.caption.hero > * { max-width: 46rem; }

.eyebrow {
  margin: 0 0 18px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--neural);
}
.chapter[data-chapter="2"] .eyebrow { color: var(--amyloid); }
.chapter[data-chapter="3"] .eyebrow { color: var(--tau); }
.chapter[data-chapter="4"] .eyebrow, .chapter[data-chapter="5"] .eyebrow { color: #9fb3d9; }

h1, h2 {
  font-family: var(--font-display); font-weight: 400; margin: 0 0 22px;
  line-height: 1.02; letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 8vw, 112px); }
h1 em { font-style: italic; color: var(--neural); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }

.caption p { margin: 0 0 14px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-dim); }
.caption .lede { font-size: clamp(17px, 1.4vw, 21px); color: rgba(233,241,255,0.8); }
.caption .note {
  margin-top: 22px; padding-top: 16px; font-size: 14px;
  border-top: 1px solid rgba(233,241,255,0.14); color: rgba(233,241,255,0.5);
}
.caption .source { font-size: 12px; letter-spacing: 0.04em; color: rgba(233,241,255,0.4); }
.caption .source a { color: var(--neural); text-decoration: none; border-bottom: 1px solid rgba(79,209,255,0.35); }
.caption .source a:hover { border-bottom-color: var(--neural); }

/* Text legibility over busy scenes */
.caption h1, .caption h2 { text-shadow: 0 2px 18px rgba(5,7,15,0.85); }
.caption p { text-shadow: 0 1px 8px rgba(5,7,15,0.9); }

@media (max-width: 720px) {
  /* The left margin belongs to the words on a phone, so the rail crosses to the right gutter. Its
     dots also grow a 36px hit area — transparent, and behind nothing that needs the tap. */
  #rail { left: auto; right: 12px; }
  .rail-dots li span { display: none; }
  .rail-dots li, .rail-dots button { height: 36px; }
  .rail-dots button { margin-left: -39.5px; padding: 0 8px 0 22px; }
  .caption { padding: 0 38px 0 20px; justify-content: flex-end; padding-bottom: 12vh; }
  .caption.right { align-items: flex-start; text-align: left; }
  .caption.hero { justify-content: center; padding-bottom: 14vh; }
  .caption > * { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #scroll-cue i, .loader-mark { animation: none; }
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 40; padding: 10px 18px; border-radius: 0 0 8px 8px;
  background: var(--neural); color: #04131d; font-size: 13px; font-weight: 500; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- controls (sound / written version) ---------- */
#controls {
  position: fixed; top: 22px; right: 22px; z-index: 6;
  display: flex; gap: 8px;
}
#controls button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(8, 12, 24, 0.55); border: 1px solid rgba(233,241,255,0.16);
  color: var(--ink-dim); font-family: inherit; font-size: 12px; letter-spacing: 0.08em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
#controls button:hover, #controls button:focus-visible { color: var(--ink); border-color: rgba(79,209,255,0.5); background: rgba(10, 18, 34, 0.75); }
#controls button:focus-visible { outline: 1px solid var(--neural); outline-offset: 3px; }
#controls .ico { width: 14px; height: 14px; flex: none; opacity: 0.85; background: currentColor; }
/* Speaker with no waves; the "on" state adds them. */
.ico-sound {
  -webkit-mask: var(--spk) center / contain no-repeat; mask: var(--spk) center / contain no-repeat;
}
#sound-toggle[aria-pressed="true"] { color: var(--neural); border-color: rgba(79,209,255,0.45); }
.ico-text {
  -webkit-mask: var(--txt) center / contain no-repeat; mask: var(--txt) center / contain no-repeat;
}
:root {
  --spk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4z' fill='%23fff'/%3E%3C/svg%3E");
  --txt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v2H4zm0 4h16v2H4zm0 4h11v2H4zm0 4h11v2H4z' fill='%23fff'/%3E%3C/svg%3E");
}
@media (max-width: 720px) {
  #controls { top: 14px; right: 14px; }
  #controls .lbl { display: none; }
  #controls button { padding: 9px; }
}

/* ---------- closing panel ---------- */
#outro {
  position: fixed; left: 50%; bottom: 4vh; transform: translate(-50%, 16px);
  z-index: 7; width: min(560px, calc(100vw - 40px));
  padding: 22px 26px 20px; border-radius: 14px;
  background: rgba(7, 11, 22, 0.82); border: 1px solid rgba(233,241,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
#outro[hidden] { display: none; }
#outro.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#outro h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; margin: 0 0 6px; }
#outro p { margin: 0 0 14px; font-size: 14px; color: var(--ink-dim); }
.outro-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.outro-links a { color: var(--neural); text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(79,209,255,0.3); }
.outro-links a:hover { border-bottom-color: var(--neural); }
.outro-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.outro-actions button, #written-close {
  cursor: pointer; padding: 9px 16px; border-radius: 999px;
  background: rgba(79,209,255,0.12); border: 1px solid rgba(79,209,255,0.4);
  color: var(--ink); font-family: inherit; font-size: 13px;
  transition: background 0.25s, border-color 0.25s;
}
.outro-actions button:hover, #written-close:hover { background: rgba(79,209,255,0.22); border-color: var(--neural); }
.outro-status { margin: 10px 0 0 !important; font-size: 12px; color: var(--neural); min-height: 1em; }
@media (max-width: 720px) {
  #outro { bottom: 2vh; padding: 18px 18px 16px; }
  #outro p { font-size: 13px; }
}

/* ---------- written version / WebGL fallback ---------- */
#written {
  position: fixed; inset: 0; z-index: 30; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(5, 7, 15, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
#written[hidden] { display: none; }
.written-inner { max-width: 44rem; margin: 0 auto; padding: 12vh 24px 14vh; }
.written-kicker {
  margin: 0 0 28px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--neural);
}
#written-body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.12; margin: 0 0 14px;
}
#written-body .step { margin: 0 0 40px; }
#written-body .step-no {
  margin: 0 0 10px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(233,241,255,0.45);
}
#written-body p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: rgba(233,241,255,0.82); }
#written-body .note { font-size: 15px; color: rgba(233,241,255,0.6); }
#written h2.written-support { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 44px 0 12px; }
.written-source { font-size: 13px; color: rgba(233,241,255,0.55); margin: 18px 0 26px; }
.written-source a, #written-body a { color: var(--neural); text-decoration: none; border-bottom: 1px solid rgba(79,209,255,0.35); }

/* When WebGL is unavailable the written version is the page: no toggle, no canvas, normal scrolling. */
html.no-webgl #gl, html.no-webgl #rail, html.no-webgl #scroll-cue, html.no-webgl #loader,
html.no-webgl #story, html.no-webgl #outro, html.no-webgl #controls { display: none !important; }
html.no-webgl #written { position: static; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
html.no-webgl #written[hidden] { display: block; }
html.no-webgl #written-close { display: none; }
html.no-webgl body { overflow-y: auto; }

/* Stepped mode: the scroll cue keeps its meaning but nothing sweeps. */
@media (prefers-reduced-motion: reduce) {
  #outro { transition: opacity 0.3s ease; transform: translate(-50%, 0); }
  #controls button, .rail-dots button i, .rail-dots button span { transition: none; }
}

/* ---------- time axis ---------- */
#timeline {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 6; pointer-events: none;
  width: min(320px, calc(100vw - 200px));
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: timeIn 0.8s ease 1.4s forwards;
}
@keyframes timeIn { to { opacity: 1; } }
.time-read { display: flex; align-items: baseline; gap: 7px; }
.time-read strong {
  font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.time-read span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
#timeline.at-zero .time-read strong { color: var(--tau); }
.time-track { position: relative; width: 100%; height: 1px; background: rgba(233,241,255,0.14); }
.time-marker {
  position: absolute; top: -2px; left: 0; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--neural); box-shadow: 0 0 8px var(--neural);
  will-change: transform;
}
@media (max-width: 720px) {
  /* Top right belongs to the controls on a phone, so the clock sits left and loses its track. */
  #timeline { top: 14px; left: 14px; transform: none; width: auto; align-items: flex-start; gap: 0; }
  #timeline .time-track { display: none; }
  .time-read { flex-direction: column; align-items: flex-start; gap: 1px; }
  .time-read strong { font-size: 15px; }
  .time-read span { font-size: 9px; letter-spacing: 0.08em; }
}

/* ---------- compare slider ---------- */
#compare {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 6; width: min(340px, calc(100vw - 48px));
  padding: 12px 16px 10px; border-radius: 12px;
  background: rgba(8, 12, 24, 0.55); border: 1px solid rgba(233,241,255,0.14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: compareIn 0.5s ease forwards;
}
#compare[hidden] { display: none; }
@keyframes compareIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
#compare label { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); text-align: center; }
#compare.engaged label { color: var(--neural); }
#compare input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3px; border-radius: 2px;
  background: linear-gradient(to right, rgba(233,241,255,0.18), var(--neural)); outline: none; cursor: grab;
}
#compare input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--neural); box-shadow: 0 0 10px rgba(79,209,255,0.5); cursor: grab;
}
#compare input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--neural); cursor: grab;
}
#compare input[type=range]:focus-visible { outline: 1px solid var(--neural); outline-offset: 4px; }
.compare-ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(233,241,255,0.4); }
@media (max-width: 720px) { #compare { bottom: 18px; } }

/* play / labels icons */
:root {
  --play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4l12 8-12 8z' fill='%23fff'/%3E%3C/svg%3E");
  --pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zm8 0h4v16h-4z' fill='%23fff'/%3E%3C/svg%3E");
  --label: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h13l5 6-5 6H3z' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.ico-play { -webkit-mask: var(--play) center / contain no-repeat; mask: var(--play) center / contain no-repeat; }
#play-toggle.playing .ico-play { -webkit-mask-image: var(--pause); mask-image: var(--pause); }
#play-toggle[aria-pressed="true"], #label-toggle[aria-pressed="true"] { color: var(--neural); border-color: rgba(79,209,255,0.45); }
.ico-label { -webkit-mask: var(--label) center / contain no-repeat; mask: var(--label) center / contain no-repeat; }

html.no-webgl #timeline, html.no-webgl #compare { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  #timeline { animation: none; opacity: 1; }
  #compare { animation: none; }
  .time-marker { transition: none; }
}

/* ---------- close cross on the written version ---------- */
#written-x {
  position: fixed; top: 18px; right: 18px; z-index: 32;
  width: 52px; height: 52px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(8, 12, 24, 0.7);
  border: 1px solid rgba(233,241,255,0.18); color: var(--ink-dim);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
#written-x svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }
#written-x:hover, #written-x:focus-visible { color: var(--ink); border-color: var(--neural); background: rgba(12, 20, 38, 0.85); transform: rotate(90deg); }
#written-x:focus-visible { outline: 1px solid var(--neural); outline-offset: 3px; }
html.no-webgl #written-x { display: none; }
@media (max-width: 720px) { #written-x { top: 12px; right: 12px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { #written-x { transition: none; } #written-x:hover { transform: none; } }

/* ---------- quotes in the written version ---------- */
#written-body blockquote {
  margin: 22px 0; padding: 4px 0 4px 18px;
  border-left: 2px solid rgba(79,209,255,0.45);
}
#written-body blockquote p {
  font-family: var(--font-display); font-style: italic; font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4; color: rgba(233,241,255,0.95); margin: 0 0 8px;
}
#written-body blockquote cite {
  font-style: normal; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(233,241,255,0.45);
}

/* ---------- resume offer ---------- */
#resume {
  position: fixed; right: 22px; bottom: 26px; z-index: 8;
  width: min(260px, calc(100vw - 44px));
  padding: 14px 16px 12px; border-radius: 12px;
  background: rgba(8, 12, 24, 0.75); border: 1px solid rgba(233,241,255,0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
#resume[hidden] { display: none; }
#resume.show { opacity: 1; transform: none; }
#resume p { margin: 0 0 10px; font-size: 13px; color: var(--ink-dim); }
.resume-actions { display: flex; gap: 8px; }
.resume-actions button {
  cursor: pointer; padding: 7px 13px; border-radius: 999px; font-family: inherit; font-size: 12px;
  background: rgba(79,209,255,0.12); border: 1px solid rgba(79,209,255,0.4); color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.resume-actions button:hover, .resume-actions button:focus-visible { background: rgba(79,209,255,0.24); border-color: var(--neural); }
#resume-no { background: none !important; border-color: rgba(233,241,255,0.2) !important; color: var(--ink-dim) !important; }
html.no-webgl #resume { display: none !important; }
@media (max-width: 720px) { #resume { right: 14px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { #resume { transition: opacity 0.2s ease; transform: none; } }

/* ---------- risk checklist and methods note ---------- */
#written-x[hidden] { display: none; }
#risks, #methods { margin: 44px 0 0; }
.risk-list { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 2px; }
.risk-list li { margin: 0; }
.risk-list label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  padding: 9px 12px; border-radius: 8px; font-size: 16px; line-height: 1.5;
  color: rgba(233,241,255,0.82); transition: background 0.18s, color 0.18s;
}
.risk-list label:hover { background: rgba(79,209,255,0.07); color: var(--ink); }
.risk-list input[type=checkbox] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; margin: 3px 0 0; border-radius: 4px;
  border: 1px solid rgba(233,241,255,0.35); background: transparent; cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.risk-list input[type=checkbox]:checked {
  background: var(--neural) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='%2304131d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--neural);
}
.risk-list input[type=checkbox]:focus-visible { outline: 1px solid var(--neural); outline-offset: 3px; }
.risk-list li:has(input:checked) label { color: var(--ink); background: rgba(79,209,255,0.09); }
.risk-tally { min-height: 1.5em; font-size: 15px !important; color: var(--neural) !important; }
.methods-list { margin: 16px 0 0; padding: 0 0 0 20px; }
.methods-list li { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: rgba(233,241,255,0.78); }
.methods-list strong { color: var(--ink); font-weight: 500; }
#risks p strong, #methods p strong { color: var(--ink); font-weight: 500; }

.outro-more { display: flex; gap: 18px; margin: 12px 0 0 !important; flex-wrap: wrap; }
.outro-more a { font-size: 13px; color: var(--neural); text-decoration: none; border-bottom: 1px solid rgba(79,209,255,0.3); }
.outro-more a:hover { border-bottom-color: var(--neural); }
