/* Warm Table legal pages — shared styles.
   Tokens taken directly from sablyx-brand-tokens.json / design-system-sablyx.css
   (the real values, not the Android-mock's font substitutes — a public web
   page can load the actual Manrope/Inter from Google Fonts directly). */

:root {
  --void: #0B0B0D;
  --void-soft: #15151A;
  --void-line: #26262D;
  --void-line-strong: #5C5C66;
  --stroke-white: #FAFAFC;
  --platinum: #C9CDD3;
  --platinum-dim-text: #7D7E88;
  --accent: #E8A33D;
  --accent-light: #F3C070;
  --on-accent: #1C0F08;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--void);
  color: var(--platinum);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* Top bar — mark + wordmark, same lockup as the app's own splash/loading
   screens, kept small and out of the way of the actual reading content. */
.brand-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.brand-mark { width: 22px; height: 22px; flex-shrink: 0; }
.brand-wordmark {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--stroke-white);
  letter-spacing: 0.01em;
}
.brand-wordmark span {
  font-weight: 500;
  color: var(--platinum-dim-text);
  margin-left: 6px;
}

h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.25;
  color: var(--stroke-white);
  margin: 0 0 8px;
}

.doc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--platinum-dim-text);
  letter-spacing: 0.02em;
  margin: 0 0 36px;
}

.intro {
  font-size: 16px;
  color: var(--platinum);
  margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--void-line);
}
.intro p { margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }

/* Table of contents */
.toc {
  background: var(--void-soft);
  border: 1px solid var(--void-line);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 40px;
}
.toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--platinum-dim-text);
  margin: 0 0 12px;
}
.toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  columns: 2;
  column-gap: 24px;
}
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a {
  color: var(--platinum);
  text-decoration: none;
  font-size: 14.5px;
}
.toc a:hover { color: var(--accent); }

section {
  margin: 0 0 36px;
  scroll-margin-top: 24px;
}

h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--stroke-white);
  margin: 0 0 14px;
  padding-top: 8px;
}

h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--stroke-white);
  margin: 20px 0 10px;
}

p { margin: 0 0 14px; }

ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }

strong { color: var(--stroke-white); font-weight: 600; }

a { color: var(--accent-light); }
a:hover { color: var(--accent); }

.callout {
  background: var(--void-soft);
  border: 1px solid var(--void-line);
  border-left: 3px solid var(--accent);
  border-radius: 4px 12px 12px 4px;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.callout p:last-child { margin-bottom: 0; }

/* Table used for the sub-processor register — the one place a real table
   reads better than prose. */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--void-line);
}
th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--platinum-dim-text);
  font-weight: 500;
}

.cross-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 14.5px;
}

.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--void-line);
  font-size: 13.5px;
  color: var(--platinum-dim-text);
}
.footer a { color: var(--platinum-dim-text); text-decoration: underline; }
.footer a:hover { color: var(--platinum); }

@media (max-width: 560px) {
  .page { padding: 32px 20px 72px; }
  h1 { font-size: 25px; }
  .toc ol { columns: 1; }
}
