@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --ink: #171717;
  --muted: #4b4b4b;
  --blue: #009fe3;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
.page {
  width: min(100%, 1140px);
  margin: 0 auto;
}
.hero-panel {
  position: relative;
}
.hero-panel picture,
.hero-panel img {
  display: block;
  width: 100%;
}
.hero-panel img {
  height: auto;
}
.hero-copy {
  position: absolute;
  top: 50%;
  left: 3rem;
  width: 40%;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-50%);
}

main > .hero-panel:nth-of-type(4) .hero-copy {
  left: 55%;
}
.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 25px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}
.hero-copy p {
  max-width: 315px;
  margin: 0 0 22px;
  line-height: 1.45;
}
.hero-copy p + p {
  margin-top: auto;
  margin-bottom: 0;
}
.video-wrap {
  width: min(100% - 96px, 960px);
  margin: 54px auto 64px;
  aspect-ratio: 16 / 9;
  background: #111;
}
.video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.features {
  padding: 0 40px 70px;
}
.features h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}
.feature-card img {
  display: block;
  width: 100%;
  height: auto;
}
.feature-card h3 {
  margin: 12px 0 7px;
  font-size: 15px;
  line-height: 1.2;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }
  .hero-panel {
    background: #fff;
  }
  .hero-copy {
    position: static;
    width: 100%;
    height: auto;
    padding: 28px 25px 34px;
    transform: none;
    text-align: center;
  }
  .hero-copy h1,
  .hero-copy h2 {
    margin-bottom: 17px;
    font-size: 21px;
  }
  .hero-copy p {
    max-width: none;
    margin-bottom: 15px;
    line-height: 1.5;
  }
  .hero-copy p + p {
    margin-top: 0;
  }
  .video-wrap {
    width: calc(100% - 40px);
    margin: 25px auto 42px;
  }
  .features {
    padding: 0 20px 45px;
  }
  .features h2 {
    margin-bottom: 22px;
    font-size: 22px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-card h3 {
    margin-top: 10px;
    font-size: 17px;
  }
  .feature-card p {
    font-size: 13px;
  }
}
