/* Bloo public site — privacy / legal pages.
   Neutral, readable, brand-teal. Tweak this file for the look. */
:root {
  color-scheme: light;
  --brand: #2f7d8a;       /* Bloo teal */
  --brand-dark: #245f69;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f4f7f7;
  --maxw: 860px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
}
body::before { content: ""; display: block; height: 4px; background: var(--brand); }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.25rem;
}
.brand {
  font-weight: 800; font-size: 1.5rem; letter-spacing: .01em;
  color: var(--brand); text-decoration: none;
}
.site-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { color: var(--brand); }

/* Document */
.doc { max-width: var(--maxw); margin: 0 auto; padding: .5rem 1.25rem 3rem; }
.doc h1 { font-size: 2rem; line-height: 1.2; margin: .6rem 0 .25rem; }
.doc h2 {
  font-size: 1.25rem; margin: 2.2rem 0 .6rem; padding-bottom: .3rem;
  border-bottom: 2px solid var(--line);
}
.doc p { margin: .7rem 0; }
.doc ul, .doc ol { margin: .6rem 0; padding-left: 1.4rem; }
.doc li { margin: .25rem 0; }
.doc strong { font-weight: 700; }
.doc code {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: .08em .35em; border-radius: 4px; font-size: .85em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.doc a { overflow-wrap: anywhere; }

/* Tables — scroll on narrow screens instead of overflowing */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 1rem 0; border: 1px solid var(--line); border-radius: 8px;
}
.doc table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.doc th, .doc td {
  border: 1px solid var(--line); padding: .55rem .65rem;
  text-align: left; vertical-align: top;
}
.doc th { background: var(--bg-soft); font-weight: 700; }
.doc tbody tr:nth-child(even) { background: #fafbfb; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); margin: 2rem auto 0;
  max-width: var(--maxw); padding: 1.5rem 1.25rem 3rem;
  color: var(--ink-soft); font-size: .85rem;
}
.site-footer p { margin: .3rem 0; }

@media (max-width: 600px) {
  .doc h1 { font-size: 1.6rem; }
  .brand { font-size: 1.3rem; }
}
