/* The logo is wider than FrachtMail's: sized to the same letter height. */
.header .logo-box .logo svg {
  height: 23px;
}

.header.scrolled .header-wrapper .logo svg {
  height: 20px;
}

@media (max-width: 600px) {
  .header .logo-box .logo svg,
  .header.scrolled .header-wrapper .logo svg {
    height: 16px;
  }
}

/* Five nav links and the CTA only just fit above the mobile breakpoint. */
@media (min-width: 801px) and (max-width: 900px) {
  .nav li {
    padding: 0 8px;
    white-space: nowrap;
  }

  .nav-box .cta-btn {
    white-space: nowrap;
  }
}

/* Shared by the homepage and campaign pages. */

/* Screenshots sit in a grey frame with a shadow, so they read as the
   app and not as part of the page. */
.fp-steps img,
.fp-annotated img,
.fp-shot {
  display: block;
  width: 100%;
  height: auto;
  padding: 6px;
  background: #f5f6f9;
  border: 1px solid #eceef2;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

/* How it works: one row per step, text left and a large still right,
   so the UI in the screenshot stays readable. */
.fp-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;

  & li {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-content: center;
    column-gap: 32px;
    padding: 24px;
    border: 1px solid #dddddd;
    border-radius: 7px;
  }

  & img {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  & strong {
    grid-column: 1;
    align-self: end;
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 600;
  }

  & p {
    grid-column: 1;
    align-self: start;
    font-size: 16px;
    color: #555555;
  }
}

@media (max-width: 800px) {
  .fp-steps li {
    grid-template-columns: 1fr;
    padding: 16px;

    & img {
      grid-column: 1;
      grid-row: auto;
      margin-bottom: 16px;
    }
  }
}

/* Customer quote: their words, unchanged. */
.fp-quote {
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
  border-left: 4px solid var(--success);

  & p {
    font-size: 22px;
    line-height: 1.5;
    color: #1c1c1c;
  }

  & figcaption {
    margin-top: 16px;
    font-size: 16px;
    color: #666666;

    & strong {
      color: #1c1c1c;
    }
  }
}

@media (max-width: 800px) {
  .fp-quote {
    padding-left: 20px;

    & p {
      font-size: 18px;
    }
  }
}
