/* Clyde Development — site stylesheet (v1)
   Assets are cached with `expires max`; bump the filename version when this file changes. */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/plex-sans-var-v23.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-mono-400-v20.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-mono-500-v20.woff2") format("woff2"); }

/* ---------- Tokens: dark is the default theme ---------- */
:root {
  --bg: #0E0F16; --surface: #161722; --raised: #1E1F2D;
  --line: #2A2B3C; --line-strong: #3A3B50;
  --text: #EEEDF7; --muted: #A3A1B8; --subtle: #8A88A0;
  --accent: #9D8FF2; --accent-hover: #B6ABF7; --accent-ink: #0E0F16; --accent-soft: rgb(157 143 242 / .12);
  --logo-g1: #CBC3FB; --logo-g2: #6E5AE0;
  --grid-line: rgb(238 237 247 / .045);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --header-h: 68px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F7F7FA; --surface: #FFFFFF; --raised: #F0EFF6;
  --line: #E2E1EC; --line-strong: #CFCDDD;
  --text: #14141E; --muted: #555369; --subtle: #66647C;
  --accent: #5A47C8; --accent-hover: #4636AE; --accent-ink: #FFFFFF; --accent-soft: rgb(90 71 200 / .08);
  --logo-g1: #9D8FF2; --logo-g2: #4A37B8;
  --grid-line: rgb(20 20 30 / .05);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--sans); font-weight: 500; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.label { font: 500 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font: 600 1.06rem/1 var(--sans); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .94rem; transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .5em; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-toggle[hidden] { display: none; }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
:root[data-theme="light"] .icon-sun { display: none; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .25rem clamp(16px, 4vw, 40px) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { text-decoration: none; color: var(--accent); }
  .js .menu-btn { display: inline-grid; }
  html:not(.js) .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; border: 0; }
  html:not(.js) .nav a { border: 0; padding: .25rem 0; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 8px; font: 500 .98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section.tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.sec-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.sec-head .label { white-space: nowrap; }
.sec-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.intro-grid { display: grid; gap: 1.5rem 4rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 6fr; align-items: end; } }
.intro-grid p { color: var(--muted); margin: 0; max-width: 36rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.grid-bg::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: end; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 7fr 5fr; } }
.hero .label { margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.04; }
.soft { color: var(--subtle); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 38rem; margin: 1.75rem 0 2.25rem; }

.spec { border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--surface) 80%, transparent); font-size: .92rem; }
.spec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: .5rem; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.spec dl { margin: 0; }
.spec .row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.spec .row:last-child { border-bottom: 0; }
.spec dt { font: 500 .72rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.spec dd { margin: 0; }
@media (max-width: 480px) { .spec .row { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Facts band ---------- */
.facts { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 1.75rem 1.5rem; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
@media (min-width: 760px) { .fact { border-bottom: 0; border-right: 1px solid var(--line); } .fact:last-child { border-right: 0; } }
.fact .num { font: 500 2rem/1 var(--sans); letter-spacing: -.02em; margin: .9rem 0 .6rem; }
.fact p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Services index (home) ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 3.25rem 1fr; gap: .25rem 1rem; padding: 1.5rem .75rem; color: inherit; text-decoration: none; transition: background-color .2s; border-radius: 6px; }
@media (min-width: 860px) { .svc { grid-template-columns: 3.75rem minmax(15rem, 1fr) 1.35fr 2rem; align-items: baseline; gap: 1.5rem; } }
a.svc:hover { background: var(--accent-soft); color: inherit; }
.svc .idx { font: 500 .8rem/1.9 var(--mono); color: var(--subtle); }
.svc h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .75rem; }
.tag { font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: .3rem .45rem; border-radius: 4px; }
.svc p { color: var(--muted); margin: 0; grid-column: 2; }
@media (min-width: 860px) { .svc p { grid-column: auto; } }
.svc .go { display: none; color: var(--subtle); justify-self: end; }
@media (min-width: 860px) { .svc .go { display: block; } }
a.svc:hover .go { color: var(--accent); }

/* ---------- Panels ---------- */
.panels { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--surface); display: flex; flex-direction: column; }
.panel::before { content: ""; position: absolute; top: -1px; left: 2rem; width: 3rem; height: 2px; background: var(--accent); }
.panel h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 500; letter-spacing: -.02em; margin: 1.1rem 0 .9rem; }
.panel > p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: .5rem 0 1.75rem; display: grid; gap: .55rem; }
@media (min-width: 560px) { .checks.two { grid-template-columns: 1fr 1fr; } }
.checks li { position: relative; padding-left: 1.35rem; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55rem; height: 1px; background: var(--accent); }
.checks.muted-items li { color: var(--muted); }
.checks.muted-items li::before { background: var(--subtle); }
.note { font-size: .88rem; color: var(--subtle); border-top: 1px solid var(--line); padding-top: 1rem; margin: auto 0 1.25rem; }

/* ---------- Two-column split + definition principles ---------- */
.split { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } }
.split p { color: var(--muted); }
.principles { margin: 2rem 0 0; display: grid; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.principles dt { font: 500 .74rem/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.principles dd { margin: 0; font-size: .98rem; }
@media (max-width: 480px) { .principles div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- Contact band ---------- */
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; }
.contact-grid { display: grid; gap: 2rem 4rem; margin-top: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; align-items: end; } }
.contact-grid p { color: var(--muted); max-width: 36rem; }
.email { font: 500 clamp(1.2rem, 2.6vw, 1.7rem)/1.3 var(--sans); letter-spacing: -.01em; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: .35rem; transition: border-color .2s, color .2s; overflow-wrap: anywhere; }
.email:hover { color: var(--accent); border-color: var(--accent); }
.email-xl { font-size: clamp(1.5rem, 4.4vw, 2.75rem); }

/* ---------- Inner page header ---------- */
.page-head { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.page-head .wrap { position: relative; }
.crumbs { margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--muted); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-bottom: 0; max-width: 42rem; }
.page-head .actions { margin-top: 2.25rem; }

/* ---------- Services page: sticky index + sections ---------- */
.indexed { display: grid; gap: 2rem 4rem; }
@media (min-width: 960px) { .indexed { grid-template-columns: 15rem 1fr; } }
.side-index { display: none; }
@media (min-width: 960px) {
  .side-index { display: block; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .side-index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .side-index a { display: grid; grid-template-columns: 2rem 1fr; padding: .5rem 0 .5rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: .92rem; line-height: 1.4; }
  .side-index a span { font: 500 .75rem/1.6 var(--mono); color: var(--subtle); }
  .side-index a:hover { color: var(--text); border-left-color: var(--accent); }
}
.svc-block { padding: 0 0 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-block .label { display: block; margin-bottom: .9rem; }
.svc-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 1rem; }
.svc-block > p { color: var(--muted); max-width: 44rem; }
.svc-cols { display: grid; gap: 1.5rem 3rem; margin-top: 1.75rem; }
@media (min-width: 700px) { .svc-cols { grid-template-columns: 1fr 1fr; } }
.svc-cols h3 { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin-bottom: .9rem; }
.svc-cols .checks { margin: 0; }

/* ---------- Cards grid (used sparingly) ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (min-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.cell { background: var(--bg); padding: 1.6rem 1.5rem; }
.cell h3 { margin-bottom: .55rem; font-size: 1.1rem; }
.cell p { color: var(--muted); margin: 0; font-size: .97rem; }
.cell .num { display: block; font: 500 .78rem/1 var(--mono); color: var(--accent); margin-bottom: 1.1rem; letter-spacing: .06em; }

/* ---------- Scope (CMMC) ---------- */
.scope { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope > div { border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2rem); }
.scope .yes { background: var(--surface); border-top: 2px solid var(--accent); }
.scope .no { border-style: dashed; border-color: var(--line-strong); }
.scope h3 { margin-bottom: 1.1rem; }
.scope .checks { margin: 0; }

/* ---------- Callout ---------- */
.callout { display: grid; gap: .5rem 1.5rem; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface); padding: 1.4rem 1.5rem; }
@media (min-width: 760px) { .callout { grid-template-columns: 11rem 1fr; } }
.callout p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--subtle); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq summary:hover { color: var(--accent-hover); }
.faq details > div { padding: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.timeline .when { font: 500 .85rem/1.9 var(--mono); color: var(--accent); }
.timeline p { margin: 0; color: var(--muted); }
.timeline h3 { margin-bottom: .3rem; font-size: 1.08rem; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Prose (Terms, Privacy) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; margin: 2.5rem 0 .8rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose .closing { font-style: italic; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: toc; }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.toc .label { display: block; margin-bottom: .9rem; }

/* ---------- 404 ---------- */
.err { min-height: calc(100vh - var(--header-h) - 160px); display: grid; align-items: center; position: relative; overflow: hidden; padding: 5rem 0; }
.err .code { font: 500 clamp(4.5rem, 16vw, 9rem)/1 var(--mono); letter-spacing: -.04em; color: var(--accent); margin-bottom: 1.5rem; }
.err-links { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.5rem; font-size: .92rem; }
.foot { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .foot { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.foot p { color: var(--muted); max-width: 22rem; margin: 1rem 0 0; }
.foot h2 { margin: 0 0 1rem; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--subtle); font: 400 .8rem/1.5 var(--mono); }
.legal nav { display: flex; gap: 1.25rem; }
.legal a { color: var(--subtle); text-decoration: none; }
.legal a:hover { color: var(--text); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .contact, .theme-toggle, .menu-btn, .side-index, .toc { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
