/* SMACO Legal Pages — bewusst nüchtern, lesbar, brand-konsistent */
@font-face {
  font-family: "Baloo 2"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/fonts/baloo2-800.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/hankengrotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/fonts/hankengrotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/jetbrainsmono-400.woff2") format("woff2");
}

:root {
  --ink: #0a0a0c;
  --paper: #f6f4ee;
  --yellow: #f7c800;
  --muted: #5a5a60;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header */
body::before {
  content: "";
  display: block;
}

.legal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: var(--ink);
  position: sticky; top: 0; z-index: 10;
}
.legal-header a.brand {
  font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800;
  color: var(--yellow); font-size: 26px; text-decoration: none; letter-spacing: -0.02em;
}
.legal-header a.back {
  font-family: "JetBrains Mono", monospace; font-weight: 400; font-size: 12px;
  color: var(--paper); text-decoration: none; letter-spacing: 0.08em;
  border: 1px solid #2a2a2e; padding: 8px 14px; border-radius: 999px;
  transition: color 180ms, border-color 180ms;
}
.legal-header a.back:hover { color: var(--yellow); border-color: var(--yellow); }

main.container {
  max-width: 760px; margin: 0 auto; padding: 48px 24px 96px;
}
h1 {
  font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800;
  font-size: clamp(40px, 7vw, 72px); line-height: 1; margin: 0 0 32px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-weight: 700;
  font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em;
}
h3 {
  font-family: "Hanken Grotesk", system-ui, sans-serif; font-weight: 700;
  font-size: 17px; margin: 24px 0 8px;
}
p, ul, ol { margin: 0 0 16px; font-size: 16px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }

address { font-style: normal; font-family: "JetBrains Mono", monospace; font-size: 14px;
  background: rgba(0,0,0,0.04); padding: 12px 16px; border-radius: 8px; display: inline-block;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #8a6500; }

hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); margin: 32px 0; }

.legal-footer {
  text-align: center; padding: 32px 24px;
  font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
