


@font-face {
  font-family: "Unna"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/unna/unna-v25-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Unna"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/unna/unna-v25-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/oswald/oswald-v57-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/oswald/oswald-v57-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/oswald/oswald-v57-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/courier-prime/courier-prime-v11-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/courier-prime/courier-prime-v11-latin-700.woff2") format("woff2");
}


@font-face {
  font-family: "Unna Fallback";
  src: local("Times New Roman"), local("Times");
  size-adjust: 87%;
  ascent-override: 101%;
  descent-override: 31%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Oswald Fallback";
  src: local("Arial");
  size-adjust: 84%;
  ascent-override: 142%;
  descent-override: 34%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Courier Prime Fallback";
  src: local("Courier New");
  size-adjust: 100%;
  ascent-override: 78%;
  descent-override: 34%;
  line-gap-override: 0%;
}

:root {
  --bg: #0c0c0c;
  --fg: #eaeaea;
  --fg-muted: rgba(234, 234, 234, .65);
  --accent: rgba(255, 255, 255, .85);
  --rule: rgba(255, 255, 255, .12);

  --max-width: 720px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Unna", "Unna Fallback", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) var(--gutter) 120px;
}

.page__back {
  display: inline-block;
  margin-bottom: 32px;
  font-family: "Courier Prime", "Courier Prime Fallback", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}

.page__back:hover,
.page__back:focus-visible { color: var(--accent); border-color: var(--accent); }

h1, h2, h3 {
  font-family: "Oswald", "Oswald Fallback", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(28px, 4.5vw, 44px); margin-top: 0; }
h2 { font-size: clamp(20px, 2.6vw, 26px); margin-top: 1.8em; }
h3 { font-size: clamp(17px, 2vw, 20px); margin-top: 1.4em; }

p, ul, ol { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}

a:hover, a:focus-visible {
  text-decoration-color: var(--accent);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.4em 0;
}

.muted { color: var(--fg-muted); }

.note {
  border-left: 2px solid var(--rule);
  padding: 0.2em 0 0.2em 1em;
  color: var(--fg-muted);
  font-style: italic;
  margin: 1.4em 0;
}

.todo {
  display: inline-block;
  background: rgba(255, 200, 80, .12);
  color: #ffd089;
  font-family: "Courier Prime", "Courier Prime Fallback", "Courier New", monospace;
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 3px;
}

footer.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: "Courier Prime", "Courier Prime Fallback", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer.legal-footer a { color: var(--fg-muted); }
footer.legal-footer .dot { opacity: .6; }


.legal-source {
  margin-top: 2.4em;
  padding-top: 1em;
  border-top: 1px solid var(--rule);
  font-size: 0.85em;
  color: var(--fg-muted);
}
.legal-source a { color: inherit; }
