html,
body {
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-inline-size: 100%;
}

.v14-shell {
  padding-inline-start: max(0px, env(safe-area-inset-left));
  padding-inline-end: max(0px, env(safe-area-inset-right));
}

.v14-skip-link {
  position: fixed;
  z-index: 1000;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #c7ff2f;
  color: #090b0d;
  font-weight: 800;
  text-decoration: none;
}

.v14-skip-link:focus-visible {
  transform: translateY(0);
}

.v14-header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.v14-mobile-nav {
  display: none;
  position: relative;
}

.v14-mobile-nav > summary {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(9, 12, 15, 0.92);
  color: #f5f7f2;
  cursor: pointer;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.v14-mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.v14-mobile-nav > summary i {
  position: relative;
  width: 0.9rem;
  height: 0.65rem;
}

.v14-mobile-nav > summary i::before,
.v14-mobile-nav > summary i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease, top 160ms ease;
}

.v14-mobile-nav > summary i::before {
  top: 0.12rem;
}

.v14-mobile-nav > summary i::after {
  top: 0.5rem;
}

.v14-mobile-nav[open] > summary i::before {
  top: 0.31rem;
  transform: rotate(45deg);
}

.v14-mobile-nav[open] > summary i::after {
  top: 0.31rem;
  transform: rotate(-45deg);
}

.v14-mobile-nav-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.6rem);
  right: 0;
  width: min(88vw, 23rem);
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(9, 12, 15, 0.985);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45);
}

.v14-mobile-nav-panel a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f7f2;
  text-decoration: none;
  font-size: 0.88rem;
}

.v14-mobile-nav-panel a:last-child {
  border-bottom: 0;
}

.v14-mobile-nav-panel a span:last-child {
  color: #c7ff2f;
}

.v14-header-cta {
  min-height: 44px;
}

:is(.v14-page, .v14-route-page) :is(a, button, summary):focus-visible {
  outline: 2px solid #c7ff2f;
  outline-offset: 4px;
}

#main-content,
#process {
  scroll-margin-top: 5.5rem;
}

@media (max-width: 980px) {
  .v14-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .v14-mobile-nav {
    display: block;
  }

  .v14-header-actions {
    grid-column: 3;
  }
}

@media (max-width: 620px) {
  .v14-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
  }

  .v14-header-actions {
    grid-column: 2;
  }

  .v14-header-cta {
    display: none;
  }

  .v14-mobile-nav-panel {
    position: fixed;
    top: max(4.7rem, calc(4rem + env(safe-area-inset-top)));
    right: max(0.85rem, env(safe-area-inset-right));
    width: min(calc(100vw - 1.7rem), 24rem);
  }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 1000px) {
  .v14-header-static,
  .v14-header {
    min-height: 4rem;
  }

  .v14-mobile-nav-panel {
    max-height: calc(100svh - 5rem);
    overflow-y: auto;
  }
}

@media (hover: none), (pointer: coarse) {
  :is(.v14-page, .v14-route-page) :is(
    .v14-button,
    .v14-header-cta,
    .v14-service-card,
    .v14-mobile-nav-panel a,
    .related-grid a,
    .service-directory a,
    .hero-actions a,
    .contact-actions a
  ) {
    min-height: 44px;
  }

  .v14-service-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v14-page,
  .v14-page *,
  .v14-route-page,
  .v14-route-page * {
    scroll-behavior: auto;
  }

  .v14-mobile-nav > summary i::before,
  .v14-mobile-nav > summary i::after,
  .v14-service-card,
  .v14-browser,
  .v14-phone,
  .v14-device-desktop,
  .v14-device-tablet,
  .v14-device-mobile {
    transition: none;
  }

  .v14-browser,
  .v14-phone,
  .v14-device-desktop,
  .v14-device-tablet,
  .v14-device-mobile {
    transform: none;
  }

  .v14-service-card:hover {
    transform: none;
  }
}
