.rfx-page {
  --rfx-navy: #0f1a38;
  --rfx-blue: #1e2d5a;
  --rfx-pale: #eff3fb;
  --rfx-yellow: #ffe329;
  --rfx-light: #d6e1f6;
  background: #fff;
  color: var(--rfx-navy);
}
.rfx-page :where(figure, h1, h2, h3, p, blockquote) { margin: 0; }
.rfx-page img { display: block; width: 100%; height: auto; }
.rfx-page .rfx-zoom { display: block; position: relative; cursor: zoom-in; }
.rfx-zoom::after { content: "⤢"; position: absolute; right: .45rem; bottom: .45rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #0f1a38; color: white; font: 600 1rem/1 system-ui; }
.rfx-page .rfx-zoom:focus-visible { outline: 3px solid #1e4b96; outline-offset: -3px; }
.rfx-pair span { pointer-events: none; }
.final-lightbox .lightbox-media.rfx-magnified { display: block; overflow: auto; overscroll-behavior: contain; }
.final-lightbox .lightbox-media.rfx-magnified img { max-width: none; max-height: none; margin-inline: auto; }
.rfx-page h1 { font-size: clamp(2.4rem, 5.3vw, 5.35rem); line-height: .99; letter-spacing: -.042em; }
.rfx-page h2 { font-size: clamp(1.85rem, 3.15vw, 3rem); line-height: 1.06; letter-spacing: -.035em; }
.rfx-page h3 { font-size: 1.17rem; line-height: 1.19; }
.rfx-page p { line-height: 1.56; max-width: 66ch; }
.rfx-page h2 + p { margin-top: 1rem; }
.rfx-page p + p { margin-top: 1rem; }
.rfx-page figcaption { margin-top: .65rem; font-size: .91rem; line-height: 1.4; }
.rfx-wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.rfx-section { padding-block: clamp(2.6rem, 6.5vw, 5.6rem); }
.rfx-pale { background: var(--rfx-pale); }
.rfx-hero, .rfx-pro { background: var(--rfx-navy); color: #fff; }
.rfx-hero { padding-block: clamp(2.5rem, 5.5vw, 5.6rem) clamp(2.15rem, 4.2vw, 3.7rem); }
.rfx-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(1.55rem, 4vw, 4rem); }
.rfx-intro > img { width: min(252px, 75%); }
.rfx-location { margin-top: .9rem; color: var(--rfx-light); font-weight: 600; }
.rfx-hero h1 { margin-block: .75rem 1.2rem; max-width: 14ch; }
.rfx-hero p { color: var(--rfx-light); }
.rfx-hero .rfx-from { color: #fff; }
.rfx-from strong { color: var(--rfx-yellow); }
.rfx-hero-photo { position: relative; min-width: 0; }
.rfx-hero-photo img { border-radius: .38rem; }
.rfx-hero-photo figcaption { color: var(--rfx-light); }
.rfx-hero-labels { position: absolute; inset: .75rem 0 auto; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.rfx-hero-labels span, .rfx-pair span {
  justify-self: start;
  display: inline-block;
  margin-left: .65rem;
  padding: .23rem .55rem;
  color: #fff;
  background: var(--rfx-navy);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.15;
  border-radius: .15rem;
}
.rfx-hero-labels span:last-child, .rfx-pair div:last-child span { background: var(--rfx-yellow); color: var(--rfx-navy); }
.rfx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.35rem; margin-top: 1.3rem; }
.rfx-page .rfx-button, .rfx-page .rfx-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  font-weight: 700;
  line-height: 1.2;
}
.rfx-page .rfx-link { color: var(--rfx-blue); text-decoration: underline; text-underline-offset: .23em; }
.rfx-page .rfx-link:hover { text-decoration-thickness: .15em; }
.rfx-page .rfx-button {
  padding: .74rem 1.13rem;
  border-radius: .32rem;
  background: var(--rfx-navy);
  color: #fff;
  text-decoration: none;
}
.rfx-page .rfx-button:hover { background: var(--rfx-blue); }
.rfx-hero .rfx-link { color: #fff; }
.rfx-hero .rfx-button, .rfx-pro .rfx-button { background: var(--rfx-yellow); color: var(--rfx-navy); }
.rfx-hero .rfx-button:hover, .rfx-pro .rfx-button:hover { background: #fff098; }
.rfx-page :is(a, summary):focus-visible { outline: 3px solid #1e4b96; outline-offset: 4px; }
.rfx-page :is(.rfx-hero, .rfx-pro) a:focus-visible { outline-color: var(--rfx-yellow); }
.rfx-cases, .rfx-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 1.6rem; }
.rfx-case { min-width: 0; }
.rfx-case figcaption { font-weight: 700; }
.rfx-pair { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: .38rem; background: var(--rfx-navy); }
.rfx-pair > div { position: relative; min-width: 0; }
.rfx-pair span { position: absolute; inset: .55rem auto auto 0; }
.rfx-tech, .rfx-video, .rfx-centre { display: grid; gap: clamp(1.4rem, 5vw, 4.7rem); align-items: center; }
.rfx-tech { grid-template-columns: 1fr 1.18fr; }
.rfx-tech figure img { background: #fff; border-radius: .38rem; border: 1px solid #d6e1f6; }
.rfx-tech figure .rfx-link { min-height: 0; }
.rfx-video, .rfx-centre { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.rfx-video-preview { display: block; position: relative; overflow: hidden; border-radius: .38rem; }
.rfx-video-preview img { aspect-ratio: 16 / 9; object-fit: cover; }
.rfx-video-preview span {
  position: absolute; bottom: 1rem; left: 1rem; display: grid; place-items: center;
  width: 3rem; aspect-ratio: 1; border-radius: 50%; background: var(--rfx-yellow); color: var(--rfx-navy);
}
.rfx-video-preview:hover span { background: #fff; }
.rfx-prices { padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: .8rem; margin-block: 1.55rem; }
.rfx-prices li { display: flex; flex-direction: column; padding: 1.2rem; min-width: 0; border-top: 3px solid var(--rfx-yellow); border-radius: .32rem; background: #fff; }
.rfx-prices p { margin-top: .55rem; line-height: 1.35; }
.rfx-prices li div { margin-top: auto; padding-top: 1rem; line-height: 1.15; }
.rfx-prices strong { display: block; font-size: clamp(1.55rem, 3vw, 2.24rem); }
.rfx-prices abbr { font-size: .83rem; text-decoration: none; }
.rfx-prices + p { margin-bottom: .8rem; }
.rfx-reviews figure { border-left: 3px solid var(--rfx-yellow); padding: 1rem 1.15rem; background: var(--rfx-pale); border-radius: .2rem; }
.rfx-reviews blockquote { padding: 0; border: 0; font-weight: 600; font-size: 1.09rem; }
.rfx-pro-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.1rem 2rem; }
.rfx-pro p { color: var(--rfx-light); }
.rfx-centre img { aspect-ratio: 1.46; object-fit: cover; object-position: center 52%; border-radius: .38rem; }
.rfx-faq h2 { margin-bottom: 1.2rem; }
.rfx-faq details { max-width: 54rem; border-top: 1px solid #adbddd; }
.rfx-faq summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-block: .8rem; min-height: 44px; font-weight: 700; cursor: pointer; }
.rfx-faq summary::-webkit-details-marker { display: none; }
.rfx-faq summary::after { content: ""; flex-shrink: 0; width: .45rem; height: .45rem; margin-right: .2rem; border: solid var(--rfx-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rfx-faq details[open] summary::after { transform: rotate(225deg); }
.rfx-faq details p { padding-bottom: 1rem; }
.rfx-faq > a { margin-top: .6rem; }
.rfx-page [id] { scroll-margin-top: 7rem; }

@media (max-width: 850px) {
  .rfx-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfx-pro-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .rfx-hero-grid, .rfx-tech, .rfx-video, .rfx-centre { grid-template-columns: 1fr; }
  .rfx-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfx-reviews { grid-template-columns: 1fr; gap: .75rem; }
  .rfx-video-preview { grid-row: 2; }
  .rfx-wrap { width: calc(100% - 2rem); }
}
@media (max-width: 460px) {
  .rfx-cases { grid-template-columns: 1fr; }
  .rfx-prices li { padding: .8rem; }
}
