/* Shared styling for the legal pages. A separate file rather than a third
   copy of index.html's inline <style>: these two documents are long, they
   change together, and the marketing site has no build step to deduplicate
   anything for us. index.html keeps its own inline styles — it is a
   different kind of page and its CSS is not worth coupling to this. */
:root {
  color-scheme: light dark;
  --violet-100: #ede9fe;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-900: #0f172a;
  --bg: var(--slate-50);
  --surface: #ffffff;
  --text: var(--slate-900);
  --muted: var(--slate-600);
  --border: var(--slate-200);
  --note-bg: #fffbeb;
  --note-border: #fcd34d;
  --note-text: #78350f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #0f172a;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: #1e293b;
    --violet-100: rgba(124, 58, 237, 0.2);
    --note-bg: rgba(252, 211, 77, 0.1);
    --note-border: rgba(252, 211, 77, 0.45);
    --note-text: #fde68a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
header.site {
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  height: 32px;
  width: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.btn:hover {
  background: var(--slate-100);
}
@media (prefers-color-scheme: dark) {
  .btn:hover {
    background: var(--violet-100);
  }
}

/* The document itself. Narrower than the site's 1080px: a legal page is
   read, not scanned, and ~72 characters a line is where that stays
   comfortable. */
main.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
main.doc h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
main.doc .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 40px;
}
main.doc h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
main.doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
main.doc h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
}
main.doc p,
main.doc li {
  color: var(--text);
}
main.doc ul,
main.doc ol {
  padding-left: 22px;
}
main.doc li {
  margin-bottom: 8px;
}
main.doc a {
  color: var(--violet-600);
  font-weight: 500;
}
main.doc strong {
  font-weight: 650;
}
main.doc .lead {
  font-size: 1.08rem;
  color: var(--muted);
}

/* The clause carriers look for, and the messaging terms block. Boxed so a
   reviewer scanning the page for them finds them in seconds rather than
   reading for them. */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet-600);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout p:first-child {
  margin-top: 0;
}
.callout p:last-child {
  margin-bottom: 0;
}

/* Anything the operator still has to replace before this page is used for
   anything official. Deliberately loud. */
.fill-in {
  background: var(--note-bg);
  border: 1px dashed var(--note-border);
  color: var(--note-text);
  border-radius: 6px;
  padding: 1px 7px;
  font-weight: 600;
  font-size: 0.95em;
  white-space: nowrap;
}

dl.contact {
  margin: 16px 0;
}
dl.contact dt {
  font-weight: 650;
  margin-top: 12px;
}
dl.contact dd {
  margin: 2px 0 0;
  color: var(--muted);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site a {
  color: var(--muted);
  text-decoration: none;
}
footer.site a:hover {
  color: var(--violet-600);
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
