/* -------------------------------------------------------- */
/* 🔹 Goals Section                                         */
/* -------------------------------------------------------- */
/* The stars screen beside the app's nine goals, each with   */
/* its icon. Mirrors achievements_screen.dart                */

.goals {
  padding-block: var(--landing-section-spacing);
}

.goals__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--website-section-spacing);
}

/* Bezel composite from optimize-images.js — the frame is in the image */
.goals__mockup img {
  width: 220px;
}

.goals__content {
  width: 100%;
}

.goals__list {
  display: grid;
  column-gap: var(--space-xxxl);
  margin-top: var(--space-xxl);
  list-style: none;
}

.goal {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  padding-block: var(--space-l);
  border-bottom: 1px solid var(--color-outline);
}

/* 24 px in primary — the unlocked look in the app */
.goal__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.goal__title {
  display: block;
  font-weight: 700;
}

.goal__text {
  display: block;
  font-size: var(--text-body-medium);
  line-height: var(--text-body-medium-height);
  color: var(--color-text-secondary);
}


/* -------------------------------------------------------- */
/* 🔹 Responsive                                            */
/* -------------------------------------------------------- */

@media (min-width: 600px) {
  .goals__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .goals__inner {
    flex-direction: row;
  }

  .goals__mockup img {
    width: 280px;
  }

  .goals__content {
    flex: 1;
    min-width: 0;
  }
}
