/* LimitedHub - terms/index.html's own scoped styles.
 *
 * Pulled out of an inline <style> block in terms/index.html into this
 * external file (September 2026 CSP work - see root .htaccess's new
 * Content-Security-Policy header) so style-src can stay 'self' +
 * fonts.googleapis.com only, without needing an 'unsafe-inline'
 * allowance anywhere in the live site's normal pages.
 *
 * No separate css/style.css copy for this page (unlike most other
 * sections) - it's plain text with headings, nothing that needs the
 * specialized per-section stylesheets, so this is layered directly on
 * top of the shared root css/style.css using its own custom properties.
 *
 * Intentionally identical to privacy/css/style.css's own copy of these
 * same rules (see that file's own header) - keep both in sync if you
 * touch this layout. privacy/css/style.css has a couple of extra rules
 * of its own (.legal-table) that this page doesn't need.
 */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 40px) 96px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.15s ease;
}
.legal-back:hover { color: var(--accent); }

.legal-draft-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 157, 46, 0.08);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.legal-draft-notice strong { color: var(--accent); }

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  color: var(--text);
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0 0 40px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }

.legal-page p, .legal-page li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 0 14px;
}

.legal-page ul, .legal-page ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-page strong { color: var(--text); font-weight: 600; }

.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.legal-placeholder {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.legal-page section:last-of-type {
  margin-bottom: 0;
}
