/* specialty-terms.css — content styles for /terms (standalone + forum-embedded).
   All rules scoped under .specialty-page--terms so nothing leaks into forum chrome. */

.specialty-page--terms {
  --bg-surface: #161920;
  --bg-raised: #1e2229;
  --border: rgba(255, 255, 255, 0.08);
  --neon-blue: #00e5ff;
  --neon-green: #00ff88;
  --text-primary: #f0f2f5;
  --text-secondary: #9aa3b0;
  --text-muted: #5a6270;
  --radius: 12px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-primary);
  display: block;
}

.specialty-page--terms .page-hero { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.specialty-page--terms .page-hero h1 { font-family: var(--font-heading); font-size: 34px; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.specialty-page--terms .page-hero h1 span { color: var(--neon-green); }
.specialty-page--terms .page-hero .meta { color: var(--text-muted); font-size: 13px; }

.specialty-page--terms .tc-banner {
  background: rgba(255, 120, 0, 0.1);
  border: 1px solid rgba(255, 120, 0, 0.35);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.specialty-page--terms .tc-banner strong { color: #ff9940; display: block; font-size: 14px; margin-bottom: 8px; }

.specialty-page--terms .toc {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.specialty-page--terms .toc h3 { font-family: var(--font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; }
.specialty-page--terms .toc ol { padding-left: 18px; color: var(--text-secondary); column-count: 2; column-gap: 24px; }
.specialty-page--terms .toc ol li { margin-bottom: 5px; break-inside: avoid; }
.specialty-page--terms .toc a { color: var(--neon-blue); text-decoration: none; font-size: 13px; }
.specialty-page--terms .toc a:hover { text-decoration: underline; }

.specialty-page--terms .tc-section { margin-bottom: 44px; }
.specialty-page--terms .tc-section h2 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--neon-blue); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.specialty-page--terms .tc-section h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 16px 0 8px; }
.specialty-page--terms .tc-section p { color: var(--text-secondary); margin-bottom: 12px; font-size: 14px; }
.specialty-page--terms .tc-section ul,
.specialty-page--terms .tc-section ol { color: var(--text-secondary); padding-left: 20px; margin-bottom: 12px; font-size: 14px; }
.specialty-page--terms .tc-section ul li,
.specialty-page--terms .tc-section ol li { margin-bottom: 6px; }
.specialty-page--terms .tc-section strong { color: var(--text-primary); }
.specialty-page--terms .tc-section .caps { color: var(--text-secondary); font-size: 13px; font-weight: 500; line-height: 1.7; }
.specialty-page--terms .tc-section a { color: var(--neon-blue); }

.specialty-page--terms .tc-callout {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.specialty-page--terms .tc-callout strong { color: var(--neon-blue); }

.specialty-page--terms .tc-warn {
  background: rgba(255, 120, 0, 0.07);
  border: 1px solid rgba(255, 120, 0, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.specialty-page--terms .tc-warn strong { color: #ff9940; }

.specialty-page--terms .tc-legal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.specialty-page--terms .tc-closing {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 48px;
  text-align: center;
}
.specialty-page--terms .tc-closing p { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.specialty-page--terms .tc-closing p:last-child { margin-bottom: 0; color: var(--text-muted); font-style: italic; }
.specialty-page--terms .tc-closing strong { color: var(--text-primary); }

@media (max-width: 600px) {
  .specialty-page--terms .page-hero h1 { font-size: 26px; }
  .specialty-page--terms .toc ol { column-count: 1; }
}

body.light-mode .specialty-page--terms{--bg-surface:#fff;--bg-raised:#f7f8fa;--border:rgba(0,0,0,.1);--text-primary:#111827;--text-secondary:#4a5060;--text-muted:#6b7280}