/* Shared styling for the static SEO/legal/about pages.
   Kept deliberately minimal so a crawler renders something sensible
   without JavaScript and a curious cohort tester sees a calm,
   readable page that matches the in-app aesthetic. */

:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #475569;
  --muted: #64748b;
  --rule: #e2e8f0;
  --accent: #1d4ed8;
  --surface: #ffffff;
  --bg: #f8fafc;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }
a:hover, a:focus-visible { color: #1e40af; }

.legal-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.legal-shell header.site-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.legal-shell .site-chrome a.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.legal-shell .site-chrome a.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.legal-shell .site-chrome .open-app {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.legal-shell h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.legal-shell .updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}

.legal-shell h2 {
  font-size: 19px;
  margin: 28px 0 8px;
  color: var(--ink);
}

.legal-shell h3 {
  font-size: 16px;
  margin: 20px 0 6px;
}

.legal-shell p, .legal-shell li {
  color: var(--ink-soft);
}

.legal-shell ul, .legal-shell ol {
  padding-left: 22px;
}

.legal-shell footer.site-foot {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
}

.legal-shell footer.site-foot a {
  color: var(--muted);
  text-decoration: none;
}

.legal-shell footer.site-foot a:hover { color: var(--ink); }

.legal-shell .callout {
  padding: 14px 16px;
  border-radius: 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #1e3a8a;
  margin: 16px 0;
}
