.demo-selector-hero {
  min-height: min(58vh, 42rem);
  display: grid;
  align-content: end;
  gap: 1.25rem;
}

.demo-selector-hero h1 {
  max-width: 13ch;
}

.demo-selector-hero .lead {
  max-width: 56rem;
}

.demo-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0;
}

.demo-option {
  min-height: 38rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.18));
}

.demo-option + .demo-option {
  border-left: 1px solid var(--line, rgba(255, 255, 255, 0.18));
}

.demo-option-heading,
.demo-enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
}

.demo-option-heading {
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-access { color: var(--muted, #98a1ad); }

.demo-option-body {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
}

.demo-option-body h2 {
  max-width: 10ch;
  margin: 0.6rem 0 1.5rem;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: 0.98;
}

.demo-option-body > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted, #a6acb5);
  line-height: 1.7;
}

.demo-facts {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.18));
}

.demo-facts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  color: var(--muted, #a6acb5);
  font-size: 0.83rem;
}

.demo-enter {
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  color: inherit;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.demo-enter:hover,
.demo-enter:focus-visible {
  background: #f2f2f0;
  color: #090909;
}

.demo-option--controlled .demo-number,
.demo-option--controlled .demo-access { color: #9bb0c8; }

@media (max-width: 760px) {
  .demo-selector-grid { grid-template-columns: 1fr; }
  .demo-option { min-height: 32rem; }
  .demo-option + .demo-option { border-left: 0; border-top: 0; }
}
