/* Shared shell styles for legal pages — keeps chrome consistent with
   the landing page without duplicating the entire stylesheet. */

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  background: #0f1218;
  color: #e6e8ee;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #4dc4ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Top nav (mirror of landing page chrome) */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 18, 24, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #1c2130;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #e6e8ee; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(77, 196, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { color: #4dc4ff; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #b4baca; font-size: 14px; }
.nav-links a:hover { color: #e6e8ee; text-decoration: none; }
@media (max-width: 720px) {
  .nav-links a { display: none; }
  .nav-links a:last-child { display: inline-block; }
}

/* Document body */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 24px; }
.doc h2 { font-size: 22px; font-weight: 600; margin: 48px 0 16px; color: #e6e8ee; letter-spacing: -0.01em; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 32px 0 12px; color: #e6e8ee; }
.doc p { color: #b4baca; margin: 0 0 16px; font-size: 16px; }
.doc ul, .doc ol { color: #b4baca; padding-left: 24px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: #e6e8ee; }
.doc code { background: #1c2130; padding: 2px 6px; border-radius: 4px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; color: #e6e8ee; }
.doc blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid #4dc4ff;
  background: rgba(77, 196, 255, 0.05);
  border-radius: 0 8px 8px 0;
  color: #b4baca;
  font-size: 15px;
}
.doc blockquote p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 1px solid #1c2130; text-align: left; color: #b4baca; }
.doc th { color: #e6e8ee; font-weight: 600; background: rgba(255, 255, 255, 0.02); }
.doc hr { border: 0; border-top: 1px solid #1c2130; margin: 40px 0; }
.doc .meta { color: #8a91a3; font-size: 14px; margin-top: -12px; margin-bottom: 32px; }

footer {
  border-top: 1px solid #1c2130;
  padding: 36px 0 56px;
  color: #8a91a3;
  font-size: 14px;
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #b4baca; }

.loading { color: #8a91a3; padding: 24px 0; }
