:root {
  color-scheme: dark;
  --social-blue: #0078f4;
  --deep-violet: #3a0ca3;
  --space: #14052f;
  --white: #ffffff;
  --light-gray: #e0e0e0;
  --cyan: #00ffff;
  --magenta: #ff00ff;
  --green: #00ff00;
  --black: #000000;
  --page-glow: rgba(0, 255, 255, .24);
  --line: rgba(224, 224, 224, .3);
  --measure: 72ch;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--light-gray); background-color: #0f0328; font-size: 1rem; line-height: 1.6; }
/* The glow sits on a fixed layer behind the page so every text element keeps a solid, measurable background (body). */
body::before { position: fixed; inset: 0; z-index: -2; content: ""; pointer-events: none; background: radial-gradient(circle at 78% 8%, rgba(255, 0, 255, .12), transparent 28rem), radial-gradient(circle at 8% 36%, var(--page-glow), transparent 30rem), linear-gradient(150deg, #07000e 0%, #17043b 48%, #090017 100%); }
body::after { position: fixed; z-index: -1; width: .4rem; height: .4rem; border-radius: 50%; content: ""; pointer-events: none; box-shadow: 12vw 8vh 0 rgba(0,255,255,.42), 35vw 22vh 0 rgba(255,255,255,.16), 72vw 12vh 0 rgba(255,0,255,.36), 88vw 48vh 0 rgba(0,255,255,.26), 18vw 76vh 0 rgba(255,0,255,.22), 61vw 82vh 0 rgba(255,255,255,.13); animation: particles 12s ease-in-out infinite alternate; }
a { color: var(--cyan); text-underline-offset: .22em; }
a:hover { color: var(--white); }
button, a { touch-action: manipulation; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, li { font-size: 1rem; }
h1, h2 { color: var(--white); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { margin: 0 0 1.25rem; font-size: 1.5rem; }
.skip-link { position: fixed; z-index: 30; top: .5rem; left: .5rem; min-height: 44px; padding: .7rem 1rem; color: var(--black); background: var(--green); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 10; display: flex; width: min(1280px, calc(100% - 3rem)); min-height: 5.5rem; margin: 0 auto; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.site-name { display: flex; min-height: 44px; align-items: center; gap: .65rem; color: var(--white); font-weight: 700; text-decoration: none; }
.site-name small { color: var(--light-gray); font-size: 1rem; font-weight: 400; }
.site-orb { width: 1rem; height: 1rem; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--magenta)); box-shadow: 0 0 18px var(--cyan); }
.chapter-menu { position: relative; }
.chapter-summary { display: flex; min-width: 9rem; min-height: 44px; padding: .65rem 1rem; align-items: center; justify-content: center; color: var(--white); border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.28); cursor: pointer; font-size: 1rem; font-weight: 600; list-style: none; }
.chapter-summary::-webkit-details-marker { display: none; }
.chapter-menu[open] .chapter-summary { border-color: var(--cyan); }
.chapter-index { position: absolute; top: calc(100% + .75rem); right: 0; width: min(22rem, calc(100vw - 3rem)); max-height: min(70vh, 42rem); padding: .75rem; overflow-y: auto; border: 1px solid var(--cyan); border-radius: 8px; background: rgba(5,0,16,.97); box-shadow: 0 18px 52px rgba(0,0,0,.55), 0 0 38px rgba(0,255,255,.1); }
.chapter-list { display: grid; margin: 0; padding: 0; list-style: none; }
.chapter-link { display: flex; min-height: 44px; padding: .6rem .75rem; align-items: center; color: var(--light-gray); border-radius: 6px; text-decoration: none; }
.chapter-link:hover, .chapter-link[aria-current="page"] { color: var(--white); background-color: rgba(0,120,244,.3); box-shadow: inset 3px 0 0 var(--magenta); }
main { width: min(1280px, calc(100% - 3rem)); margin: 0 auto; }
.breadcrumb { display: flex; min-height: 44px; padding-top: 1rem; align-items: center; gap: .75rem; font-size: 1rem; }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.page-hero { display: grid; min-height: min(44rem, calc(100vh - 5.5rem)); padding: clamp(3rem, 7vw, 7rem) 0; align-items: center; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.hero-copy { min-width: 0; animation: arrive 540ms cubic-bezier(.2,.8,.2,1) both; }
.eyebrow, .section-label { margin: 0 0 1rem; color: var(--cyan); font-size: .875rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.hero-deck { max-width: 38rem; margin: 1.5rem 0 0; color: var(--white); font-size: 1.125rem; }
.guide-marker { display: inline-flex; min-height: 44px; margin: 1.5rem 0 0; padding: .6rem .8rem; align-items: center; gap: .65rem; border: 1px solid rgba(0,255,0,.45); border-radius: 8px; background: rgba(0,255,0,.06); color: var(--white); }
.guide-marker span { width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.hero-visual { position: relative; min-width: 0; margin: 0; animation: arrive 540ms 120ms cubic-bezier(.2,.8,.2,1) both; }
.hero-visual::after { position: absolute; inset: 7% -4% -7% 8%; z-index: -1; border-radius: 50%; background: linear-gradient(125deg, rgba(0,255,255,.22), rgba(255,0,255,.18)); filter: blur(30px); content: ""; }
.hero-visual img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border: 1px solid rgba(255,255,255,.48); border-radius: 8px; box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 44px rgba(0,255,255,.12); }
.portal-ring { position: absolute; inset: -1rem 1.5rem 1.5rem -1rem; z-index: -1; border: 1px solid var(--magenta); border-radius: 8px; opacity: .55; }
.reading-path { display: grid; gap: clamp(4rem, 8vw, 8rem); padding: clamp(4rem, 8vw, 8rem) 0; }
.guide-section { position: relative; display: grid; min-width: 0; align-items: start; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.guide-section-reverse .section-copy { order: 2; }
.guide-section-reverse .evidence-stack { order: 1; }
.section-copy { min-width: 0; max-width: var(--measure); }
.section-copy p { max-width: var(--measure); }
.section-glow { position: absolute; top: -2rem; left: 42%; z-index: -1; width: 12rem; height: 12rem; border: 1px solid rgba(0,255,255,.2); border-radius: 50%; box-shadow: inset 0 0 52px rgba(255,0,255,.1), 0 0 42px rgba(0,255,255,.08); }
.evidence-stack { display: grid; min-width: 0; gap: 1rem; }
.claim-source { padding: 1.25rem; color: var(--black); border: 1px solid var(--white); border-radius: 8px; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.28), 0 0 24px rgba(0,255,255,.07); transition: transform 300ms ease, box-shadow 300ms ease; }
.claim-source:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 38px rgba(0,0,0,.32), 0 0 30px rgba(0,255,255,.14); }
.fact-claim { margin: 0; color: var(--black); font-weight: 500; }
.source-link, .source-note { display: inline-flex; min-height: 44px; margin: .85rem 0 0; align-items: center; color: #32068d; font-size: 1rem; font-weight: 600; }
.source-note { text-decoration: none; }
.plain-list { display: grid; max-width: var(--measure); margin: 1.25rem 0 0; padding: 0; gap: .7rem; list-style: none; }
.plain-list li { position: relative; min-height: 44px; padding: .55rem .5rem .55rem 2rem; border-bottom: 1px solid rgba(224,224,224,.22); }
.plain-list li::before { position: absolute; top: 1.05rem; left: .4rem; width: .65rem; height: .65rem; border: 1px solid var(--cyan); border-radius: 50%; background: rgba(0,255,255,.12); box-shadow: 0 0 10px rgba(0,255,255,.42); content: ""; }
.action-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.action-link, .print-button { display: inline-flex; min-height: 48px; padding: .7rem 1rem; align-items: center; justify-content: center; color: var(--white); border: 1px solid var(--social-blue); border-radius: 8px; background: rgba(0,120,244,.17); font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 300ms ease, background 300ms ease; }
.action-link:hover, .print-button:hover { color: var(--white); background: rgba(0,120,244,.38); transform: scale(1.03); }
.quiet-orbit { position: relative; min-height: 14rem; border: 1px solid rgba(0,255,255,.22); border-radius: 50%; background: radial-gradient(circle, rgba(255,0,255,.13), transparent 62%); }
.quiet-orbit span { position: absolute; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.quiet-orbit span:nth-child(1) { top: 20%; left: 24%; }
.quiet-orbit span:nth-child(2) { top: 58%; left: 68%; background: var(--magenta); box-shadow: 0 0 20px var(--magenta); }
.quiet-orbit span:nth-child(3) { top: 70%; left: 34%; background: var(--green); box-shadow: 0 0 20px var(--green); }
.print-dock { display: flex; padding: 0 0 3rem; justify-content: center; }
.print-button { border-color: var(--green); background: rgba(0,255,0,.1); }
.home-index { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.home-index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.home-index-list a { display: flex; min-height: 52px; padding: .8rem 1rem; align-items: center; color: var(--white); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.05); text-decoration: none; }
.home-index-list a:hover { border-color: var(--cyan); background: rgba(0,255,255,.08); }
.page-turn { display: grid; padding: 3rem 0; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.page-turn-link { display: flex; min-height: 64px; padding: .8rem 1rem; flex-direction: column; justify-content: center; color: var(--white); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.page-turn-link span { color: var(--cyan); font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.page-turn-next { text-align: right; align-items: flex-end; }
.site-footer { width: min(1280px, calc(100% - 3rem)); min-height: 6rem; margin: 0 auto; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.site-footer p { max-width: var(--measure); margin: 0; color: var(--light-gray); font-size: 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes particles { to { transform: translate3d(1.5rem, -1rem, 0); } }
@media (max-width: 767px) {
  .site-header, main, .site-footer { width: min(100% - 2rem, 1280px); }
  .site-header { min-height: 5rem; }
  .site-name { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0; line-height: 1.2; }
  .site-name .site-orb { display: none; }
  .site-name small { font-size: 1rem; }
  .chapter-summary { min-width: 7.5rem; }
  .page-hero { min-height: 0; padding: 3rem 0 4rem; grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1rem; }
  .portal-ring { inset: -.6rem .8rem .8rem -.6rem; }
  .guide-section { grid-template-columns: 1fr; }
  .guide-section-reverse .section-copy, .guide-section-reverse .evidence-stack { order: initial; }
  .section-glow { left: 50%; }
  .home-index-list, .page-turn { grid-template-columns: 1fr; }
  .page-turn-space { display: none; }
  .page-turn-next { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  body { color: #000; background: #fff; }
  body::before, body::after, .site-header, .hero-visual, .breadcrumb, .section-glow, .quiet-orbit, .action-row, .print-dock, .page-turn, .site-footer { display: none !important; }
  main { width: 100%; }
  .page-hero { display: block; min-height: 0; padding: 0 0 1.5rem; }
  h1, h2, .hero-deck, .guide-marker, .eyebrow, .section-label { color: #000; }
  .reading-path { gap: 2rem; padding: 0; }
  .guide-section { display: block; break-inside: avoid; }
  .claim-source { color: #000; border-color: #555; box-shadow: none; }
  .source-link, .source-note, .fact-claim { color: #000; }
}