/* Site footer, injected on every page by server.js (lib/site-footer.js).
   Self-contained: it must look the same over scrollcraft, resources and the
   older templates, so it carries its own tokens and resets. */
.pf-foot {
  --pf-ground: #0a1120;
  --pf-panel: #111b31;
  --pf-ink: #f9fbff;
  --pf-soft: #a3aec4;
  --pf-faint: #75819b;
  --pf-line: rgba(249, 251, 255, 0.09);
  --pf-accent: #2563eb;
  --pf-accent-ink: #f9fbff;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px 24px 32px;
  border: 0;
  background: var(--pf-ground);
  color: var(--pf-soft);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.pf-foot *, .pf-foot *::before, .pf-foot *::after { box-sizing: border-box; }
.pf-foot p, .pf-foot ul { margin: 0; padding: 0; }
.pf-foot ul { list-style: none; }
.pf-foot a { color: inherit; text-decoration: none; margin: 0; display: inline; }
.pf-foot__inner { max-width: 1200px; margin: 0 auto; }

/* CTA panel */
.pf-foot__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px;
  border: 1px solid var(--pf-line);
  border-radius: 20px;
  background: var(--pf-panel);
}
.pf-foot__title {
  color: var(--pf-ink);
  font-family: "Space Grotesk", Manrope, system-ui, sans-serif;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.pf-foot .pf-foot__sub { margin-top: 20px; max-width: 46ch; font-size: 16px; line-height: 1.6; }
.pf-foot__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; flex: none; }
.pf-foot .pf-foot__btn,
.pf-foot .pf-foot__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pf-foot .pf-foot__btn { background: var(--pf-accent); color: var(--pf-accent-ink); }
.pf-foot .pf-foot__btn:hover { background: #1d4ed8; }
.pf-foot .pf-foot__ghost { border: 1px solid var(--pf-line); color: var(--pf-ink); }
.pf-foot .pf-foot__ghost:hover { border-color: rgba(249, 251, 255, 0.3); }

/* Link columns */
.pf-foot__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 72px;
}
.pf-foot__col { min-width: 0; }
.pf-foot .pf-foot__h {
  margin-bottom: 18px;
  color: var(--pf-ink);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.pf-foot__col li + li { margin-top: 12px; }
.pf-foot__col a { color: var(--pf-soft); }
.pf-foot__col a:hover { color: var(--pf-ink); }
.pf-foot .pf-foot__more { color: var(--pf-ink); font-weight: 600; }

/* Base row */
.pf-foot__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--pf-line);
  font-size: 13px;
  color: var(--pf-faint);
}
.pf-foot__brand { display: flex; align-items: center; gap: 16px; }
.pf-foot .pf-foot__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pf-ink);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pf-foot__logo svg { display: block; flex: none; }
.pf-foot__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pf-foot__badges a { display: block; }
.pf-foot__badges img { display: block; height: 32px; width: auto; }
.pf-foot__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pf-foot__legal a:hover { color: var(--pf-ink); }

@media (max-width: 1100px) {
  .pf-foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pf-foot__cta { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .pf-foot__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .pf-foot { padding: 48px 16px 28px; }
  .pf-foot__cta { padding: 32px 20px; border-radius: 16px; }
  .pf-foot .pf-foot__sub { font-size: 15px; }
  .pf-foot__title br { display: none; }
  .pf-foot__actions { flex-direction: column; align-self: stretch; }
  .pf-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; margin-top: 48px; }
  .pf-foot__base { flex-direction: column; align-items: flex-start; margin-top: 48px; }
  .pf-foot__brand { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.pf-foot__inner > .pf-foot__grid:first-child { margin-top: 8px; }
