/* SKILLCOURT legal documents — standalone, no theme, no tracking, no external requests. */
:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #e4e4e4;
  --accent: #111111;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111111;
    --fg: #ededed;
    --muted: #9b9b9b;
    --rule: #2b2b2b;
    --accent: #ffffff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  padding: 32px 16px 64px;
}
main { max-width: 46rem; margin: 0 auto; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
h1 { font-size: 26px; line-height: 1.25; font-weight: 700; margin: 0 0 4px; }
.stand { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
h2 {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 8px; }
address { font-style: normal; margin: 0 0 14px; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.lede { color: var(--muted); }
.basis { margin: 0 0 14px; }
.basis strong { font-weight: 600; }
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0 0 6px; }

.imprint {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.imprint p { margin: 0 0 10px; }
.imprint-head {
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ---------- Print: this is what the PDFs are made from (legal/build.sh). ----------
   The per-document footer text lives in each page's own <style media="print">, because a page
   margin box cannot read anything from the document. Inter is only loaded for print. */
@font-face {
  font-family: 'Inter';
  src: url('inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}
@page {
  size: A4;
  margin: 24mm 20mm 20mm 20mm;
  @top-right {
    content: url('wordmark.svg');
    vertical-align: bottom;
    padding-bottom: 6mm;
  }
  @bottom-left {
    width: 125mm; text-align: left; vertical-align: top; padding-top: 6mm;
    font: 400 7pt/1.2 'Inter', sans-serif; color: #6b6b6b;
  }
  @bottom-right {
    width: 45mm; text-align: right; vertical-align: top; padding-top: 6mm;
    font: 400 7pt/1.2 'Inter', sans-serif; color: #6b6b6b;
  }
}
@media print {
  :root { --bg: #fff; --fg: #1a1a1a; --muted: #6b6b6b; --rule: #1a1a1a; --accent: #1a1a1a; }
  body { padding: 0; font: 400 8.4pt/1.42 'Inter', sans-serif; }
  main { max-width: none; }
  .eyebrow, .stand, footer, .imprint { display: none; }
  h1 { font-size: 21pt; line-height: 1.15; font-weight: 600; margin: 4mm 0 8mm; }
  h2 {
    font-size: 7.6pt; letter-spacing: 0.06em; font-weight: 600;
    margin: 5mm 0 2.2mm; padding: 0 0 1.4mm; border-top: 0; border-bottom: 0.6pt solid var(--rule);
    break-after: avoid;
  }
  h3 { font-size: 8.4pt; font-weight: 600; margin: 3.4mm 0 1mm; break-after: avoid; }
  p, address { margin: 0 0 2mm; }
  ul { margin: 0 0 2.4mm; padding-left: 5mm; }
  li { margin: 0 0 0.8mm; }
  a { text-decoration: none; }
  p, li { orphans: 3; widows: 3; }
}
