.legal-page { padding: 160px 0 100px; }
.legal-page__inner { max-width: 820px; }
.legal-page__eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.legal-page__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.legal-page__subheading {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.legal-page__body { color: var(--text-dim); line-height: 1.8; }
.legal-page__body h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 14px; }
.legal-page__body p { margin-bottom: 16px; }
.legal-page__body ul, .legal-page__body ol { margin: 0 0 16px 1.25em; }

/* =================== FOOTER ===================
   Duplicated from about.css/contact.css/etc — `.footer` isn't in shared.css (see that
   file's header comment: only rules verified identical across 3+ pages were extracted,
   and each page's own copy is the source of truth for its own chrome). Every other page
   stylesheet repeats this same block, so legal.css does too. */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.75);
  padding-top: 90px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 50px; padding-bottom: 70px;
}
.footer__brand { flex: 0 1 240px; min-width: 200px; }
.footer__col { flex: 1 1 0; min-width: 140px; }
.footer__brand p { color: rgba(255,255,255,0.65); margin: 22px 0; font-size: 0.95rem; line-height: inherit; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #ffffff; transition: all .3s var(--t);
}
.footer__social a:hover { background: var(--accent); color: #ffffff; transform: translateY(-4px); }
.footer__col h5 {
  font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 20px;
  color: #ffffff; position: relative; padding-bottom: 12px;
  font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: none;
}
.footer__col ul li a {
  color: rgba(255,255,255,0.65); font-size: 0.92rem;
  transition: all .25s var(--t); display: inline-flex; align-items: center; gap: 6px;
}
.footer__contact p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 16px; line-height: inherit; }
.footer__contact a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 10px;
  transition: none;
}
.footer__contact a i { color: var(--accent-2); width: 18px; flex-shrink: initial; }
.footer__contact a:hover { color: #ffffff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: normal; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* =================== BACK TO TOP =================== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--accent); color: #ffffff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .3s var(--t); z-index: 99;
  box-shadow: 0 10px 30px rgba(13, 92, 245, 0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .footer__grid { flex-wrap: wrap; gap: 40px; }
  .footer__brand { flex: 1 1 100%; }
  .footer__col { flex: 1 1 calc(50% - 20px); min-width: 200px; }
  .nav, .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff; border-top: 1px solid var(--line);
    padding: 20px; box-shadow: 0 10px 30px rgba(11, 30, 63, 0.08);
  }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { display: flex; width: 100%; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { display: none; }
}
@media (max-width: 768px) {
  .legal-page { padding: 120px 0 64px; }
}
@media (max-width: 640px) {
  .footer__grid { flex-direction: column; }
  .footer__brand, .footer__col { flex: 1 1 auto; width: 100%; min-width: 0; }
  .footer { padding-top: 44px; }
}
@media (max-width: 480px) {
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}
