* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #f3f4f6;
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

a {
  color: #3b82f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-nav {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}

.app-nav-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
}

.nav-link:hover {
  color: #1a1a1a;
}

.app-main {
  flex: 1;
  max-width: 56rem;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Pages */

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-title-sm {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-text {
  font-size: 1.1rem;
  max-width: 40rem;
}

.page-link {
  margin-top: 1.5rem;
}

/* Not Found */

.not-found {
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.not-found-code {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.not-found-text {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}
