:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  background: #0d0f12;
  color: #e6e9ed;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px;
  line-height: 1.65;
}

.site-header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.site-title {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

a {
  color: #8bc7ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.intro {
  padding: 56px 0 32px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 5rem);
  line-height: 1;
}

.eyebrow,
.entry-meta,
.archive-entry time {
  color: #8e98a5;
}

.timeline {
  border-top: 1px solid #2a2f36;
}

.entry {
  padding: 34px 0;
  border-bottom: 1px solid #2a2f36;
}

.entry h2 {
  margin: 6px 0 14px;
  font-size: 1.25rem;
}

.entry-content p:first-child {
  margin-top: 0;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.permalink {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.9rem;
}

.archive-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #2a2f36;
}

.single-entry {
  padding-top: 40px;
}

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

footer {
  margin-top: 64px;
  border-top: 1px solid #2a2f36;
  color: #8e98a5;
}

@media (max-width: 560px) {
  .site-header {
    display: block;
  }

  nav {
    margin-top: 10px;
  }

  .archive-entry {
    display: block;
  }

  .archive-entry time {
    display: block;
    margin-bottom: 4px;
  }
}
