/* GENERATED FILE - DO NOT EDIT.
   Source: frontend/src/features/legal/legal-html.ts (LEGAL_CSS)
   Regenerate: cd frontend && UPDATE_LEGAL_HTML=1 npx vitest run legal-html */

:root {
  --paper: oklch(0.9858 0.0045 78.3);
  --paper-deep: oklch(0.959 0.0115 84.58);
  --sheet: oklch(1 0 0);
  --ink: oklch(0.2186 0.0039 286.08);
  --ink-700: oklch(0.3501 0.008 75.3);
  --ink-500: oklch(0.4616 0.0137 84.59);
  --ink-400: oklch(0.536 0.021 84.59);
  --hairline: oklch(0.9137 0.0198 87.52);
  --hairline-soft: oklch(0.9465 0.0099 87.47);
  --gold: oklch(0.7371 0.1293 80.32);
  --gold-soft: oklch(0.9339 0.0447 87.19);
  --focus: oklch(0.2186 0.0039 286.08);
  --display: ui-serif, Georgia, "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --touch: 2.75rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* clip, not hidden: a scroller inside the page must not become a scrollbar
     on the page. The tables use that. */
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: var(--sheet);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 16px 40px -16px rgb(43 38 34 / 0.35);
}

a { color: var(--ink); }
a:focus-visible,
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.shell {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* align-items was baseline, which aligned the wordmark's text baseline to the
   sibling link. The brand is now a lone img (the lockup artifact) and an
   image's baseline is its bottom edge, so baseline alignment would sit the
   whole row on the lockup's underside. */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
}
.top .home {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
/* 140px is the lockup's floor; flex:none stops a wrapping row shrinking it
   under that silently. The wordmark rule is gone -- brand-with-text is the
   lockup artifact and nothing else. */
.top img { flex: none; width: 8.75rem; height: auto; }
.top .other {
  color: var(--ink-700);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 4px;
}
.top .other:hover { color: var(--ink); }

main { display: block; padding: 2rem 0 4rem; }
main:focus { outline: none; }

h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.lead {
  max-width: 40rem;
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  color: var(--ink-700);
}
.effective {
  margin: 0.5rem 0 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.short {
  margin: 2rem 0 0;
  padding: 1rem;
  border: 1px solid var(--gold);
  border-radius: 1rem;
  background: var(--gold-soft);
}
.short h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.short p { margin: 0.5rem 0 0; max-width: 44rem; color: var(--ink-700); }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-500);
}

.toc { margin: 2.5rem 0 0; }
.toc ol { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.toc li { display: flex; gap: 0.5rem; margin: 0.35rem 0; font-size: 0.9375rem; }
.toc a {
  color: var(--ink-700);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 4px;
}
.toc a:hover { color: var(--ink); }

.num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-400);
}

section { margin: 2.25rem 0 0; scroll-margin-top: 1.5rem; }
section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
}
section p { max-width: 44rem; margin: 0.75rem 0 0; }
section ul {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  padding: 0 0 0 1rem;
  list-style: none;
  border-left: 1px solid var(--hairline);
}
section li { margin: 0.5rem 0; }
strong { color: var(--ink); font-weight: 600; }

/* Tables scroll inside their own box; the PAGE never scrolls sideways. */
.scroller { max-width: 44rem; margin: 1rem 0 0; overflow-x: auto; }
table {
  width: 100%;
  min-width: 26rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
th {
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
  vertical-align: bottom;
  color: var(--ink);
  font-weight: 600;
}
td {
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  vertical-align: top;
  color: var(--ink-700);
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
  color: var(--ink-500);
}
footer a { color: var(--ink-700); }
footer .fine { margin: 0.75rem 0 0; max-width: 44rem; }

@media print {
  .skip, .toc, .top .other { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  section { break-inside: auto; }
  section h2 { break-after: avoid; }
  a { text-decoration: none; color: #000; }
}
