/* Home page. Most styling sits inline in the markup (carried over from the design);
   this file holds the base rules and the small-screen adjustments. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; }
a { color: #1A4F96; } a:hover { color: #123A70; }
input, textarea, select, button { font-family: inherit; }
section[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid #1A5DAB; outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }
#contact-form input:invalid[data-touched], #contact-form [aria-invalid="true"] { border-color: #B42318 !important; }
#contact-status.error { color: #B42318 !important; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 720px) {
  .h1 { font-size: 38px !important; letter-spacing: -1px !important; }
  .h2 { font-size: 30px !important; }
  section > div { padding-left: 20px !important; padding-right: 20px !important; padding-top: 56px !important; padding-bottom: 56px !important; }
  .site-header > div { padding-left: 20px !important; padding-right: 20px !important; }
  /* the services grid uses 420px columns; let it go to one column */
  #services [style*="minmax(420px"] { grid-template-columns: 1fr !important; }
  #whitelabel ul { grid-template-columns: 1fr !important; }
}
