.page-demo {
  background: var(--c-black);
}

.demo-page {
  overflow: hidden;
}

.demo-hero {
  background: #242525;
  color: var(--c-white);
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4rem, 8vw, 7.5rem);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(400px, 2fr);
  gap: 1rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.demo-pitch {
  padding-top: 1rem;
}

.demo-pitch__eyebrow {
  margin: 0 0 .65rem;
  color: #b8b8b5;
  font-family: "inter-bold", sans-serif;
  font-size: .95rem;
  line-height: 1.2;
}

.demo-pitch__title {
  max-width: none;
  margin: 0;
  color: var(--c-white);
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .95;
  text-transform: uppercase;
}

.demo-pitch__title span {
  color: var(--c-jizo);
}

.demo-pitch__lead {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.55;
}

.demo-benefits {
  display: grid;
  gap: 1.55rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.demo-benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .9rem;
  align-items: start;
}

.demo-benefit__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 9px;
  background: #85861f;
  color: var(--c-jizo);
}

.demo-benefit__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.demo-benefit strong,
.demo-benefit > span:last-child > span {
  display: block;
}

.demo-benefit strong {
  margin: .05rem 0 .15rem;
  font-family: "inter-bold", sans-serif;
  font-size: .98rem;
  line-height: 1.3;
}

.demo-benefit > span:last-child > span {
  max-width: 58ch;
  color: rgba(255, 255, 255, .88);
  font-family: "inter", sans-serif;
  font-size: .93rem;
  line-height: 1.45;
}

.demo-card {
  width: calc(100% + clamp(2.5rem, 5vw, 4.25rem));
  margin-top: 1.8rem;
  transform: translateX(clamp(-4.25rem, -5vw, -2.5rem));
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 6px;
  background: #fbfbfb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .38);
  color: var(--c-black);
}

.demo-card__title {
  margin: 0;
  font-family: "inter-bold", sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.demo-card__lead {
  margin: .55rem 0 2rem;
  color: #3f4142;
  font-size: .95rem;
}

.demo-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
}

.demo-form__field--full,
.demo-form__privacy {
  grid-column: 1 / -1;
}

.demo-form__label {
  display: block;
  margin: 0 0 .4rem;
  color: #353637;
  font-family: "inter", sans-serif;
  font-size: .93rem;
}

.demo-form__input {
  width: 100%;
  min-height: 43px;
  padding: .55rem .7rem;
  border: 1px solid #b7b8b5;
  border-radius: 4px;
  background: #fbfbfb;
  color: var(--c-black);
  font: 1rem/1.2 "inter", sans-serif;
}

.demo-form__input:focus {
  border-color: #777912;
  box-shadow: 0 0 0 3px rgba(174, 176, 27, .2);
  outline: 0;
}

.demo-form__consent-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.demo-form__consent-group legend {
  margin: 0 0 1.1rem;
  color: #292a2b;
  font-family: "inter", sans-serif;
  font-size: .78rem;
  line-height: 1.5;
}

.demo-form__radios {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 280px;
}

.demo-form__choice,
.demo-form__checkbox {
  display: flex;
  align-items: flex-start;
  color: #292a2b;
  cursor: pointer;
  font-family: "inter", sans-serif;
  font-size: .78rem;
  line-height: 1.45;
}

.demo-form__choice {
  align-items: center;
  gap: .6rem;
}

.demo-form__choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #777912;
}

.demo-form__checkbox {
  gap: .65rem;
}

.demo-form__checkbox input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: .1rem 0 0;
  accent-color: #777912;
}

.demo-form__submit {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: .25rem;
  border: 0;
  border-radius: 3px;
  background: var(--c-jizo);
  color: var(--c-black);
  cursor: pointer;
  font-family: "inter-bold", sans-serif;
  font-size: 1.05rem;
  transition: filter .2s ease, transform .2s ease;
}

.demo-form__submit:hover {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.demo-form__privacy {
  margin: -.1rem .25rem 0;
  color: #5b5d5e;
  font-family: "inter", sans-serif;
  font-size: .72rem;
  line-height: 1.5;
}

.demo-form__privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-form .invalid-feedback,
.demo-form ul {
  margin: .35rem 0 0;
  padding: 0;
  color: #a51d28;
  font-family: "inter", sans-serif;
  font-size: .76rem;
  list-style: none;
}

.demo-logos {
  width: 100%;
  overflow: hidden;
  padding: 1.2rem 0;
  background: var(--c-white);
}

.demo-logos__track {
  display: flex;
  width: max-content;
  animation: demo-logo-scroll 24s linear infinite;
  will-change: transform;
}

.demo-logos__group {
  display: flex;
  width: 100vw;
  flex: 0 0 100vw;
  align-items: center;
  justify-content: space-around;
}

.demo-logos__item {
  display: grid;
  width: clamp(220px, 23vw, 250px);
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  padding: .35rem .5rem;
}

.demo-logos__item img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
}

.demo-logos__item:nth-child(2) img {
  width: 66px;
  height: 66px;
}

.demo-logos__item:nth-child(3) img,
.demo-logos__item:nth-child(4) img {
  width: 190px;
  height: 44px;
}

@keyframes demo-logo-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 991.98px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .demo-pitch {
    padding-top: 0;
  }

  .demo-pitch__title {
    max-width: 14ch;
  }

  .demo-card {
    max-width: 680px;
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .demo-logos__group {
    width: 920px;
    flex-basis: 920px;
  }
}

@media (max-width: 575.98px) {
  .demo-hero {
    padding-top: 2.5rem;
  }

  .demo-pitch__title {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .demo-card {
    padding: 1.25rem;
  }

  .demo-form__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .demo-form__field {
    grid-column: 1;
  }

  .demo-logos__group {
    width: 920px;
    flex-basis: 920px;
  }

  .demo-logos__item {
    width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-logos__track {
    width: 100%;
    animation: none;
  }

  .demo-logos__group {
    width: 100%;
    flex: 1 1 auto;
    flex-wrap: wrap;
  }

  .demo-logos__group[aria-hidden="true"] {
    display: none;
  }
}
