/* Panoui! legal pages (Privacy Policy, Terms of Use).
   Static pages served straight from /public, outside the Vite bundle, so this
   stylesheet is plain CSS with its own local @font-face rules (no build step,
   no CDN fonts). Colours and type match src/styles.css / DESIGN.md. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-700.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-700.woff2") format("woff2");
}

:root {
  --paper: #f3f1ec;
  --ink: #16181c;
  --ink-soft: #6a6e76;
  --hair: #e2e0da;
  --ok: #18b86a;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--ink);
}

/* -------- Top bar (matches src/styles.css .topbar / .brand) -------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--ink);
  line-height: 1;
}
.bang {
  color: var(--ok);
  font-style: italic;
}
.lang-switch {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.lang-switch:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

/* -------- Reading column -------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 80px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.08;
  margin: 10px 0 6px;
}
.legal .updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.legal h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
  margin: 30px 0 8px;
}
.legal p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal p b {
  font-weight: 700;
}
.legal a {
  color: var(--ok);
}

/* -------- Footer -------- */
.footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer a:hover {
  color: var(--ink);
}
.footer-links {
  display: flex;
  gap: 16px;
}
