/* Homepage-only refinements. Shared pages retain their existing design. */
.homepage .hero {
  box-shadow: none;
}

.homepage .hero::after {
  background: none;
}

.homepage .hero-title {
  line-height: 1.05;
}

.homepage .info-grid,
.homepage .info-grid > .card,
.homepage .about-cards > .card {
  min-width: 0;
}

.homepage .info-grid > .card,
.homepage .about-cards > .card {
  overflow-wrap: anywhere;
}

.homepage .map-review-link {
  white-space: normal;
  line-height: 1.5;
}

.homepage .week-dots {
  flex-wrap: wrap;
  overflow: visible;
  gap: 8px;
  margin-bottom: 24px;
}

.homepage .week-dots::-webkit-scrollbar {
  display: none;
}

.homepage .week-dot {
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 44px;
  min-width: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-transform: none;
}

.homepage .week-dot:focus-visible,
.homepage .overview-item:focus-visible,
.homepage .callout-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.homepage .week-slides {
  transition: none;
}

.homepage .overview-column-title {
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.homepage .overview-item-row {
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid oklch(96% 0.008 92 / 0.16);
}

.homepage .overview-item,
.homepage .overview-cta,
.homepage .callout-link {
  min-height: 44px;
  align-content: center;
}

.homepage .overview-cta {
  align-self: center;
  min-width: 52px;
  font-size: 13px;
  border-radius: 8px;
  border-color: oklch(96% 0.008 92 / 0.35);
  box-shadow: none;
}

.homepage .overview-day {
  text-transform: none;
  letter-spacing: 0;
}

.homepage .hero-proof-list span {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  min-height: 24px;
  border: 0;
  background: none;
}

.homepage .hero-proof-list {
  column-gap: 16px;
}

.homepage .main > .section > p,
.homepage #faq-section details p {
  max-width: 70ch;
  line-height: 1.7;
}

.homepage .main > .section > p + p {
  margin-top: 16px;
}

.homepage #faq-section summary {
  min-height: 44px;
  align-content: center;
}

@media (max-width: 600px) {
  .homepage .week-dots {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .homepage .hero {
    min-height: 0;
    padding: 24px 18px;
    background: oklch(15% 0.018 160);
  }

  /* Keep the existing athlete image in its own band, clear of session text. */
  .homepage .hero::before {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 120px;
    margin-top: 20px;
    background: var(--hero-image) center 35% / cover no-repeat;
    border-radius: 10px;
    filter: none;
    opacity: 1;
  }

  .homepage .hero.is-coaching-hero {
    background: oklch(15% 0.018 160);
  }

  .homepage .hero.is-coaching-hero::before {
    content: "";
    display: block;
    background-image: url("sej-coach.webp");
  }

  .homepage .hero-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .homepage .week-overview {
    gap: 24px;
  }

  .homepage .mobile-actions {
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--bg);
    backdrop-filter: none;
  }

  .homepage .mobile-actions-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .homepage .mobile-actions-link.primary {
    flex-grow: 1.5;
  }

  .homepage .page {
    padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .homepage .burger,
  .homepage .lang-button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage .week-slide {
    animation: none;
  }
  .homepage .week-dot {
    transition: none;
  }
}
