/* ============================================================
   flowscan — legal pages.

   Deliberately standalone: no three.js stage, no bundle, no fonts
   fetched from a third party. These pages are linked from inside
   the mobile app and from both store listings, so they must render
   on a bad warehouse connection and never depend on the marketing
   site's build step.
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f2f5f9;
  --card: #ffffff;
  --ink: #141a27;
  --ink-2: #34405a;
  --muted: #5b6980;
  --line: rgba(20, 30, 50, 0.11);
  --green: #2fa360;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.wordmark {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark span { color: var(--green); }

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.25rem;
}

h1 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

h2 {
  margin: 2.25rem 0 0.6rem;
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

h2:first-of-type { margin-top: 0; }

h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
}

p, li { margin: 0 0 0.85rem; }
ul { padding-left: 1.25rem; }

a { color: var(--green); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}
th, td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { color: var(--ink); font-weight: 600; }

.table-scroll { overflow-x: auto; }

.placeholder {
  background: #fff6d6;
  border-radius: 3px;
  padding: 0 0.25rem;
  font-weight: 600;
}

footer {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}
footer a { margin: 0 0.5rem; }
