/* Floating background icons (float.js). Site blue on light sections, light blue on navy ones. */
.has-fl { position: relative; isolation: isolate; overflow: clip; }
.fl { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: var(--amber, #1B5CF0); }
.not .fl { color: var(--hl, #9DBBFF); }
.fl-i { position: absolute; inline-size: calc(var(--s) * var(--k, 1)); block-size: calc(var(--s) * var(--k, 1)); opacity: var(--o); transform: rotate(var(--r)); }
.fl-r { right: var(--x); }
.fl-l { left: var(--x); }

/* Phones: the text spans the width, so fewer, smaller icons sit in the section's top or bottom padding. */
@media (max-width: 47.99rem) {
  .fl-i { --k: .55; --x: 1rem !important; --b: -5px; }
  .fl-i:not(.fl-m) { display: none; }
  .fl-mt { top: .45rem !important; }
  .fl-mb { top: auto !important; bottom: .35rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .fl-i { animation: fl-bob var(--d) ease-in-out var(--l) infinite; will-change: transform; }
  @keyframes fl-bob {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50% { transform: translateY(var(--b, -12px)) rotate(calc(var(--r) + 4deg)); }
  }
}
/* High contrast mode shows only the content. */
html.a11y-contrast-high .fl { display: none; }
