.page {
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.container {
  width: 95%;
  max-width: 1024px;
  margin: 0 auto;
}

.post-shell {
  margin-bottom: 5rem;
}

.hero {
  padding: 2rem 0 3rem;
}

.eyebrow {
  color: rgb(148, 163, 184);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .title {
  color: rgb(229, 229, 229);
  font-size: 2.25rem;
  line-height: 1.05;
  font-weight: 700;
  margin-top: 0.75rem;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.rss {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.rss-input {
  width: 18rem;
  max-width: 38vw;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
}

.rss-input:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.rss-input:focus {
  outline: none;
  border-color: rgb(96, 165, 250);
}

.rss-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms, border-color 200ms, color 200ms;
}

.rss-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgb(226, 232, 240);
}

.timeline {
  --timeline-x: 0.5rem;
  position: relative;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-x);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.16) 1rem,
    rgba(255, 255, 255, 0.16) calc(100% - 1rem),
    transparent
  );
}

.entry {
  position: relative;
  padding: 0 0 3.5rem 2.25rem;
}

.entry:last-of-type {
  padding-bottom: 2rem;
}

.marker {
  position: absolute;
  left: calc(var(--timeline-x) - 0.3rem);
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgb(96, 165, 250);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.entry .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: rgb(100, 116, 139);
  font-size: 0.8125rem;
  font-weight: 500;
}

.entry-title {
  margin: 0.55rem 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.entry-title a {
  color: rgb(229, 229, 229);
  text-decoration: none;
  transition: color 200ms;
}

.entry-title a:hover {
  color: var(--color-link-hover);
}

.entry-content {
  margin-top: 1.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  color: rgb(226, 232, 240);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 200ms, border-color 200ms;
}

.read-more:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.read-more svg {
  transition: transform 200ms;
}

.read-more:hover svg {
  transform: translateX(0.2rem);
}

.empty {
  color: rgb(148, 163, 184);
  padding: 2rem 0 5rem;
}

.timeline-tail {
  position: relative;
  height: 2.5rem;
}

.timeline-plus {
  position: absolute;
  left: calc(var(--timeline-x) - 0.75rem);
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(100, 116, 139);
}

.article {
  position: relative;
  border: 1px solid var(--color-border);
  padding: 2rem 1.25rem 2.5rem;
}

.corner {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  color: rgb(255, 255, 255);
}

.corner-tl {
  top: -0.75rem;
  left: -0.75rem;
}

.corner-tr {
  top: -0.75rem;
  right: -0.75rem;
}

.corner-bl {
  bottom: -0.75rem;
  left: -0.75rem;
}

.corner-br {
  bottom: -0.75rem;
  right: -0.75rem;
}

.back-row {
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(148, 163, 184);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 200ms;
}

.back-link:hover {
  color: rgb(226, 232, 240);
}

.back-link svg {
  transition: transform 200ms;
}

.back-link:hover svg {
  transform: translateX(-0.2rem);
}

.article .header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.article .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgb(100, 116, 139);
  font-size: 0.8125rem;
  font-weight: 500;
}

.article .title {
  color: var(--color-text-primary);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
  margin-top: 1rem;
}

.article .content {
  margin-top: 2rem;
}

.bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.prose {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.prose p {
  margin: 0 0 1.5rem;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: rgb(226, 232, 240);
  line-height: 1.25;
  font-weight: 600;
}

.prose h1 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.85rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.65rem;
}

.prose h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
}

.prose a {
  color: var(--color-link);
  text-decoration: underline;
  transition: color 200ms;
}

.prose a:hover {
  color: var(--color-link-hover);
}

.prose strong {
  color: rgb(226, 232, 240);
  font-weight: 600;
}

.prose em {
  color: rgb(203, 213, 225);
}

.prose ul,
.prose ol {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
}

.prose li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.prose blockquote {
  margin: 0 0 1.5rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid rgb(55, 65, 81);
  color: rgb(156, 163, 175);
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.prose img,
.prose video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: var(--radius-lg);
}

.prose video {
  width: 100%;
}

.prose code {
  background: rgb(30, 41, 59);
  color: rgb(226, 232, 240);
  border-radius: 0.25rem;
  padding: 0.15rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
}

.prose pre {
  margin: 0 0 1.5rem;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgb(15, 23, 42);
}

.prose pre code {
  display: block;
  padding: 0;
  background: transparent;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.prose table {
  display: block;
  width: 100%;
  margin: 0 0 1.5rem;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.prose th {
  color: rgb(226, 232, 240);
  background: rgba(255, 255, 255, 0.03);
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

@media (max-width: 639px) {
  .rss-input {
    display: none;
  }
}

@media (min-width: 640px) {
  .header-container {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero .title {
    font-size: 3rem;
  }

  .timeline {
    --timeline-x: 0.75rem;
  }

  .entry {
    padding-left: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .entry-title {
    font-size: 1.85rem;
  }

  .article {
    padding: 3rem 3rem 3.5rem;
  }

  .article .title {
    font-size: 3rem;
  }

  .article .content {
    margin-top: 2.5rem;
  }
}
