/* Shared styling for the legal pages (terms, privacy, refund, dmca, providers). */
:root {
  --bg: #0a0a0c; --surface: #141417; --surface-2: #1a1a1f; --border: #28282f;
  --text: #f2f2f0; --text-muted: #93939c; --accent: #ff8a1f;
  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
.wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 100px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--accent); background: rgba(255, 138, 31, 0.14); border: 1px solid rgba(255, 138, 31, 0.3);
  border-radius: 999px; padding: 4px 11px; margin-bottom: 18px;
}
h1 { font-family: var(--font-display); font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.updated { color: var(--text-muted); font-size: 13px; margin: 0 0 36px; }
h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 36px 0 10px; border-top: 1px solid var(--border); padding-top: 20px; }
h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
h3 { font-size: 15px; font-weight: 600; margin: 22px 0 6px; }
p, li { color: var(--text); font-size: 14.5px; }
ul, ol { padding-left: 20px; }
li { margin: 4px 0; }
a { color: var(--accent); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin: 12px 0 18px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.3px; }
.back { display: inline-block; margin-bottom: 32px; color: var(--text-muted); font-size: 13px; text-decoration: none; }
.back:hover { color: var(--text); }
.note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 13.5px; color: var(--text-muted); margin-top: 36px; }
.fill { background: rgba(255, 138, 31, 0.18); color: #ffd7b0; padding: 0 4px; border-radius: 3px; }
.legal-footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legal-footer a { color: var(--text-muted); text-decoration: none; }
.legal-footer a:hover { color: var(--text); }
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
}
.to-top:hover { border-color: var(--text-muted); }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { max-width: none; padding: 0; }
  .back, .to-top, .legal-footer { display: none !important; }
  .badge { border: 1px solid #000; color: #000; background: none; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  h2 { break-after: avoid; }
  table, tr { break-inside: avoid; }
}
