@import url('/fonts/dm-sans.css');
/* The public pages every assistant directory asks for — /privacy, /terms, /support, /connect
   (routes/publicPages.ts). Read in someone's browser, not inside the app, so they follow the system theme
   with the app's two palettes, value for value (ui/Theme.kt) — the same pair reset-password.html uses. */
:root {
  --bg: #131314;
  --panel: #1A1A1C;
  --line: #2A2A2C;
  --text: #fff;
  --muted: #8E8E93;
  --accent: #fff;              /* accent INK: links — white on dark (no turquoise, 2026-11-08) */
  --accent-fill: #105C68;      /* accent FILL: buttons — the logo's deep teal */
  --on-accent: #fff;
}
/* The app's own skin wins over the phone's (`?theme=` → data-theme, routes/publicPages.ts): dark stays dark on a light
   phone, and light is forced below. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fff;
    --panel: #F4F4F6;
    --line: #DFDFE4;
    --text: #131314;
    --muted: #5F5F66;
    --accent: #105C68;
    --accent-fill: #105C68;
    --on-accent: #fff;
  }
}
:root[data-theme="light"] {
  --bg: #fff;
  --panel: #F4F4F6;
  --line: #DFDFE4;
  --text: #131314;
  --muted: #5F5F66;
  --accent: #105C68;
  --accent-fill: #105C68;
  --on-accent: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 32px 16px calc(48px + env(safe-area-inset-bottom));
}
main { max-width: 720px; margin: 0 auto; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; }
.mark img { width: 28px; height: 28px; border-radius: 6px; display: block; }
nav.pages { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 14px; }
nav.pages a { color: var(--muted); text-decoration: none; }
nav.pages a[aria-current="page"] { color: var(--text); font-weight: 600; }
h1 { font-size: 30px; line-height: 1.2; margin: 28px 0 6px; font-weight: 700; letter-spacing: -.3px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
h2 { font-size: 20px; margin: 34px 0 8px; font-weight: 600; }
h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 600; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 14px 0; }
.card h3 { margin-top: 0; }
.card ol { margin: 8px 0 0; padding-left: 22px; }
.note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
code.addr { display: block; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; }
a.button { display: inline-block; margin-top: 10px; padding: 10px 18px; border-radius: 22px; background: var(--accent-fill);
  color: var(--on-accent); font-weight: 600; text-decoration: none; }
/* The list of companies on /privacy: one card each — name, what for, where — readable at phone width. */
ul.vendors { list-style: none; padding: 0; margin: 8px 0 0; }
ul.vendors li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
ul.vendors b, ul.vendors span { display: block; }
ul.vendors span.where { color: var(--muted); font-size: 14px; margin-top: 4px; }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
