.figma-v18-body .v18-home .v18-section.v18-contact {
  display: flex;
  justify-content: center;
  height: auto;
  min-height: 100svh;
  padding: calc(var(--topbar-height, 64px) + 24px) max(24px, env(safe-area-inset-right), env(safe-area-inset-left)) 80px;
  overflow: visible;
  background: #f7faf9;
}
/* The final snap must fill the visible viewport even when browser bars retract. */
@supports (min-height: 100dvh) {
  .figma-v18-body .v18-home .v18-section.v18-contact { min-height: 100dvh; }
}
.v18-home .v18-footer.v18-footer-unified {
  display: block;
  width: min(1160px, 100%);
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  margin: auto;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid #dfe7e4;
  border-radius: 24px;
  background: #fff;
  color: #10203b;
  box-shadow: 0 5px 0 #e5eae7, 0 16px 40px #10203b06;
  text-align: right;
}
.v18-footer-unified, .v18-footer-unified * { box-sizing: border-box; }
.v18-footer-unified .v18-footer-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e4ebe7; }
.v18-footer-unified h2 { margin: 0; color: #142849; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.5; }
.v18-footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 48px; }
.v18-footer-columns > * { min-width: 0; }
.v18-footer-unified h3 { margin: 0 0 8px; color: #142849; font-size: .88rem; font-weight: 700; line-height: 1.6; }
.v18-footer-unified a { color: #10203b; text-decoration: none; }
.v18-footer-unified a:hover { color: #007da8; text-decoration: underline; text-underline-offset: 4px; }
.v18-footer-unified a:focus-visible { outline: 3px solid #007da8; outline-offset: 3px; border-radius: 4px; }
.v18-footer-unified .v18-footer-brand { display: inline-flex; align-items: center; min-height: 44px; max-width: 50%; margin: 0; }
.v18-footer.v18-footer-unified .academy-brand-lockup { max-width: 100%; }
.v18-footer.v18-footer-unified .academy-brand-mark { width: 24px; height: 30px; }
.v18-footer.v18-footer-unified .academy-brand-wordmark { width: min(122px, 100%); min-width: 0; filter: none; }
.v18-footer-unified nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0 24px; }
.v18-footer-unified nav a, .v18-footer-socials a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; }
.v18-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.v18-footer-socials { display: flex; flex-wrap: wrap; gap: 0 18px; }
.v18-contact-details { display: grid; gap: 0; margin: 0; text-align: right; }
.v18-contact-details > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 16px; border-bottom: 1px solid #eef2ef; }
.v18-contact-details > div:last-child { border: 0; }
.v18-contact-details dt { color: #647784; font-size: .78rem; }
.v18-contact-details dd { min-width: 0; margin: 0; text-align: left; }
.v18-contact-details a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: .9rem; font-weight: 500; line-height: 1.6; }
.v18-contact-details bdi { overflow-wrap: anywhere; }
.v18-footer-location { display: grid; grid-template-columns: minmax(0, 1fr) 116px; align-items: center; gap: 24px; min-width: 0; }
.v18-footer-unified address { color: #435b6c; font-size: .85rem; font-style: normal; line-height: 1.9; overflow-wrap: anywhere; }
.v18-footer-unified .v18-footer-trust { color: #52647b; }
.v18-footer-unified .v18-footer-trust > span { display: none; }
.v18-footer-unified .v18-enamad { min-height: 144px; color: #10203b; }
.v18-footer-unified .v18-enamad[data-enamad-state="pending"],
.v18-footer-unified .v18-enamad[data-enamad-state="unavailable"] { min-height: 144px; border-color: #dce6eb; background: #f4f8fb; color: #10203b; }
/* Keep the official image's space during retries so document snapping stays put. */
.v18-footer-unified .v18-enamad[data-enamad-state="pending"] img,
.v18-footer-unified .v18-enamad[data-enamad-state="unavailable"] img { display: block; visibility: hidden; }
.v18-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e4ebe7; }
.v18-footer-legal { display: grid; gap: 4px; min-width: 0; }
.v18-footer-unified .v18-creators { margin: 0; color: #142849; font-size: .76rem; line-height: 1.8; }
.v18-footer-unified .v18-creators-heading { color: #647784; }
.v18-footer-unified .v18-footer-copyright { margin: 0; color: #647784; font-size: .68rem; line-height: 1.8; }
@media (max-width: 800px) {
  .v18-footer-columns { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .figma-v18-body .v18-home .v18-section.v18-contact { padding: calc(var(--topbar-height, 64px) + 16px) max(12px, env(safe-area-inset-right), env(safe-area-inset-left)) calc(72px + env(safe-area-inset-bottom)); }
  .v18-home .v18-footer.v18-footer-unified { padding: 20px; border-radius: 20px; }
  .v18-footer-unified .v18-footer-heading { gap: 12px; margin-bottom: 16px; padding-bottom: 12px; }
  .v18-footer-unified h2 { font-size: 1.3rem; }
  .v18-footer.v18-footer-unified .academy-brand-mark { width: 20px; height: 25px; }
  .v18-footer.v18-footer-unified .academy-brand-wordmark { width: min(105px, 100%); }
  .v18-footer-columns { gap: 16px; }
  .v18-footer-location { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .v18-footer-location .v18-footer-trust { justify-self: start; }
  .v18-footer-unified address { font-size: .8rem; }
  .v18-footer-unified h3 { font-size: .82rem; }
  .v18-footer-bottom { gap: 8px 20px; margin-top: 16px; padding-top: 12px; }
  .v18-footer-unified nav { gap: 0 20px; }
  .v18-contact-details a { font-size: .84rem; }
  .v18-contact-details > div { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 360px) {
  .v18-home .v18-footer.v18-footer-unified { padding: 16px; }
  .v18-footer-location { gap: 12px; }
  .v18-footer.v18-footer-unified .academy-brand-lockup { gap: 5px; }
  .v18-footer.v18-footer-unified .academy-brand-wordmark { width: 90px; }
}
