.demos-page { background: #0d0d0d; }

.demos-intro {
  width: min(1240px, calc(100% - 6rem));
  margin: 0 auto;
  padding: clamp(9rem, 14vw, 13rem) 0 clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--clr-border-subtle);
}

.demos-intro h1 {
  max-width: 1120px;
  margin: 0;
  color: var(--clr-white);
  font-family: var(--ff-display);
  font-size: clamp(3.4rem, 7.7vw, 8rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .86;
}

.demos-intro h1 span { color: var(--clr-accent); }

.demos-intro__foot {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 630px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.demos-intro__foot p {
  margin: 0;
  color: var(--clr-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.demos-intro__count {
  justify-self: end;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: .8rem;
  padding: .25rem 0 .2rem 1.15rem;
  border-left: 1px solid rgba(247, 208, 64, .42);
}

.demos-intro__count strong {
  color: var(--clr-accent);
  font-family: var(--ff-display);
  font-size: 3.25rem;
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .78;
}

.demos-intro__count span {
  color: #c7c7c3;
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.demo-showcase--library {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 0;
}

.concept-note {
  width: min(1240px, calc(100% - 6rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, .35fr) 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--clr-border-subtle);
}

.concept-note strong { color: #fff; font-family: var(--ff-display); }
.concept-note p { max-width: 760px; margin: 0; color: var(--clr-muted); font-size: .8rem; line-height: 1.7; }

.demos-cta {
  width: min(1240px, calc(100% - 6rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.demos-cta h2 {
  max-width: 980px;
  margin: 0 0 2.5rem;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
}

.demos-cta > a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 1.25rem;
  border: 1px solid var(--clr-accent);
  border-radius: 999px;
  color: var(--clr-accent);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.demos-cta > a:hover { background: var(--clr-accent); color: #080808; }

@media (max-width: 768px) {
  .demos-intro,
  .concept-note,
  .demos-cta { width: min(100% - 2.5rem, 1240px); }
  .demos-intro { padding-top: 7.5rem; }
  .demos-intro h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .demos-intro__foot { grid-template-columns: 1fr; gap: 1.5rem; }
  .demos-intro__count { justify-self: start; }
  .concept-note { grid-template-columns: 1fr; gap: .6rem; }
}
