/* Shared styles for the standalone legal documents (privacy, terms, developer agreement,
   disclaimer). These are deliberately NOT app screens: they must render for a store reviewer,
   a lawyer or a search engine with no JS, no service worker and no session, so they live as
   plain HTML pages rather than hash routes. Extracted from privacy.html once there were four
   of them. */
:root {
  --brand: #0038b8;
  --ink: #0a1b3d;
  --muted: #5e6e8c;
  --line: #e4eaf3;
  --warn-bg: #fff8e6;
  --warn-line: #e8c86a;
}

* { box-sizing: border-box }

body {
  margin: 0;
  font-family: -apple-system, "Hanken Grotesk", Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px }

header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px }
header img { width: 36px; height: 36px; border-radius: 8px }

h1 { font-size: 28px; margin: 18px 0 4px }
h2 { font-size: 18px; margin: 28px 0 6px; color: var(--brand) }
h3 { font-size: 15px; margin: 18px 0 4px }

p, li { color: #22304d }
li { margin-bottom: 4px }

.muted { color: var(--muted); font-size: 14px }
.small { font-size: 14px }

a { color: var(--brand) }

hr { border: none; border-top: 1px solid var(--line); margin: 24px 0 }

code { background: #f3f7ff; padding: 1px 6px; border-radius: 6px }

/* The clauses a reader must not skim past: the non-circumvention term, the "this is not
   advice" statement, the sanctions warranty. */
.callout {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}
.callout p:first-child { margin-top: 0 }
.callout p:last-child { margin-bottom: 0 }

/* Cross-links between the four documents, at the top of each one. */
.docnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 16px 0 24px;
}
.docnav strong { color: var(--muted); font-weight: 600 }

/* Definitions inside the agreement ("Introduced Investor" and friends). */
dl dt { font-weight: 600; margin-top: 10px }
dl dd { margin: 2px 0 0 0; color: #22304d }

table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top }
th { background: #f7faff; font-weight: 600 }

/* Wide tables must scroll inside themselves rather than pushing the page sideways on a phone. */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch }
