.demo-bar {
  align-items: center;
  background: #102017;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px max(20px, calc((100% - 1180px) / 2));
}

.demo-bar p,
.demo-bar nav {
  align-items: center;
  display: flex;
  gap: 16px;
  margin: 0;
}

.demo-bar p span {
  color: #bdd0c3;
  font-size: 0.8125rem;
}

.demo-bar a {
  align-items: center;
  border: 1px solid #6f8576;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  text-decoration: none;
}

.demo-bar a:hover,
.demo-bar a:focus-visible {
  background: #26392d;
}

.demo-bar .demo-bar__primary {
  background: #f4c95d;
  border-color: #f4c95d;
  color: #102017;
}

.demo-bar .demo-bar__primary:hover,
.demo-bar .demo-bar__primary:focus-visible {
  background: #ffe18d;
}

.demo-offer {
  align-items: end;
  background: #eef5ef;
  border: 1px solid #cbdccf;
  border-radius: 24px;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.8fr);
  margin: 80px auto;
  max-width: 1180px;
  padding: clamp(28px, 5vw, 64px);
}

.demo-offer h2 {
  margin: 8px 0 18px;
  max-width: 760px;
}

.demo-offer .eyebrow {
  color: #166534;
}

.demo-offer p {
  margin: 0;
  max-width: 720px;
}

.demo-offer__actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-offer__link {
  color: #164d2b;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 0;
}

.demo-offer small {
  color: #4d5f53;
  line-height: 1.5;
}

.demo-updates .eyebrow {
  color: #166534;
}

@media (max-width: 760px) {
  .demo-bar,
  .demo-bar nav {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-bar {
    gap: 10px;
    padding-block: 14px;
  }

  .demo-bar p {
    justify-content: space-between;
  }

  .demo-bar nav {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .demo-offer {
    align-items: start;
    border-radius: 0;
    gap: 28px;
    grid-template-columns: 1fr;
    margin: 56px 0 0;
  }
}

@media (max-width: 390px) {
  .demo-bar p span {
    display: none;
  }

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