*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-text: #1a1a1a;
  --color-muted: #666;
  --color-bg: #fff;
  --color-accent: #0b62d6;
  --color-border: #e5e5e5;
  --max-width: 1100px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-block: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-header nav a {
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--color-accent);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.not-found {
  text-align: center;
  padding-top: 15vh;
}

.not-found h1 {
  font-size: 4rem;
  margin: 0;
}
