/* Static legal pages (privacy, terms, account deletion). Colours match
   lib/core/theme/gg_colors.dart; the font is the app's bundled Archivo. */
@font-face {
  font-family: "Archivo";
  src: url("assets/assets/fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
:root {
  --bg: #f3f4f1;
  --raised: #ffffff;
  --line: #d3d7d0;
  --ink: #1c2229;
  --muted: #56606b;
  --blue: #1748c4;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --raised: #1d2127;
    --line: #343a43;
    --ink: #e9ebe6;
    --muted: #9aa3ad;
    --blue: #7a9bff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  justify-content: space-between; padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-stretch: 75%; font-size: 24px;
  color: var(--ink); text-decoration: none;
}
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav a[aria-current="page"] { color: var(--blue); }
main { padding-bottom: 48px; }
h1, h2, h3 { font-stretch: 75%; line-height: 1.15; }
h1 { font-size: 40px; margin: 16px 0 4px; }
h2 { font-size: 26px; margin: 40px 0 8px; }
h3 { font-size: 19px; margin: 24px 0 4px; font-stretch: 87.5%; }
.meta { color: var(--muted); margin-top: 0; }
a { color: var(--blue); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
table {
  width: 100%; border-collapse: collapse; margin: 12px 0;
  background: var(--raised); border-radius: 12px; overflow: hidden;
}
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-stretch: 87.5%; }
tr:last-child td { border-bottom: 0; }
footer {
  border-top: 1px solid var(--line); color: var(--muted);
  padding-top: 16px; padding-bottom: 32px; font-size: 14px;
}
footer a { color: var(--muted); }
@media (max-width: 520px) {
  h1 { font-size: 32px; }
  th, td { display: block; border: 0; padding: 4px 12px; }
  tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  thead { display: none; }
  td + td { color: var(--muted); }
  td + td::before { content: "Lawful basis: "; font-weight: 600; }
}
