/**
 * BudgetTribe — Legal & Support Documentation Stylesheet
 * Version: 4.0.0 — Warm Daylight Editorial System
 */

@import url('./index.css');

.legal-main {
  padding: 64px 24px 96px;
}

.doc-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.doc-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.doc-card h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 10px;
}

.meta-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-hairline);
}

.highlight-box,
.warning-box {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-inset);
  border: 1px solid var(--border-medium);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.highlight-box strong {
  color: var(--accent-ink);
  font-weight: 600;
}

.warning-box strong {
  color: var(--text-primary);
  font-weight: 600;
}

.doc-card h2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.doc-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.doc-card ul {
  margin: 12px 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-card li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.doc-card li strong {
  color: var(--text-primary);
  font-weight: 500;
}

.doc-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-inset);
  border: 1px solid var(--border-hairline);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-primary);
}

.doc-card a.inline-link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.support-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.faq-item {
  padding: 20px;
  background: var(--bg-inset);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-item p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-box {
  margin-top: 36px;
  padding: 28px;
  background: var(--bg-inset);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
}

.contact-box h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-box .btn-primary {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .doc-card {
    padding: 28px 20px;
  }
}
