/* ============================================================
   Ryllo - Modern Dynamic Effects & Animations (effects.css)
   ============================================================ */

/* ---------- 1. Smooth Scroll & Global Transition Enhancements ---------- */
html, body {
  overflow-anchor: none !important;
}

html {
  scroll-behavior: smooth;
}

/* ---------- 2. Button Hover & Micro-interactions (Universal Site-Wide) ---------- */
/* All Buttons Base Transition */
header a[href*="demo"],
header a[href*="register"],
header a[style*="border-radius"],
header a[style*="background"],
header a[style*="border"],
a[href*="demo"],
a[href*="register"],
a[href*="trial"],
a[href*="book"],
a[href*="contact"],
a[href*="contact-form"],
a[href="how-it-works.html"],
a[href="solutions.html"],
a[href="security.html"],
a[href="pricing.html"],
a[style*="border-radius: 10px"],
a[style*="border-radius:10px"],
a[style*="border-radius: 8px"],
a[style*="border-radius:8px"],
a[style*="border-radius: 12px"],
a[style*="border-radius:12px"],
a[style*="border-radius: 14px"],
a[style*="border-radius:14px"],
a[style-hover],
button[type="submit"],
button[type="button"][onClick*="open"],
.ry-btn-enhanced {
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease !important;
  will-change: transform, box-shadow;
  position: relative;
  cursor: pointer !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform: translateZ(0);
}

/* ========================================================
   UNIVERSAL BUTTONS - SUBTLE PILL SHAPE BORDER-RADIUS
   ======================================================== */
header a[href*="demo"],
header a[href*="register"]:not(nav a),
header a.ry-btn-outline,
header a.ry-btn-primary-filled,
.ry-btn-outline,
.ry-btn-primary-filled,
.ry-btn-teal-filled,
.ry-btn-white-outline,
.ry-btn-enhanced,
a.ry-btn-enhanced,
a[href*="demo"][style*="border-radius"],
a[href*="demo"][style*="min-height"],
a[href*="demo"][style*="padding"],
a[href*="register"][style*="border-radius"],
a[href*="register"][style*="min-height"],
a[href*="register"][style*="padding"],
a[href*="trial"][style*="border-radius"],
a[href*="trial"][style*="padding"],
a[href*="book"][style*="border-radius"],
a[href*="book"][style*="padding"],
a[href*="contact"][style*="border-radius"],
a[href*="contact-form"][style*="border-radius"],
a[href="how-it-works.html"][style*="min-height"],
a[href="how-it-works.html"][style*="border-radius"],
a[href="solutions.html"][style*="border-radius"],
a[href="security.html"][style*="border-radius"],
a[href*="pricing.html"][style*="border-radius"],
a[style*="border-radius: 10px"]:not(div):not(span):not(article):not(input):not(textarea),
a[style*="border-radius:10px"]:not(div):not(span):not(article):not(input):not(textarea),
a[style*="border-radius: 8px"]:not(div):not(span):not(article):not(input):not(textarea),
a[style*="border-radius:8px"]:not(div):not(span):not(article):not(input):not(textarea),
a[style*="border-radius: 12px"]:not(div):not(span):not(article):not(input):not(textarea),
a[style*="border-radius:12px"]:not(div):not(span):not(article):not(input):not(textarea),
button[type="submit"],
button[type="button"][style*="border-radius"],
button.ry-btn-enhanced,
.btn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  border-radius: 24px !important;
}

/* ========================================================
   UNIVERSAL BUTTONS - BASE & NORMAL STATE (Rock-Solid Guarantee)
   ======================================================== */

/* Header "Schedule a demo" & filled navy primary buttons (Base State) */
header a[href*="demo"],
header a[style*="background:#075586"],
header a[style*="background: #075586"],
.ry-btn-primary-filled,
a.ry-btn-primary-filled {
  background-color: #075586 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: none !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* Header "Free trial" Outline Button (Base State) */
header a[href*="register"]:not([style*="background:#075586"]):not([style*="background: #075586"]),
a.ry-btn-outline:not([style*="background:#075586"]):not([href*="demo"]) {
  border: 2px solid #075586 !important;
  color: #075586 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

/* ========================================================
   UNIVERSAL BUTTONS - HOVER STATES
   ======================================================== */

/* Primary Filled Buttons (Navy Blue) - Hover Elevation */
/* Matches "Schedule a demo" in Header, Hero "Start your free trial", Footer, Page Close, Solutions, etc. */
header a[href*="demo"]:hover,
header a[style*="background:#075586"]:hover,
header a[style*="background: #075586"]:hover,
header a[style-hover*="#064670"]:hover,
header a[style-hover*="background:#064670"]:hover,
.ry-btn-primary-filled:hover,
a.ry-btn-primary-filled:hover,
a[href*="demo"][style*="background:#075586"]:hover,
a[href*="demo"][style*="background: #075586"]:hover,
a[href*="register"][style*="background:#075586"]:hover,
a[href*="register"][style*="background: #075586"]:hover,
a[href*="free-trial"][style*="background:#075586"]:hover,
a[href*="contact-form"][style*="background"]:hover,
a[style*="background:#075586"]:not([style*="border:"]):not([style*="B9D2E4"]):hover,
a[style*="background: #075586"]:not([style*="border:"]):not([style*="B9D2E4"]):hover,
button[type="submit"]:not([style*="#19C39C"]):hover,
button[style*="background:#075586"]:not(.ry-toggle-btn):not([onClick*="setMonthly"]):not([onClick*="setYearly"]):hover,
button[style*="background: #075586"]:not(.ry-toggle-btn):not([onClick*="setMonthly"]):not([onClick*="setYearly"]):hover {
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 14px 28px -4px rgba(7, 85, 134, 0.42), 0 6px 14px -2px rgba(4, 51, 84, 0.22) !important;
  background-color: #064670 !important;
  color: #ffffff !important;
  z-index: 10 !important;
}

/* Newsletter Email Validation Micro-animations & Input States */
.ry-newsletter-input-error {
  border-color: #D92D20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.15) !important;
}
.ry-newsletter-input-success {
  border-color: #19C39C !important;
  box-shadow: 0 0 0 3px rgba(25, 195, 156, 0.18) !important;
}
.ry-newsletter-error,
[data-newsletter-error] {
  animation: rySlideDownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ry-newsletter-success,
[data-newsletter-success] {
  animation: rySlideDownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes rySlideDownFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a[style*="background:#19C39C"]:hover,
a[style*="background: #19C39C"]:hover,
a[style-hover*="#15b090"]:hover,
button[style*="background:#19C39C"]:hover,
button[style*="background: #19C39C"]:hover,
.ry-btn-teal-filled:hover {
  transform: translateY(-3px) translateZ(0) !important;
  background-color: #15b090 !important;
  color: #04372C !important;
  box-shadow: 0 14px 28px -4px rgba(25, 195, 156, 0.45), 0 6px 14px -2px rgba(4, 55, 44, 0.25) !important;
  z-index: 10 !important;
}

/* Secondary & Outline Buttons (e.g. "Free trial" in Header, "See how it works", "Schedule a demo" outline in hero/pricing) */
header a[href*="register"]:hover,
header a[style*="border: 2px solid"]:not([href*="demo"]):hover,
header a[style*="border:2px solid"]:not([href*="demo"]):hover,
.ry-btn-outline:not([href*="demo"]):hover,
a.ry-btn-outline:not([href*="demo"]):hover,
a[href*="demo"][style*="#B9D2E4"]:hover,
a[href*="demo"][style*="border: 2px solid #B9D2E4"]:hover,
a[href*="demo"][style*="border:2px solid #B9D2E4"]:hover,
a[href*="how-it-works"][style*="border:"]:hover,
a[href*="contact.html"][style*="border:"]:hover {
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 10px 22px -4px rgba(7, 85, 134, 0.22) !important;
  background-color: #EAF2F8 !important;
  border-color: #075586 !important;
  color: #075586 !important;
  z-index: 9 !important;
}

/* White outline buttons on dark background (Hero in Solutions, Page Close secondary) */
a[style*="border: 2px solid rgba(255,255,255"]:hover,
a[style*="border:2px solid rgba(255,255,255"]:hover,
a[style-hover*="border-color:#fff"]:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-3px) translateZ(0) !important;
}

/* Header Text Links Hover (Sign in, Nav items) */
header nav a:hover,
header div > a[href*="login"]:hover {
  color: #075586 !important;
  transform: translateY(-1.5px) !important;
  transition: color 0.18s ease, transform 0.18s ease !important;
}

/* Primary Button Active / Click Press */
header a[href*="demo"]:active,
header a[href*="register"]:active,
a[href*="demo"]:active,
a[href*="register"]:active,
a[style*="background: #075586"]:active,
a[style*="background:#075586"]:active,
a[style*="border-radius"]:active,
button[type="submit"]:active,
.ry-btn-enhanced:active {
  transform: translateY(-1px) translateZ(0) !important;
  box-shadow: 0 6px 14px -2px rgba(7, 85, 134, 0.35) !important;
}

/* Arrow Glide Micro-interaction in Buttons & Links (e.g. "Schedule a demo →", "Meet your Pod →") */
a:hover span[style*="font-size: 17px"],
a:hover span[style*="font-size:17px"],
a:hover span[style*="font-size: 18px"],
a:hover span[style*="font-size:18px"] {
  display: inline-block;
  transform: translateX(4px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 3. Cards Hover & Switching Animations ---------- */
[data-hero-stats="1"] > div,
#challenges [style*="border-radius: 16px"],
#challenges [style*="border-radius:16px"],
#why-ryllo [style*="border-radius: 16px"],
#why-ryllo [style*="border-radius:16px"],
#who-it-serves [style*="border-radius: 16px"],
#who-it-serves [style*="border-radius:16px"],
#how-it-works article,
#solutions [style*="grid-template-columns:repeat(4"] > a,
#solutions [style*="grid-template-columns:repeat(4"] > div,
#pricing [style*="grid-template-columns"] > a,
#security [style*="grid-template-columns"] > div {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              background-color 0.28s ease;
  will-change: transform, box-shadow;
  position: relative;
  cursor: pointer;
}

/* Hero Stat Cards */
[data-hero-stats="1"] > div:hover {
  transform: translateX(6px) translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(4, 51, 84, 0.14) !important;
  border-left-color: #075586 !important;
  background: #ffffff !important;
}

/* Challenges Cards */
#challenges [style*="border-radius: 16px"]:hover,
#challenges [style*="border-radius:16px"]:hover {
  transform: translateY(-7px) !important;
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(25, 195, 156, 0.65) !important;
  box-shadow: 0 20px 38px -6px rgba(0, 0, 0, 0.35), 0 0 24px rgba(25, 195, 156, 0.2) !important;
  z-index: 2;
}

/* Why Ryllo Cards */
#why-ryllo [style*="border-radius: 16px"]:hover,
#why-ryllo [style*="border-radius:16px"]:hover {
  transform: translateY(-8px) !important;
  border-color: #B9D2E4 !important;
  box-shadow: 0 22px 40px -8px rgba(4, 51, 84, 0.16), 0 0 0 1px rgba(7, 85, 134, 0.1) !important;
  z-index: 2;
}

/* Who It Serves List Cards */
#who-it-serves [style*="border-radius: 16px"]:hover,
#who-it-serves [style*="border-radius:16px"]:hover {
  transform: translateX(6px) translateY(-2px) !important;
  border-color: #19C39C !important;
  box-shadow: 0 14px 28px -4px rgba(4, 51, 84, 0.12) !important;
}

/* How It Works Steps */
#how-it-works article:hover,
#the-three-steps article:hover,
#three-steps-grid article:hover,
div[data-screen-cards="three-steps"] article:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 24px 44px -8px rgba(4, 51, 84, 0.22), 0 0 16px rgba(25, 195, 156, 0.16) !important;
  border-color: rgba(25, 195, 156, 0.8) !important;
  z-index: 2;
}

/* Step 2 Ambient Glow */
#how-it-works article:nth-child(2),
#the-three-steps article:nth-child(2),
#three-steps-grid article:nth-child(2),
div[data-screen-cards="three-steps"] article:nth-child(2) {
  position: relative;
  overflow: hidden;
}
#how-it-works article:nth-child(2)::before,
#the-three-steps article:nth-child(2)::before,
#three-steps-grid article:nth-child(2)::before,
div[data-screen-cards="three-steps"] article:nth-child(2)::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(25, 195, 156, 0.14) 0%, transparent 60%);
  pointer-events: none;
  animation: ryllo-pulse-glow 5s ease-in-out infinite alternate;
}

/* Step 2 Dark Card Hover Deep Elevation */
#how-it-works article:nth-child(2):hover,
#the-three-steps article:nth-child(2):hover,
#three-steps-grid article:nth-child(2):hover,
div[data-screen-cards="three-steps"] article:nth-child(2):hover {
  box-shadow: 0 28px 48px -8px rgba(0, 0, 0, 0.45), 0 0 24px rgba(25, 195, 156, 0.3) !important;
}

/* Numbers 01, 02, 03 scale subtly on hover */
#how-it-works article:hover > span[aria-hidden="true"],
#the-three-steps article:hover > span[aria-hidden="true"],
#three-steps-grid article:hover > span[aria-hidden="true"] {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

/* Solutions Cards */
#solutions [style*="grid-template-columns:repeat(4"] > a:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 38px rgba(4, 51, 84, 0.3) !important;
  border-top-color: #2CE1B7 !important;
  z-index: 2;
}
#solutions [style*="grid-template-columns:repeat(4"] > div:hover {
  transform: translateY(-4px) !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 10px 22px rgba(4, 51, 84, 0.08) !important;
}

/* Pricing Cards */
#pricing [style*="grid-template-columns"] > a:hover {
  transform: translateY(-9px) scale(1.02) !important;
  box-shadow: 0 28px 48px -6px rgba(0, 0, 0, 0.45), 0 0 22px rgba(25, 195, 156, 0.28) !important;
  border-color: #19C39C !important;
  z-index: 3;
}

/* Security Stat Badges */
#security [style*="grid-template-columns"] > div:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 28px rgba(4, 51, 84, 0.28) !important;
  background: #096196 !important;
}

/* Card Icons Tilt on Hover */
[style*="border-radius: 16px"]:hover svg,
[style*="border-radius:16px"]:hover svg,
article:hover svg {
  transform: scale(1.1) rotate(-2deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Numbers Hover */
#how-it-works article:hover > span[aria-hidden="true"] {
  transform: translateY(-3px) scale(1.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #19C39C !important;
}

/* ---------- 4. Dynamic Pulse & Badge Animations ---------- */
@keyframes ryllo-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.28); opacity: 1; filter: drop-shadow(0 0 5px #19C39C); }
  100% { transform: scale(1); opacity: 0.9; }
}

@keyframes ryllo-pulse-glow {
  0% { opacity: 0.4; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.06); }
}

span[style*="border-radius:50%;background:#19C39C"],
span[style*="border-radius: 50%; background: #19C39C"] {
  display: inline-block;
  animation: ryllo-pulse 2.4s ease-in-out infinite !important;
}

/* All informational pills, tags and "No credit card needed" badges: completely static, never hover or lift */
span[style*="border-radius:999px"],
span[style*="border-radius: 999px"],
.ry-static-badge,
[data-static="true"],
span.ry-static-badge {
  cursor: default !important;
}

span[style*="border-radius:999px"]:hover,
span[style*="border-radius: 999px"]:hover,
.ry-static-badge:hover,
[data-static="true"]:hover,
span.ry-static-badge:hover,
[data-screen-label="Hero"] span:hover,
.ry-page-close-section span:hover {
  transform: none !important;
  box-shadow: none !important;
  cursor: default !important;
  transition: none !important;
}

/* ---------- 5. Integrations Marquee Hover & Card Expansion ---------- */
div[aria-label="Software Ryllo works with"] {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  margin-top: -6px !important;
  margin-bottom: -6px !important;
}

[style*="ryllo-marquee"]:hover {
  animation-play-state: paused !important;
}

[style*="ryllo-marquee"] {
  padding: 8px 0 !important;
}

/* Card normal state */
[style*="ryllo-marquee"] > div {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease !important;
  will-change: transform, box-shadow;
  position: relative;
  cursor: pointer;
  border: 1.5px solid transparent;
}

/* Card hover state: card itself enlarges smoothly without clipping */
[style*="ryllo-marquee"] > div:hover {
  transform: translateY(-4px) scale(1.10) !important;
  box-shadow: 0 14px 28px -2px rgba(4, 51, 84, 0.38), 0 0 14px rgba(25, 195, 156, 0.24) !important;
  background: #ffffff !important;
  border-color: rgba(25, 195, 156, 0.5) !important;
  border-radius: 9px !important;
  z-index: 10 !important;
}

/* Image inside: keep crisp, perfectly contained, and counter-scale so image itself doesn't zoom or get cut */
[style*="ryllo-marquee"] > div img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: center center;
}

[style*="ryllo-marquee"] > div:hover img {
  transform: scale(0.909) !important;
}

/* ---------- 6. Hero Media Image Hover Zoom ---------- */
[data-hero-media="natural"] img,
#home-serves img,
#home-origin img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
[data-hero-media="natural"]:hover img,
#home-serves:hover img,
#home-origin:hover img {
  transform: scale(1.04) !important;
}

/* ---------- 7. Premium Scroll-Triggered Stagger Animation Classes ---------- */

/* Global Section & Element Reveal */
.ry-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ry-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* (Card stagger animations are centralized in Section 5 below) */

/* Section Header Smooth Reveal */
.ry-section-header-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ry-section-header-reveal.ry-header-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ry-reveal,
  .ry-card-stagger,
  .ry-section-header-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #075586;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0C7F65;
}

/* ============================================================
   8. REAL SKELETON LOADERS FOR NAVBAR & FOOTER
   (Completely overrides support.js flat gray .sc-placeholder)
   ============================================================ */

/* Sweep Animation for Shining Skeleton Items */
@keyframes ryllo-shimmer-sweep {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}

/* A. NAVBAR SKELETON: Overrides the flat gray bar with white navbar + clean glowing items */
[data-sc-name="Site Header"] .sc-placeholder,
.sc-placeholder[title="Site Header"],
dc-import[name="Site Header"] > .sc-host > .sc-placeholder {
  background: #ffffff !important;
  border: none !important;
  border-bottom: 2px solid #075586 !important;
  height: 80px !important;
  max-height: 80px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  overflow: hidden !important;
  position: relative !important;
}

/* The Grid inside the Navbar Skeleton */
.ry-header-skeleton-grid {
  width: 100%;
  max-width: 1240px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ry-skel-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ry-skel-center {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ry-skel-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1023px) {
  .ry-skel-center { display: none !important; }
}

/* Individual Shining Item in Navbar */
.ry-shimmer-item {
  position: relative;
  overflow: hidden;
  background: #E4E7EC !important;
  border-radius: 6px;
}

.ry-shimmer-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: ryllo-shimmer-sweep 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* B. FOOTER SKELETON: Overrides the flat gray bar with dark navy + glowing footer wireframes */
[data-sc-name="Site Footer"] .sc-placeholder,
.sc-placeholder[title="Site Footer"],
dc-import[name="Site Footer"] > .sc-host > .sc-placeholder {
  background: #075586 !important;
  border: none !important;
  border-top: 2px solid #19C39C !important;
  box-sizing: border-box !important;
  min-height: 520px !important;
  padding: 40px 24px !important;
  display: flex !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ry-footer-skeleton-grid {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ry-shimmer-dark-item {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px;
}

.ry-shimmer-dark-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(25, 195, 156, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: ryllo-shimmer-sweep 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* C. PAGE CLOSE CTA SKELETON: Overrides the flat gray bar with dark navy + glowing wireframes */
[data-sc-name="Page Close"] .sc-placeholder,
.sc-placeholder[title="Page Close"],
dc-import[name="Page Close"] > .sc-host > .sc-placeholder {
  background: #075586 !important;
  border: none !important;
  border-top: 2px solid #043354 !important;
  box-sizing: border-box !important;
  min-height: 360px !important;
  padding: 60px 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.ry-page-close-skeleton-grid {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
  align-items: center;
}

/* D. STANDALONE IMAGE SKELETON OVERLAY (Destroyed immediately when image finishes loading) */
.ry-image-skeleton {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  transition: opacity 0.28s ease !important;
}

/* E. SECTION SKELETON SCREENS (Mirrors exact shape of section items until load) */
.ry-section-skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  box-sizing: border-box;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}

.ry-section-skeleton.light-bg {
  background: #ffffff;
}

.ry-section-skeleton.alt-light-bg {
  background: #F4F8FC;
}

.ry-section-skeleton.navy-bg {
  background: #075586;
}

.ry-skel-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Specific overlays for Header, Footer & Page Close */
.ry-header-skeleton-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 80px !important;
  max-height: 80px !important;
  background: #ffffff !important;
  border-bottom: 2px solid #075586 !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  overflow: hidden !important;
  transition: opacity 0.35s ease !important;
}

.ry-footer-skeleton-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  background: #075586 !important;
  border-top: 2px solid #19C39C !important;
  z-index: 30 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 40px 24px 60px !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  overflow: hidden !important;
  transition: opacity 0.35s ease !important;
}

.ry-page-close-skeleton-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 360px !important;
  background: #075586 !important;
  border-top: 2px solid #043354 !important;
  z-index: 25 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 60px 24px !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  overflow: hidden !important;
  transition: opacity 0.35s ease !important;
}

/* Common skeleton container inner */
.ry-skel-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* Security framework status badges */
.ry-status-aligned,
.ry-status-inherited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.ry-status-aligned {
  background: #E6F8F3;
  color: #0C7F65;
}
.ry-status-inherited {
  background: #EAF2F8;
  color: #075586;
}



/* ============================================================
   9. NAVBAR & FOOTER DYNAMIC INTERACTIVE EFFECTS
   ============================================================ */
header {
  transition: box-shadow 0.3s ease, background-color 0.3s ease !important;
}

header nav a,
header nav button {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-bottom: none !important;
  border: none !important;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

header nav a:hover,
header nav button:hover {
  color: #075586 !important;
  transform: translateY(-1.5px);
  box-shadow: none !important;
  border-bottom: none !important;
}

/* Active navigation item indicator: pure text color and bold, never weird shape or border */
header nav a.ry-nav-active,
header nav button.ry-nav-active {
  color: #075586 !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

@keyframes ryllo-dropdown-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

header [style*="position:absolute"],
header [style*="position: absolute"] {
  animation: ryllo-dropdown-enter 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 40px -6px rgba(4, 51, 84, 0.22), 0 0 0 1px rgba(7, 85, 134, 0.1) !important;
}

header [style*="position:absolute"] a,
header [style*="position: absolute"] a {
  transition: background-color 0.2s ease, padding-left 0.2s ease !important;
}

header [style*="position:absolute"] a:hover,
header [style*="position: absolute"] a:hover {
  background-color: #EAF2F8 !important;
  padding-left: 18px !important;
}

footer a[aria-label*="LinkedIn"],
footer a[aria-label*="YouTube"],
footer a[aria-label*="X"] {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              box-shadow 0.25s ease !important;
}

footer a[aria-label*="LinkedIn"]:hover,
footer a[aria-label*="YouTube"]:hover,
footer a[aria-label*="X"]:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35) !important;
}

/* All standard text links in footer (Get started, Company, etc. - Never buttons) */
footer a:not([aria-label*="LinkedIn"]):not([aria-label*="YouTube"]):not([aria-label*="X"]):not(.ry-footer-cta):not([style*="background:#075586"]):not([style*="background: #075586"]) {
  display: inline-block !important;
  transform: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 5px 0 !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease !important;
}

footer a:not([aria-label*="LinkedIn"]):not([aria-label*="YouTube"]):not([aria-label*="X"]):not(.ry-footer-cta):not([style*="background:#075586"]):not([style*="background: #075586"]):hover {
  transform: translateX(4px) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #19C39C !important;
}

/* Footer CTA button inside "Need something specific?" card: solid navy button with crisp white text */
footer a.ry-footer-cta,
footer div[style*="background:#F4F8FC"] a,
footer div[style*="background: #F4F8FC"] a {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  background: #075586 !important;
  background-color: #075586 !important;
  color: #ffffff !important;
  padding: 13px 20px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(7, 85, 134, 0.28) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

footer a.ry-footer-cta:hover,
footer div[style*="background:#F4F8FC"] a:hover,
footer div[style*="background: #F4F8FC"] a:hover {
  background: #064670 !important;
  background-color: #064670 !important;
  color: #ffffff !important;
  transform: translateY(-3px) translateZ(0) !important;
  box-shadow: 0 10px 24px -4px rgba(7, 85, 134, 0.42) !important;
}

/* Footer trust bar spans - strictly static */
footer span,
footer span:hover {
  transform: none !important;
  box-shadow: none !important;
}

footer input[type="email"] {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

footer input[type="email"]:not(.ry-newsletter-input-error):not(.ry-newsletter-input-success):focus {
  border-color: #19C39C !important;
  box-shadow: 0 0 0 4px rgba(25, 195, 156, 0.25) !important;
  outline: none !important;
}

footer input[type="email"].ry-newsletter-input-error,
footer input[type="email"].ry-newsletter-input-error:focus,
.ry-newsletter-input-error,
.ry-newsletter-input-error:focus {
  border-color: #D92D20 !important;
  box-shadow: 0 0 0 3.5px rgba(217, 45, 32, 0.18) !important;
  outline: none !important;
}

footer input[type="email"].ry-newsletter-input-success,
footer input[type="email"].ry-newsletter-input-success:focus,
.ry-newsletter-input-success,
.ry-newsletter-input-success:focus {
  border-color: #19C39C !important;
  box-shadow: 0 0 0 3.5px rgba(25, 195, 156, 0.22) !important;
  outline: none !important;
}

/* ============================================================
   10. HERO SECTION ENTRANCE ("IN") ANIMATIONS (Page Load)
   ============================================================ */

/* Hero Section Subtle Ambient Mesh Gradient Glow */
/* Light hero sections (e.g. Home, Security, Pricing, etc.) */
section[data-screen-label="Hero"]:not([style*="background:#075586"]):not([style*="background: #075586"]):not([style*="background: rgb(7, 85, 134)"]):not([style*="background:rgb(7, 85, 134)"]) {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 65% 55% at 85% 20%,
    rgba(25, 195, 156, 0.09) 0%,
    rgba(7, 85, 134, 0.05) 50%,
    transparent 75%
  ), #ffffff !important;
}

/* Dark Navy Hero sections (Solutions, Demo, Free Trial, Terms, Blog articles) */
section[data-screen-label="Hero"][style*="background:#075586"],
section[data-screen-label="Hero"][style*="background: #075586"],
section[data-screen-label="Hero"][style*="background: rgb(7, 85, 134)"],
section[data-screen-label="Hero"][style*="background:rgb(7, 85, 134)"] {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 65% 55% at 85% 20%,
    rgba(25, 195, 156, 0.16) 0%,
    rgba(4, 51, 84, 0.35) 50%,
    transparent 75%
  ), #075586 !important;
  color: #fff !important;
}

/* Keyframes for Pure GPU-Accelerated 60FPS Hero Entrance */
@keyframes ryllo-hero-glide-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ryllo-hero-media-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ryllo-hero-stat-in {
  0% {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ryllo-float-gentle {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

/* Hardware Layer Promotion for Hero elements (Zero stutter / Zero pause) */
section[data-screen-label="Hero"] h1,
section[data-screen-label="Hero"] p,
section[data-screen-label="Hero"] span,
section[data-screen-label="Hero"] a,
[data-hero-media="natural"],
[data-hero-stats="1"] > div {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 1. Eyebrow Badge Entrance (Silky Smooth) */
section[data-screen-label="Hero"] > div > div:first-child > span:first-child {
  animation: ryllo-hero-glide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.04s backwards;
  will-change: transform, opacity;
}

/* 2. H1 Headline Entrance (No Blur filter - 100% fluid GPU sweep) */
section[data-screen-label="Hero"] h1 {
  animation: ryllo-hero-glide-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.10s backwards;
  will-change: transform, opacity;
}

/* 3. Highlight Span inside H1 (preserve page-specific inline highlight colors) */
section[data-screen-label="Hero"] h1 span {
  display: inline-block;
}

/* 4. Paragraph Text Entrance (Uninterrupted fluid glide) */
section[data-screen-label="Hero"] p {
  animation: ryllo-hero-glide-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards;
  will-change: transform, opacity;
}

/* 5. CTA Button Rows Entrance */
section[data-screen-label="Hero"] > div > div:first-child > div[style*="flex-direction:column"] {
  animation: ryllo-hero-glide-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.26s backwards;
  will-change: transform, opacity;
}

/* Hero CTA Buttons - Strictly NO idle shadow or flickering pulse; shadow ONLY appears on hover */
section[data-screen-label="Hero"] a[href*="register"]:not(:hover),
section[data-screen-label="Hero"] a[href*="demo"]:not(:hover),
section[data-screen-label="Hero"] a[href*="how-it-works"]:not(:hover) {
  animation: none !important;
  box-shadow: none !important;
}

section[data-screen-label="Hero"] a[href*="register"]:hover {
  transform: translateY(-3px) translateZ(0) !important;
}

/* 6. Hero Media Right Container Entrance */
[data-hero-media="natural"] {
  animation: ryllo-hero-media-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.14s backwards;
  will-change: transform, opacity, box-shadow;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

[data-hero-media="natural"]:hover {
  transform: translateY(-4px) scale(1.012) !important;
  box-shadow: 0 24px 50px -8px rgba(4, 51, 84, 0.24), 0 0 24px rgba(25, 195, 156, 0.18) !important;
}

/* 7. Floating Glass Pill inside Hero Media */
[data-hero-media="natural"] span[style*="Every figure shows its source"] {
  animation: ryllo-hero-glide-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards,
             ryllo-float-gentle 3.8s ease-in-out infinite 1.2s;
  will-change: transform;
}

/* 8. 3 Stat Cards Cascading Entrance */
[data-hero-stats="1"] > div:nth-child(1) {
  animation: ryllo-hero-stat-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.28s backwards;
  will-change: transform, opacity;
}

[data-hero-stats="1"] > div:nth-child(2) {
  animation: ryllo-hero-stat-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.36s backwards;
  will-change: transform, opacity;
}

[data-hero-stats="1"] > div:nth-child(3) {
  animation: ryllo-hero-stat-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.44s backwards;
  will-change: transform, opacity;
}

/* ============================================================
   5. UNIVERSAL PREMIUM SCROLL-TRIGGERED STAGGER ANIMATIONS
   ============================================================ */

:root {
  --ry-stagger-duration: 0.70s;
  --ry-stagger-distance: 26px;
  --ry-stagger-scale: 0.97;
}

/* Initial unrevealed state: subtle fade-in, upward 26px, gentle 0.97 scale */
.ry-card-stagger:not(.ry-card-revealed) {
  opacity: 0 !important;
  transform: translate3d(0, var(--ry-stagger-distance, 26px), 0) scale(var(--ry-stagger-scale, 0.97)) !important;
  pointer-events: none !important;
  visibility: visible !important;
  will-change: opacity, transform;
}

/* Entering / Revealed state: smooth transition to full opacity, natural position and scale */
.ry-card-stagger.ry-card-revealed:not(.ry-card-settled) {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  transition: opacity var(--ry-stagger-duration, 0.65s) cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--ry-stagger-duration, 0.65s) cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: 0s !important;
  will-change: opacity, transform;
  pointer-events: auto !important;
}

/* Settled state: removes transform lock so card is 100% interactive and hover works instantly */
.ry-card-stagger.ry-card-settled {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  will-change: auto;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease !important;
  transition-delay: 0s !important;
}

/* Rich hover elevation: INSTANT LIFT-UP on ALL cards (0s delay guaranteed) */
.ry-card-stagger:hover,
.ry-card-stagger.ry-card-revealed:hover,
.ry-card-stagger.ry-card-settled:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 20px 40px -6px rgba(4, 51, 84, 0.22), 0 0 16px rgba(25, 195, 156, 0.16) !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.24s ease !important;
  transition-delay: 0s !important;
}

/* Dark section card hover (e.g. #challenges, #how-it-works, #the-three-steps, #pricing) */
#challenges .ry-card-stagger:hover,
#how-it-works .ry-card-stagger:hover,
#the-three-steps .ry-card-stagger:hover,
#three-steps-grid .ry-card-stagger:hover,
#pricing .ry-card-stagger:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 22px 42px -6px rgba(0, 0, 0, 0.4), 0 0 22px rgba(25, 195, 156, 0.3) !important;
  border-color: rgba(25, 195, 156, 0.7) !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.24s ease !important;
  transition-delay: 0s !important;
}

/* ============================================================
   "EVERY JOB, IN ORDER" (#inside-step-two / data-flow)
   Zero hover effect: cards, icon badges, text, and containers
   stay completely static on hover with no lift-up, no shadow, no movement.
   ============================================================ */
#inside-step-two [data-flow-row] > div:hover,
#inside-step-two [data-flow-row] > div > div:hover,
#inside-step-two [data-flow-node]:hover,
#inside-step-two .ry-card-stagger:hover,
#inside-step-two .ry-card-revealed:hover,
#inside-step-two .ry-card-settled:hover,
[data-screen-label="Inside step two"] [data-flow-row] > div:hover,
[data-screen-label="Inside step two"] [data-flow-row] > div > div:hover,
[data-screen-label="Inside step two"] [data-flow-node]:hover,
[data-flow-row] > div:hover,
[data-flow-row] > div > div:hover,
[data-flow-node]:hover {
  transform: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

/* Maintain original icon badge shadow without hover change */
#inside-step-two [data-flow-node],
#inside-step-two [data-flow-node]:hover,
[data-flow-node],
[data-flow-node]:hover {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16), 0 12px 24px rgba(4, 18, 40, 0.34) !important;
}

/* Maintain card box background and border without hover change */
#inside-step-two [data-flow-row] > div > div,
#inside-step-two [data-flow-row] > div > div:hover,
[data-flow-row] > div > div,
[data-flow-row] > div > div:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

/* ============================================================
   "WHO DOES WHAT" (#who-signs)
   Zero hover effect: headline, cards, badges, banners, and lists
   stay completely static with no lift-up, no shadow changes, no movement.
   ============================================================ */
#who-signs [data-screen-label="Who does what"],
#who-signs div,
#who-signs span,
#who-signs p,
#who-signs h2,
#who-signs h3,
#who-signs ul,
#who-signs li,
[data-screen-label="Who does what"] div,
[data-screen-label="Who does what"] span,
[data-screen-label="Who does what"] p,
[data-screen-label="Who does what"] h2,
[data-screen-label="Who does what"] h3,
[data-screen-label="Who does what"] ul,
[data-screen-label="Who does what"] li {
  transition: none !important;
}

#who-signs div:hover,
#who-signs span:hover,
#who-signs p:hover,
#who-signs h2:hover,
#who-signs h3:hover,
#who-signs ul:hover,
#who-signs li:hover,
#who-signs svg:hover,
#who-signs .ry-card-stagger:hover,
#who-signs .ry-card-revealed:hover,
#who-signs .ry-card-settled:hover,
[data-screen-label="Who does what"] div:hover,
[data-screen-label="Who does what"] span:hover,
[data-screen-label="Who does what"] p:hover,
[data-screen-label="Who does what"] h2:hover,
[data-screen-label="Who does what"] h3:hover,
[data-screen-label="Who does what"] ul:hover,
[data-screen-label="Who does what"] li:hover,
[data-screen-label="Who does what"] .ry-card-stagger:hover {
  transform: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

/* Explicit lockdown for the section header text block ("Who does what / Your Pilots run it...") */
#who-signs .ry-static-header,
#who-signs .ry-static-header:hover,
#who-signs .ry-static-header *,
#who-signs .ry-static-header *:hover,
#who-signs [style*="max-width:62ch"],
#who-signs [style*="max-width:62ch"]:hover,
#who-signs [style*="max-width:62ch"] *,
#who-signs [style*="max-width:62ch"] *:hover,
[data-screen-label="Who does what"] [style*="max-width:62ch"],
[data-screen-label="Who does what"] [style*="max-width:62ch"]:hover,
[data-screen-label="Who does what"] [style*="max-width:62ch"] *,
[data-screen-label="Who does what"] [style*="max-width:62ch"] *:hover,
.ry-static-header,
.ry-static-header:hover,
.ry-static-header *,
.ry-static-header *:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  cursor: default !important;
}

/* Maintain original resting shadows and borders on the two main cards */
#who-signs div[style*="border-top:6px solid #075586"]:hover {
  box-shadow: 0 2px 12px rgba(4, 51, 84, 0.06) !important;
  border-color: #E4E7EC !important;
  border-top-color: #075586 !important;
}

#who-signs div[style*="border-top:6px solid #19C39C"]:hover {
  box-shadow: 0 8px 24px rgba(4, 51, 84, 0.2) !important;
  border-color: rgba(25, 195, 156, 0.35) !important;
  border-top-color: #19C39C !important;
}

/* Maintain original badges inside #who-signs */
#who-signs span[style*="border-radius:999px"]:hover,
[data-screen-label="Who does what"] span[style*="border-radius:999px"]:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Pricing Feature Bullets: Zero hover effect, completely static list items */
#pricing ul li,
#pricing ul li:hover,
section[data-screen-label="Pricing"] ul li,
section[data-screen-label="Pricing"] ul li:hover,
#pricing ul li.ry-card-stagger,
#pricing ul li.ry-card-stagger:hover,
ul li.ry-card-stagger:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  cursor: default !important;
  transition: none !important;
}

/* ============================================================
   PAGE CLOSE (CTA BANNER) - HOVER LOCKDOWN
   Only "Start your free trial" and "Book a demo" have hover effects.
   All columns, wrappers, text, and badges are completely static.
   ============================================================ */
dc-import[name="Page Close"] section,
dc-import[name="Page Close"] div,
dc-import[name="Page Close"] span,
dc-import[name="Page Close"] p,
dc-import[name="Page Close"] h2,
[data-sc-name="Page Close"] section,
[data-sc-name="Page Close"] div,
[data-sc-name="Page Close"] span,
[data-sc-name="Page Close"] p,
[data-sc-name="Page Close"] h2,
.ry-page-close-section,
.ry-page-close-section div,
.ry-page-close-section span,
.ry-page-close-section p,
.ry-page-close-section h2 {
  box-shadow: none;
}

dc-import[name="Page Close"] div:hover,
dc-import[name="Page Close"] span:hover,
dc-import[name="Page Close"] p:hover,
dc-import[name="Page Close"] h2:hover,
[data-sc-name="Page Close"] div:hover,
[data-sc-name="Page Close"] span:hover,
[data-sc-name="Page Close"] p:hover,
[data-sc-name="Page Close"] h2:hover,
.ry-page-close-section div:hover,
.ry-page-close-section span:hover,
.ry-page-close-section p:hover,
.ry-page-close-section h2:hover,
.ry-static-badge:hover,
span[data-static="true"]:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: inherit;
  cursor: default !important;
}

/* Page Close CTA Buttons: Explicit hover effects for the two buttons ONLY */
dc-import[name="Page Close"] a[href*="free-trial"]:hover,
dc-import[name="Page Close"] a[href*="trial"]:hover,
dc-import[name="Page Close"] a[style*="background:#19C39C"]:hover,
[data-sc-name="Page Close"] a[href*="free-trial"]:hover,
[data-sc-name="Page Close"] a[href*="trial"]:hover,
[data-sc-name="Page Close"] a[style*="background:#19C39C"]:hover,
.ry-page-close-section a[href*="free-trial"]:hover,
.ry-page-close-section a[href*="trial"]:hover,
.ry-page-close-section a[style*="background:#19C39C"]:hover {
  transform: translateY(-3px) translateZ(0) !important;
  background-color: #15b090 !important;
  color: #04372C !important;
  box-shadow: 0 14px 28px -4px rgba(25, 195, 156, 0.45), 0 6px 14px -2px rgba(4, 55, 44, 0.25) !important;
  cursor: pointer !important;
}

dc-import[name="Page Close"] a[href*="demo"]:hover,
[data-sc-name="Page Close"] a[href*="demo"]:hover,
.ry-page-close-section a[href*="demo"]:hover {
  transform: translateY(-3px) translateZ(0) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
}

/* Section heading / text subtle entrance */
.ry-heading-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.ry-heading-reveal.ry-heading-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Accessibility: Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ry-card-stagger,
  .ry-card-stagger:not(.ry-card-revealed),
  .ry-card-stagger.ry-card-revealed,
  .ry-card-stagger.ry-card-settled,
  .ry-heading-reveal,
  .ry-heading-reveal.ry-heading-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
}

/* Explicit lockdown for Pricing Toggle (Monthly/Yearly) and "Yearly saves 10%" badge */
.ry-pricing-toggle-wrap,
.ry-pricing-toggle-wrap:hover,
.ry-pricing-toggle-wrap *,
.ry-pricing-toggle-wrap *:hover,
.ry-pricing-toggle,
.ry-pricing-toggle:hover,
.ry-pricing-toggle button,
.ry-pricing-toggle button:hover,
.ry-pricing-toggle button:active,
.ry-pricing-toggle button:focus,
button[onClick*="setMonthly"],
button[onClick*="setMonthly"]:hover,
button[onClick*="setMonthly"]:active,
button[onClick*="setMonthly"]:focus,
button[onClick*="setYearly"],
button[onClick*="setYearly"]:hover,
button[onClick*="setYearly"]:active,
button[onClick*="setYearly"]:focus,
.ry-toggle-btn,
.ry-toggle-btn:hover,
.ry-toggle-btn:active,
.ry-toggle-btn:focus {
  transform: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

/* "Report a vulnerability" link: completely static, zero lift, zero shadow, fixed color */
a[href*="#disclosure"],
a[href*="#disclosure"]:hover,
a[href*="#disclosure"]:focus,
a[href*="#disclosure"]:active,
a[href*="disclosure"],
a[href*="disclosure"]:hover,
a[href*="disclosure"]:focus,
a[href*="disclosure"]:active,
.ry-static-link,
.ry-static-link:hover,
.ry-static-link:focus,
.ry-static-link:active {
  transform: none !important;
  box-shadow: none !important;
  color: #0C7F65 !important;
  text-decoration: none !important;
  transition: none !important;
}

/* Table of Contents sidebar box (Security & Privacy): completely static container, zero hover lift */
.doc-aside,
.doc-aside:hover,
.doc-aside > div,
.doc-aside > div:hover,
.ry-contents-box,
.ry-contents-box:hover,
aside[class*="doc-aside"] > div,
aside[class*="doc-aside"] > div:hover {
  transform: none !important;
  box-shadow: 0 2px 10px rgba(4, 51, 84, 0.06) !important;
  transition: none !important;
}

/* Ensure inner options (01, 02, etc.) keep their hover effect cleanly */
.doc-aside a[data-doc-jump],
.ry-contents-box a[data-doc-jump] {
  cursor: pointer !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}
.doc-aside a[data-doc-jump]:hover,
.ry-contents-box a[data-doc-jump]:hover {
  background-color: #F4F8FC !important;
  transform: translateX(3px) !important;
}

/* ============================================================
   ORIGIN SECTION ("WHERE RYLLO COMES FROM" - #about)
   1. Text block, headings, paragraphs, spans: 100% static, NO hover effect
   2. "Read the full story →": underline ONLY on hover (no lift, no shadow)
   3. Image card: lifts up smoothly on hover with subtle shadow
   ============================================================ */

/* 1. Origin Section & Text Container: Strictly static, zero hover lift */
#about,
#about:hover,
[data-screen-label="Origin"],
[data-screen-label="Origin"]:hover,
#about .ry-origin-text,
#about .ry-origin-text:hover,
#about > div > div:last-child,
#about > div > div:last-child:hover,
[data-screen-label="Origin"] > div > div:last-child,
[data-screen-label="Origin"] > div > div:last-child:hover,
#about h2:hover,
#about p:hover,
#about span:hover {
  transform: none !important;
  box-shadow: none !important;
  cursor: default !important;
  transition: none !important;
}

/* 2. "Read the full story →" link: Underline ONLY on hover */
#about .ry-origin-link,
#about a[href*="about"],
[data-screen-label="Origin"] a[href*="about"],
a.ry-origin-link {
  display: inline-flex !important;
  align-items: center !important;
  color: #075586 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: color 0.18s ease, text-decoration 0.18s ease !important;
}

#about .ry-origin-link:hover,
#about a[href*="about"]:hover,
[data-screen-label="Origin"] a[href*="about"]:hover,
a.ry-origin-link:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  color: #064670 !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* 3. Image Container: Lifts up smoothly on hover */
#about .ry-origin-image,
#about > div > div:first-child,
[data-screen-label="Origin"] > div > div:first-child {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow;
  cursor: pointer !important;
}

#about .ry-origin-image:hover,
#about > div > div:first-child:hover,
[data-screen-label="Origin"] > div > div:first-child:hover {
  transform: translateY(-6px) translateZ(0) !important;
  box-shadow: 0 20px 40px -6px rgba(4, 51, 84, 0.22), 0 6px 16px -2px rgba(4, 51, 84, 0.12) !important;
}

/* ============================================================
   GLOSSY 3D BUTTONS (site-wide)
   effects.js (initGlossyButtons) tags every real button with
   data-ry-btn3d="<variant>":
     primary  rich blue, white text (filled CTAs on light surfaces)
     light    white to icy blue, navy text (outline CTAs, and filled
              CTAs sitting on dark navy surfaces)
     glass    frosted white on dark surfaces (outline CTAs on navy)
   plus data-ry-btn3d-surface="dark" on navy backgrounds and
   data-ry-btn3d-icon for icon-only buttons (menu, close).
   Data attributes rather than classes: the template runtime rewrites
   className on re-render, which would strip added classes.
   Buttons carry inline background/colour from the page templates and
   older hover rules above use !important, so these declarations are
   !important too. They live in a cascade layer because layered
   !important rules beat unlayered ones regardless of specificity,
   which retires the older hover/active rules without editing them.
   ============================================================ */
:root {
  --ry-btn-blue-50: #F5FAFE;
  --ry-btn-blue-100: #EAF2F8;
  --ry-btn-blue-200: #CFE2F3;
  --ry-btn-blue-300: #9CC2E0;
  --ry-btn-blue-400: #4F9FD6;
  --ry-btn-blue-500: #1673B4;
  --ry-btn-blue-600: #075586;
  --ry-btn-blue-700: #064670;
  --ry-btn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ry-btn-focus: #0E76AD;
}

@layer ry-buttons {
  [data-ry-btn3d] {
    border-radius: 999px !important;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer !important;
    transform: translateY(0) !important;
    transition: transform 0.22s var(--ry-btn-ease),
                box-shadow 0.22s var(--ry-btn-ease),
                background-color 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* ---- Primary: rich blue with a soft white sheen up top ---- */
  [data-ry-btn3d="primary"] {
    color: #fff !important;
    border-color: #0A5E96 !important;
    background-color: var(--ry-btn-blue-600) !important;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.06) 46%, rgba(255, 255, 255, 0) 56%),
      linear-gradient(180deg, var(--ry-btn-blue-400) 0%, var(--ry-btn-blue-500) 42%, var(--ry-btn-blue-600) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -2px 0 rgba(4, 51, 84, 0.28),
      0 1px 2px rgba(4, 51, 84, 0.22),
      0 6px 16px -4px rgba(7, 85, 134, 0.45) !important;
    text-shadow: 0 1px 1px rgba(4, 51, 84, 0.35);
  }
  [data-ry-btn3d="primary"]:hover {
    color: #fff !important;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.10) 46%, rgba(255, 255, 255, 0) 56%),
      linear-gradient(180deg, #5AA8DD 0%, #1A79BB 42%, var(--ry-btn-blue-600) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      inset 0 -2px 0 rgba(4, 51, 84, 0.30),
      0 2px 4px rgba(4, 51, 84, 0.22),
      0 12px 24px -6px rgba(7, 85, 134, 0.55) !important;
  }
  [data-ry-btn3d="primary"]:active {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 50%),
      linear-gradient(180deg, var(--ry-btn-blue-500) 0%, var(--ry-btn-blue-600) 55%, var(--ry-btn-blue-700) 100%) !important;
    box-shadow:
      inset 0 2px 4px rgba(4, 51, 84, 0.35),
      inset 0 -1px 0 rgba(255, 255, 255, 0.12),
      0 1px 2px rgba(4, 51, 84, 0.20) !important;
  }

  /* ---- Light: white into icy blue, navy label ---- */
  [data-ry-btn3d="light"] {
    color: var(--ry-btn-blue-600) !important;
    border-color: var(--ry-btn-blue-300) !important;
    background-color: var(--ry-btn-blue-100) !important;
    background-image:
      linear-gradient(180deg, #FFFFFF 0%, var(--ry-btn-blue-50) 38%, var(--ry-btn-blue-100) 62%, var(--ry-btn-blue-200) 100%) !important;
    box-shadow:
      inset 0 1px 0 #FFFFFF,
      inset 0 -2px 0 rgba(7, 85, 134, 0.12),
      0 1px 2px rgba(4, 51, 84, 0.12),
      0 6px 14px -4px rgba(7, 85, 134, 0.28) !important;
  }
  [data-ry-btn3d="light"]:hover {
    color: var(--ry-btn-blue-700) !important;
    border-color: #5E9CCB !important;
    background-image:
      linear-gradient(180deg, #FFFFFF 0%, #F0F7FD 36%, #E1EEF8 62%, #BFD8EE 100%) !important;
    box-shadow:
      inset 0 1px 0 #FFFFFF,
      inset 0 -2px 0 rgba(7, 85, 134, 0.16),
      0 2px 4px rgba(4, 51, 84, 0.12),
      0 12px 22px -6px rgba(7, 85, 134, 0.38) !important;
  }
  [data-ry-btn3d="light"]:active {
    background-image:
      linear-gradient(180deg, var(--ry-btn-blue-100) 0%, var(--ry-btn-blue-200) 100%) !important;
    box-shadow:
      inset 0 2px 4px rgba(7, 85, 134, 0.20),
      0 1px 2px rgba(4, 51, 84, 0.12) !important;
  }
  /* On navy the light button needs a darker drop shadow to lift off the surface */
  [data-ry-btn3d="light"][data-ry-btn3d-surface="dark"] {
    border-color: rgba(255, 255, 255, 0.85) !important;
    box-shadow:
      inset 0 1px 0 #FFFFFF,
      inset 0 -2px 0 rgba(7, 85, 134, 0.18),
      0 1px 2px rgba(2, 24, 40, 0.30),
      0 8px 18px -4px rgba(2, 24, 40, 0.50) !important;
  }
  [data-ry-btn3d="light"][data-ry-btn3d-surface="dark"]:hover {
    box-shadow:
      inset 0 1px 0 #FFFFFF,
      inset 0 -2px 0 rgba(7, 85, 134, 0.20),
      0 2px 4px rgba(2, 24, 40, 0.30),
      0 14px 26px -6px rgba(2, 24, 40, 0.60) !important;
  }

  /* ---- Glass: frosted white for outline buttons on navy ---- */
  [data-ry-btn3d="glass"] {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    background-color: transparent !important;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(185, 210, 228, 0.12) 50%, rgba(185, 210, 228, 0.05) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -2px 0 rgba(4, 51, 84, 0.25),
      0 6px 16px -4px rgba(2, 24, 40, 0.45) !important;
  }
  [data-ry-btn3d="glass"]:hover {
    color: #fff !important;
    border-color: #fff !important;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(185, 210, 228, 0.18) 50%, rgba(185, 210, 228, 0.08) 100%) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -2px 0 rgba(4, 51, 84, 0.25),
      0 12px 24px -6px rgba(2, 24, 40, 0.55) !important;
  }
  [data-ry-btn3d="glass"]:active {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    box-shadow:
      inset 0 2px 4px rgba(2, 24, 40, 0.35),
      0 1px 2px rgba(2, 24, 40, 0.25) !important;
  }

  /* ---- Shared motion ---- */
  [data-ry-btn3d]:hover {
    transform: translateY(-2px) !important;
  }
  [data-ry-btn3d]:active {
    transform: translateY(1px) !important;
    transition-duration: 0.08s !important;
  }

  /* ---- Keyboard focus: a clear ring outside the button ---- */
  [data-ry-btn3d]:focus-visible {
    outline: 3px solid var(--ry-btn-focus) !important;
    outline-offset: 3px !important;
  }
  [data-ry-btn3d-surface="dark"]:focus-visible {
    outline-color: #FFFFFF !important;
  }

  /* ---- Icon-only buttons (menu, close): round, same finish ---- */
  [data-ry-btn3d-icon] {
    border-radius: 50% !important;
    text-shadow: none;
  }

  /* ---- Disabled: flat, muted, clearly not clickable ---- */
  [data-ry-btn3d]:disabled,
  [data-ry-btn3d]:disabled:hover,
  [data-ry-btn3d]:disabled:active,
  [data-ry-btn3d][aria-disabled="true"],
  [data-ry-btn3d][aria-disabled="true"]:hover,
  [data-ry-btn3d][aria-disabled="true"]:active {
    cursor: not-allowed !important;
    transform: none !important;
    color: #667085 !important;
    border-color: #D0D5DD !important;
    background-color: #EEF1F4 !important;
    background-image: linear-gradient(180deg, #F5F7F9 0%, #E4E7EC 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    text-shadow: none;
  }

  /* ---- Comfortable touch targets on touch screens ---- */
  @media (pointer: coarse) {
    [data-ry-btn3d]:not([data-ry-btn3d-icon]) {
      min-height: 44px;
    }
  }

  /* ---- Reduced motion: keep the colour and shadow feedback, drop movement ---- */
  @media (prefers-reduced-motion: reduce) {
    [data-ry-btn3d],
    [data-ry-btn3d]:hover,
    [data-ry-btn3d]:active {
      transform: none !important;
      transition: none !important;
    }
  }
}

/* ============================================================
   ANIMATED LINK UNDERLINES (site-wide)
   effects.js (initHoverLinks) tags plain text links with
     data-ry-link="box"     inline-block/flex links (nav, footer,
                            "Read more →"): line drawn by ::after,
                            sized to the measured label (--ry-link-x/w)
     data-ry-link="inline"  links in running text: line drawn as a
                            background so it follows wrapped lines
   plus data-ry-link-surface="dark" on navy backgrounds.
   The line grows left to right on hover / keyboard focus, only on
   devices with a real hover so taps never leave it stuck on.
   Layered for the same reason as the buttons: older unlayered
   !important link rules (e.g. footer "background: transparent").
   ============================================================ */
:root {
  --ry-link-line: #075586;
  --ry-link-line-dark: #9CC2E0;
  --ry-link-line-size: 2px;
  --ry-link-gap: 2px;
  --ry-link-speed: 0.28s;
}

@layer ry-links {
  [data-ry-link] {
    --ry-link-color: var(--ry-link-line);
    text-decoration: none !important;
  }
  [data-ry-link-surface="dark"] {
    --ry-link-color: var(--ry-link-line-dark);
  }

  [data-ry-link="box"] {
    position: relative;
  }
  [data-ry-link="box"]::after {
    content: "";
    position: absolute;
    left: var(--ry-link-x, 0px);
    width: var(--ry-link-w, 100%);
    bottom: calc(var(--ry-link-pb, 0px) - var(--ry-link-gap));
    height: var(--ry-link-line-size);
    border-radius: var(--ry-link-line-size);
    background: var(--ry-link-color);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--ry-link-speed) cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  [data-ry-link="inline"] {
    background-image: linear-gradient(var(--ry-link-color), var(--ry-link-color)) !important;
    background-repeat: no-repeat !important;
    background-position: 0 calc(100% + var(--ry-link-gap) - 1px) !important;
    background-size: 0% var(--ry-link-line-size) !important;
    transition: background-size var(--ry-link-speed) cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    -webkit-box-decoration-break: slice;
    box-decoration-break: slice;
  }

  @media (hover: hover) and (pointer: fine) {
    [data-ry-link="box"]:hover::after {
      transform: scaleX(1);
    }
    [data-ry-link="inline"]:hover {
      background-size: 100% var(--ry-link-line-size) !important;
    }
  }
  [data-ry-link="box"]:focus-visible::after {
    transform: scaleX(1);
  }
  [data-ry-link="inline"]:focus-visible {
    background-size: 100% var(--ry-link-line-size) !important;
  }

  /* Keyboard focus: blue ring (the site default ring is green) */
  [data-ry-link]:focus-visible {
    outline: 2px solid #0E76AD !important;
    outline-offset: 3px !important;
    border-radius: 3px;
  }
  [data-ry-link-surface="dark"]:focus-visible {
    outline-color: #FFFFFF !important;
  }

  @media (prefers-reduced-motion: reduce) {
    [data-ry-link="box"]::after,
    [data-ry-link="inline"] {
      transition: none !important;
    }
  }
}

/* ============================================================
   SCROLL MOTION & AMBIENT EFFECTS (site-wide)
   effects.js (initScrollMotion) adds:
     #ry-scroll-progress        reading-progress bar
     data-ry-reveal             loose section text / images that fade up
     data-ry-eyebrow            accent line before section labels
     data-ry-spotlight          cursor glow on flat navy sections
   The button light sweep below is CSS only.
   Everything here is skipped or stilled under prefers-reduced-motion.
   ============================================================ */
@property --ry-spot {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@layer ry-motion {
  /* ---- Reading progress ---- */
  #ry-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #9CC2E0 0%, #4F9FD6 45%, #075586 100%);
    box-shadow: 0 1px 6px rgba(7, 85, 134, 0.35);
  }

  /* ---- Content fade-up ---- */
  [data-ry-reveal="pending"] {
    opacity: 0 !important;
    transform: translateY(16px) !important;
  }
  [data-ry-reveal="pending-media"] {
    opacity: 0 !important;
    transform: translateY(12px) scale(1.03) !important;
  }
  [data-ry-reveal="in"] {
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--ry-reveal-delay, 0ms);
  }

  /* ---- Section label accent line ---- */
  [data-ry-eyebrow] {
    transform-origin: left center;
  }
  [data-ry-eyebrow="pending"] {
    transform: scaleX(0) !important;
  }
  [data-ry-eyebrow="in"] {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  }

  /* ---- Cursor glow on navy sections ---- */
  [data-ry-spotlight] {
    --ry-spot: 0;
    background-image: radial-gradient(
      560px circle at var(--ry-mx, 50%) var(--ry-my, 50%),
      rgba(156, 194, 224, calc(0.14 * var(--ry-spot))) 0%,
      rgba(79, 159, 214, calc(0.06 * var(--ry-spot))) 35%,
      transparent 65%
    ) !important;
    transition: --ry-spot 0.5s ease;
  }
  [data-ry-spotlight="on"] {
    --ry-spot: 1;
  }

  /* ---- Light sweep across glossy buttons on hover ---- */
  [data-ry-btn3d]:not([data-ry-btn3d-icon]) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  [data-ry-btn3d]:not([data-ry-btn3d-icon])::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50%;
    width: 40%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }
  @media (hover: hover) and (pointer: fine) {
    [data-ry-btn3d]:not([data-ry-btn3d-icon]):not(:disabled):hover::before {
      animation: ry-btn-sweep 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    [data-ry-reveal],
    [data-ry-eyebrow] {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
    [data-ry-btn3d]::before {
      display: none;
    }
  }
}

@keyframes ry-btn-sweep {
  0%   { transform: translateX(0) skewX(-18deg); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateX(420%) skewX(-18deg); opacity: 0; }
}




/* ---------- RY-020: content is visible by default ----------
   Scroll reveals now animate position only. Content is never hidden waiting for an
   animation, so fast scrolling, printing and slow devices never show blank sections.
   Reduced-motion users get no movement at all. */
html .ry-reveal,
html .ry-heading-reveal,
html .ry-section-header-reveal,
html .ry-card-stagger:not(.ry-card-revealed),
html [data-ry-reveal="pending"],
html [data-ry-reveal="pending-media"] {
  opacity: 1 !important;
  pointer-events: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html .ry-reveal, html .ry-heading-reveal, html .ry-section-header-reveal,
  html .ry-card-stagger, html .ry-card-stagger:not(.ry-card-revealed),
  html [data-ry-reveal], html [data-ry-eyebrow] {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  html .ry-reveal, html .ry-heading-reveal, html .ry-section-header-reveal,
  html .ry-card-stagger, html [data-ry-reveal], html [data-ry-eyebrow] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #ryllo-buddy, #ryllo-thanks-modal, button[aria-label="Back to top"] { display: none !important; }
}

/* ---------- RY-034: left-aligned body text ----------
   Justified paragraphs (with automatic hyphenation) produced uneven word spacing,
   especially on narrow screens. Body copy is now left-aligned; centred or
   right-aligned text keeps its alignment. */
html article p:not([style*="center"]):not([style*="right"]),
html p[style*="ch"]:not([style*="center"]):not([style*="right"]),
html [style*="text-align: justify"],
html [style*="text-align:justify"] {
  text-align: left !important;
  text-justify: auto !important;
}
html p, html li {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
}
