/* Shared styles for the legal pages (/privacy, /termsofservice).
   Mirrors the homepage's nav + palette; the homepage keeps its own inline styles. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { color-scheme: dark; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: #0a0a0a;
  color: #eaf6ff;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  overflow-x: clip;
}

a:focus-visible { outline: 2px solid #7CC9FF; outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 100;
  background: #2D8CFF; color: #04101f; font-weight: 600; font-size: .95rem;
  padding: 10px 18px; border-radius: 10px; text-decoration: none;
  transition: top .25s ease;
}
.skip-link:focus { top: 14px; }

/* ── Top nav — frosted glass (same as homepage, minus the entrance animation) ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 clamp(16px, 4vw, 44px);
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(92, 184, 255, 0.14);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  color: #7CC9FF; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-brand svg { width: 26px; height: 26px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-cta {
  text-decoration: none;
  padding: 9px 22px;
  border: 1px solid rgba(124, 201, 255, 0.45);
  border-radius: 999px;
  background: rgba(45, 140, 255, 0.1);
  color: #7CC9FF;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: 0.01em;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: rgba(45, 140, 255, 0.22);
  border-color: #7CC9FF;
  box-shadow: 0 0 24px rgba(45, 140, 255, 0.3);
}
@media (max-width: 640px) {
  .site-nav .nav-home { display: none; }
  .nav-cta { padding: 8px 16px; }
}

/* ── Document body ── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(68px + clamp(36px, 7vh, 72px)) 16px clamp(56px, 9vh, 96px);
  line-height: 1.7;
}
@media (min-width: 640px) { .legal { padding-left: 24px; padding-right: 24px; } }

.legal-eyebrow {
  color: #5CB8FF; font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
}
.legal h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  color: #7CC9FF;
  text-shadow: 0 0 60px rgba(45, 140, 255, 0.3);
}
.legal-updated { margin-top: 10px; font-size: .92rem; color: rgba(239, 246, 255, 0.5); }

.legal-intro { margin-top: 26px; color: rgba(239, 246, 255, 0.82); font-size: 1.05rem; }

.toc {
  margin-top: 30px;
  padding: 20px 24px;
  border: 1px solid rgba(124, 201, 255, 0.16);
  border-radius: 16px;
  background: rgba(45, 140, 255, 0.04);
}
.toc-title {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(239, 246, 255, 0.5);
}
.toc ol { margin-top: 10px; padding-left: 1.3em; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc li { font-size: .95rem; break-inside: avoid; }
.toc a { color: #7CC9FF; text-decoration: none; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal h2 {
  margin-top: 44px;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  color: #eaf6ff;
}
.legal h3 { margin-top: 22px; font-size: 1.05rem; font-weight: 600; color: #eaf6ff; }
.legal p, .legal ul { margin-top: 12px; color: rgba(239, 246, 255, 0.76); }
.legal ul { padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal strong { color: #eaf6ff; font-weight: 600; }
.legal a { color: #7CC9FF; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: #eaf6ff; }

/* Highlighted block for carrier-required SMS language */
.callout {
  margin-top: 18px;
  padding: 18px 22px;
  border-left: 3px solid #2D8CFF;
  border-radius: 0 12px 12px 0;
  background: rgba(45, 140, 255, 0.07);
}
.callout p:first-child, .callout ul:first-child { margin-top: 0; }
.callout p, .callout li { color: rgba(239, 246, 255, 0.88); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(92, 184, 255, 0.12);
  padding: 28px 16px 36px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 28px;
  font-size: .9rem; color: rgba(239, 246, 255, 0.5);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: rgba(239, 246, 255, 0.7); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #7CC9FF; }
