/* AISecurityInterviews — one stylesheet for every page.
   Tokens first; both themes are explicit. The page follows the OS theme unless
   the reader picks one, which is stored as data-theme on <html>. */

:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --surface-2: #eceae2;
  --border: #dedbd1;
  --border-2: #c3bfb2;
  --text: #15171b;
  --text-2: #464b53;
  --text-3: #5d626a;
  --accent: #c2361c;
  --accent-2: #9e2711;
  --accent-bg: #fbe8e2;
  --safe: #0e6a5a;
  --safe-bg: #e0f1ec;
  --warn: #8a5a00;
  --ink: #121417;
  --on-ink: #f5f4ef;
  --code-bg: #121417;
  --code-fg: #e4e2da;
  --shadow: rgba(18, 20, 23, 0.08);
  --ff-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e11;
    --surface: #14171c;
    --surface-2: #1b1f25;
    --border: #2a2f37;
    --border-2: #3b414b;
    --text: #ecebe5;
    --text-2: #b9bcc2;
    --text-3: #9ca0a8;
    --accent: #ff7b5e;
    --accent-2: #ffa18a;
    --accent-bg: #3a1c15;
    --safe: #52d1b4;
    --safe-bg: #12302a;
    --warn: #f0b84a;
    --ink: #ecebe5;
    --on-ink: #0c0e11;
    --code-bg: #08090b;
    --code-fg: #dcdad2;
    --shadow: rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0c0e11;
  --surface: #14171c;
  --surface-2: #1b1f25;
  --border: #2a2f37;
  --border-2: #3b414b;
  --text: #ecebe5;
  --text-2: #b9bcc2;
  --text-3: #9ca0a8;
  --accent: #ff7b5e;
  --accent-2: #ffa18a;
  --accent-bg: #3a1c15;
  --safe: #52d1b4;
  --safe-bg: #12302a;
  --warn: #f0b84a;
  --ink: #ecebe5;
  --on-ink: #0c0e11;
  --code-bg: #08090b;
  --code-fg: #dcdad2;
  --shadow: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--ff-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, kbd, .mono { font-family: var(--ff-mono); font-size: 0.88em; }
:not(pre) > code { background: var(--surface-2); border: 1px solid var(--border); padding: 0.08em 0.38em; border-radius: 6px; }
pre {
  background: var(--code-bg); color: var(--code-fg);
  padding: 18px 20px; border-radius: 12px; overflow-x: auto;
  font: 13.5px/1.6 var(--ff-mono);
}
hr { border: 0; border-top: 1px solid var(--border); margin: 56px 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.prose { max-width: 740px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); padding: 7px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.theme-toggle {
  flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2); cursor: pointer; display: grid; place-items: center;
}
.theme-toggle:hover { color: var(--text); border-color: var(--border-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12.5px/1 var(--ff-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.15; margin: 0; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.028em; }
h3 { font-size: 20px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); line-height: 1.55; max-width: 640px; }
.muted { color: var(--text-3); }
.small { font-size: 14.5px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 12px 18px; border-radius: 11px;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { color: var(--text); border-color: var(--text-3); transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.primary:hover { color: var(--on-ink); background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Sections */
section { padding: 88px 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section-head p { margin: 0; color: var(--text-2); font-size: 18px; }
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding: 0; list-style: none; }
.hero-tags li { font: 500 13px/1 var(--ff-mono); color: var(--text-2); border: 1px solid var(--border); background: var(--surface); padding: 8px 10px; border-radius: 999px; }

.figure { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -30px var(--shadow); }
.figure figcaption { font-size: 14px; color: var(--text-3); padding: 12px 6px 2px; line-height: 1.5; }
.tm text { font-family: var(--ff-sans); fill: var(--text); }
.tm .lbl { font-size: 13px; font-weight: 600; }
.tm .sub { font-size: 11px; fill: var(--text-3); font-weight: 500; }
.tm .mono { font-family: var(--ff-mono); font-size: 10.5px; fill: var(--text-3); letter-spacing: 0.04em; }
.tm .node { fill: var(--surface); stroke: var(--border-2); stroke-width: 1.2; }
.tm .node.core { fill: var(--ink); stroke: var(--ink); }
.tm .core-t { fill: var(--on-ink); }
.tm .core-s { fill: var(--on-ink); opacity: .7; }
.tm .zone-trusted { fill: var(--safe-bg); stroke: none; }
.tm .zone-untrusted { fill: var(--accent-bg); stroke: none; }
.tm .zone-label-safe { fill: var(--safe); }
.tm .zone-label-risk { fill: var(--accent); }
.tm .edge { stroke: var(--text-3); stroke-width: 1.3; fill: none; }
.tm .edge.risk { stroke: var(--accent); stroke-dasharray: 4 3; }
.tm .arrow { fill: var(--text-3); }
.tm .arrow.risk { fill: var(--accent); }
.tm .pin { fill: var(--accent); }
.tm .pin-t { fill: #fff; font: 700 11px var(--ff-mono); }
.tm .boundary { stroke: var(--text-3); stroke-dasharray: 2 4; stroke-width: 1.2; fill: none; }

.legend { list-style: none; margin: 4px 0 0; padding: 0 6px; display: grid; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.legend li { display: flex; gap: 8px; align-items: baseline; }
.legend .n { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 10.5px/18px var(--ff-mono); text-align: center; transform: translateY(2px); }

/* Cards */
.grid { display: grid; gap: 16px; }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.band .card { background: var(--bg); }
a.card { text-decoration: none; }
a.card:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-2px); }
.card .k { font: 500 12px/1 var(--ff-mono); color: var(--text-3); letter-spacing: 0.05em; }
.card h3 { font-size: 19px; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.card ul li { font-size: 14.5px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.45; }
.card ul li::before { content: "?"; position: absolute; left: 0; top: 0; font: 600 12px/1.6 var(--ff-mono); color: var(--accent); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); }
.icon svg { width: 20px; height: 20px; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.role { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.role:nth-child(3n) { border-right: 0; }
.role:nth-last-child(-n+3) { border-bottom: 0; }
.role h3 { font-size: 18px; margin-bottom: 8px; }
.role p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.role .focus { margin-top: 12px; font: 500 12.5px/1.5 var(--ff-mono); color: var(--text-3); }

/* Worked example */
.worked { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.qcard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.qcard header { padding: 22px 24px; border-bottom: 1px solid var(--border); display: grid; gap: 10px; }
.qcard header .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 12px/1 var(--ff-mono); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--bg); }
.chip.hard { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: var(--accent-bg); }
.qcard h3 { font-size: 21px; line-height: 1.3; }
.qcard .body { padding: 22px 24px 8px; }
.qcard .body h4 { font-size: 13px; font-family: var(--ff-mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 18px 0 8px; }
.qcard .body h4:first-child { margin-top: 0; }
.qcard .body p, .qcard .body li { font-size: 15.5px; color: var(--text-2); line-height: 1.6; }
.qcard .body ol, .qcard .body ul { padding-left: 20px; margin: 0; display: grid; gap: 6px; }
.score { display: grid; border-top: 1px solid var(--border); }
.score div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.score div:last-child { border-bottom: 0; }
.score b { font: 600 12.5px/1.6 var(--ff-mono); letter-spacing: .03em; }
.score .weak b { color: var(--text-3); }
.score .hire b { color: var(--warn); }
.score .strong b { color: var(--safe); }

/* Principles */
.principles { counter-reset: p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; }
.principle { padding: 22px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 44px 1fr; gap: 6px 12px; }
.principle::before { counter-increment: p; content: "0" counter(p); font: 600 13px/1.9 var(--ff-mono); color: var(--accent); grid-row: span 2; }
.principle h3 { font-size: 18px; }
.principle p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 18.5px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--ff-mono); color: var(--text-3); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .a { padding: 0 0 22px; color: var(--text-2); max-width: 760px; }
.faq .a p { margin: 0 0 10px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-ink); border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--on-ink); }
.cta-band p { margin: 10px 0 0; opacity: .78; font-size: 17px; max-width: 620px; }
.cta-band .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.cta-band .btn:hover { color: var(--ink); }

/* Article pages */
.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(34px, 5vw, 54px); margin: 16px 0 18px; }
.crumbs { font: 500 13px/1 var(--ff-mono); color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs span[aria-hidden] { opacity: .5; }
.byline { margin-top: 18px; font: 500 13px/1.5 var(--ff-mono); color: var(--text-3); }

.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.toc p { font: 600 12px/1 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.toc a { display: block; text-decoration: none; color: var(--text-2); padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }

.content { max-width: 760px; }
.content > h2 { margin: 56px 0 16px; font-size: clamp(26px, 3vw, 32px); }
.content > h2:first-child { margin-top: 0; }
.content h3 { margin: 32px 0 10px; font-size: 21px; }
.content p, .content li { color: var(--text-2); }
.content p { margin: 0 0 16px; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 18px; display: grid; gap: 7px; }
.content strong { color: var(--text); font-weight: 600; }
.content table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.content th, .content td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.content th { font: 600 12.5px/1.4 var(--ff-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.content td { color: var(--text-2); }
.content td:first-child { color: var(--text); font-weight: 600; min-width: 150px; }

.callout { border: 1px solid var(--border); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; padding: 18px 20px; margin: 22px 0 26px; }
.callout p:last-child { margin-bottom: 0; }
.callout .t { font: 600 12.5px/1 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.callout.safe { border-left-color: var(--safe); }
.callout.safe .t { color: var(--safe); }

/* Question bank */
.round { margin-top: 64px; }
.round:first-child { margin-top: 0; }
.round > h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 8px; }
.round > p { color: var(--text-2); margin: 0 0 22px; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px 8px; margin-bottom: 14px; }
.qa h3 { font-size: 19.5px; line-height: 1.35; margin: 0 0 12px; }
.qa h3 a { text-decoration: none; }
.qa .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.qa .a p, .qa .a li { font-size: 16px; color: var(--text-2); }
.qa .a p { margin: 0 0 14px; }
.qa .a ul, .qa .a ol { padding-left: 20px; margin: 0 0 14px; display: grid; gap: 6px; }
.qa .listen { font-size: 14.5px; color: var(--text-3); border-top: 1px dashed var(--border); padding-top: 12px; margin: 4px 0 14px; }
.qa .listen b { color: var(--text-2); font-weight: 600; }

/* Glossary */
.glossary { margin: 0; display: grid; gap: 0; }
.glossary > div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--border); }
.glossary dt { font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; }
.glossary dd { margin: 0; color: var(--text-2); }
.glossary dd p { margin: 0 0 8px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; }
.az a { font: 500 13px/1 var(--ff-mono); padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; background: var(--surface); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font: 600 12px/1 var(--ff-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer a:hover { color: var(--accent); }
.site-footer .about { color: var(--text-2); max-width: 380px; margin: 14px 0 0; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13.5px; }

@media (max-width: 980px) {
  .hero-grid, .worked { grid-template-columns: 1fr; gap: 40px; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role:nth-child(3n) { border-right: 1px solid var(--border); }
  .role:nth-child(2n) { border-right: 0; }
  .role:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .role:nth-last-child(-n+2) { border-bottom: 0; }
  .article { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; border: 1px solid var(--border); border-radius: 12px; padding: 18px; background: var(--surface); }
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 12px; }
  .brand { order: 1; }
  .theme-toggle { order: 2; margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 8px 0 0; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 10px; font-size: 14.5px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .figure { margin: 0 -8px; padding: 10px; border-radius: 16px; }
  .grid.c4, .grid.c3, .grid.c2, .principles { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .role, .role:nth-child(3n), .role:nth-child(2n) { border-right: 0; }
  .role:nth-last-child(-n+3), .role:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .role:last-child { border-bottom: 0; }
  .score div { grid-template-columns: 1fr; gap: 2px; padding: 12px 18px; }
  .qcard header, .qcard .body { padding-left: 18px; padding-right: 18px; }
  .qa { padding: 20px 18px 6px; }
  .glossary > div { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .toc, .theme-toggle { display: none; }
  body { background: #fff; color: #000; }
}

.content-wide { max-width: 940px; padding: 44px 0 96px; }
