/* Base reset, typography, accessibility and motion preferences. */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--xonto-text);
  background:
    radial-gradient(circle at 88% 6%, rgba(47, 128, 255, 0.14), transparent 34rem),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 48%, #FFFFFF 100%);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(47, 128, 255, 0.58);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 850;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-headline);
  color: var(--xonto-black);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 3.35rem;
  line-height: 1.04;
  font-weight: 950;
  text-wrap: balance;
}

.blue-word {
  color: var(--xonto-blue);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
