/* Self-hosted OFL fonts (licences sit next to the files in /assets/fonts/).
   Served from our own origin so viewing a page sends nothing to Google. */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/BebasNeue-Regular.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/JetBrainsMono-Medium.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/JetBrainsMono-Bold.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/SpaceGrotesk-Regular.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); }

/* Cookie banner: shared by generated and hand-written pages. */
.consent {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 1000;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  background: #0a0d08;
  color: #f5f1e6;
  border: 1px solid rgba(245, 241, 230, 0.24);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  font: 400 0.95rem/1.55 "Space Grotesk", system-ui, sans-serif;
}
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 6px; font: 700 1rem/1.3 "Space Grotesk", system-ui, sans-serif; }
.consent p { margin: 0 0 14px; color: #f5f1e6; }
.consent a { color: #d7ff64; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Accept and reject look the same on purpose: neither choice is nudged. */
.consent-actions button {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d7ff64;
  border-radius: 10px;
  background: transparent;
  color: #f5f1e6;
  font: 600 0.95rem/1 "Space Grotesk", system-ui, sans-serif;
  cursor: pointer;
}
.consent-actions button:hover { background: rgba(215, 255, 100, 0.14); }
.consent-actions button:focus-visible,
.consent a:focus-visible,
.consent-open:focus-visible { outline: 3px solid #d7ff64; outline-offset: 2px; }
.consent-open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Tables on the hand-written legal pages (privacy notice). */
.doc-table-scroll { overflow-x: auto; margin: 12px 0; }
.doc-table-scroll:focus-visible { outline: 3px solid #d7ff64; outline-offset: 2px; }
.doc-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.doc-table th,
.doc-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(245, 241, 230, 0.14); }
.doc-table thead th { color: #f5f1e6; font-weight: 700; border-bottom-color: rgba(245, 241, 230, 0.32); }
.doc-table tbody th { color: #f5f1e6; font-weight: 600; }
.doc-table td { color: rgba(245, 241, 230, 0.78); }
.section-panel a { color: #d7ff64; }
