@media (width > 760px) {
  :root {
    --homepage-right-gutter: max(36px, (100% - 1340px) / 2);
  }

  .hero-top {
    margin-inline-end: var(--homepage-right-gutter);
  }
}

@media (width > 1260px) {
  .site-nav {
    padding-inline-end: var(--homepage-right-gutter);
  }
}

@media (760px < width <= 1260px) {
  :root {
    --homepage-right-gutter: 32px;
  }

  /* Reserve the existing flex space for the wordmark and links. */
  .nav-register {
    position: relative;
    inset-inline-end: calc(var(--homepage-right-gutter) - 24px);
  }
}
