@font-face {font-family:'Jupiter Footer'; src:url('fonts/founders-grotesk-regular.woff2') format('woff2'); font-weight:400; font-display:swap}
.scheme-note {--footer-edge:calc(.6% + clamp(24px,4.7vw,100px)); font-family:'Jupiter Footer','Helvetica Neue',Arial,sans-serif; -webkit-font-smoothing:antialiased; font-weight:400; display:block;line-height:1.6;width:100%;margin:0;padding:10px var(--footer-edge);background:#fff;font-size:12px;color:#111}
.scheme-note p {margin:0}
.legal-links {display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 16px; margin-bottom:4px}
.legal-links a {text-decoration:underline; text-underline-offset:3px}

@media (max-width: 767px) {
  .scheme-note {--footer-edge:24px; font-size:14px}
  .legal-links > span {flex-basis:100%}
  .legal-links {row-gap:4px; margin-bottom:6px}
}
/* Keep the footer at the bottom of the screen on short pages */
body:has(> footer.scheme-note) {display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body:has(> footer.scheme-note) > main {flex:1 0 auto}
:root :is(.direct-contact, .sent-urgent, .send-error, .policy-body) a {text-decoration:underline}
:root :is(.direct-contact, .sent-urgent, .send-error, .policy-body) a:hover {text-decoration-color:#1673a4}

/* Footer Privacy and Terms: underline simply turns blue on hover */
.legal-links a {transition:text-decoration-color .2s ease}
:root :is(.legal-links a, .policy-nav a, .home-link):is(:hover, :focus-visible) {
  text-decoration-line:underline;
  text-decoration-color:#00a0eb;
}

/* Book a call: the square turns into an upright diamond on hover */
.book-link i {display:inline-block;transition:transform .24s ease-out}
.book-link:hover i, .book-link:focus-visible i {transform:rotate(45deg)}
@media (prefers-reduced-motion:reduce) {.book-link i {transition:none}}

/* Keep one continuous line clear of the Founders Grotesk descenders. */
:root a, :root .policy-nav a[aria-current], :root .enquiry a span {
  text-decoration-skip-ink:none;
  text-underline-offset:calc(.17em + 2px);
}
