.qe-games-page {
  background: #f7f6f0;
}

.qe-games {
  --games-ink: #19262c;
  --games-muted: #5b6b70;
  --games-orange: #bd4d16;
  color: var(--games-ink);
}

.qe-games-width {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.qe-games-hero {
  padding: 68px 0 48px;
}

.qe-games-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #5b676b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.4px;
  line-height: 1.5;
  text-transform: uppercase;
}

.qe-games-flag {
  display: inline-block;
  flex: 0 0 24px;
  width: 24px;
  height: 20px;
  background: conic-gradient(
      #19262c 25%,
      transparent 0 50%,
      #19262c 0 75%,
      transparent 0
    )
    0 0 / 10px 10px;
  transform: skewY(-8deg);
}

.qe-games-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.93fr;
  align-items: center;
  gap: 60px;
}

.qe-games h1 {
  margin: 0;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -3.6px;
}

.qe-games h1 span {
  color: var(--games-orange);
}

.qe-games-intro > p:first-child {
  margin: 0 0 26px;
  color: var(--games-muted);
  font-size: 17px;
  line-height: 1.75;
}

.qe-games-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.qe-games-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--games-ink);
  border-radius: 10px;
  background: var(--games-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
}

.qe-games-button:hover {
  background: #31464e;
  color: #fff;
}

.qe-games-demo-link,
.qe-games-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--games-ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: #b3bcb8;
  text-underline-offset: 5px;
}

.qe-games-demo-link:hover,
.qe-games-text-link:hover {
  color: var(--games-orange);
  text-decoration: underline;
}

.qe-games-intro .qe-games-note {
  margin: 16px 0 0;
  color: #6c797c;
  font-size: 11px;
  line-height: 1.6;
}

.qe-games-preview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 14px;
}

.qe-games-preview-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.3px;
}

.qe-games-preview-heading > span {
  color: var(--games-muted);
  font-size: 11px;
}

.qe-games-frame {
  overflow: hidden;
  border: 1px solid #d4dcd5;
  border-radius: 20px;
  background: #19262c;
  box-shadow: 0 18px 45px #19262c10;
}

.qe-games-frame iframe {
  display: block;
  width: 100%;
  height: 680px;
  border: 0;
  background: #19262c;
}

.qe-games-setup {
  padding-block: 74px 72px;
}

.qe-games-section-heading .qe-games-eyebrow {
  margin-bottom: 12px;
}

.qe-games-section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.qe-games-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin: 34px 0 40px;
  padding: 0;
  list-style: none;
}

.qe-games-steps li {
  padding-top: 20px;
  border-top: 1px solid #ccd5cc;
}

.qe-games-step-number {
  color: var(--games-orange);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.qe-games-steps h3,
.qe-games-offer h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.qe-games-steps p,
.qe-games-offer p {
  margin: 0;
  color: var(--games-muted);
  font-size: 13px;
  line-height: 1.8;
}

.qe-games-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 50px;
  padding: 25px 30px;
  border-left: 3px solid #e6b852;
  background: #eeeede;
}

.qe-games-offer > div {
  max-width: 625px;
}

.qe-games-offer h3 {
  margin-top: 0;
  font-size: 17px;
}

.qe-games-offer .qe-games-text-link {
  flex-shrink: 0;
}

@media (max-width: 850px) {
  .qe-games-hero-grid {
    gap: 30px;
  }

  .qe-games h1 {
    font-size: 54px;
    letter-spacing: -2.7px;
  }

  .qe-games-intro > p:first-child {
    font-size: 15px;
  }

  .qe-games-steps {
    gap: 24px;
  }

  .qe-games-offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .qe-games-width {
    width: calc(100% - 36px);
  }

  .qe-games-hero {
    padding: 36px 0 32px;
  }

  .qe-games-eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .qe-games-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .qe-games h1 {
    font-size: clamp(42px, 12vw, 64px);
    letter-spacing: -2px;
  }

  .qe-games-intro > p:first-child {
    margin-bottom: 20px;
  }

  .qe-games-actions {
    gap: 10px 18px;
  }

  .qe-games-button {
    font-size: 12px;
    padding-inline: 16px;
  }

  .qe-games-preview-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .qe-games-frame {
    border-radius: 14px;
  }

  .qe-games-frame iframe {
    height: 640px;
  }

  .qe-games-setup {
    padding-block: 46px;
  }

  .qe-games-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin: 26px 0 30px;
  }

  .qe-games-steps h3 {
    margin-top: 8px;
  }

  .qe-games-offer {
    padding: 20px;
  }
}
