.app-shell .site-header {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.app-shell .premium-scan-cta {
  justify-self: end;
}

@media (max-width: 1280px) {
  .app-shell .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .app-shell .desktop-nav {
    grid-column: 1 / -1;
    order: 4;
  }

  .app-shell .premium-scan-cta {
    order: 3;
  }
}

@media (max-width: 820px) {
  .app-shell .site-header {
    grid-template-columns: 1fr auto;
  }

  .app-shell .brand-lockup {
    min-width: 0;
  }

  .app-shell .brand-word {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-shell .header-tools,
  .app-shell .premium-scan-cta,
  .app-shell .desktop-nav {
    grid-column: 1 / -1;
  }

  .app-shell .premium-scan-cta {
    width: 100%;
  }
}
