:root {
  color-scheme: dark;
  --background: #202929;
  --background-deep: #111111;
  --text: #f5f5f5;
  --accent: #31c5c6;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

.showcase {
  background: var(--background);
}

.showcase--black {
  background: var(--background-deep);
}

.showcase__copy {
  padding: clamp(30px, 4vw, 58px) clamp(24px, 4.5vw, 72px) 28px;
}

.feature-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.showcase .eyebrow {
  display: none;
}

h1,
h2,
p {
  margin-top: 0;
}

.showcase h1,
.showcase h2 {
  max-width: 1100px;
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-transform: uppercase;
}

.showcase__description {
  max-width: 1450px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
}

.showcase__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-list {
  width: min(100% - 9vw, 1540px);
  margin-inline: auto;
  padding-block: 34px 72px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 128px);
  padding-block: 36px;
}

.feature__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  object-fit: cover;
}

.feature__copy {
  max-width: 630px;
}

.feature--reverse .feature__image {
  order: 2;
}

.feature--reverse .feature__copy {
  order: 1;
}

.feature__copy .feature-icon {
  margin-bottom: 22px;
}

.feature__copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  text-transform: uppercase;
}

.feature__copy p:last-child {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
}

@media (min-width: 1600px) {
  .showcase__copy {
    padding-left: max(72px, calc((100vw - 1540px) / 2));
    padding-right: max(72px, calc((100vw - 1540px) / 2));
  }
}

@media (max-width: 760px) {
  .showcase__copy {
    padding: 28px 22px 24px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 13px;
  }

  .showcase .eyebrow {
    display: block;
    margin-bottom: 9px;
    font-size: 0.68rem;
  }

  .showcase h1,
  .showcase h2 {
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .showcase__description {
    font-size: 0.98rem;
  }

  .showcase__image {
    min-height: 250px;
    max-height: 68vh;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .feature-list {
    width: min(100% - 40px, 560px);
    padding-block: 20px 46px;
  }

  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 24px;
  }

  .feature__image,
  .feature--reverse .feature__image {
    order: 0;
    border-radius: 16px;
  }

  .feature__copy,
  .feature--reverse .feature__copy {
    order: 1;
  }

  .feature__copy .feature-icon {
    margin-bottom: 16px;
  }

  .feature__copy h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .feature__copy p:last-child {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
