/* ==========================================================================
   industries.css — industry landing page styles.
   Self-contained. Reuses global tokens + .ry-btn + .ry-tear-* only.
   ========================================================================== */

/* --- Industry hero (photo bg, copy left, chips) -------------------------- */
/* --- Industry hero (photo bg, two-column: copy left, stat cards right) --- */
.ry-ihero {
  position: relative;
  overflow: hidden;
  background: var(--ry-ink);
  min-height: clamp(620px, 86vh, 700px);
  display: flex;
  align-items: center;
}

.ry-ihero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ry-ihero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  display: block;
}

/* Dark gradient: now darkens further right so the glass cards stay legible */
.ry-ihero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(11, 14, 30, 0.97) 0%,
      rgba(11, 14, 30, 0.88) 42%,
      rgba(11, 14, 30, 0.66) 72%,
      rgba(11, 14, 30, 0.52) 100%),
    linear-gradient(180deg,
      var(--ry-ink) 0%,
      rgba(11, 14, 30, 0) 16%,
      rgba(11, 14, 30, 0) 72%,
      var(--ry-ink) 100%);
}

.ry-ihero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--ry-space-4);
  padding-bottom: clamp(3rem, 6vw, 3rem);
}

@media (max-width: 880px) {
	.ry-ihero__inner {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

/* Two-column split: copy left, stat cards right */
.ry-ihero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  column-gap: clamp(40px, 5vw, 80px);
}

.ry-ihero__copy {
  max-width: 600px;
}

.ry-ihero__eyebrow {
  font-size: var(--ry-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ry-blue-400);
  margin-bottom: var(--ry-space-4);
}

.ry-ihero__title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.ry-ihero__accent {
  color: var(--ry-blue-600);
}

.ry-ihero__sub {
  font-size: var(--ry-text-lg);
  line-height: 1.5;
  color: var(--ry-slate-300);
  margin-top: var(--ry-space-5);
  max-width: 34em;
}

/* --- Stat cards (right column) — dark-tinted glassmorphism --------------- */
.ry-ihero__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
}

.ry-istat {
  position: relative;
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--ry-radius-xl);
  background: rgba(11, 14, 30, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.ry-istat__num {
  font-family: var(--ry-font-impact);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ry-blue-400);
  margin: 0;
}

.ry-istat__t {
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-lg);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 10px 0 0;
}

.ry-istat__d {
  font-size: var(--ry-text-sm);
  line-height: 1.5;
  color: var(--ry-slate-300);
  margin: 6px 0 0;
}

/* --- Feature chips ------------------------------------------------------- */
.ry-ihero__chips {
  list-style: none;
  margin: var(--ry-space-6) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ry-space-5);
  max-width: 540px;
}

.ry-ihero__chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ry-ihero__chip-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.ry-ihero__chip-ic img {
  width: 40px;
  height: 40px;
  display: block;
}

.ry-ihero__chip-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: var(--ry-text-sm);
  line-height: 1.4;
  color: var(--ry-slate-400);
}

.ry-ihero__chip-txt strong {
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-base);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* --- CTA + trust line ---------------------------------------------------- */
.ry-ihero__cta {
  margin-top: var(--ry-space-7);
}

.ry-ihero__proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--ry-space-5);
  font-size: var(--ry-text-sm);
  color: var(--ry-slate-300);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ry-ihero__proof {
    white-space: normal;
    font-size: 12px;
    text-wrap: balance;
  }
}

.ry-ihero__check {
  color: #0EAC78;
  font-weight: 700;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .ry-ihero__grid {
    grid-template-columns: 1fr;
    row-gap: clamp(32px, 6vw, 48px);
  }

  .ry-ihero__copy {
    max-width: none;
  }

  /* Cards go horizontal (3 across) below the copy on tablet */
  .ry-ihero__cards {
    flex-direction: row;
  }

  .ry-istat {
    flex: 1;
  }
}

@media (max-width: 880px) {
  .ry-ihero {
    min-height: 600px;
  }

  .ry-ihero__bg::after {
    background:
      linear-gradient(180deg,
        rgba(11, 14, 30, 0.72) 0%,
        rgba(11, 14, 30, 0.86) 55%,
        var(--ry-ink) 100%);
  }

  .ry-ihero__bg img {
    object-position: 70% center;
  }
}

@media (max-width: 620px) {
  .ry-ihero__chips {
    grid-template-columns: 1fr;
    gap: var(--ry-space-4);
  }

  /* Cards stack vertically on phones */
  .ry-ihero__cards {
    flex-direction: column;
  }
}

/* ==========================================================================
   Built-for-trade story section (.ry-story)
   Alternating image/copy rows, dashed curved SVG connectors weaving down.
   ========================================================================== */
.ry-story {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 88px);
}

.ry-story__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: clamp(40px, 7vw, 110px);
}

.ry-story__item--flip .ry-story__media {
  order: 2;
}

.ry-story__item--flip .ry-story__copy {
  order: 1;
}

.ry-story__media img {
  width: 100%;
  height: auto;
  display: block;
}

.ry-story__copy {
  max-width: 30em;
}

.ry-story__item--flip .ry-story__copy {
  margin-left: auto;
}

.ry-story__t {
  font-family: var(--ry-font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ry-slate-900);
  margin: 0;
}

.ry-story__d {
  font-size: var(--ry-text-base);
  color: var(--ry-text-muted);
  line-height: 1.6;
  margin-top: var(--ry-space-4);
}

/* --- Center scroll-fill spine -------------------------------------------- */
.ry-story {
  /* spine needs room to sit at true center between the two columns */
}

.ry-story__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--ry-blue-200) 55%, transparent 55%);
  background-size: 2px 14px;
  background-repeat: repeat-y;
}

.ry-story__spine-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-image: linear-gradient(var(--ry-blue-600) 55%, transparent 55%);
  background-size: 2px 14px;
  background-repeat: repeat-y;
  transition: height 120ms linear;
  will-change: height;
}

.ry-story__item {
  position: relative;
  z-index: 1;
}

/* --- Responsive: stack, kill the weaving connectors (they'd point nowhere) */
@media (max-width: 880px) {
  .ry-story {
    gap: clamp(36px, 9vw, 56px);
  }

  .ry-story__item,
  .ry-story__item--flip {
    grid-template-columns: 1fr;
    row-gap: var(--ry-space-5);
  }

  .ry-story__item .ry-story__copy,
  .ry-story__item--flip .ry-story__copy {
    order: 1;
    margin-left: 0;
  }

  .ry-story__item .ry-story__media,
  .ry-story__item--flip .ry-story__media {
    order: 2;
  }

  .ry-story__copy {
    max-width: none;
  }

  .ry-story__spine {
    display: none;
  }
}

/* --- Spine nodes (check that activates as the fill reaches it) ------------ */
.ry-story__node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ry-bg);
  border: 2px solid var(--ry-blue-200);
  color: var(--ry-blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 260ms var(--ry-ease),
              background 260ms var(--ry-ease),
              transform 420ms var(--ry-ease);
}

.ry-story__node svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ry-story__check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 320ms var(--ry-ease) 80ms;
}

/* Pulse ring */
.ry-story__node::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--ry-blue-500);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}

/* --- Active state (fill line has reached this node) ---------------------- */
.ry-story__item.is-reached .ry-story__node {
  background: var(--ry-blue-600);
  border-color: var(--ry-blue-600);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.06);
}

.ry-story__item.is-reached .ry-story__check {
  stroke-dashoffset: 0;
}

.ry-story__item.is-reached .ry-story__node::after {
  animation: ry-node-pulse 620ms var(--ry-ease) forwards;
}

@keyframes ry-node-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.7); }
}

@media (max-width: 880px) {
  .ry-story__node {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ry-story__check {
    transition: none;
  }
  .ry-story__node {
    transition: none;
  }
  .ry-story__node::after {
    animation: none;
  }
}

/* ==========================================================================
   Industry CTA band (.ry-icta) — dark, form, overhanging mockup
   ========================================================================== */
.ry-icta {
  position: relative;
  text-align: center;
}

.ry-icta__form {
  display: flex;
  justify-content: center;
  gap: var(--ry-space-3);
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.ry-icta__nocc {
  text-align: center;
  margin-top: var(--ry-space-4);
  font-size: var(--ry-text-sm);
  color: var(--ry-slate-400);
}

.ry-icta__media {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  margin: clamp(40px, 5vw, 64px) auto calc(clamp(120px, 18vw, 200px) * -1);
  padding-inline: var(--ry-space-5);
}

.ry-icta__media img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
}

@media (max-width: 880px) {
  .ry-icta__media {
    margin-bottom: calc(clamp(70px, 16vw, 120px) * -1);
  }
}

.ry-icta__form .ry-footer__input {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--ry-blue-500);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.35),
    0 0 24px 2px rgba(37, 99, 235, 0.45);
}

.ry-icta__form .ry-footer__input::placeholder {
  color: var(--ry-slate-400);
}

.ry-icta__form .ry-footer__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ry-blue-400);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.35),
    0 0 24px 2px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   Industry CTA split (.ry-ctasplit) — contained band, oversized mockup
   bleeding off the left edge / copy right. Additive module.
   ========================================================================== */
.ry-ctasplit {
  overflow: hidden;
}

.ry-ctasplit__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  column-gap: clamp(32px, 4vw, 64px);
}

.ry-ctasplit__media {
  position: relative;
  min-width: 0;
}

.ry-ctasplit__media img {
  display: block;
  width: calc(100% + clamp(80px, 12vw, 220px));
  max-width: none;
  height: auto;
  margin-left: calc(clamp(80px, 12vw, 220px) * -1);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.ry-ctasplit__copy .ry-band__title {
  text-align: left;
  margin: 0;
}

.ry-ctasplit__copy .ry-band__sub {
  text-align: left;
  margin-top: var(--ry-space-4);
  max-width: 30em;
}

.ry-ctasplit__form {
  display: flex;
  flex-direction: column;
  gap: var(--ry-space-3);
  margin-top: var(--ry-space-6);
  max-width: 440px;
}

.ry-ctasplit__form .ry-footer__input {
  width: 100%;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--ry-blue-500);
  color: #fff;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.35),
    0 0 24px 2px rgba(37, 99, 235, 0.45);
}

.ry-ctasplit__form .ry-footer__input::placeholder {
  color: var(--ry-slate-400);
}

.ry-ctasplit__form .ry-footer__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ry-blue-400);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.35),
    0 0 24px 2px rgba(37, 99, 235, 0.45);
}

.ry-ctasplit__form .ry-btn {
  width: 100%;
}

.ry-ctasplit__nocc {
  margin-top: var(--ry-space-4);
  font-size: var(--ry-text-sm);
  color: var(--ry-slate-400);
}

/* --- Tablet: shrink the bleed, keep two columns ------------------------- */
@media (max-width: 1024px) {
  .ry-ctasplit__media img {
    min-width: 480px;
    margin-left: clamp(-160px, -10vw, -60px);
  }
}

/* --- Mobile: stack, image back in flow, no negative bleed --------------- */
@media (max-width: 880px) {
  .ry-ctasplit__inner {
    grid-template-columns: 1fr;
    row-gap: var(--ry-space-6);
  }

  .ry-ctasplit__copy {
    order: 1;
  }

  .ry-ctasplit__media {
    order: 2;
  }

  .ry-ctasplit__media img {
    min-width: 0;
    width: 100%;
    margin-left: 0;
  }

  .ry-ctasplit__copy .ry-band__sub,
  .ry-ctasplit__form {
    max-width: none;
  }
}

/* ==========================================================================
   Split feature module (.ry-split) — Stitch cs-1191 approach.
   Two-column flex list with a wide center channel; image absolutely centered
   in the gap on desktop. Top/bottom pairs pull inward to form an oval ring.
   ========================================================================== */
.ry-split__wrap {
  position: relative;
}
.ry-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  column-gap: clamp(220px, 24vw, 420px);
  row-gap: clamp(90px, 12vw, 150px);
}
.ry-split__item {
  width: 30%;
  max-width: 24rem;
  display: flex;
  align-items: flex-start;
  gap: var(--ry-space-4);
  position: relative;
}
/* Odd items (left column): text right-aligned, icon sent to the right (toward center) */
.ry-split__item:nth-of-type(odd) {
  text-align: right;
}
.ry-split__item:nth-of-type(odd) .ry-split__ic {
  order: 2;
}
/* Top pair: pull strongly inward toward the image's top curve */
.ry-split__item:nth-of-type(1) {
  left: clamp(5rem, 10vw, 4rem);
}
.ry-split__item:nth-of-type(2) {
  right: clamp(5rem, 10vw, 4rem);
}
/* Middle pair: sit widest, framing the image's middle */
.ry-split__item:nth-of-type(3) {
  left: calc(clamp(2rem, 4vw, 4rem) * -1);
}
.ry-split__item:nth-of-type(4) {
  right: calc(clamp(2rem, 4vw, 4rem) * -1);
}
/* Bottom pair: pull strongly inward toward the image's bottom curve */
.ry-split__item:nth-of-type(5) {
  left: clamp(5rem, 10vw, 4rem);
}
.ry-split__item:nth-of-type(6) {
  right: clamp(5rem, 10vw, 4rem);
}
/* --- Icon badge ---------------------------------------------------------- */
.ry-split__ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}
.ry-split__ic img {
  width: 40px;
  height: auto;
  display: block;
}
.ry-split__t {
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-lg);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ry-slate-900);
  margin: 0 0 6px;
}
.ry-split__d {
  font-size: var(--ry-text-sm);
  line-height: 1.55;
  color: var(--ry-text-muted);
  margin: 0;
}
/* --- Centered image (desktop): absolutely placed in the center channel --- */
.ry-split__media {
  width: 30vw;
  max-width: 500px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.ry-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ry-radius-lg);
  -webkit-mask-image: url("/wp-content/uploads/2026/06/torn-mask.png");
  mask-image: url("/wp-content/uploads/2026/06/torn-mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* --- Tablet: two columns, normal gap, image back in flow at top ---------- */
@media (max-width: 1024px) {
  .ry-split__list {
    column-gap: var(--ry-space-6);
    row-gap: clamp(28px, 5vw, 44px);
  }
  .ry-split__item {
    width: 46%;
    text-align: left;
  }
  .ry-split__item:nth-of-type(odd) {
    text-align: left;
  }
  .ry-split__item:nth-of-type(odd) .ry-split__ic {
    order: 0;
  }
  .ry-split__item:nth-of-type(1),
  .ry-split__item:nth-of-type(2),
  .ry-split__item:nth-of-type(3),
  .ry-split__item:nth-of-type(4),
  .ry-split__item:nth-of-type(5),
  .ry-split__item:nth-of-type(6) {
    left: 0;
    right: 0;
  }
  .ry-split__media {
    position: static;
    transform: none;
    width: 100%;
    max-width: 520px;
    margin: 0 auto clamp(32px, 6vw, 48px);
  }
}
/* --- Mobile: single column, centered, image on top ---------------------- */
@media (max-width: 600px) {
  .ry-split__item,
  .ry-split__item:nth-of-type(odd) {
    width: 100%;
    max-width: 23rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ry-split__item:nth-of-type(odd) .ry-split__ic {
    order: 0;
  }
}

/* Bordered CTA variant (no overhang mockup) — thick blue bottom accent */
.ry-icta--accent {
  border-bottom: 8px solid var(--ry-blue-600);
  padding-top: clamp(var(--ry-space-9), 13vw, 6rem) !important;
}

@media (max-width: 980px) {
	.ry-icta--accent {
	   padding-top: clamp(1rem, 4vw, 4rem) !important;	
	}
}

/* ==========================================================================
   Process steps (.ry-steps) — numbered storytelling flow with arrows.
   ========================================================================== */
.ry-steps__row {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.ry-steps__item {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Arrow between steps (desktop) — points to the next step */
.ry-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  right: calc(clamp(16px, 2vw, 28px) * -0.5);
  width: 48px;
  height: 22px;
  transform: translate(50%, -50%);
  background-color: var(--ry-blue-400);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='2' y1='11' x2='34' y2='11' stroke-dasharray='4 4'/%3E%3Cpath d='M34 5l6 6-6 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 22' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='2' y1='11' x2='34' y2='11' stroke-dasharray='4 4'/%3E%3Cpath d='M34 5l6 6-6 6'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.ry-steps__top {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--ry-space-4);
}

.ry-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ry-blue-600);
  color: #fff;
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-sm);
  font-weight: 700;
  position: relative;
  top: 8px;
  z-index: 1;
}

.ry-steps__ic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ry-blue-100);
}

.ry-steps__ic::before {
  content: "";
  width: 38px;
  height: 38px;
  background-color: var(--ry-blue-600);
  -webkit-mask-image: var(--ry-icon);
  mask-image: var(--ry-icon);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.ry-steps__t {
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-lg);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ry-slate-900);
  margin: 0 0 var(--ry-space-2);
}

.ry-steps__d {
  font-size: var(--ry-text-base);
  line-height: 1.55;
  color: var(--ry-text-muted);
  margin: 0;
  max-width: 22em;
}

/* --- Tablet: 2x2, hide arrows (they'd point wrong) ----------------------- */
@media (max-width: 880px) {
  .ry-steps__row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 40px);
  }

  .ry-steps__item::after {
    display: none;
  }
}

/* --- Mobile: single column ---------------------------------------------- */
@media (max-width: 520px) {
  .ry-steps__row {
    grid-template-columns: 1fr;
  }
}

.ry-phone {
  position: relative;
  width: 250px;
  max-width: 100%;
  margin-inline: auto;
}

.ry-phone__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  pointer-events: none;
}

.ry-phone__gif {
  position: absolute;
  z-index: 1;
  top: 2.5%;
  left: 6%;
  width: 88%;
  height: 95%;
  object-fit: initial;
  border-radius: 32px;
  display: block;
}

/* ==========================================================================
   Pain points (.ry-pain) — problems-first stacked list with red X markers.
   Dark section.
   ========================================================================== */
.ry-pain {
  background: var(--ry-ink);
}
.ry-pain .ry-band__title {
  color: #fff;
}
.ry-pain .ry-band__sub {
  color: rgba(255, 255, 255, 0.72);
}
.ry-pain__list {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 0;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.8vw, 22px);
}
.ry-pain__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  border-radius: var(--ry-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.ry-pain__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(248, 113, 113, 0.16);
  color: #F87171;
}
.ry-pain__ic svg {
  width: 22px;
  height: 22px;
}
.ry-pain__t {
  font-family: var(--ry-font-display);
  font-size: var(--ry-text-lg);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.ry-pain__d {
  font-size: var(--ry-text-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
  margin: 6px 0 0;
}
/* --- Mobile: single column --------------------------------------------- */
@media (max-width: 680px) {
  .ry-pain__list {
    grid-template-columns: 1fr;
  }
  .ry-pain__ic {
    width: 40px;
    height: 40px;
  }
  .ry-pain__ic svg {
    width: 18px;
    height: 18px;
  }
}