/* The feature pages: Notes, Ask, Follow-ups, MCP. Each opens on the app itself, standing on a paper backdrop.
   Builds on site.css, home.css and pages.css. */

.fx-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  margin-top: 36px;
}

.fx-stage {
  margin-top: 64px;
  animation: settle 800ms 120ms var(--ease) both;
}

/* Three things, side by side on honey rules. */
.fx-pts {
  padding-top: 72px;
}

.fx-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

/* Words on one side, the app on the other. */
.fx-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 40px 72px;
}

.fx-split.flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.fx-split.flip > .head {
  order: 2;
}

.fx-split .sub,
.fx-page .head .sub {
  max-width: 560px;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.5;
}

.fx-small {
  padding: 44px 44px 0;
}

/* One tile on its own takes the row. */
.fx-solo .ac-tile {
  grid-column: 1 / -1;
}

/* The headline over the tile says it already; the tile keeps only its picture. */
.fx-solo .ac-tile > h3,
.fx-solo .ac-tile > p {
  display: none;
}

.fx-solo .ac-pic {
  padding-top: 0;
}

/* Ask, to try. The honey band comes from the home page; here it sits between two sections. */
.fx-try {
  margin-top: 128px;
}

.fx-page .fx-try .sub {
  color: #3d2400;
}

/* What Pro adds, in one line. */
.fx-pro {
  padding-top: 128px;
}

.fx-pro-plate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 24px;
  padding: 28px 36px;
  border: 1px solid #f0dba6;
  border-radius: 24px;
  background: linear-gradient(170deg, #fff3d6, #ffe7b1);
}

.fx-pro-plate p {
  color: var(--ink);
  font-size: 18.500px;
  font-weight: 500;
  line-height: 1.45;
}

.fx-pro-plate .more {
  margin-left: 24px;
  white-space: nowrap;
}

.fx-chip {
  padding: 5px 11px;
  border: 1px solid rgb(138 82 0 / 0.38);
  border-radius: 999px;
  color: #5a3600;
  font-size: 13.500px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.fx-more {
  padding-bottom: 112px;
}

@media (prefers-reduced-motion: reduce) {
  .fx-stage {
    animation: none;
  }
}

@media (max-width: 1000px) {
  .fx-split,
  .fx-split.flip {
    grid-template-columns: 1fr;
  }

  .fx-split.flip > .head {
    order: 0;
  }

  .fx-three {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .fx-stage {
    margin-top: 40px;
  }

  .fx-pts {
    padding-top: 48px;
  }

  .fx-pro {
    padding-top: 88px;
  }

  .fx-try {
    margin-top: 88px;
  }

  .fx-small {
    padding: 22px 16px 0;
  }

  .fx-pro-plate {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 24px 22px;
  }

  .fx-pro-plate .more {
    margin-left: 0;
  }

  .fx-more {
    padding-bottom: 80px;
  }
}

/* Phones: the app at the top of a feature page is shown closer, from its top left corner, so its words can be read. */
@media (max-width: 720px) {
  .fx-stage .hw-win {
    overflow: hidden;
  }

  .fx-stage .hw-win video {
    width: 190%;
    max-width: none;
  }
}
