/* Demo page: three cards in the site's own palette (#111111 ground, #3d8e30 green, #1b2c18 band) */
.demo-main {
  padding-bottom: 90px;
}

.demo__lead {
  max-width: 1100px;
  margin: 0 auto 36px;
  padding: 0 3%;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #e5e5e5;
}

.demo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 92vw;
  max-width: 1500px;
  margin: 0 auto;
}

.demo__card {
  display: flex;
  flex-direction: column;
  background: #1b2c18;
  border: 1px solid #1b2c18;
  border-radius: 20px;
  overflow: hidden;
  color: #ffffff;
  transition: 0.2s;
}

.demo__card:hover {
  border-color: #3d8e30;
  box-shadow: rgba(61, 142, 48, 0.35) 0 10px 30px;
  transform: translateY(-3px);
}

.demo__still {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: top;
  background: #111111;
  border-bottom: 1px solid #2a2a2a;
}

.demo__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 20px 24px 24px;
}

.demo__kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3d8e30;
}

.demo__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

.demo__desc {
  flex: 1;
  font-size: 16px;
  line-height: 24px;
  color: #d9d9d9;
}

.demo__go {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #3d8e30;
  transition: 0.2s;
}

.demo__card:hover .demo__go {
  color: #ffffff;
}

.demo__note {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 3%;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: #5b5b5b;
}

@media screen and (min-width: 1800px) {
  .demo__lead { font-size: 24px; line-height: 32px; }
  .demo__title { font-size: 26px; line-height: 32px; }
  .demo__desc { font-size: 18px; line-height: 27px; }
}

@media screen and (max-width: 1200px) {
  .demo__grid { grid-template-columns: 1fr; max-width: 760px; }
}

@media screen and (max-width: 900px) {
  .demo-main { max-width: 100vw; overflow-x: hidden; padding-bottom: 120px; }
  .demo__lead { font-size: 16px; line-height: 22px; margin-bottom: 20px; }
  .demo__grid { width: 90vw; gap: 20px; }
  .demo__body { padding: 16px 18px 20px; }
  .demo__title { font-size: 18px; line-height: 24px; }
  .demo__desc { font-size: 15px; line-height: 22px; }
}
