:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #111111;
  --muted: #666666;
  --border: #dddddd;
  --panel: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  transition: opacity 800ms ease, visibility 800ms ease;
}

#intro img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 72px;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.25rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--foreground);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--foreground);
  color: var(--background);
}

.button.secondary {
  background: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
}

.cards h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .home {
    width: min(100% - 28px, 1120px);
    padding-top: 72px;
  }

  .hero {
    min-height: 68vh;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #intro {
    display: none;
  }
}
