/* Shared closing navigation: same identity and rhythm across the public site */
.gfc-footer {
  --footer-ink: #252347;
  --footer-muted: #595b69;
  --footer-line: #d8d9e2;
  padding: 48px 0 20px;
  border-top: 1px solid var(--footer-line);
  background: #f5f5f8;
  color: var(--footer-ink);
}
.gfc-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.65fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.gfc-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 18px;
  font-weight: 700;
  color: var(--footer-ink);
  white-space: nowrap;
}
.gfc-footer .brand svg { width: 32px; height: 32px; flex: none; }
.gfc-footer p { margin: 0; color: var(--footer-muted); }
.gfc-footer-identity > p {
  max-width: 32ch;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.gfc-footer-signature {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  color: var(--footer-muted);
}
.gfc-footer-signature span { padding-inline: 6px; color: var(--brand-accent, #b87944); }
.gfc-footer nav { min-width: 0; }
.gfc-footer h2 {
  margin: 12px 0 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--footer-muted);
}
.gfc-footer nav > a {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  gap: 8px;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--footer-ink);
  text-decoration: none;
}
.gfc-footer nav > a > span:first-child { min-width: 0; }
.gfc-footer nav > a > span[aria-hidden] { flex: none; }
.gfc-footer a:hover { color: #3b3990; text-decoration: underline; text-underline-offset: 4px; }
.gfc-footer a:focus-visible {
  outline: 2px solid #3b3990;
  outline-offset: 4px;
  border-radius: 2px;
}
.gfc-footer a:active { color: #3b3990; }
.gfc-footer nav > .gfc-footer-partner { gap: 12px; font-size: 16px; font-weight: 650; }
.gfc-footer .gfc-footer-caption {
  max-width: 28ch;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.65;
}
.gfc-footer-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--footer-muted);
}
.gfc-footer .gfc-footer-note {
  padding: 20px 0;
  border-top: 1px solid var(--footer-line);
  font-size: 12px;
  line-height: 1.7;
}
.gfc-footer-source + .gfc-footer-note { padding-top: 8px; border-top: 0; }
.gfc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--footer-line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--footer-muted);
}
.gfc-footer-bottom small { font-size: inherit; }
.gfc-footer-bottom a { display: flex; align-items: center; min-height: 36px; color: var(--footer-ink); }
@media (max-width: 1100px) {
  .gfc-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .gfc-footer-identity { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; column-gap: 24px; }
  .gfc-footer-identity > p { grid-column: 2; grid-row: 1 / 3; margin: 0; max-width: 48ch; }
  .gfc-footer-signature { margin-top: 8px; }
}
@media (max-width: 600px) {
  .gfc-footer { padding-top: 32px; }
  .gfc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; padding-bottom: 24px; }
  .gfc-footer-identity { display: block; }
  .gfc-footer-identity > p { margin-top: 10px; }
  .gfc-footer-signature { margin-top: 12px; }
  .gfc-footer-grid > nav:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--footer-line);
  }
  .gfc-footer-grid > nav:last-child h2 { grid-column: 1 / -1; margin-top: 0; }
  .gfc-footer-grid > nav:last-child .gfc-footer-partner { grid-row: 2 / 4; align-self: start; }
  .gfc-footer-grid > nav:last-child .gfc-footer-caption { grid-column: 1 / -1; }
  .gfc-footer nav > a { min-height: 44px; }
  .gfc-footer .gfc-footer-caption { max-width: 45ch; }
  .gfc-footer .brand { font-size: 16px; }
}
