/*
 * Page composition for the home page. Layout only: everything visual comes
 * from tokens.css and components.css. No raw colors here (stylelint enforces).
 */

/* ----- Hero ----------------------------------------------------------- */

.hero {
  padding-top: var(--hero-top);
  padding-bottom: var(--hero-bottom);
  background: var(--gradient-hero);
}

.hero .kw-eyebrow {
  margin-bottom: 1.875rem; /* 30 */
}

.hero__lead {
  margin-bottom: var(--space-1);
}

.hero__aside {
  margin-bottom: 2.75rem; /* 44 */
}

.hero__intro {
  max-width: var(--measure);
  margin-bottom: var(--space-8);
  font-size: var(--text-body);
}

@media (max-width: 720px) {
  .hero .kw-eyebrow {
    margin-bottom: 1.125rem;
    letter-spacing: 0.14em;
  }

  .hero .kw-display {
    margin-bottom: var(--space-5);
  }

  .hero__aside {
    margin-bottom: 1.625rem;
  }

  .hero__intro {
    margin-bottom: 1.75rem;
    font-size: var(--text-body-sm);
    line-height: 1.65;
  }
}

/* ----- About ---------------------------------------------------------- */

.about {
  max-width: var(--container-media);
  margin-inline: auto;
}

.about .kw-h2 {
  margin-bottom: 1.875rem;
}

.about .kw-italic-brand {
  margin: 0 0 var(--space-8);
}

@media (max-width: 720px) {
  .about .kw-h2 {
    margin-bottom: var(--space-5);
  }

  .about .kw-italic-brand {
    margin-bottom: 1.75rem;
  }
}

/* ----- Too Much Saved Me (premise) ------------------------------------ */

.premise .kw-h3 {
  max-width: 47.5rem; /* 760 */
  margin-bottom: var(--space-10);
  color: var(--color-on-dark);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .premise .kw-h3 {
    margin-bottom: var(--space-7);
  }
}

/* ----- Watch ---------------------------------------------------------- */

.watch {
  max-width: var(--container);
  margin-inline: auto;
}

.watch .kw-h3 {
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.watch .kw-body {
  max-width: 37.5rem; /* 600 */
  margin-bottom: 2.25rem;
}

.watch__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.375rem; /* 22 */
  width: 100%;
  max-width: var(--container-media);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 720px) {
  .watch .kw-body {
    margin-bottom: 1.625rem;
  }

  .watch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .watch__grid > :last-child {
    grid-column: span 2;
  }

  .watch__grid > :last-child .kw-card-media {
    aspect-ratio: 8 / 5;
  }
}

/* ----- Come with me (contact / subscribe) ----------------------------- */

.contact .kw-h3 {
  margin-bottom: var(--space-4);
}

.contact .kw-body {
  max-width: var(--measure-narrow);
  margin-bottom: 1.875rem;
  font-size: var(--text-body-sm);
  line-height: var(--leading-normal);
}

@media (max-width: 720px) {
  .contact .kw-body {
    margin-bottom: var(--space-6);
  }
}
