.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

.hero__title,
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #121111;
}

.hero__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 16px 16px 16px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(22, 28, 40, 0.04);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #1c1f26;
}

.hero__points li:last-child {
  grid-column: 1;
}

.hero__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.hero__icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 16px 28px;
  background: #15171c;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: #000;
}

.hero__visual {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  aspect-ratio: 559 / 684;
}

.hero__kiosk,
.hero__card {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}

.hero__kiosk {
  top: 0;
  left: 11.09%;
  width: 88.73%;
}

.hero__card--latte {
  top: 6.87%;
  left: 72.63%;
  z-index: 2;
  width: 27.19%;
}

.hero__card--matcha {
  top: 51.02%;
  left: 0.36%;
  z-index: 2;
  width: 34.35%;
}

.site-header__bar,
.hero h1,
.hero__points li,
.hero__cta,
.hero__kiosk,
.hero__card {
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.site-header__bar,
.hero h1,
.hero__points li,
.hero__cta,
.hero__kiosk {
  animation-name: rise-in;
}

.site-header__bar {
  animation-delay: 0.02s;
}

.hero h1 {
  animation-delay: 0.1s;
}

.hero__points li:nth-child(1) { animation-delay: 0.18s; }
.hero__points li:nth-child(2) { animation-delay: 0.24s; }
.hero__points li:nth-child(3) { animation-delay: 0.3s; }
.hero__points li:nth-child(4) { animation-delay: 0.36s; }
.hero__points li:nth-child(5) { animation-delay: 0.42s; }

.hero__cta {
  animation-delay: 0.5s;
}

.hero__kiosk {
  animation-name: device-in;
  animation-duration: 0.95s;
  animation-delay: 0.16s;
}

.hero__card--latte {
  animation-name: card-in-right;
  animation-delay: 0.48s;
}

.hero__card--matcha {
  animation-name: card-in-left;
  animation-delay: 0.6s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes device-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-in-right {
  from {
    opacity: 0;
    transform: translate(16px, 12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-in-left {
  from {
    opacity: 0;
    transform: translate(-16px, 14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 12px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__points {
    grid-template-columns: 1fr;
  }

  .hero__points li:last-child {
    grid-column: auto;
  }

  .hero__cta {
    width: 100%;
  }

  .hero__visual {
    width: min(100%, 420px);
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__bar,
  .hero h1,
  .hero__points li,
  .hero__cta,
  .hero__kiosk,
  .hero__card {
    animation: none;
  }
}
