.demo-choice {
  padding-top: 84px;
}

.demo-role-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-role-card {
  display: flex;
  min-width: 0;
  min-height: 650px;
  flex-direction: column;
  overflow: hidden;
  padding: 0 32px 32px;
  border: 1px solid #3a3045;
  border-top: 4px solid #3de4d1;
  border-radius: 8px;
  background: #111421;
  transition: border-color 180ms ease, transform 180ms ease;
}

.demo-role-card + .demo-role-card {
  border-top-color: #faeb92;
}

.demo-role-card:hover {
  border-color: #3de4d1;
  transform: translateY(-3px);
}

.demo-role-card + .demo-role-card:hover {
  border-color: #faeb92;
}

.demo-role-preview {
  margin: 0 -32px 26px;
  overflow: hidden;
  border-bottom: 1px solid #3a3045;
  aspect-ratio: 16 / 9;
  background: #080d0d;
}

.demo-role-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 260ms ease;
}

.demo-role-card:hover .demo-role-preview img {
  transform: scale(1.018);
}

.demo-role-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.demo-role-heading .eyebrow {
  margin: 0;
}

.demo-role-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(61, 228, 209, 0.42);
  border-radius: 8px;
  background: rgba(61, 228, 209, 0.08);
  color: #73f4e5;
  place-items: center;
}

.demo-role-card + .demo-role-card .demo-role-icon {
  border-color: rgba(250, 235, 146, 0.42);
  background: rgba(250, 235, 146, 0.08);
  color: #faeb92;
}

.demo-role-card h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.demo-role-card > p:not(.eyebrow) {
  min-height: 86px;
}

.demo-role-card ul {
  display: grid;
  margin: 8px 0 30px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.demo-role-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e8e0ef;
  font-weight: 600;
}

.demo-role-card li .icon {
  width: 18px;
  height: 18px;
  color: #7ce5a6;
}

.demo-role-card .button {
  width: 100%;
  margin-top: auto;
}

.demo-safety-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px 0 0;
  padding: 18px;
  border-inline-start: 3px solid #3de4d1;
  background: #101b26;
  color: #c7d5e4;
}

.demo-safety-note span {
  max-width: 900px;
}

.demo-content {
  border-top: 1px solid #2d2935;
}

@media (max-width: 760px) {
  .demo-choice {
    padding-top: 54px;
  }

  .demo-role-grid {
    grid-template-columns: 1fr;
  }

  .demo-role-card {
    min-height: 0;
    padding: 0 20px 24px;
  }

  .demo-role-preview {
    margin-inline: -20px;
  }

  .demo-role-card > p:not(.eyebrow) {
    min-height: 0;
  }
}
