@import url('https://fonts.googleapis.com/css2?family=Futura:wght@400;600&display=swap');

:root {
  --color-bg: #f8f8f8;
  --color-text: #222222;
  --color-muted-text: #999999;
  --color-grid: #e0e0e0;
  --color-accent-red: #ff2d55;
  --color-accent-yellow: #ffcc00;
  --color-accent-cyan: #00c7b1;
  --color-header: #ff2d55;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Futura', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  font-family: 'Futura', sans-serif;
  background-color: var(--color-header);
  color: white;
  text-align: center;
  padding: 0.5rem 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 500;
}

.text-muted {
  color: var(--color-muted-text)
}

.text-small {
  font-size: 0.6rem;
}

.logo a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.tagline {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: #ffe0e0;
}

main {
  background-color: white;
  padding: 3rem 0;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro p {
  margin-bottom: 1.5rem;
  color: var(--color-muted-text);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent-yellow);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

footer {
  background-color: #eee;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted-text);
  padding: 1.5rem 0;
}

/* Grid utility classes */
.grid {
  display: grid;
  gap: 1.5rem;
}

/* 2, 3, 4 column layouts */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Custom width columns */
.grid-cols-custom {
  grid-template-columns: 1fr 2fr; /* Left narrow, right wide */
}

.grid-cols-66-33 {
  grid-template-columns: 66% 33%;
}

.grid-cols-33-66 {
  grid-template-columns: 33% 66%;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-cols-custom,
  .grid-cols-33-66 {
    grid-template-columns: 1fr;
  },
  .grid-cols-66-33 {
    grid-template-columns: 1fr;
  }
}

/* Grid item styling for visibility */
.grid-box {
  background-color: #f0f0f0;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}