:root {
  color-scheme: light dark;
  --bg: #0e1116;
  --fg: #f2f2f0;
  --muted: #b8bcc4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-color: #1a1f27;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero-content {
  padding: 2rem clamp(1rem, 5vw, 3rem);
  max-width: 40rem;
}

.hero-content h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.intro {
  font-size: 1.1rem;
  color: var(--muted);
}

.posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.post-date {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.post-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.post-text {
  margin: 0;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  color: inherit;
}

.legal h1 {
  font-size: 1.5rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
}

.legal p {
  color: var(--muted);
}

.legal a {
  color: inherit;
}
