/* The legal pages of smart-food.store: the same tokens as the landing, a reading column. */
@font-face {
  font-family: "Onest";
  src: url("/fonts/onest.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --accent: #0b7a5a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --surface: #1e1e1e;
    --text: #f2f2f2;
    --muted: #9a9a9a;
    --accent: #1aea9f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Onest", system-ui, sans-serif;
  font-size: 17px;
  line-height: 26px;
}
a { color: var(--accent); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 24px; }
header a.home { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 19px; }
header img { width: 40px; height: 40px; border-radius: 10px; }
header a.lang {
  margin-left: auto;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
  line-height: 20px;
}
nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px auto 0; max-width: 760px; padding: 0 20px; }
nav a {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 15px;
  line-height: 20px;
}
nav a[aria-current="page"] { background: var(--accent); color: var(--bg); }
h1 { font-size: 34px; line-height: 40px; margin: 32px 0 8px; font-weight: 700; }
h2 { font-size: 22px; line-height: 28px; margin: 36px 0 8px; font-weight: 650; }
h3 { font-size: 18px; line-height: 24px; margin: 24px 0 4px; font-weight: 600; }
p, ul, ol { margin: 8px 0; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.note {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 18px;
  margin: 16px 0;
}
.table { overflow-x: auto; margin: 12px 0; background: var(--surface); border-radius: 16px; padding: 6px 18px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
th, td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; }
th { font-weight: 600; color: var(--muted); }
td:first-child { font-weight: 600; min-width: 140px; }
footer { margin-top: 48px; padding-top: 16px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
@media (max-width: 480px) {
  body { font-size: 16px; line-height: 24px; }
  h1 { font-size: 28px; line-height: 34px; }
}
