@font-face {
  font-family: 'Unnamed Regular';
  src: url('/fonts/Unnamed-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Unnamed Regular';
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.5;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.site-name {
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  color: inherit;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  text-decoration: none;
  color: inherit;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
}

nav a:hover {
  border-color: currentColor;
}

nav a.active {
  border-color: currentColor;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
}

@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    min-width: 140px;
    z-index: 10;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 6px 16px;
    border: none;
    border-radius: 0;
  }

  nav a.active {
    border: none;
    font-weight: bold;
  }

  nav a:hover {
    background: #f5f5f5;
    border: none;
  }
}

footer {
  margin-top: 60px;
  font-size: 0.85rem;
  color: #666;
}
