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

:root {
  --bg: #f9f9f7;
  --fg: #111;
  --muted: #888;
  --border: #e0e0dc;
  --accent: #111;
  --card-bg: #fff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

nav a:hover {
  color: var(--fg);
}

/* ── Main ── */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2.5rem 6rem;
  width: 100%;
}

/* ── Hero ── */
.hero {
  margin-bottom: 5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36ch;
}

/* ── Grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Card ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.coming-soon {
  background: #f0f0ee;
  color: var(--muted);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  header {
    padding: 1.25rem 1.5rem;
  }

  nav {
    gap: 1.25rem;
  }

  main {
    padding: 3rem 1.5rem 5rem;
  }

  .hero {
    margin-bottom: 3rem;
  }

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