* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: unset;
  padding: unset;
  min-height: 100svh;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  overflow: hidden auto;
}

nav {
  width: 100vw;
  & > .nav-contents {
    max-width: 1920px;
    margin-inline: auto;
    padding: var(--space-200) var(--space-300);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    & .nav-logo {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: var(--space-100);
      text-decoration: none;
    }
    & > .nav-header-text {
      font-size: var(--heading-size-m);
      text-transform: uppercase;
    }
  }
  a.button {
    display: grid;
    place-items: center;
    font-size: var(--text-size-m);
    border-radius: var(--radius-pill);
    padding: var(--space-200) var(--space-300);
    text-transform: uppercase;
    width: max-content;
    height: min-content;
  }
}

main {
  flex: 1 1 0;
}

footer.site-footer {
  border-top: 1px solid var(--color-layer);
  background-color: var(--color-layer-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-300) var(--space-400);
  & .footer-columns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: var(--space-400);
  }
  & .footer-column {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: var(--space-0);
    width: fit-content;
    max-width: 25ch;
  }
  & .footer-logo-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: var(--space-100);
    text-decoration: none;
  }
  & .footer-logo-text {
    font-size: var(--heading-size-xs);
    font-weight: bold;
  }
  & .footer-column-title {
    font-size: var(--text-size-m);
    font-weight: bold;
  }
  & .footer-column-text {
    font-size: var(--text-size-s);
    color: var(--color-text-subtle);
  }
  & .footer-patch-emphasis {
    color: var(--color-success);
  }
  & .footer-copy {
    font-size: var(--text-size-s);
    color: var(--color-text-subtler);
    text-align: center;
  }
  & .footer-copy-wrapping-el {
    padding-top: var(--space-0);
    line-height: 0.5;
  }
}

x-icon {
  display: inline-block;
}

x-load-svg {
  display: inline-block;
}
