.rf-route {
  display: none;
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  #main.rf-product-page > .rf-route { display: block; }
  .rf-route :is(.rf-route-track,.rf-route-beam) {
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
  }
  .rf-route-track { stroke: #63303e; opacity: .68; }
  .rf-route-beam { stroke: #ff184a; stroke-dasharray: 0 999999; }
  .rf-route-spark { fill: #ff718a; filter: blur(.65px); }
  #main.rf-product-page [data-rf-card]::before,
  #main.rf-product-page [data-rf-card]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: var(--rf-light, 0);
    pointer-events: none;
  }
  #main.rf-product-page [data-rf-card]::before {
    z-index: -1;
    background: radial-gradient(circle clamp(150px, 22vw, 275px) at var(--rf-x, 50%) var(--rf-y, 0%),
      #ff134750, #ff13471d 48%, transparent 100%);
  }
  #main.rf-product-page [data-rf-card]::after {
    padding: 2px;
    background: radial-gradient(circle clamp(120px, 16vw, 220px) at var(--rf-x, 50%) var(--rf-y, 0%),
      #ff5273, #ff0137 38%, transparent 100%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}

#main.rf-product-page {
  position: relative;
  isolation: isolate;
}
html body.preview #main.rf-product-page .rf-feature-grid:has(> [data-rf-card]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 26px clamp(30px, 4vw, 52px);
  width: min(100%, 1130px);
  margin-inline: auto;
}
#main.rf-product-page [data-rf-card] {
  position: relative;
  isolation: isolate;
  z-index: 1;
  min-width: 0;
}
#main.rf-product-page [data-rf-card]:nth-child(even) {
  margin-top: clamp(30px, 3.8vw, 54px);
}
#main.rf-product-page [data-rf-card]:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, 539px);
  justify-self: center;
}

html body.preview #main.rf-product-page .rf-device-selector {
  width: min(100%, 880px);
  margin: clamp(24px, 4vw, 42px) auto 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  text-align: center;
}
#main.rf-product-page .rf-device-selector .word-reveal-controls {
  gap: 6px clamp(10px, 2vw, 28px);
}
#main.rf-product-page .rf-device-selector .word-reveal-panels {
  margin: 26px auto 0;
  width: min(100%, 72ch);
}
#main.rf-product-page .rf-device-selector .word-reveal-panels > * {
  width: 100%;
  max-width: none;
}
#main.rf-product-page .rf-device-selector .word-reveal-panels h3 {
  display: block;
  margin: 0 0 14px;
}
#main.rf-product-page .rf-device-selector:not(.word-reveal-ready) .word-reveal-panels > * + * {
  margin-top: 24px;
}
@layer word-reveal {
  #main.rf-product-page .rf-device-selector .word-reveal-controls button {
    min-height: 48px !important;
    font: 600 clamp(14px, 1.6vw, 18px)/1.25 "Space Grotesk", sans-serif !important;
    text-align: center;
    text-shadow: none;
  }
}
@media (max-width: 760px) {
  html body.preview #main.rf-product-page .rf-feature-grid:has(> [data-rf-card]) {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100%, 539px);
  }
  #main.rf-product-page [data-rf-card]:nth-child(even) { margin-top: 0; }
}
@media (max-width: 560px) {
  #main.rf-product-page .rf-device-selector .word-reveal-controls:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
