/* ==========================================================================
   Smart Living USA Plus — Shared site shell (root + legal pages)
   Not used by the niche landers (e.g. /bathroom-1/), which are self-contained.
   ========================================================================== */

:root {
  --navy: #123a63;
  --navy-dark: #0c2847;
  --white: #ffffff;
  --accent: #1f6feb;
  --accent-light: #6fb3ff;
  --gray-bg: #f6f7f9;
  --text-dark: #1c2733;
  --text-muted: #5b6774;
  --max-width: 720px;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  background: var(--navy);
  padding: 16px 0;
}

.brand {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-accent {
  color: var(--accent-light);
}

.page-content {
  padding: 48px 0;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 16px;
}

.page-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 16px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 28px 0 10px;
}

.page-content .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 24px;
}

.niche-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.niche-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 40px;
  transition: background 0.15s ease;
}

.niche-btn:hover {
  background: var(--accent);
}

.site-footer {
  background: var(--navy-dark);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-copy {
  color: #9fb0c3;
  font-size: 0.85rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #c9d4e0;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
