/* =========================================================================
   Site footer — marketing footer shown at the bottom of Home & All apps.
   Full-bleeds out of the scroll-container padding so the hairline + bottom
   bar span the whole content width. Tokens flip automatically in light mode.
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}
/* Cancel the host container's padding so the footer goes edge-to-edge. */
.home-tool .site-footer { margin: 72px -36px -60px; }
.cat2 .site-footer       { margin: 72px -40px -80px; }

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 44px 64px;
  padding: 52px 36px 40px;
}
.cat2 .site-footer-inner { padding: 52px 40px 40px; }

/* ---------- Brand block ---------- */
.site-footer-brand { max-width: 340px; min-width: 240px; }
.site-footer-brandhead {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.site-footer-tile {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 11px;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb, 127,13,242), 0.28);
}
.site-footer-tile .material-symbols-outlined { font-size: 22px; }
.site-footer-word {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-hi);
}
.site-footer-word span { color: var(--color-primary); }

.site-footer-tagline {
  margin: 0;
  font-size: 13.5px; line-height: 1.65;
  color: var(--text-lo);
  text-wrap: pretty;
}
.site-footer-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.site-footer-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  color: var(--text-md);
  padding: 5px 10px 5px 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}
.site-footer-badge .material-symbols-outlined {
  font-size: 13px; color: var(--color-primary);
}

/* ---------- Link columns ---------- */
.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, auto));
  gap: 36px 80px;
}
.site-footer-col { min-width: 0; }
.site-footer-coltitle {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.005em;
}
.site-footer-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.site-footer-link {
  display: inline-block;
  margin: 0; padding: 0;
  background: transparent; border: 0;
  font-family: inherit; font-size: 13.5px; line-height: 1.2;
  color: var(--text-lo); text-decoration: none;
  text-align: left; cursor: pointer;
  transition: color 120ms;
}
.site-footer-link:hover { color: var(--color-primary); }

/* ---------- Bottom bar ---------- */
.site-footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 24px;
  padding: 20px 36px;
  border-top: 1px solid var(--color-border);
}
.cat2 .site-footer-bar { padding: 20px 40px; }
.site-footer-copy { font-size: 12.5px; color: var(--text-muted); }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer-legal a,
.site-footer-legal button {
  margin: 0; padding: 0;
  background: transparent; border: 0;
  font-family: inherit; font-size: 12.5px; line-height: 1.2;
  color: var(--text-muted);
  text-decoration: none; cursor: pointer;
  transition: color 120ms;
}
.site-footer-legal a:hover,
.site-footer-legal button:hover { color: var(--text-hi); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .site-footer-inner { gap: 36px 48px; }
  .site-footer-brand { max-width: none; flex: 1 1 100%; }
  .site-footer-cols { gap: 32px 56px; }
}
@media (max-width: 420px) {
  .site-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
