:root {
  color-scheme: dark;

  --bg: #0a0d12;
  --surface: #12161d;
  --slate: #3d4753;
  --black: #000000;
  --green: #4a8f62;
  --green-dim: rgba(74, 143, 98, 0.15);
  --navy: #5b82b8;
  --navy-dim: rgba(91, 130, 184, 0.15);
  --text: #f1f4f8;
  --text-muted: #8b96a5;

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  border-bottom: 1px solid var(--slate);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-muted);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 0.4rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #06170d;
}

.btn-secondary {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding-left: 0;
  padding-right: 0;
}

.link-arrow {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

/* Sections */
.section {
  padding: 1rem 0 5rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.section-sub {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

/* Simple entry cards (homepage) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--slate);
  border-radius: 0.6rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
}

.card-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 1rem;
}

.card-icon.blue {
  color: var(--navy);
}

.card-icon.green {
  color: var(--green);
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Post/listing cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 720px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--slate);
  border-radius: 0.6rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

a.post-card:hover {
  border-color: var(--green);
}

.post-card .thumb {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card .thumb.blue {
  background: var(--navy);
}

.post-card .thumb.green {
  background: var(--green);
}

.post-card .thumb svg {
  width: 2rem;
  height: 2rem;
  color: rgba(6, 10, 16, 0.75);
}

.post-card .body {
  padding: 1.25rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.badge.blue {
  background: var(--navy-dim);
  color: var(--navy);
}

.badge.green {
  background: var(--green-dim);
  color: var(--green);
}

.post-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.post-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--slate);
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}
