@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 8px;
  background: #ffffff;
  color: #0f172a;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  margin-bottom: 8px;
  text-align: right;
  font-size: 14px;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav > * {
  margin-right: 8px;
}

.site-title-full {
  display: none;
}

.content {
  max-width: 512px;
  margin: 0 auto;
}

p {
  margin: 16px 0;
}

.item-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.item-list li {
  margin: 0 0 18px;
}

.item-title {
  display: block;
  font-weight: 600;
}

.item-desc {
  margin: 4px 0 0;
}

section {
  margin: 0;
}

@media (min-width: 768px) {
  body {
    display: flex;
    padding: 28px 20px;
  }

  .site-nav {
    flex: none;
    order: 2;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 0;
    font-size: 16px;
  }

  .site-nav > * {
    margin-right: 0;
  }

  .site-title-full {
    display: block;
  }

  .site-title-short {
    display: none;
  }

  .content {
    order: 1;
    flex-grow: 1;
    max-width: 576px;
  }
}
