/* ============================================================
   Site footer — internal linking + trust surface.
   Cream/orange tokens, matching the approved design.
   ============================================================ */

.sd-footer {
  margin-top: 64px;
  padding: 48px clamp(16px, 5vw, 56px) 0;
  background: #FBF4E9;
  border-top: 1px solid rgba(0, 0, 0, .07);
  font-family: 'Inter', system-ui, sans-serif;
  color: #4a4238;
}

.sd-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.sd-footer__col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.sd-footer__col--wide { grid-column: span 2; }
@media (max-width: 720px) { .sd-footer__col--wide { grid-column: span 1; } }

.sd-footer__h {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #9a8f7d;
  margin: 0 0 4px;
}

.sd-footer a {
  color: #2a251d;
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.5;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.sd-footer a:hover { color: #FF8A3D; border-bottom-color: #FF8A3D; }
.sd-footer a:focus-visible { outline: 2px solid #FF8A3D; outline-offset: 3px; }

.sd-footer__note {
  margin: 0;
  font-size: .875rem;
  line-height: 1.62;
  color: #5b5348;
  max-width: 46ch;
}
.sd-footer__note em { font-style: normal; font-weight: 600; color: #2a251d; }

.sd-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(0, 0, 0, .07);
  font-size: .78rem;
  color: #8a8072;
}
.sd-footer__bar a { font-size: .78rem; color: #6b6154; }
.sd-footer__sep { opacity: .45; }

/* The sandbox disclosure must be visible, not decorative. */
.sd-footer__warn {
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFF1E2;
  border: 1px solid rgba(255, 138, 61, .35);
  color: #8a4d16;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .sd-footer a { transition: none; }
}
