@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0b0b;
  --fg: #e7e7e7;
  --muted: #b3b3b3;
  --accent: #ffffff;
  --grid-gap: 16px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
}

/* Global links */
a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: #2a2a2a;
}
a:hover {
  text-decoration-color: #ffffff;
}
a:visited {
  color: var(--fg);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--grid-gap);
}

@media (min-width: 560px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 20px 0 12px;
  border-bottom: 1px solid #151515;
}
.brand {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.4rem);
}
.muted {
  color: var(--muted);
}
.nav {
  display: flex;
  gap: 16px;
}
.nav a {
  color: var(--fg);
  opacity: 0.8;
  font-weight: 600;
}
.nav a:hover {
  opacity: 1;
}
.nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}
