
/* Theme borrowed from tensorviz.dev (tensorviz-org/tensorViz-website src/home.css).
   Fonts: Geist, Inter and JetBrains Mono, the same fontsource variable files the site ships,
   under SIL OFL 1.1 — see licenses/. */
@font-face {
  font-family: Geist;
  src: url("fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --page: #121312;
  --ground: #171817;
  --cell: #1d1f1d;
  --raised: #242624;
  --line: rgba(227, 232, 226, 0.12);
  --line-strong: rgba(227, 232, 226, 0.24);
  --ink: #e3e8e2;
  --ink-2: #a4ada5;
  --ink-3: #98a199;
  --accent: #aabfb2;
  --fail: #e2704f;
  --fail-wash: rgba(226, 112, 79, 0.14);
  --pass: #8fc59b;
  --pass-wash: rgba(143, 197, 155, 0.14);
  --display: Geist, Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --ui: Inter, Geist, Arial, sans-serif;
  --r: 2px;
  --dur: 180ms;
  --dur-fast: 120ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  font-family: var(--display);
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body { font-size: 17px; line-height: 1.5; overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
a:hover { color: var(--ink); }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; }
h1 {
  font-size: clamp(56px, 5.1vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-size: 28px; line-height: 1.1; }
p { color: var(--ink-2); }
code, pre { font-family: var(--mono); }
code { font-size: .88em; color: var(--ink); }
strong, b { font-weight: 500; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 12px; z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink); color: var(--page); padding: 8px 16px;
}
.skip-link:focus { transform: translateY(0); }
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap { width: min(calc(100% - 48px), 1392px); margin-inline: auto; }

.site-header {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.brand-mark { width: 22px; height: 22px; stroke-width: 2; }
.brand-mark circle { fill: var(--page); }
.header-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; color: var(--ink-2); padding: 8px 0;
}
.header-link svg { width: 14px; height: 14px; }
.header-link:hover { color: var(--ink); }


body { min-height: 100vh; display: flex; flex-direction: column; }
.legal { width: min(calc(100% - 48px), 72ch); margin: 64px auto 0; flex: 1; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(32px, 5vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 20px; }
.legal h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 14px; }
.legal p, .legal ul, .legal ol { margin: 16px 0; }
.legal ul { list-style: disc; padding-left: 1.5em; }
.legal ol { list-style: decimal; padding-left: 1.5em; }
.legal li + li { margin-top: 10px; }
.legal li { color: var(--ink-2); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .eyebrow, .legal .updated { font: 400 12px/1.6 var(--mono); color: var(--ink-3); }
.legal .eyebrow { text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 599px) {
  .wrap, .legal { width: calc(100% - 40px); }
  .site-header { height: 64px; }
  .legal { margin-top: 40px; }
}
