.first-step {
  position: relative;
  isolation: isolate;
  margin-inline: -8px;
  background: var(--color-white) url("first-step-tatami-light.jpg") center bottom / 100% auto no-repeat;
  color: var(--color-navy);
  font-family: system-ui, sans-serif;
}

.first-step::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  aspect-ratio: 3;
  background: url("first-step-kimono.jpg") center top / 100% auto no-repeat;
  opacity: 0.43;
  pointer-events: none;
  content: "";
}

.first-step__inner {
  box-sizing: border-box;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) clamp(12px, 4vw, 40px);
}

.first-step h2 {
  max-width: 24ch;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.first-step__subtitle,
.first-step__note {
  max-width: 64ch;
  margin: 16px auto 0;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.first-step__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.first-step__timeline li {
  position: relative;
  padding-top: 16px;
  border-top: 2px solid var(--color-border-paper);
}

.first-step__timeline li::before {
  position: absolute;
  inset: -6px auto auto 0;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-red);
  content: "";
}

.first-step__timeline h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  line-height: 1.2;
}

.first-step__timeline h3 span {
  color: var(--color-red);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 850;
  line-height: 1;
}

.first-step__timeline p {
  margin: 10px 0 0;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.first-step__action {
  margin-top: clamp(32px, 5vw, 56px);
  text-align: center;
}

.first-step__note {
  margin: 0 auto 20px;
}

.first-step__action .signup-callout {
  text-wrap: balance;
}

.first-step__action a {
  display: inline-block;
  margin-top: 14px;
  border-radius: 8px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.first-step__action a:hover {
  background: var(--color-red-deep);
}

.first-step__action a:focus-visible {
  outline: 2px solid var(--color-red-deep);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .first-step__inner {
    padding-block-start: clamp(84px, 17vw, 170px);
  }
}

@media (max-width: 860px) {
  .first-step__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .first-step {
    --first-step-art-height: calc(18vw + 16px);
  }

  .first-step::before {
    height: var(--first-step-art-height);
    aspect-ratio: auto;
    background-size: 90% auto;
    mask-image: linear-gradient(to right, transparent 5%, #000 8% 92%, transparent 95%);
    opacity: 0.34;
  }

  .first-step__inner {
    padding-block-start: var(--first-step-art-height);
  }
}

@media (max-width: 480px) {
  .first-step__timeline {
    grid-template-columns: minmax(0, 1fr);
  }
}
