:root {
  color: #e8edf2;
  background: #111418;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #e8edf2;
  background: #111418;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #34404d;
  border-radius: 8px;
  color: #111418;
  background: #d9f36f;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.post-row time,
.section-heading p {
  color: #9aa8b5;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: #c7d0d9;
  text-decoration: none;
}

main {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.journal-hero,
.post-header {
  max-width: 820px;
  padding: 3.5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: #f7fafc;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

h2 {
  margin-bottom: 1rem;
  color: #f7fafc;
  font-size: 1.65rem;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

p,
li {
  color: #c7d0d9;
  font-size: 1.02rem;
  line-height: 1.72;
}

.journal-hero p,
.post-header p {
  font-size: 1.12rem;
}

.post-list,
.principles,
.post section {
  border-top: 1px solid #29323c;
  padding: 2rem 0;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.post-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem 0;
}

.post-row h3 a {
  text-decoration-color: #5d6b78;
  text-underline-offset: 0.18em;
}

.post-category {
  margin-bottom: 0.35rem;
  color: #d9f36f;
  font-size: 0.82rem;
  font-weight: 700;
}

.post {
  max-width: 820px;
}

.conversation-log {
  display: grid;
  gap: 0.9rem;
}

blockquote {
  margin: 0;
  border-left: 3px solid #d9f36f;
  padding: 0.85rem 1rem;
  color: #d7e0e8;
  background: #171c22;
  line-height: 1.7;
}

.post-footer {
  border-top: 1px solid #29323c;
  padding-top: 2rem;
}

.post-footer a {
  color: #d9f36f;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .post-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}
