
/* === features page === */
.fx-eyebrow {
  margin-bottom: 12px;
  color: var(--color-accent-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.fx-center {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.fx-hero .section__subtitle {
  margin-bottom: 40px;
}

.fx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.fx-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-primary);
  font-weight: 600;
  text-underline-offset: 6px;
}

.fx-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  list-style: none;
  color: var(--color-ink);
  font-size: 15px;
}

.fx-assure li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--color-primary);
  font-weight: 700;
}

/* what you can do */
.fx-tools {
  padding: 40px 0 100px;
}

.fx-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
}

.fx-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px 32px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 -1px 11px 3px rgba(34, 60, 80, 0.11);
  text-align: center;
}

.fx-card .card__subtitle {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.fx-card .card__desc {
  margin: 0 auto 20px;
  padding: 0;
}

.fx-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-primary), #8a6cac);
}

.fx-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fx-tag {
  padding: 4px 14px;
  border-radius: 999px;
  background: #f6eef4;
  color: var(--color-accent-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fx-swipe {
  display: none;
  margin-top: 16px;
  color: var(--color-accent-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* devices */
.fx-devices {
  padding: 0 0 40px;
}

.fx-device-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  list-style: none;
}

.fx-device-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  border-radius: 12px;
  background: var(--color-surface-soft);
}

.fx-device-list h3 {
  color: var(--color-primary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.fx-device-list p {
  flex: 1;
  font-size: 15px;
}

.fx-avail {
  flex: none !important;
  color: var(--color-primary);
  font-weight: 600;
}

.fx-avail::before {
  content: "\2713";
  margin-right: 6px;
}

.fx-avail--some {
  color: var(--color-ink);
}

.fx-avail--some::before {
  content: "\25CB";
}

/* discreet and secure, on the homepage's wave */
.fx-secure__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px 80px;
  align-items: start;
  text-shadow: 0 1px 3px rgba(40, 30, 90, 0.45);
}

.fx-secure .features__subtitle {
  margin-bottom: 0;
}

.fx-secure__list {
  list-style: none;
}

.fx-secure__list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.fx-secure__list li:first-child {
  padding-top: 0;
}

.fx-secure__list li:last-child {
  border-bottom: 0;
}

.fx-secure .features-list__title {
  margin-bottom: 4px;
}

/* memberships */
.fx-tiers {
  padding: 60px 0 100px;
}

.fx-tier-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
}

.fx-tier {
  padding: 40px 32px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 -1px 11px 3px rgba(34, 60, 80, 0.11);
}

.fx-tier .card__title {
  margin-top: 0;
  color: var(--color-accent-ink);
  font-size: 14px;
  text-align: left;
}

.fx-tier__name {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.fx-tier__lede {
  margin-bottom: 20px;
  color: var(--color-ink);
}

.fx-ticks {
  list-style: none;
}

.fx-ticks li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-top: 1px solid var(--color-rule);
  font-size: 15px;
}

.fx-ticks li::before {
  content: "\2713";
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: 700;
}

.fx-table-title {
  margin: 80px 0 24px;
  color: var(--color-primary);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 600;
  text-align: center;
}

.fx-table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 -1px 11px 3px rgba(34, 60, 80, 0.11);
}

.fx-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.fx-table caption {
  padding: 16px 20px;
  color: var(--color-muted);
  font-size: 14px;
  text-align: left;
}

.fx-table th,
.fx-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--color-rule);
}

.fx-table thead th {
  border-top: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}

.fx-table thead th:first-child {
  text-align: left;
}

.fx-table tbody th {
  background: #ffffff;
  color: var(--color-ink);
  font-weight: 500;
  text-align: left;
}

.fx-table tbody tr:nth-child(even) th,
.fx-table tbody tr:nth-child(even) td {
  background: var(--color-surface-soft);
}

.fx-table td {
  color: var(--color-primary);
  font-weight: 600;
  text-align: center;
}

.fx-table td.fx-no {
  color: var(--color-muted);
  font-weight: 400;
}

/* super match */
.fx-super {
  padding: 100px 0;
  background: var(--color-surface-soft);
}

.fx-super__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  align-items: center;
}

.fx-super__lede {
  font-size: clamp(16px, 1.5vw, 21px);
}

.fx-super__list {
  display: grid;
  gap: 20px;
  list-style: none;
}

.fx-super__list li {
  padding: 24px 28px;
  border-left: 5px solid var(--color-accent);
  border-radius: 0 12px 12px 0;
  background: #ffffff;
}

.fx-super__list h3 {
  margin-bottom: 4px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
}

/* close */
.fx-close {
  padding: 20px 0 120px;
  text-align: center;
}

.fx-close .section__subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
}

.fx-close__login {
  margin-top: 20px;
}

.fx-close__login a {
  font-weight: 600;
}

@media (max-width: 1100px) {
  .fx-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .fx-device-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .fx-actions,
  .fx-assure {
    justify-content: center;
  }

  .fx-secure__inner,
  .fx-super__inner {
    grid-template-columns: 1fr;
  }

  .fx-secure__inner {
    text-align: left;
  }

  .fx-tier-list {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .fx-super {
    padding: 70px 0;
  }
}

@media (max-width: 600px) {
  .crumbs {
    margin-top: 16px;
  }

  .fx-hero {
    padding-top: 24px;
  }

  .fx-actions {
    flex-direction: column;
    gap: 8px;
  }

  .fx-tools {
    padding-bottom: 70px;
  }

  .fx-rail,
  .fx-tier-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    gap: 16px;
    max-width: none;
    margin-inline: calc(var(--page-pad) * -1);
    padding: 8px var(--page-pad) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--page-pad);
  }

  .fx-card,
  .fx-tier {
    scroll-snap-align: start;
  }

  .fx-tier {
    padding: 32px 24px;
  }

  .fx-swipe {
    display: block;
  }

  .fx-device-list {
    gap: 12px;
    margin-top: 24px;
  }

  .fx-device-list li {
    padding: 20px 16px;
  }

  .fx-device-list h3 {
    font-size: 17px;
  }

  .fx-device-list p {
    font-size: 14px;
  }

  .fx-table-title {
    margin-top: 56px;
  }

  .fx-table {
    font-size: 14px;
  }

  .fx-table th,
  .fx-table td {
    padding: 12px 14px;
  }

  .fx-table tbody th,
  .fx-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 150px;
    box-shadow: 1px 0 0 var(--color-rule);
  }

  .fx-table thead th:first-child {
    background: var(--color-primary);
  }

  .fx-super__list li {
    padding: 20px;
  }

  .fx-close {
    padding-bottom: 90px;
  }
}
/* === /features page === */

/* === features and about: homepage-style opening (picture on the wave, text below on phones) === */
.fx-main .fx-hero {
  padding-top: 24px;
}

.fx-main .fx-hero__img {
  flex: 0 1 420px;
  width: min(100%, 420px);
  height: auto;
}

.fx-main .fx-hero__img--phone {
  flex-basis: 360px;
  width: min(100%, 360px);
}

.fx-main .fx-hero__img--photo {
  border-radius: 50% 50% 24px 24px / 34% 34% 24px 24px;
  box-shadow: 0 12px 32px rgba(40, 50, 100, 0.25);
}

@media (min-width: 901px) {
  .fx-main .fx-hero {
    min-height: min(52vw, 760px);
    padding-bottom: 100px;
  }

  .fx-main .fx-hero__img--photo {
    flex-basis: 520px;
    width: min(100%, 520px);
  }
}

@media (max-width: 900px) {
  .fx-main .fx-hero__img {
    flex: none;
  }

  .fx-main .fx-hero__img--phone {
    width: min(70%, 280px);
  }

  .fx-main .fx-hero__img--photo {
    width: min(100%, 360px);
  }

  .fx-main .fx-hero .fx-eyebrow {
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .fx-main .crumbs {
    display: none;
  }

  .fx-main .fx-hero {
    padding-top: 32px;
  }
}
/* === /features and about: homepage-style opening === */

/* === features and about: desktop opening matched to the homepage === */
.fx-main .fx-hero .fx-eyebrow,
.fx-main .crumbs {
  display: none;
}

@media (min-width: 901px) {
  .fx-main .fx-hero {
    padding-top: 50px;
  }

  .fx-main .fx-hero .section-text {
    max-width: 576px;
  }

  .fx-main .fx-hero__img--phone {
    flex-basis: 450px;
    width: min(100%, 450px);
  }
}
/* === /features and about: desktop opening matched to the homepage === */
