/* Styles for /acceptable-use — SIGNAL dark theme (kept out of the HTML: the site's CSP blocks inline styles). */
.legal { max-width: 880px; margin-inline: auto; }
.legal-head { margin-bottom: 28px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 650; letter-spacing: -0.04em; margin-bottom: 14px; }
.legal-meta { font: 400 13px var(--font-mono); color: var(--muted); margin: 0; }
.legal-lead { font-size: 17.5px; color: var(--text-2); margin: 14px 0 0; max-width: 40em; }
.legal a { color: var(--text); text-decoration-color: var(--border-strong); }
.legal a:hover { text-decoration-color: var(--signal); }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.doc-links a.btn { color: var(--text); }
.doc-links a[aria-current="page"] { --bd: var(--signal); color: var(--signal); }
.short { background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--signal); border-radius: var(--r-lg); padding: 24px 28px; margin: 0 0 24px; }
.short h2 { font-size: 22px; margin-bottom: 12px; }
.short ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; color: var(--text-2); }
.short strong { color: var(--text); }
.short p { color: var(--text-2); }
.short p:last-child { margin: 0; font-size: 14.5px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 28px; margin: 0 0 24px; }
.toc h2 { font: 500 12px/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc h2::before { content: "// "; color: var(--signal); }
.toc ol { margin: 0; padding-left: 24px; columns: 2; column-gap: 36px; color: var(--muted); }
.toc li { break-inside: avoid; padding: 3px 0; font-size: 15px; }
.doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px 44px; }
.doc > section + section { margin-top: 36px; padding-top: 32px; border-top: 1px dashed var(--border); }
.doc h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 650; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li, .doc dd { color: var(--text-2); line-height: 1.65; }
.doc strong { color: var(--text); }
.doc ol, .doc ul { padding-left: 24px; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--muted); }
.doc ol.alpha { list-style: lower-alpha; }
.callout { border: 1px solid var(--border); border-left: 3px solid var(--border-strong); border-radius: var(--r-md); padding: 14px 18px; background: var(--raised); margin: 0 0 1em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--crit); background: var(--crit-bg); border-color: var(--crit-line); }
.callout.ok { border-left-color: var(--pass); background: var(--pass-bg); border-color: var(--pass-line); }
.loud { font-weight: 600; color: var(--text) !important; }
.ph { font: 500 .86em var(--font-mono); background: var(--med-bg); color: var(--med); border: 1px dashed var(--med-line); border-radius: var(--r-sm); padding: 0 .3em; overflow-wrap: anywhere; }
a.ph { text-decoration: underline; color: var(--med); }
.to-top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font: 500 12.5px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; text-decoration: none; }
.to-top:hover { color: var(--text) !important; }
.footer .legal-foot { margin-top: 14px; font-size: 13px; color: var(--faint); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 1em; }
.two-col .callout { margin: 0; }
.two-col h3 { margin-top: 0; }
.two-col ul { margin-bottom: 0; }
@media (max-width: 680px) {
  .toc ol { columns: 1; }
  .doc { padding: 24px 18px; }
  .short, .toc { padding: 18px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body { background: #fff; color: #000; }
  .topbar, .footer, .skip, .doc-links, .to-top { display: none !important; }
  .doc, .short, .toc { background: #fff; border-color: #999; }
  .doc p, .doc li, .doc dd, .doc h2, .doc h3, .legal-head h1 { color: #000; }
}
