.device-intro {
  align-items: center;
}

.devices-heading {
  max-width: 780px;
  margin: 76px auto 34px;
  text-align: center;
}

.devices-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compat-card {
  padding: 27px;
  border: 1px solid rgba(255, 199, 39, .18);
  border-radius: 18px;
  background: #202126;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.compat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 199, 39, .4);
  border-radius: 14px;
  background: rgba(255, 199, 39, .1);
  color: #ffc727;
}

.compat-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compat-card > span,
.device-cta span {
  color: #ffc727;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.compat-card h3 {
  margin: 7px 0 15px;
  font-size: 21px;
}

.compat-card ul {
  min-height: 190px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.compat-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #c1bdb4;
  font-size: 14px;
  line-height: 1.45;
}

.compat-card li:last-child {
  border-bottom: 0;
}

.compat-card a {
  color: #ffc727;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.requirements {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px 48px;
  margin-top: 70px;
  padding: 42px;
  border-radius: 22px;
  background: #2a2b30;
}

.requirements h2 {
  margin: 8px 0 14px;
}

.requirements p {
  color: #c7c3ba;
  line-height: 1.7;
}

.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-self: center;
}

.speed-grid div {
  padding: 22px 10px;
  border: 1px solid rgba(255, 199, 39, .22);
  border-radius: 14px;
  background: #202126;
  text-align: center;
}

.speed-grid strong {
  display: block;
  color: #ffc727;
  font-size: 28px;
}

.speed-grid span,
.speed-grid small {
  display: block;
  color: #c9c5bc;
}

.speed-grid small {
  margin-top: 5px;
  font-size: 11px;
}

.check-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  color: #d4d0c7;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  color: #ffc727;
  font-weight: 900;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.choice-grid article {
  padding: 26px;
  border-radius: 16px;
  background: #202126;
}

.choice-grid b {
  color: #ffc727;
  font-size: 12px;
  text-transform: uppercase;
}

.choice-grid h3 {
  margin: 8px 0 10px;
}

.choice-grid p {
  margin: 0;
  color: #bbb7ae;
  line-height: 1.65;
}

.device-faq {
  max-width: 900px;
  margin: 0 auto;
}

.device-faq details {
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: #202126;
}

.device-faq summary {
  padding: 19px 22px;
  color: #f6f2e9;
  font-weight: 800;
  cursor: pointer;
}

.device-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: #bbb7ae;
  line-height: 1.65;
}

.device-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 68px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 199, 39, .27);
  border-radius: 18px;
  background: #202126;
}

.device-cta h2 {
  margin: 7px 0 8px;
}

.device-cta p {
  max-width: 700px;
  margin: 0;
  color: #c3bfb6;
}

.device-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .compat-grid,
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .requirements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .devices-heading {
    margin-top: 54px;
  }

  .compat-grid,
  .choice-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .compat-card ul {
    min-height: auto;
  }

  .requirements {
    padding: 25px 19px;
  }

  .speed-grid {
    gap: 7px;
  }

  .speed-grid strong {
    font-size: 23px;
  }

  .device-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 27px 21px;
  }

  .device-cta .button {
    width: 100%;
    text-align: center;
  }
}
