/* The headline site, www.ripul.io. It wears the app site's stylesheet
   (website/public/css/site.css, copied in before each deploy) and adds only this. */

/* The four sections stay in reach on a phone: under the logo, not hidden. */
@media (max-width: 680px) {
  .www-top .top-inner {
    height: auto;
    flex-wrap: wrap;
    row-gap: 2px;
    /* Top and bottom only: the sides are the page's gutter, from .wrap. */
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .www-top .www-sections {
    order: 3;
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .www-top .www-sections a {
    font-size: 15px;
    white-space: nowrap;
  }
}

/* The four doors on the home page: the app site's panels, two by two. */
.doors .panel {
  display: flex;
  flex-direction: column;
}
.doors .panel .tag {
  align-self: flex-start;
}
.doors .panel p {
  flex: 1;
}
.doors .panel .more {
  align-self: flex-start;
  margin-top: 22px;
}
.panel .tag.lilac {
  background: rgba(141, 134, 214, 0.16);
  color: #5a53a8;
}

/* Four steps where the app site has three. */
.steps.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .steps.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .steps.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A link at the foot of a block's text. */
.fx-block .more {
  margin-top: 22px;
}
