:root {
  --void: #06060a;
  --lime: #D6FF3F;
  --ink: #F2F2ED;
  --muted: #9A9A94;
  --line: #29292d;
  --surface: #0d0d12;
  --display: "Syne", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --serif: "Newsreader", serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.site-shell {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 22px 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 11px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}

.wordmark-mark {
  width: 13px;
  height: 30px;
  background: var(--lime);
}

.category-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 3px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  flex: 0 0 auto;
  color: var(--muted);
}

.category-nav a:hover,
.category-nav a[aria-current="page"] {
  color: var(--lime);
}

.hero {
  padding-block: 64px 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-heading h1,
.not-found h1 {
  margin: 0;
  max-width: 950px;
  font-size: clamp(2.75rem, 11vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero h1 span {
  color: var(--lime);
}

.hero-copy {
  max-width: 580px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.featured,
.latest {
  padding-bottom: 72px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading .eyebrow,
.section-heading h2 {
  flex: 0 0 auto;
  margin: 0;
}

.section-heading h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.section-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.featured-card {
  padding: 28px 0 8px;
  border-top: 4px solid var(--lime);
}

.featured-card h2 {
  max-width: 900px;
  margin: 24px 0 16px;
  font-size: clamp(2rem, 7.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.featured-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--lime);
}

.featured-card > p {
  max-width: 690px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid #55555a;
  border-radius: 999px;
  color: var(--ink);
}

.category-pill.is-urgent {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--void);
  font-weight: 600;
}

.read-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.read-link:hover,
.back-link:hover {
  color: var(--lime);
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.post-card {
  min-width: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.post-card h3 {
  margin: 20px 0 12px;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.post-card > p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.tag-list li::before {
  content: "#";
  color: var(--lime);
}
