:root {
  --atlas-chrome-ink: #17201d;
  --atlas-chrome-muted: #66736c;
  --atlas-chrome-line: #d9d7cf;
  --atlas-chrome-acid: #d9ff43;
}

.atlas-site-nav,
.atlas-site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: normal;
}

.atlas-site-nav {
  display: flex;
  height: 90px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--atlas-chrome-line);
}

.atlas-site-nav .brand,
.atlas-site-footer .brand {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  color: var(--atlas-chrome-ink);
  font-size: 19px;
  font-weight: 750;
  text-decoration: none;
}

.atlas-site-nav .brand-mark,
.atlas-site-footer .brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--atlas-chrome-ink);
  color: var(--atlas-chrome-acid);
  font-size: 13px;
  font-weight: 800;
}

.atlas-site-nav .brand em,
.atlas-site-footer .brand em {
  margin-left: 4px;
  padding: 3px 7px;
  border: 1px solid #a5ad9f;
  border-radius: 20px;
  font: 500 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.atlas-site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.atlas-site-nav .nav-links > a:not(.button) {
  color: var(--atlas-chrome-ink);
  text-decoration: none;
}

.atlas-site-nav .nav-links > a:not(.button):hover {
  opacity: .55;
}

.atlas-site-nav .button {
  display: inline-flex;
  min-width: auto;
  min-height: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 15px;
  border: 0;
  border-radius: 7px;
  background: var(--atlas-chrome-ink);
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.atlas-site-nav .button span {
  color: var(--atlas-chrome-acid);
  font-size: 18px;
}

.atlas-site-footer {
  display: flex;
  min-height: 130px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--atlas-chrome-muted);
  font-size: 12px;
}

.atlas-site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.atlas-site-footer p {
  margin: 1em 0;
}

.atlas-site-footer .footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.atlas-site-footer .footer-legal a:hover {
  color: var(--atlas-chrome-ink);
}

@media (max-width: 900px) {
  .atlas-site-nav .nav-links > a:not(.button) {
    display: none;
  }
}

@media (max-width: 600px) {
  .atlas-site-nav,
  .atlas-site-footer {
    width: min(100% - 30px, 1180px);
  }

  .atlas-site-nav {
    height: 72px;
  }

  .atlas-site-nav .button {
    min-width: 44px;
    gap: 0;
    font-size: 0;
  }

  .atlas-site-footer {
    min-height: 0;
    padding: 35px 0;
    flex-wrap: wrap;
  }

  .atlas-site-footer .footer-legal {
    width: 100%;
    justify-content: flex-start;
  }
}
