/* Treestep legal pages (privacy, terms, support), in English and French: the page around the article (fonts, colors,
   header, footer). The article itself is styled by article.css, which the web site (web/) also uses.
   The app's look: dark, one accent color (mint), big readable text, mobile first. No request leaves this site:
   the fonts are the app's own Inter (SIL Open Font License, fonts/OFL.txt), with the system fonts as a fallback. */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0b0c0f; --surface: #17181d; --surface-2: #22242a; --ink: #ffffff; --text: rgb(255 255 255 / 0.86);
  --muted: #a1a5af; --line: #2a2c33; --accent: #2ee6a6; --accent-ink: #06130e; --accent-soft: #0f2a21; --warning: #ffb547;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; overflow-wrap: break-word;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.top, main, .bottom { width: 100%; max-width: 720px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.lang { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
main { padding-bottom: 28px; }
.bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px; font-size: 15px; color: var(--muted); }
.bottom a { color: var(--muted); }

@media (min-width: 600px) {
  body { font-size: 18px; }
}
@media print {
  :root { --bg: #fff; --surface: #fff; --ink: #000; --text: #111; --muted: #444; --line: #bbb; --accent: #064; --accent-soft: #fff; }
  .top .lang, .bottom { display: none; }
}
