/* D365 Solutions - site styles. Most styling is inline on the elements; this file holds the page basics. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  background: #ffffff;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
a { color: #0066CC; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #0071E3; outline-offset: 2px; }
img, svg { max-width: 100%; }
[id] { scroll-margin-top: 64px; }

/* navigation stays at the top while scrolling */
body > header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

/* contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: 16px; }
#form-status.ok { background: #E3F5E8; color: #14602C; }
#form-status.err { background: #FDE7E7; color: #9B1C1C; }
button { cursor: pointer; }

@media (max-width: 640px) {
  body > header nav { gap: 0 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
