:root {
  --background-rgb: 8, 8, 12;
  --background: rgb(var(--background-rgb));
  --foreground-rgb: 255, 255, 255;
  --foreground: rgb(var(--foreground-rgb));
  --brand-left-rgb: 84, 158, 226;
  --brand-left: rgb(var(--brand-left-rgb));
  --brand-right-rgb: 0, 180, 115;
  --brand-right: rgb(var(--brand-right-rgb));
  --brand-text-rgb: 50, 200, 130;
  --brand-text: rgb(var(--brand-text-rgb));
}

html, body {
  font-family: 'Urbanist', sans-serif;
  color: var(--foreground);
  background: var(--background);
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--foreground-rgb), .2) rgba(var(--foreground-rgb), .05);
}

.hero {
  background: linear-gradient(135deg, var(--brand-left), var(--brand-right));
  padding: 4rem 2rem;
  text-align: center;
  color: var(--foreground);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--brand-text);
}

.navbar {
  background: var(--background);
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(var(--foreground-rgb), 0.1);
}

.navbar a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

article {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(var(--foreground-rgb), 0.05);
  transition: transform 0.2s ease;
}

article:hover {
  transform: translateY(-4px);
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--brand-text);
}
