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

:root {
  --color-bg: #0b1020;
  --color-text: #e8ecf5;
  --color-accent: #6ea8fe;
  --max-width: 960px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header nav a {
  margin-left: 1rem;
}

.logo {
  font-weight: 700;
}

main {
  flex: 1;
}

.site-footer {
  font-size: 0.875rem;
  opacity: 0.7;
}
