/* public/css/legal.css — the three public legal pages (/sms-consent, /terms, /privacy).
   Standalone like go.css and market-opening.css so the map's stylesheet stays untouched; same house
   palette (ARCHITECTURE.md §11). These pages are read, not used: one narrow column, generous line
   height, no JS, no webfonts — a Twilio reviewer on a phone loads them as fast as a crawler does. */
:root{
  --ink:#1f2a37; --paper:#f5f2ec; --card:#fff; --line:#e2ddd2; --muted:#6b7280;
  --amber:#c47e22; --amber-d:#a96914; --radius:12px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
.lg-body{background:var(--paper);color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}

.lg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;
  background:var(--ink);border-bottom:3px solid var(--amber)}
.lg-wordmark{font-family:Georgia,'Times New Roman',serif;font-size:1.25rem;font-weight:700;color:#fff;
  text-decoration:none;display:inline-flex;align-items:center;gap:9px}
.lg-wordmark::before{content:"";width:22px;height:22px;background:url(/img/logo.svg) center/contain no-repeat}
.lg-wordmark span{color:var(--amber)}
.lg-kicker{font-family:ui-monospace,'SF Mono',Menlo,monospace;font-size:.68rem;letter-spacing:.08em;
  text-transform:uppercase;color:#cbbfa8}

.lg{max-width:680px;margin:0 auto;padding:26px 18px calc(40px + env(safe-area-inset-bottom,0px))}
.lg h1{font-family:Georgia,'Times New Roman',serif;font-size:1.75rem;line-height:1.2;margin:0 0 6px;letter-spacing:-.01em}
@media(min-width:640px){.lg h1{font-size:2.1rem}}
.lg-updated{font-size:.78rem;color:var(--muted);margin:0 0 20px}
.lg-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px;margin:0 0 18px}
.lg-card h2{font-family:Georgia,'Times New Roman',serif;font-size:1.12rem;margin:22px 0 7px;letter-spacing:-.005em}
.lg-card h2:first-child{margin-top:0}
.lg-card p{margin:0 0 13px;color:#3f4854}
.lg-card p:last-child{margin-bottom:0}
.lg-card ul{margin:0 0 13px;padding-left:20px;color:#3f4854}
.lg-card li{margin:0 0 6px}
.lg-card a{color:var(--amber-d);font-weight:600;text-underline-offset:2px}
.lg-card a:hover{color:var(--ink)}
.lg-card b{color:var(--ink)}

/* Opt-out / STOP-HELP callout — the line Twilio's reviewer is looking for, pulled out of the prose. */
.lg-note{background:#fbf3e4;border:1px solid #ecd9b6;border-radius:10px;padding:14px 16px;margin:0 0 13px;color:#5c4a2a}
.lg-note p{color:inherit}
.lg-note p:last-child{margin-bottom:0}

/* Sibling-page links: every legal page points at the other two. */
.lg-also{font-size:.9rem;color:var(--muted);margin:0 0 18px;text-align:center}
.lg-also a{color:var(--amber-d);font-weight:600}
.lg-also .sep{margin:0 8px;color:#bcb3a2}

.lg-foot{margin-top:26px;font-size:.75rem;color:var(--muted);line-height:1.6;text-align:center}
.lg-foot a{color:var(--amber-d)}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms !important}}
