/* ------------------------------------------------------------------ *
 *  FEATURE ROWS — the portal tour on desktop.
 *
 *  It used to be six centred blocks stacked vertically: heading, a
 *  980px screenshot, a bullet list, repeat. At 1440 that ran to nearly
 *  11,000px of page with half the width empty and every section looking
 *  identical. Alternating two-column rows halve the height, use the
 *  space a desktop actually has, and give the eye somewhere to go.
 *
 *  Mobile keeps the original order — screenshot first, then the copy.
 * ------------------------------------------------------------------ */

.fr {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 52px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 46px 0;
}
.fr + .fr { border-top: 1px solid var(--line, rgba(148, 163, 184, .18)); }

/* every other row flips, so the page alternates rather than marching */
.fr.rev .fr-media { order: 2; }
.fr.rev .fr-copy { order: 1; }

.fr-media { position: relative; min-width: 0; }
.fr-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line, rgba(148, 163, 184, .18));
  box-shadow: 0 26px 60px rgba(8, 15, 30, .34);
}
/* a soft glow behind the shot so it reads as a screen, not a pasted rectangle */
.fr-media::after {
  content: "";
  position: absolute;
  inset: 14% 8% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .22), transparent 72%);
  filter: blur(26px);
}

.fr-copy { min-width: 0; }
.fr-copy .eyebrow { display: inline-block; margin-bottom: 10px; }
.fr-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.18;
}
.fr-copy .lead { margin: 0 0 16px; font-size: .98rem; line-height: 1.6; }

.fr-list { list-style: none; padding: 0; margin: 0; }
.fr-list li {
  position: relative;
  padding-left: 26px;
  margin: 9px 0;
  font-size: .9rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-2, #cbd5e1);
}
.fr-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .16);
}
.fr-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .62em;
  width: 6px;
  height: 3px;
  border-left: 2px solid #22c55e;
  border-bottom: 2px solid #22c55e;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .fr {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 0;
  }
  /* on a phone the screenshot always leads — flipping order there just
     makes two adjacent rows look broken */
  .fr.rev .fr-media,
  .fr .fr-media { order: 1; }
  .fr.rev .fr-copy,
  .fr .fr-copy { order: 2; }
  .fr-copy { text-align: center; }
  .fr-list { display: inline-block; text-align: left; }
  .fr-media::after { display: none; }
}
