.notera-demos {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  scroll-margin-top: 96px;
  padding: clamp(32px, 5vw, 72px) 0;
}

.marketing-main .notera-demos {
  width: min(1180px, calc(100% - 48px));
}

.notera-demo-intro {
  margin-bottom: 24px;
}

.notera-demo-intro h2 {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.12;
}

.notera-demo-intro p {
  max-width: 64ch;
  margin: 0;
  color: #526176;
  line-height: 1.55;
}

.notera-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 2.5vw, 26px);
}

.notera-demo-card {
  overflow: hidden;
  border: 1px solid #d9deed;
  border-radius: 16px;
  background: #fff;
  color: #1d2838;
  box-shadow: 0 12px 38px rgba(35, 49, 90, 0.08);
}

.notera-demo-video,
.notera-demo-pdf {
  display: block;
  width: 100%;
  border: 0;
}

.notera-demo-video {
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #101927;
}

.notera-demo-body {
  padding: clamp(16px, 2.4vw, 26px);
}

.notera-demo-body h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.notera-demo-body p {
  margin: 0;
  color: #526176;
  line-height: 1.5;
}

.notera-demo-body .notera-demo-build {
  margin-top: 8px;
  font-size: 0.84rem;
}

.notera-demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 16px 0 12px;
}

.notera-demo-actions a {
  color: #263da6;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.notera-demo-body details {
  border-top: 1px solid #e3e7f1;
  padding-top: 12px;
}

.notera-demo-body summary {
  cursor: pointer;
  font-weight: 700;
}

.notera-demo-pdf {
  height: clamp(320px, 62vh, 680px);
  margin-top: 12px;
  background: #f0f2f8;
}

@media (max-width: 700px) {
  .notera-demos,
  .marketing-main .notera-demos {
    width: calc(100% - 40px);
  }

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