.history-feature {
  padding: 88px 0 96px;
  background: #f5f5f7;
  color: var(--ink, #1b1d20);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.history-copy {
  min-width: 0;
  text-align: left;
}

.history-platform {
  margin: 0 0 18px;
  color: #62676c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.history-copy h2 {
  max-width: 8em;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.history-description {
  max-width: 24em;
  margin: 20px 0 0;
  color: #62676c;
  font-size: 18px;
  line-height: 1.8;
  text-wrap: pretty;
}

.history-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.history-view {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.history-screen {
  max-width: 264px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid #d6dae0;
  border-radius: 30px;
  background: #fff;
}

.history-screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  object-fit: contain;
  border-radius: 24px;
}

.history-view figcaption {
  margin-top: 20px;
  color: var(--ink, #1b1d20);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .history-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 991.98px) {
  .history-copy h2 {
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  .history-description {
    max-width: 36em;
  }
}

@media (max-width: 991.98px) {
  .history-views {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    gap: 36px;
  }
}

@media (max-width: 767.98px) {
  .history-feature {
    padding: 64px 0 68px;
  }
}

@media (max-width: 767.98px) {
  .history-platform {
    margin-bottom: 14px;
    font-size: 13px;
  }
}

@media (max-width: 767.98px) {
  .history-copy h2 {
    font-size: clamp(27px, 6.8vw, 34px);
  }
}

@media (max-width: 767.98px) {
  .history-description {
    max-width: 22em;
    margin-top: 18px;
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .history-views {
    display: flex;
    gap: 22px;
    max-width: none;
    overflow-x: auto;
    padding: 0 0 16px;
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    scrollbar-width: none;
  }
}

@media (max-width: 767.98px) {
  .history-views::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .history-view {
    flex: 0 0 min(78vw, 264px);
    scroll-snap-align: start;
  }
}

@media (max-width: 767.98px) {
  .history-view figcaption {
    margin-top: 18px;
  }
}

@media (max-width: 767.98px) {
  .history-copy h2 {
    max-width: 10em;
  }
}

@media (prefers-contrast: more) {
  .history-platform, .history-description {
    color: #333;
  }
}

