:root {
  --ink: #f4f7ff;
  --muted: #aab6d4;
  --panel: rgba(7, 12, 42, 0.78);
  --panel-strong: rgba(7, 10, 31, 0.92);
  --line: rgba(121, 175, 255, 0.2);
  --cyan: #56e8ff;
  --violet: #bd70ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #050a26;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(115deg, rgba(3, 8, 34, .92), rgba(7, 12, 54, .58) 48%, rgba(6, 8, 30, .92)), url("assets/lucy-background.jpg") center / cover;
  filter: saturate(1.08);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 78% 13%, rgba(86, 232, 255, .16), transparent 28%), radial-gradient(circle at 14% 86%, rgba(189, 112, 255, .13), transparent 32%);
}

a { color: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { min-height: 84vh; display: grid; align-items: end; padding: 72px 0 58px; }
.hero-content { max-width: 760px; }
.eyebrow { color: var(--cyan); letter-spacing: .22em; text-transform: uppercase; font-size: .75rem; font-weight: 800; }
h1 { margin: 18px 0 14px; font-size: clamp(3.1rem, 8vw, 7.5rem); line-height: .92; letter-spacing: -.07em; max-width: 780px; text-shadow: 0 0 34px rgba(86, 232, 255, .2); }
.hero p { margin: 0; max-width: 640px; color: #d9e3ff; font-size: clamp(1rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 13px 20px; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.button.primary { color: #041027; background: linear-gradient(100deg, var(--cyan), #a3f5ff); border-color: transparent; }
.button.secondary { background: rgba(10, 19, 61, .58); color: var(--ink); }

.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 80px; }
.toc { position: sticky; top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(4, 10, 38, .62); backdrop-filter: blur(16px); }
.toc-title { color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.toc a { display: block; padding: 8px 0; color: #d8e3ff; font-size: .88rem; text-decoration: none; }
.toc a:hover { color: var(--cyan); }
.document { min-width: 0; }
.page { margin-bottom: 22px; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(14px); scroll-margin-top: 20px; }
.page-label { display: inline-block; margin-bottom: 18px; padding: 5px 10px; border: 1px solid rgba(86,232,255,.28); border-radius: 99px; color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.page h2 { margin: 0 0 22px; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; }
.page-content { white-space: pre-wrap; overflow-wrap: anywhere; color: #e2e8ff; font: 400 .96rem/1.72 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.page-content::first-line { color: #fff; }
.footer { padding: 24px 0 52px; color: var(--muted); text-align: center; font-size: .85rem; }
@media (max-width: 800px) {
  .hero { min-height: 72vh; padding-top: 46px; }
  .layout { display: block; }
  .toc { position: static; margin-bottom: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .toc-title { width: 100%; margin-bottom: 0; }
  .toc a { padding: 4px 8px; border-radius: 999px; background: rgba(86,232,255,.08); }
  .page { padding: 22px 18px; border-radius: 18px; }
  .page-content { font-size: .82rem; line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.download-icon { width: 17px; height: 17px; }

footer a { color: var(--cyan); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media print {
  body::before, body::after { display: none; }
  body { color: #111; background: #fff; }
  .hero { min-height: auto; padding: 20px 0; }
  .toc, .actions { display: none; }
  .layout { display: block; }
  .page { color: #111; background: #fff; border: 0; box-shadow: none; page-break-after: always; }
  .page-content { color: #111; }
}

/* The page intentionally keeps the PDF wording as readable text rather than embedding page images. */

.logo-mark { color: var(--violet); font-weight: 900; }

.meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: .82rem; }
.meta span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.07); }

section.page:nth-child(even) { background: rgba(7, 12, 42, .68); }
section.page:nth-child(3n) { border-color: rgba(189,112,255,.25); }

@media (max-width: 520px) { h1 { font-size: clamp(2.9rem, 18vw, 5rem); } .shell { width: min(100% - 22px, 1180px); } }


/* Keep the background readable behind long text blocks. */
.page-content { text-shadow: 0 1px 1px rgba(0,0,0,.22); }














































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Need continue. Could have first write result absent due batching? We see only exec outputs, maybe write failed? The batch result clipped? Let's inspect later. Need create HTML with script. Use write. Need include all content maybe script page split form feed. We can use JS in browser to fetch content? Better prebuild. We'll make `build_site.py` that reads content.txt, split ``, strips page headers/footer? But 
