/* Production refinements for the supplied Home v4 dark export. */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.ma-home { overflow: clip; }
.ma-home img, .ma-home video { max-width: 100%; }
.ma-home a:focus-visible, .ma-home summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}
.ma-home summary { border-radius: 1px; }

@media (max-width: 900px) {
  .ma-header-inner { padding-inline: 24px !important; }
  .ma-desktop-nav { display: none !important; }
  .ma-header-actions > div { display: none !important; }
  .ma-content-section { padding-inline: 24px !important; }
  .ma-hero-inner { padding: 104px 24px 96px !important; }
  .ma-hero-inner h1 { font-size: clamp(38px, 8vw, 52px) !important; }
  .ma-trusted { padding-inline: 24px !important; }
  .ma-trusted-logos { gap: 26px !important; }
  .ma-flow-grid, .ma-latency-grid { grid-template-columns: 1fr 1fr !important; }
  .ma-flow-grid > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0 !important; }
  .ma-latency-grid > div:nth-last-child(2) { border-left: 0 !important; border-top: 1px solid var(--line); }
  .ma-latency-grid > div:last-child { border-top: 1px solid var(--line); }
  .ma-footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 620px) {
  .ma-header-actions > a { height: 36px !important; padding-inline: 14px !important; }
  .ma-hero-inner { min-height: calc(100svh - 56px); justify-content: center; padding-block: 76px 80px !important; }
  .ma-hero-inner h1 { font-size: clamp(34px, 11vw, 46px) !important; line-height: 1.02 !important; }
  .ma-hero-inner p { font-size: 15px !important; }
  .ma-trusted-logos img { max-width: 104px; object-fit: contain; }
  .ma-content-section { padding-top: 78px !important; }
  .ma-content-section h2 { font-size: 33px !important; }
  .ma-flow-grid, .ma-latency-grid, .ma-offer-grid, .ma-stories-grid, .ma-footer-grid { grid-template-columns: 1fr !important; }
  .ma-flow-grid > div:not([style*="position:absolute"]), .ma-latency-grid > div:not([style*="position:absolute"]) { border-left: 0 !important; border-top: 1px solid var(--line); }
  .ma-flow-grid > div:nth-last-child(3), .ma-latency-grid > div:nth-last-child(4) { border-top: 0; }
  .ma-flow-grid > div:last-child { grid-column: auto; }
  .ma-offer-grid > *, .ma-stories-grid > * { padding: 26px !important; }
  #about { padding-bottom: 72px !important; }
  #contact { padding: 64px 24px 72px !important; }
  #contact h2 { font-size: 35px !important; }
  .ma-footer > div { padding: 44px 24px 28px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ma-home *, .ma-home *::before, .ma-home *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
