/* Shared footer: neutral surfaces, generous spacing, and a useful closing gesture. */
.site-footer.exa-footer {
  --footer-ink: #30293b;
  --footer-muted: #70667d;
  --footer-line: var(--exa-neutral-line, #e3e2e4);
  display: block;
  width: 100%;
  margin: 64px 0 0;
  padding: 0;
  border: 0;
  border-radius: 32px 32px 0 0;
  background: #f4f6f6;
  color: var(--footer-ink);
  font: 14px/1.6 Satoshi, Arial, sans-serif;
}
.exa-footer-inner { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.exa-footer-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 39px 30px; border-bottom: 1px solid var(--footer-line); }
.exa-footer-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.exa-footer-brand > img { width: 56px; height: 56px; object-fit: contain; }
.exa-footer-brand > span { font: 850 58px/.85 var(--heading); letter-spacing: -.065em; }
.exa-footer-brand > span > span { color: #6745df; }
.exa-footer-help { display: flex; align-items: center; gap: 13px; min-height: 44px; font-size: 12px; line-height: 1.6; color: var(--footer-muted); }
.exa-footer-help-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--exa-neutral-line, #e3e2e4); border-radius: 50%; color: #6745df; }
.exa-footer-help-icon > .icon { width: 22px; height: 22px; }
.exa-footer-help strong { display: flex; align-items: center; gap: 17px; color: var(--footer-ink); font-size: 13px; font-weight: 650; }
.exa-footer-help strong .icon { width: 15px; height: 15px; }
.exa-footer-help:hover strong { color: #5030be; }
.exa-footer-main { display: grid; grid-template-columns: 1.05fr 2.9fr; gap: 72px; padding-block: 43px 48px; }
.exa-footer-story h2 { font: 750 48px/.98 var(--heading); letter-spacing: -.045em; text-wrap: balance; }
.exa-footer-story h2 > span { color: #6745df; }
.exa-footer-story > p { margin: 18px 0 0; color: var(--footer-muted); font-size: 13px; line-height: 1.8; }
.exa-footer-explore { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; margin-top: 13px; color: #5030be; font-size: 13px; font-weight: 700; }
.exa-footer-explore > .icon { width: 18px; height: 18px; transition: transform 180ms ease; }
.exa-footer-explore:hover > .icon { transform: translateX(4px); }
.exa-footer-coverage { display: flex; align-items: center; gap: 7px; margin-top: 19px; color: var(--footer-muted); font-size: 11px; }
.exa-footer-coverage > .icon { width: 16px; height: 16px; }
.exa-footer-official-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 12px; }
.exa-footer-navigation { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1.15fr; gap: 28px; min-width: 0; }
.exa-footer-group { min-width: 0; border: 0; }
.exa-footer-group > summary { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; padding: 0; list-style: none; font: 700 14px/1.6 Satoshi, Arial, sans-serif; letter-spacing: 0; cursor: default; }
.exa-footer-group > summary::-webkit-details-marker { display: none; }
.exa-footer-group > summary::marker { content: ''; }
.exa-footer-group > ul { list-style: none; margin: 0; padding: 0; }
.exa-footer-group li { margin: 0; padding: 0; }
.exa-footer-group a, .exa-footer-group button { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; max-width: 100%; padding: 5px 0; border: 0; border-radius: 0; background: none; color: var(--footer-muted); font: 450 13px/1.6 Satoshi, Arial, sans-serif; text-align: left; text-decoration: none; cursor: pointer; transition: color 160ms ease; }
.exa-footer-group a:hover, .exa-footer-group button:hover { color: #5030be; text-decoration: underline; text-underline-offset: 4px; }
.exa-footer-group .exa-footer-all { margin-top: 5px; color: #5030be; font-weight: 650; }
.exa-footer-all > .icon { width: 15px; height: 15px; }
.exa-footer-signoff { padding-block: 23px; border-top: 1px solid var(--footer-line); }
.exa-footer-signoff > p { margin: 0; font: 700 25px/1.25 var(--heading); letter-spacing: -.025em; }
.exa-footer-signoff > p > span { color: var(--exa-icon-neutral, #39303f); }
.exa-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 11px; color: var(--footer-muted); }
.exa-footer-bottom p { margin: 0; }
.exa-footer-locale { display: inline-flex; align-items: center; gap: 11px; min-height: 36px; padding-inline: 13px; border: 1px solid var(--footer-line); border-radius: 7px; font-size: 11px; color: var(--footer-ink); }
.exa-footer-locale > .icon { width: 15px; height: 15px; }
.exa-footer-locale > span { color: var(--exa-icon-neutral, #39303f); }
.exa-footer-preview { margin: 5px 0 0; padding-bottom: 24px; color: var(--footer-muted); font-size: 10px; line-height: 1.65; }
.exa-footer :where(a, button, summary):focus-visible, .exa-footer-dialog :where(a, button):focus-visible { outline: 3px solid #6745df; outline-offset: 4px; border-radius: 3px; }
.exa-footer-dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; overflow-y: auto; padding: 37px; border: 0; border-radius: 22px; background: #fff; color: #30293b; box-shadow: 0 24px 90px #25123c30; font: 14px/1.7 Satoshi, Arial, sans-serif; overscroll-behavior: contain; }
.exa-footer-dialog::backdrop { background: #20252665; backdrop-filter: blur(5px); }
.exa-footer-dialog-close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: #f4f6f6; }
.exa-footer-dialog-close:hover { background: #fff; }
.exa-footer-dialog-kicker { display: block; margin-bottom: 13px; padding-right: 20px; font-size: 11px; color: #70667d; }
.exa-footer-dialog h2 { padding-right: 16px; font: 750 34px/1.1 var(--heading); letter-spacing: -.035em; }
#exa-footer-dialog-body { margin-block: 21px 27px; }
#exa-footer-dialog-body > p { margin: 13px 0; color: #70667d; font-size: 13px; line-height: 1.8; }
#exa-footer-dialog-body > a { display: inline-flex; align-items: center; min-height: 44px; color: #5030be; text-decoration: underline; text-underline-offset: 4px; }
.exa-footer-dialog-done { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 46px; padding: 10px 20px; border-radius: 9px; background: #6745df; color: #fff; font-weight: 650; }
.exa-footer-dialog-done:hover { background: #5030be; }
@media (max-width: 1200px) {
  .exa-footer-inner { width: calc(100% - 64px); }
  .exa-footer-main { gap: 36px; grid-template-columns: .95fr 3fr; }
  .exa-footer-navigation { gap: 20px; }
  .exa-footer-story h2 { font-size: 43px; }
}
@media (max-width: 900px) {
  .country-page .exa-footer-inner { padding-bottom: 92px; }
  .exa-footer-main { grid-template-columns: 1fr; gap: 34px; }
  .exa-footer-story { position: relative; padding-right: 45%; }
  .exa-footer-story h2 { font-size: 45px; }
  .exa-footer-coverage { position: absolute; right: 0; top: 0; margin-top: 0; }
  .exa-footer-navigation { gap: 28px; }
}
@media (max-width: 640px) {
  .site-footer.exa-footer { margin-top: 40px; border-radius: 24px 24px 0 0; }
  .exa-footer-inner { width: calc(100% - 40px); }
  .exa-footer-topline { gap: 10px; padding-block: 25px 23px; }
  .exa-footer-brand { gap: 3px; }
  .exa-footer-brand > img { width: 43px; height: 43px; }
  .exa-footer-brand > span { font-size: 46px; }
  .exa-footer-help { gap: 8px; font-size: 10px; }
  .exa-footer-help-icon { display: none; }
  .exa-footer-help strong { gap: 9px; font-size: 12px; }
  .exa-footer-main { gap: 27px; padding-block: 29px 19px; }
  .exa-footer-story { padding-right: 0; }
  .exa-footer-story h2 { font-size: 47px; }
  .exa-footer-story > p { margin-top: 15px; font-size: 13px; }
  .exa-footer-explore { margin-top: 10px; }
  .exa-footer-coverage { position: static; margin-top: 14px; }
  .exa-footer-navigation { display: block; }
  .exa-footer-group { border-top: 1px solid var(--footer-line); }
  .exa-footer-group > summary { min-height: 57px; margin: 0; padding-block: 14px; font-size: 14px; cursor: pointer; }
  .exa-footer-group > summary > span { position: relative; width: 18px; height: 18px; color: #80738f; }
  .exa-footer-group > summary > span::before, .exa-footer-group > summary > span::after { content: ''; position: absolute; top: 8px; left: 4px; width: 10px; height: 1.5px; border-radius: 1px; background: currentColor; }
  .exa-footer-group > summary > span::after { transform: rotate(90deg); transition: transform 180ms ease; }
  .exa-footer-group[open] > summary > span::after { transform: rotate(0); }
  .exa-footer-group > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding: 0 0 17px; }
  .exa-footer-group a, .exa-footer-group button { min-height: 44px; font-size: 12px; }
  .exa-footer-group .exa-footer-all { margin-top: 0; }
  .exa-footer-signoff { padding-block: 22px; }
  .exa-footer-signoff > p { max-width: 260px; font-size: 24px; }
  .exa-footer-signoff > p > span { display: block; }
  .exa-footer-bottom { flex-wrap: wrap; gap: 10px; padding-top: 19px; }
  .exa-footer-preview { margin-top: 13px; padding-bottom: 24px; font-size: 10px; }
  .exa-footer-dialog { padding: 32px 25px 25px; }
  .exa-footer-dialog h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .exa-footer *, .exa-footer *::after { transition: none !important; }
}
