/* Shared compact footer styles for calculator.html and track.html.
   Page-specific layout differences are keyed off body[data-page]. */

body.page-calculator .footer,
body[data-page="calculator"] .footer {
  background: var(--color-neutral-800);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 28px;
  margin-top: 0;
}
body.page-calculator .footer-grid,
body[data-page="calculator"] .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
body.page-calculator .footer .logo,
body[data-page="calculator"] .footer .logo { color: #fff; }
body.page-calculator .footer .logo img,
body[data-page="calculator"] .footer .logo img { filter: brightness(1.05); height: 36px; }
body.page-calculator .footer-brand p,
body[data-page="calculator"] .footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
  color: rgba(255,255,255,0.6);
}
body.page-calculator .footer h4,
body[data-page="calculator"] .footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
}
body.page-calculator .footer ul,
body[data-page="calculator"] .footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
body.page-calculator .footer ul a,
body.page-calculator .footer ul li,
body[data-page="calculator"] .footer ul a,
body[data-page="calculator"] .footer ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
body.page-calculator .footer ul a:hover,
body[data-page="calculator"] .footer ul a:hover { color: #fff; }
body.page-calculator .footer-bottom,
body[data-page="calculator"] .footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
body.page-calculator .footer-bottom .legal,
body[data-page="calculator"] .footer-bottom .legal {
  display: flex;
  gap: 24px;
}

body.page-track .footer,
body[data-page="track"] .footer {
  background: var(--color-neutral-800);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
  font-size: 14px;
}
body.page-track .footer-inner,
body[data-page="track"] .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.page-track .footer .logo img,
body[data-page="track"] .footer .logo img {
  height: 28px;
  filter: brightness(1.1);
}
body.page-track .footer-right,
body[data-page="track"] .footer-right {
  display: flex;
  gap: 24px;
}
body.page-track .footer-right a:hover,
body[data-page="track"] .footer-right a:hover { color: #fff; }
