@font-face {
  font-family: "Latin Modern Mono";
  src: url("fonts/latin-modern-mono-light-10-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-height: 80px;
  --page-edge: 20px;
  --announcement-green: #acf4a1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: #000;
  background: #fff;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
}

.announcement-bar {
  display: grid;
  height: 32px;
  padding: 0 var(--page-edge);
  place-items: center;
  overflow: hidden;
  color: #000;
  background: var(--announcement-green);
  font-family: "Latin Modern Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  white-space: nowrap;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 var(--page-edge);
  background: #fff;
}

.brand,
.icon-button {
  display: grid;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
}

.brand {
  width: 103px;
  height: 20px;
}

.brand img,
.icon-button img {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  width: auto;
  min-width: 18px;
  height: 20px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.brand:focus-visible,
.icon-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

main {
  min-height: 100vh;
  padding-top: var(--header-height);
}

@media (max-width: 359px) {
  :root {
    --page-edge: 16px;
  }

  .announcement-bar {
    font-size: 12px;
  }

  .nav-actions {
    gap: 12px;
  }
}
