/* Flowbility – global styles. Page layout and colours are inline in each page (exported from the design). */
@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/Nunito-latin.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #00A69D; outline-offset: 2px;
}
table { display: block; overflow-x: auto; }

/* contact form */
.interest-option:has(input:checked) { border-color: #005AA2 !important; background: #EAF3FA !important; }
#f-status[data-state="ok"] { color: #007A73; }
#f-status[data-state="error"] { color: #B42318; }
#contact-form [aria-invalid="true"] { border-color: #B42318 !important; }
#f-submit[disabled] { opacity: .6; cursor: progress; }

/* Tablet and phone adjustments (inline styles are desktop-first) */
@media (max-width: 900px) {
  h1 { font-size: clamp(32px, 7vw, 46px) !important; }
  h2 { font-size: clamp(26px, 5.5vw, 40px) !important; }
  [style*="padding-top: 104px"] { padding-top: 64px !important; }
  [style*="padding-bottom: 104px"] { padding-bottom: 64px !important; }
  [style*="padding-top: 120px"] { padding-top: 72px !important; }
  [style*="padding-bottom: 120px"] { padding-bottom: 72px !important; }
  [style*="gap: 56px"] { gap: 32px !important; }
}
@media (max-width: 560px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="grid-column: span"] { grid-column: auto !important; }
  [style*="padding: 56px"] { padding: 28px !important; }
  [style*="padding: 40px"] { padding: 24px !important; }
  [style*="padding: 32px"] { padding: 22px !important; }
  nav[aria-label="Principal"] { gap: 4px 18px !important; font-size: 15px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
