.benefits-section {
  padding: var(--section-gap) var(--gutter);
  display: flex;
  gap: var(--space-l);
  .benefit {
    flex: 1;
    min-height: 185px;
    padding: var(--space-l) var(--space-m);
    border-radius: var(--radius);
    background: white;
    text-align: center;
    .icon {
      width: 52px;
      height: 52px;
      background: #edf1e9;
      img {
        width: 28px;
      }
    }

    h2 {
      margin: var(--space-s) 0 var(--space-xs);
    }

    p {
      max-width: 220px;
      margin: auto;
      color: var(--color-dark-petrol-green);
    }
  }

  @media (max-width: 700px) {
    padding-inline: var(--space-m);
    flex-direction: column;
    .benefit {
      min-height: 170px;
    }
  }
}

.audience-section {
  padding: var(--section-gap) var(--gutter);
  h2 {
    margin-bottom: var(--space-m);
  }

  .cards {
    display: flex;
    gap: var(--space-l);
    article {
      flex: 1;
      overflow: hidden;
      border-radius: var(--radius);
      background: white;
      > img {
        width: 100%;
        height: 145px;
        object-fit: cover;
      }

      > div {
        padding: var(--space-m);
      }

      h3 {
        margin-bottom: var(--space-xs);
      }

      p {
        margin: 0;
        color: var(--color-dark-petrol-green);
      }
    }
  }

  @media (max-width: 700px) {
    padding-inline: var(--space-m);
    .cards {
      flex-direction: column;
      article {
        > img {
          height: 180px;
        }
      }
    }
  }
}

.difference {
  min-height: 350px;
  display: flex;
  color: white;
  > img {
    width: 50%;
    min-height: 350px;
    object-fit: cover;
  }

  margin: 0 var(--gutter);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-eftersok-green);
  .difference-text {
    width: 50%;
    padding: var(--space-l);
    background: url('../images/pattern.svg') right -70px bottom -200px / 320px auto no-repeat;
    h2 {
      margin-bottom: var(--space-s);
    }

    > p {
      max-width: 470px;
    }

    .difference-points {
      display: flex;
      gap: var(--space-m);
      margin-top: var(--space-l);
      div {
        width: 90px;
        text-align: center;
      }

      img {
        width: 31px;
        margin-inline: auto;
        filter: brightness(0) invert(1);
      }

      b {
        display: block;
        margin-top: var(--space-xs);
      }
    }
  }

  @media (max-width: 700px) {
    flex-direction: column;
    > img, .difference-text {
      width: 100%;
    }

    > img {
      min-height: 270px;
      height: 270px;
    }

    .difference-text {
      padding: var(--space-l) var(--space-m);
      .difference-points {
        justify-content: space-between;
        gap: var(--space-xs);
      }
    }
  }
}

.demo-section {
  padding: 0 var(--gutter) var(--section-gap);
  scroll-margin-top: var(--space-m);
  .demo-box {
    min-height: 245px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-dark-petrol-green);
    color: white;
    > img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(.4);
    }

    .demo-content {
      position: relative;
      z-index: 1;
      padding: var(--space-l);

      h2 {
        margin: var(--space-xs) 0;
      }

      p {
        max-width: 570px;
      }

      form {
        display: flex;
        align-items: end;
        margin-top: var(--space-m);
        flex-wrap: wrap;
        gap: var(--space-s);
        input {
          width: min(230px, 100%);
        }
        label {
          display: grid;
          gap: var(--space-xs);
          min-width: 0;
          font-weight: 700;
        }
      }
    }
  }

  @media (max-width: 700px) {
    padding-inline: var(--space-m);
    .demo-box {
      .demo-content {
        form {
          flex-direction: column;
          align-items: stretch;

          button {
            margin: 0;
          }
        }
      }
    }

    .demo-box .demo-content {
      padding: var(--space-l) var(--space-m);
      form input {
        width: 100%;
      }
    }
  }
}

.demo-content [hidden] { display: none; }
.demo-thanks { margin-top: var(--space-m); animation: demo-in 180ms ease-out; }
.demo-thanks h3 { margin-bottom: var(--space-xs); }
.demo-thanks p { margin: 0; }

@keyframes demo-in {
  from { opacity: 0; transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-thanks { animation: none; }
}

.eftersok-page .hero { background: var(--color-eftersok-green); }
