/* =====================================================
   RESET
===================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =====================================================
   PAGE BASE
===================================================== */
html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   NAV BAR (LEGAL PAGES)
===================================================== */
.legal-nav {
  background: #000;
  color: #fff;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.legal-nav .brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  text-decoration: none;
}

/* =====================================================
   MAIN CONTENT
===================================================== */
main {
  flex: 1;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.legal-container {
  max-width: 820px;
  width: 100%;
}

/* Page title */
.legal-container h1 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Effective date */
.legal-container .effective {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

/* Section headers */
.legal-container h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

/* Paragraphs & list items */
.legal-container p,
.legal-container li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* Lists */
.legal-container ul {
  margin-left: 18px;
  margin-top: 10px;
}

/* =====================================================
   FOOTER
===================================================== */
.legal-footer {
  background: #000;
  color: #fff;
  padding: 40px 20px 20px;
}

/* Footer grid */
.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-grid h4 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: #fff;
  text-decoration: underline;
}

/* =====================================================
   SOCIAL ICONS
===================================================== */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 18px;
  height: 18px;
}

/* =====================================================
   BOTTOM BAR
===================================================== */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #aaa;
}

.footer-links a {
  color: #fff;
  margin-left: 16px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-container h1 {
    font-size: 28px;
  }
}
