/* Shared styling for the Terms and Privacy pages.
 *
 * Standalone from the app's styles.css so they render identically whether a
 * visitor is signed in or not, and so a future change to the app's chrome
 * cannot silently reflow a legal document. Same three brand colours. */
:root {
  --navy: #152238;
  --navy-100: #c3cedd;
  --teal: #19c6b3;
  --teal-deep: #0b5f55;
  --bg: #f8f7f3;
  --card: #ffffff;
  --text: #18202a;
  --muted: #667085;
  --border: #e6e4de;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-deep); }

.top { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.top-in { max-width: 820px; margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.05rem; }
.mark { width: 24px; height: 24px; border-radius: 50%; background: var(--teal); position: relative; flex-shrink: 0; }
.mark::before, .mark::after { content: ""; position: absolute; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.mark::before { width: 6px; height: 6px; background: var(--navy); }
.mark::after { width: 14px; height: 14px; border: 2px solid var(--navy); opacity: .55; }
.b-a { color: #fff; font-weight: 600; }
.b-b { color: var(--teal); font-weight: 600; }
.top a.home { color: var(--navy-100); text-decoration: none; font-size: .9rem; font-weight: 600; }
.top a.home:hover { color: #fff; }

.doc { max-width: 820px; margin: 0 auto; padding: 34px 22px 70px; }
.doc h1 { font-size: 2rem; letter-spacing: -.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.callout {
  background: #fff8ec; border: 1px solid #f0dcae; border-radius: 10px;
  padding: 13px 16px; font-size: .92rem; color: #6a4e12; margin: 18px 0 28px;
}
.toc { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin: 0 0 30px; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 26px; font-size: .92rem; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.doc h2.sec { font-size: 1.2rem; margin: 34px 0 8px; scroll-margin-top: 70px; padding-top: 6px; }
.doc h3 { font-size: 1.02rem; margin: 20px 0 4px; }
.doc p, .doc li { font-size: 1rem; }
.doc ul, .doc ol.body { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.fill { background: #ffe9db; color: #8a3d10; border-radius: 4px; padding: 0 5px; font-weight: 600; font-size: .95em; }
.doc .lead { font-size: 1.05rem; color: var(--muted); }
hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
footer { max-width: 820px; margin: 0 auto; padding: 0 22px 50px; color: var(--muted); font-size: .88rem; }
footer a { color: var(--muted); }
