/* Landing page. Builds on the tokens in styles.css. */

.hero-land {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 62rem) {
  .hero-land { grid-template-columns: 1.15fr 1fr; }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 0.6em;
}
.hero-copy .lede {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: var(--ink-2);
  max-width: 34em;
}

/* The computed palette. Deliberately not a photograph: it is the product's
   own output, so it cannot drift out of sync with what the tool does. */
.hero-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.hero-swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--line);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-swatch { animation: swatch-in 500ms ease both; }
  .hero-swatch:nth-child(n)   { animation-delay: calc(var(--i, 0) * 40ms); }
  @keyframes swatch-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: none; }
  }
}

.band { padding: 1rem 1.25rem 2rem; }
.band .grid-3 { margin: 0; }

.band-quiet {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 4rem;
}
.band-quiet p { color: var(--ink-2); }
.band-quiet h2 { margin-bottom: 0.5em; }
