/* -------------------------------------------------------- */
/* 🔹 Home Section                                          */
/* -------------------------------------------------------- */
/* Shared pieces of the start page sections — left-aligned   */
/* title and lead text, the bezel phone and the Plus tag     */

.home-section__title {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  text-wrap: balance;
  margin-bottom: var(--space-m);
}

.home-section__text {
  max-width: 620px;
  font-size: var(--text-title-large);
  line-height: 1.6;
  color: var(--color-on-surface-variant);
  margin-bottom: var(--space-xxxl);
}

/* Bezel composite from optimize-images.js — the frame is in the image */
.home-section__phone {
  flex-shrink: 0;
  width: 260px;
  height: auto;
}

/* Plus tag after a feature title — glued to the title's last word
   (_includes/components/plus_title.njk) */
.plus-title__end {
  white-space: nowrap;
}

.plus-tag {
  display: inline-block;
  margin-left: var(--space-s);
  padding: 2px var(--space-s);
  border-radius: var(--radius-pill);
  background-color: var(--color-selected-bg);
  color: var(--color-primary);
  font-size: var(--text-body-small);
  font-weight: var(--text-title-weight);
  vertical-align: 1px;
}

/* Centered on the large section titles' letters */
.home-section__title .plus-tag {
  vertical-align: 0.4em;
}


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

@media (max-width: 899px) {
  .home-section__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .home-section__text {
    font-size: var(--text-body-large);
    margin-bottom: var(--space-xl);
  }

  .home-section__phone {
    width: min(220px, 60vw);
  }
}
