/* Polish layer: native-only motion. No libraries. Every effect stands down for reduced motion,
   and the pointer glow also stands down when the Pause button is on. */

/* Pages cross-fade instead of cutting (Chrome, Edge and Safari; ignored elsewhere). */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.22,1,.36,1)}

/* A thin reading-progress line along the top edge, driven by scroll with no JavaScript. */
@supports (animation-timeline:scroll()){
  .scroll-progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:60;pointer-events:none;
    background:linear-gradient(90deg,#007e85,#90efd6);transform-origin:0 50%;transform:scaleX(0);
    animation:scroll-progress linear both;animation-timeline:scroll(root)}
  @keyframes scroll-progress{to{transform:scaleX(1)}}
}

/* Soft light that follows the pointer across plan and contact cards. */
@media (hover:hover) and (pointer:fine){
  .price-card,.contact-card{position:relative}
  .price-card::after,.contact-card::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
    background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),rgba(144,239,214,.22),transparent 62%);
    transition:opacity .35s ease}
  .price-card.is-lit::after,.contact-card.is-lit::after{opacity:1}
}

@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .scroll-progress{display:none}
  .price-card::after,.contact-card::after{display:none}
}
.motion-paused .scroll-progress,.motion-paused .price-card::after,.motion-paused .contact-card::after{display:none}
