/* ============================================================================
   legal.css — document pages (/sms, /privacy, /terms)

   Loaded AFTER main.css, which supplies the tokens, fonts, brand header and
   footer. This file only adds long-form document typography.

   Why these pages exist at all: US carriers reject A2P 10DLC campaigns whose
   call-to-action cannot be independently verified (Twilio error 30909). The
   reviewer has to be able to load a public URL and read the messaging-program
   disclosure. /sms is that URL. Do not remove or noindex it while the
   FrontDesk 402 messaging campaign is registered.
   ========================================================================== */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 22px 96px;
}

.doc-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 34px;
}

.doc-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}

.doc-eff {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.doc-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 22px 0 0;
}

.doc h2 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--ink);
}

.doc h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 26px 0 8px;
  color: var(--ink);
}

.doc p,
.doc li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc strong { color: var(--ink); font-weight: 600; }

.doc a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 215, 242, 0.3);
}
.doc a:hover { border-bottom-color: var(--cyan); }

/* Definition-style rows used for the SMS program summary. */
.doc-facts {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 6px 20px;
  margin: 24px 0 30px;
}
.doc-facts dl { margin: 0; }
.doc-facts div {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.doc-facts div:last-child { border-bottom: 0; }
.doc-facts dt {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  flex: 0 0 168px;
  padding-top: 2px;
}
.doc-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}

/* The carrier-required non-sharing statement. Deliberately impossible to miss:
   A2P reviewers look for this specific disclosure in the privacy policy. */
.doc-callout {
  border-left: 3px solid var(--cyan);
  background: rgba(57, 215, 242, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.doc-callout p { margin: 0; color: var(--ink); }

.doc-back {
  display: inline-block;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-bottom: 0 !important;
}

@media (max-width: 600px) {
  .doc { padding: 36px 18px 72px; }
  .doc-facts div { flex-direction: column; gap: 4px; }
  .doc-facts dt { flex-basis: auto; }
}
