/**
 * pages.css — Shared page layout styles
 * ======================================
 * Common layout patterns used across TaxCodex pages.
 * Import this in every HTML file alongside design-system.css.
 *
 * This file provides:
 *   - Utility classes (ds-hidden, ds-flex, ds-text-center, etc.)
 *   - Shared footer styles
 *   - Common layout containers
 */

/* ─── UTILITY CLASSES ──────────────────────────────────────────────────────── */
/* Generated from inline style="" extraction. Use these instead of inline styles. */

.ds-hidden { display: none; }
.ds-flex { display: flex; }
.ds-text-center { text-align: center; }
.ds-text-right { text-align: right; }
.ds-text-left { text-align: left; }
.ds-bold { font-weight: 700; }
.ds-semibold { font-weight: 600; }
.ds-pointer { cursor: pointer; }
.ds-overflow-hidden { overflow: hidden; }
.ds-relative { position: relative; }
.ds-w-full { width: 100%; }

/* ─── SHARED COMPLIANCE FOOTER ─────────────────────────────────────────────── */
/* Injected by shared-footer.js on every page. */

#taxcodex-compliance-footer {
  background: var(--ink, #0a0f1c);
  color: var(--white-60, rgba(255,255,255,0.6));
  padding: 1.5rem 2rem;
  margin-top: auto;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.8rem;
  line-height: 1.5;
  border-top: 1px solid var(--white-10, rgba(255,255,255,0.1));
}

.ds-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ds-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ds-footer-brand {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-weight: 600;
  color: var(--white-50, rgba(255,255,255,0.5));
  font-size: 0.85rem;
  margin: 0;
}

.ds-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ds-footer-links a {
  color: var(--white-50, rgba(255,255,255,0.5));
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s;
}

.ds-footer-links a:hover {
  color: var(--white, #ffffff);
  text-decoration: none;
}

.ds-footer-links a[href="/compliance"] {
  color: var(--gold, #d4a96a);
  font-weight: 600;
}

.ds-footer-links a[href="/compliance"]:hover {
  color: var(--white, #ffffff);
}

.ds-footer-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--white-30, rgba(255,255,255,0.3));
  font-style: italic;
}

/* Responsive footer */
@media (max-width: 768px) {
  .ds-footer-row {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .ds-footer-links {
    justify-content: center;
  }
}
