/* ============================================================
   Shared site footer — pill-row navigation + legal subnav.
   Linked from every page so the home page footer stays in
   sync everywhere. Edit this file to update site-wide.
   ============================================================ */

footer.site-footer {
  background: var(--black);
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

footer.site-footer .brand-logo-footer {
  height: 85px;
  width: auto;
  max-width: 320px;
  margin-bottom: 6px;
}

.footer-intro {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-intro .brand { display: inline-block; }
.footer-intro p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  margin: 14px auto 0;
  max-width: 520px;
}

.footer-nav-row {
  display: flex;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.footer-nav-row a {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off-white);
  text-decoration: none;
  border-right: 1px solid var(--gray-border);
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.footer-nav-row a:last-child { border-right: none; }
.footer-nav-row a:hover {
  background: rgba(31, 127, 208, 0.12);
  color: var(--white);
}

.footer-legal {
  text-align: center;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 2;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  padding: 4px 6px;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--white); }
.footer-legal .dot { color: var(--gray-dim); margin: 0 2px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
}
.footer-bottom a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  footer.site-footer { padding: 32px 0 24px; }
  .footer-intro { margin-bottom: 22px; padding-bottom: 22px; }
  .footer-intro .brand-logo-footer { height: 40px; }
  .footer-intro p { font-size: 13px; margin-top: 10px; }

  .footer-nav-row { flex-wrap: wrap; border-radius: 10px; }
  .footer-nav-row a {
    flex: 1 1 50%;
    min-width: 50%;
    min-height: 56px;
    padding: 14px 10px;
    font-size: 10px;
    letter-spacing: 0.16em;
    border-bottom: 1px solid var(--gray-border);
  }
  .footer-nav-row a:nth-child(2n) { border-right: none; }
  .footer-nav-row a:nth-last-child(-n+2):nth-child(2n+1),
  .footer-nav-row a:nth-last-child(1) { border-bottom: none; }

  .footer-legal { font-size: 10px; line-height: 2.2; margin-bottom: 22px; }
  .footer-legal a { padding: 6px 4px; }

  .footer-bottom { gap: 14px; padding-top: 20px; line-height: 1.55; }
  .footer-bottom > div { max-width: 100%; }
  .footer-bottom > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px !important;
    margin-bottom: 0 !important;
    font-size: 11px !important;
    max-width: 320px;
  }
  .footer-bottom > div:first-child img { height: 16px !important; }
  .footer-bottom > div:nth-child(2) { font-size: 9px !important; line-height: 1.6 !important; }
  .footer-bottom > div:last-child { font-size: 11px !important; line-height: 1.5 !important; max-width: 340px; color: var(--gray); }
}
