@media (max-width: 1040px) {
  :root {
    --space-section: 88px;
  }

  .site-header__inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
    order: 2;
  }

  .language-toggle {
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: none;
    justify-self: stretch;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(36, 45, 42, 0.12);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
    gap: 4px;
    padding: 10px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .split-layout,
  .split-layout--reverse,
  .loop-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .loop-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
    --space-section: 72px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .site-header__inner,
  .section__inner,
  .brand-footer__inner {
    width: min(100% - 28px, var(--max-content));
  }

  .brand-mark {
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section--hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: 34px;
  }

  .section--tasks {
    padding-top: 44px;
  }

  .hero-grid,
  .split-layout,
  .loop-layout {
    gap: 26px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-text,
  .section-lead {
    font-size: 1.04rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-actions,
  .hero-cues,
  .differentiator-row {
    align-items: stretch;
  }

  .button {
    flex: 1 1 190px;
  }

  .signal-rail {
    display: none;
  }

  .work-flow,
  .extension-grid {
    grid-template-columns: 1fr;
  }

  .task-card,
  .flow-step,
  .path-node,
  .loop-item,
  .extension-panel {
    padding: 20px;
  }

  .flow-step {
    min-height: auto;
  }

  .brand-footer__inner {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .language-toggle {
    min-width: 50px;
  }

  .menu-button {
    width: 40px;
  }

  .hero-cues li,
  .differentiator-row span {
    white-space: normal;
  }
}
