/*! Developed by Christian Sika @ sikahaus.com, 2025-26. First-party contributions only; preserve third-party notices. See /code-provenance.json. */ html {
  scroll-padding-top: 7.5rem;
}

[hidden] {
  display: none !important;
}

body[data-static-route] {
  min-width: 320px;
}

header .dropdown.static-dropdown-open .dropdown-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

header a[aria-current="page"]:not(.site-header-book) {
  color: #8ad666 !important;
}

form [name="website"] {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.static-form-status:empty {
  display: none;
}

.static-form-status.is-success {
  color: #b9f59b;
}

.static-form-status.is-error {
  color: #ffd2d2;
}

.contact-acknowledgment-error {
  color: #ffd2d2;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.5;
}

#contact-acknowledgment[aria-invalid="true"] {
  outline: 2px solid #ffd2d2;
  outline-offset: 3px;
}

.legal-hero {
  background: #edf7fd;
  padding: 5rem 0 4rem;
}

.legal-hero h1,
.not-found-page h1 {
  color: #003f86;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .92;
  margin-top: 1rem;
  max-width: 12ch;
}

.legal-intro,
.not-found-page > div > p:not(.eyebrow) {
  color: rgb(18 52 90 / 75%);
  font-size: 1rem;
  line-height: 1.9;
  margin-top: 1.5rem;
  max-width: 48rem;
}

.legal-updated {
  color: rgb(18 52 90 / 60%);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  gap: 3rem;
  padding-bottom: 5rem;
  padding-top: 4rem;
}

.legal-layout aside {
  color: rgb(18 52 90 / 68%);
  font-size: .875rem;
  line-height: 1.75;
}

.legal-layout aside p + p {
  margin-top: 1rem;
}

.legal-content {
  max-width: 52rem;
}

.legal-section + .legal-section {
  border-top: 1px solid #d6e1e8;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
}

.legal-section h2 {
  color: #12345a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.legal-section p,
.legal-section li {
  color: rgb(18 52 90 / 75%);
  font-size: .95rem;
  line-height: 1.9;
}

.legal-section h2 + p,
.legal-section p + p,
.legal-section h2 + ul {
  margin-top: 1rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-section a {
  color: #004a99;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.not-found-page {
  align-items: center;
  background: #edf7fd;
  display: flex;
  min-height: 68vh;
  padding: 5rem 0;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: minmax(12rem, .55fr) minmax(0, 1.45fr);
  }

  .legal-layout aside {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}

.static-motion-ready main > section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms cubic-bezier(.22, 1, .36, 1),
    transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.static-motion-ready main > section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.static-motion-ready main > section.is-visible .service-flyout {
  animation: static-flyout-in 600ms cubic-bezier(.22, 1, .36, 1) both;
}

.static-motion-ready main > section.is-visible .service-flyout:nth-of-type(2) {
  animation-delay: 90ms;
}

.static-motion-ready main > section.is-visible .service-flyout:nth-of-type(3) {
  animation-delay: 180ms;
}

.static-motion-ready main > section.is-visible .service-flyout:nth-of-type(4) {
  animation-delay: 270ms;
}

@keyframes static-flyout-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .static-motion-ready main > section,
  .static-motion-ready main > section .service-flyout {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Align copyright and policy links across the full footer width. */
.site-footer-legal { width: 100%; align-items: baseline; }
