/* First three landing blocks: focused content and responsive rhythm. */

.theme-apple .hero-alt__inner {
  height: 680px;
}

.theme-apple .hero-alt__copy {
  padding-left: 76px;
}

.theme-apple .hero-alt__strapline {
  max-width: 470px;
  text-wrap: balance;
}

.theme-apple .hero-alt__title--product {
  display: grid;
  width: fit-content;
  max-width: none;
  margin-top: 26px;
  margin-left: -0.04em;
  gap: 0.08em;
  font-size: clamp(58px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.theme-apple .hero-alt__title--product span {
  display: block;
  white-space: nowrap;
}

.hero-alt__subtitle {
  display: grid;
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--apple-muted);
  font-size: 19px;
  line-height: 27px;
  text-wrap: balance;
}

.hero-alt__subtitle span {
  display: block;
  white-space: nowrap;
}

/* Keep the timer visually inside the same quiet, grey-white surface as the hero. */
.theme-apple .countdown,
.theme-apple .countdown__inner {
  background: var(--apple-surface);
}

.theme-apple .countdown__title,
.theme-apple .countdown__digit,
.theme-apple .countdown__label {
  color: var(--apple-accent);
}

.theme-apple .countdown__unit + .countdown__unit,
.theme-apple .countdown__unit:nth-child(odd) {
  border-color: rgba(185, 14, 43, 0.18);
}

.theme-apple .hero-alt__stats {
  width: min(520px, 100%);
  gap: 24px;
  margin-top: 34px;
}

.theme-apple .hero-alt-stat {
  min-width: 0;
  flex: 1 1 0;
}

.theme-apple .hero-alt-stat span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 15px;
}

.theme-apple .hero-alt-stat strong {
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 27px;
}

.hero-alt__primary-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--apple-accent-foreground);
  background: var(--apple-accent);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.hero-alt__primary-action {
  width: 238px;
  margin-top: 30px;
}

.hero-alt__primary-action:hover {
  opacity: 0.82;
}

.hero-alt__primary-action:active {
  transform: scale(0.98);
}

.hero-alt__primary-action:focus-visible {
  outline: 3px solid var(--apple-accent);
  outline-offset: 4px;
}

.countdown__mobile-action {
  display: none;
}

/* Product argument cards */
.theme-apple .offer {
  height: auto;
  overflow: visible;
  padding-block: 52px;
}

.theme-apple .offer__grid {
  align-items: stretch;
}

.theme-apple .offer__card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.theme-apple .offer__heading--small {
  max-width: 29ch;
  text-wrap: balance;
}

.theme-apple .offer__card--summary .offer__heading,
.theme-apple .offer__card--purchase .offer__heading {
  color: var(--apple-text);
}

.theme-apple .offer__card--intro .offer__copy + .offer__copy {
  margin-top: 16px;
}

.offer__component-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.offer__component-chips span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--apple-border);
  border-radius: 999px;
  color: var(--apple-accent-dark);
  background: var(--apple-accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
}

.offer__actives,
.offer__explanation,
.offer__benefits {
  margin: 0;
}

.offer__actives {
  margin-top: 32px;
  color: var(--apple-accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 2;
}

.offer__explanation {
  max-width: 29ch;
  margin-top: 22px;
  color: var(--apple-muted);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}

.offer__benefits {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  color: var(--apple-text);
  font-size: 14px;
  line-height: 20px;
  list-style: none;
}

.offer__benefits li {
  position: relative;
  padding-left: 17px;
}

.offer__benefits li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--apple-accent);
  content: "";
  transform: translateY(-50%);
}

.theme-apple .offer__button--details,
.theme-apple .offer__button--purchase {
  width: min(100%, 280px);
  min-height: 58px;
  justify-content: center;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
}

.theme-apple .offer__button--details {
  border: 1px solid var(--apple-border);
  color: var(--apple-accent-dark);
  background: var(--apple-accent-soft);
}

/* System steps */
.theme-apple .steps {
  padding-bottom: 72px;
}

.theme-apple .steps__intro {
  max-width: 760px;
  text-wrap: balance;
}

.theme-apple .step-card {
  display: flex;
  flex-direction: column;
}

.theme-apple .step-card__badge {
  max-width: calc(100% - 36px);
  padding-inline: 15px;
  white-space: nowrap;
}

.theme-apple .step-card__content {
  display: flex;
  min-height: 360px;
  flex: 1 1 auto;
  flex-direction: column;
}

.theme-apple .step-card__description {
  margin-top: 22px;
  line-height: 25px;
  text-wrap: pretty;
}

.theme-apple .step-card__chips {
  margin-top: auto;
  padding-top: 30px;
}

@media (max-width: 1180px) {
  .theme-apple .hero-alt__copy {
    padding-left: max(32px, 6vw);
  }

  .theme-apple .hero-alt__title--product {
    font-size: clamp(52px, 5.2vw, 62px);
  }
}

@media (max-width: 900px) {
  .theme-apple .hero-alt__inner {
    grid-template-rows: auto 450px;
    height: auto;
  }

  .theme-apple .hero-alt__copy {
    padding: 54px 32px 48px;
  }

  .theme-apple .hero-alt__title--product {
    max-width: none;
    font-size: clamp(46px, 7vw, 58px);
  }

  .theme-apple .hero-alt__visual {
    height: 450px;
  }

  .theme-apple .offer__card {
    min-height: 0;
  }

  .theme-apple .offer__card--purchase {
    min-height: 0;
  }

  .theme-apple .offer__button--details,
  .theme-apple .offer__button--purchase {
    margin-top: 28px;
  }

  .theme-apple .step-card__content {
    min-height: 0;
  }

  .theme-apple .step-card__chips {
    margin-top: 28px;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .theme-apple .hero-alt__inner {
    grid-template-rows: auto 420px;
  }

  .theme-apple .hero-alt__copy {
    align-items: stretch;
    padding: 44px 16px 20px;
    text-align: center;
  }

  .theme-apple .hero-alt__strapline {
    max-width: 340px;
    margin-inline: auto;
    font-size: 15px;
    line-height: 21px;
    white-space: normal;
  }

  .theme-apple .hero-alt__title--product {
    max-width: none;
    margin: 22px auto 0;
    font-size: clamp(31px, 9.8vw, 46px);
    letter-spacing: -0.035em;
    line-height: 0.94;
  }

  .hero-alt__subtitle {
    max-width: 340px;
    margin: 20px auto 0;
    font-size: clamp(15px, 4.35vw, 17px);
    line-height: 24px;
  }

  .theme-apple .hero-alt__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
    margin-top: 30px;
  }

  .theme-apple .hero-alt-stat {
    min-width: 0;
    justify-items: center;
  }

  .theme-apple .hero-alt-stat strong {
    font-size: clamp(18px, 5.4vw, 22px);
    line-height: 1.15;
    text-wrap: balance;
  }

  .hero-alt__primary-action {
    display: none;
  }

  .theme-apple .countdown__mobile-action {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    color: var(--apple-accent-foreground);
    background: var(--apple-accent);
    font-size: 15px;
    font-weight: 650;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
  }

  .theme-apple .countdown__mobile-action:active {
    transform: scale(0.98);
  }

  .theme-apple .countdown__mobile-action:focus-visible {
    outline: 3px solid var(--apple-accent);
    outline-offset: 3px;
  }

  .theme-apple .hero-alt__visual {
    height: 420px;
  }

  .theme-apple .offer__grid {
    gap: 12px;
  }

  .theme-apple .offer {
    padding-block: 40px;
  }

  .theme-apple .offer__card {
    padding: 26px;
  }

  .theme-apple .offer__heading--small {
    max-width: none;
    font-size: 24px;
  }

  .theme-apple .offer__copy,
  .offer__explanation {
    font-size: 16px;
    line-height: 24px;
  }

  .offer__component-chips {
    margin-top: 20px;
  }

  .offer__actives {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.9;
  }

  .theme-apple .offer__button--purchase {
    width: 100%;
  }

  .theme-apple .offer__button--details {
    width: 100%;
  }

  .theme-apple .step-card__badge {
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    height: 34px;
    padding-inline: 13px;
    font-size: 10px;
  }

  .theme-apple .step-card__content {
    padding: 24px;
  }

  .theme-apple .steps {
    padding-bottom: 48px;
  }
}

@media (max-width: 340px) {
  .theme-apple .hero-alt__title--product {
    font-size: 31px;
  }

  .theme-apple .hero-alt-stat strong {
    font-size: 17px;
  }

  .theme-apple .step-card__badge {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-alt__primary-action {
    transition: none;
  }
}
