/* Loubibi legal pages: the app's own colours and fonts, no scripts, no external requests. */
@font-face { font-family: "Fredoka"; src: url("../fonts/Fredoka-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #9caf88;          /* sage: the whole page behind the text */
  --ink: #2f2924;
  --muted: #44503a;
  --link: #2f2924;
  --line: rgba(47, 41, 36, 0.28);
  --soft: rgba(255, 255, 255, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c211a; --ink: #ecefe4; --muted: #b3b9a8; --link: #f0c7ae; --line: rgba(236, 239, 228, 0.22); --soft: rgba(255, 255, 255, 0.08); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.top {
  background: #ffffff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, calc((100% - 760px) / 2));
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 54px; width: auto; }
.top nav a { color: #2f2924; text-decoration: none; font-weight: 600; margin-left: 18px; }
.top nav a:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  .top { background: #5f7152; border-bottom-color: #5f7152; }
  .top nav a { color: #f1f3ea; }
}
main { max-width: 760px; margin: 0 auto; padding: 32px clamp(20px, 5vw, 36px) 24px; }
h1, h2, h3 { font-family: "Fredoka", "Geist", sans-serif; font-weight: 600; line-height: 1.25; color: var(--ink); }
h1 { font-size: 34px; margin: 0 0 8px; }
h2 { font-size: 24px; margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 19px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
li { margin: 4px 0; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
strong { font-weight: 600; }
code { background: var(--soft); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--soft); }
footer { max-width: 760px; margin: 0 auto; padding: 22px 20px 40px; color: var(--muted); font-size: 15px; text-align: center; }
