/* Shared homepage elements, hero, and interactions. */

.rubi-c7 {
    --r-rubi: var(--rubi-pink);
    --r-rubi-light: var(--rubi-pink-light);
    --r-rubi-dark: #C8145A;
    --r-rubi-mist: #FDF0F4;
    --r-midnight: var(--rubi-navy);
    --r-charcoal: #3C3939;
    --r-beige: #E4DFDA;
    --r-warm-soft: #F0EBE8;
    --r-warm-light: #FAFAF9;
    --r-white: #FFFFFF;
    --r-text: #1A1A2E;
    --r-text-mute: #555555;
    --r-text-soft: #8A8585;
    --r-text-inv: #FFFFFF;
    --r-text-inv-mute: rgba(255,255,255,0.72);
    --r-text-inv-soft: rgba(255,255,255,0.5);
    --r-border: rgba(26,26,46,0.08);
    --r-border-strong: rgba(26,26,46,0.16);
    --r-font-display: var(--rubi-display);
    --r-font-body: var(--rubi-body);
    --r-font-mono: var(--rubi-mono);
    --r-1: 0.25rem; --r-2: 0.5rem; --r-3: 0.75rem; --r-4: 1rem;
    --r-5: 1.5rem; --r-6: 2rem; --r-7: 3rem; --r-8: 4rem;
    --r-9: 6rem; --r-10: 8rem;
    --r-radius-sm: 6px; --r-radius: 8px;
    --r-radius-lg: 12px; --r-radius-xl: 16px;
    --r-shadow-rubi: 0 8px 24px rgba(223,24,96,0.22);
    color: var(--r-text);
    font-family: var(--r-font-body);
    -webkit-font-smoothing: antialiased;
    background: var(--r-warm-light);
}
.rubi-c7 * { box-sizing: border-box; }
.rubi-c7 h1, .rubi-c7 h2, .rubi-c7 h3, .rubi-c7 h4 {
    font-family: var(--r-font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    color: var(--r-text);
}
.rubi-c7 h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 1.02; }
.rubi-c7 h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); }
.rubi-c7 h3 { font-size: 1.375rem; font-weight: 600; }
.rubi-c7 p { margin: 0; line-height: 1.65; color: var(--r-text-mute); }
.rubi-c7 a { color: inherit; text-decoration: none; }
.rubi-c7 .container { max-width: 1180px; margin: 0 auto; padding: 0 var(--r-5); }
.rubi-c7 .sec { padding: var(--r-9) 0; }
.rubi-c7 .sec-tight { padding: var(--r-7) 0; }
.rubi-c7 .sec-warm { background: var(--r-warm-soft); }
.rubi-c7 .sec-cream { background: var(--r-beige); }
.rubi-c7 .sec-glow {
    background: var(--r-midnight);
    color: var(--r-text-inv);
    position: relative;
    overflow: hidden;
}
.rubi-c7 .sec-glow::before {
    content: ''; position: absolute;
    top: -40%; left: 50%; transform: translateX(-50%);
    width: 90%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(223,24,96,0.25) 0%, rgba(223,24,96,0.05) 30%, transparent 60%);
    pointer-events: none;
}
.rubi-c7 .sec-glow > .container { position: relative; z-index: 1; }
.rubi-c7 .sec-glow h1, .rubi-c7 .sec-glow h2, .rubi-c7 .sec-glow h3 { color: var(--r-text-inv); }
.rubi-c7 .sec-glow p { color: var(--r-text-inv-mute); }
.rubi-c7 .sec-glow .r-eyebrow { color: var(--r-text-inv-soft); }

.rubi-c7 .r-eyebrow {
    display: inline-flex; align-items: center; gap: var(--r-2);
    font-family: var(--r-font-mono);
    font-size: 0.75rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--r-text-soft); margin-bottom: var(--r-4);
}
.rubi-c7 .r-eyebrow::before {
    content: ''; width: 8px; height: 8px;
    background: var(--r-rubi); transform: rotate(45deg); flex-shrink: 0;
}
.rubi-c7 .sec-head { margin-bottom: var(--r-7); max-width: 42rem; }
.rubi-c7 .sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.rubi-c7 .sec-head--center .r-eyebrow { justify-content: center; }
.rubi-c7 .sec-head h2 { margin-bottom: var(--r-3); }
.rubi-c7 .sec-head .lead { font-size: 1.0625rem; }

.rubi-c7 .r-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.5rem; border-radius: var(--r-radius);
    font-family: var(--r-font-display); font-weight: 600; font-size: 0.9375rem;
    line-height: 1; cursor: pointer; border: 1.5px solid transparent;
    transition: all 0.18s ease; text-decoration: none;
}
.rubi-c7 .r-btn--rubi { background: var(--r-rubi); color: var(--r-text-inv); }
.rubi-c7 .r-btn--rubi:hover { background: var(--r-rubi-dark); transform: translateY(-1px); box-shadow: var(--r-shadow-rubi); }
.rubi-c7 .r-btn--ghost-inv { background: transparent; color: var(--r-text-inv); border-color: rgba(255,255,255,0.25); }
.rubi-c7 .r-btn--ghost-inv:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.rubi-c7 .r-btn--lg { padding: 1.05rem 1.875rem; font-size: 1.0625rem; }
.rubi-c7 .r-btn--ghost { background: transparent; color: var(--r-text); border-color: var(--r-border-strong); }
.rubi-c7 .r-btn--ghost:hover { border-color: var(--r-midnight); background: var(--r-midnight); color: var(--r-text-inv); }

.rubi-c7 .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    font-family: var(--r-font-mono);
    font-size: 11px; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 32px;
}
.rubi-c7 .hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--r-rubi);
}
.rubi-c7 .home-hero {
    display: grid;
    align-items: center;
    min-height: calc(100vh - var(--home-header-height, 4.875rem));
    min-height: calc(100svh - var(--home-header-height, 4.875rem));
    padding-block: clamp(3rem, 7vw, 6rem);
}
.rubi-c7 .home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--rubi-dot-grid);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.rubi-c7 .home-hero-layout { width: 100%; }
.rubi-c7 .home-hero-copy { max-width: 42rem; }
.rubi-c7 .home-hero-copy h1 { margin-bottom: var(--r-5); text-wrap: balance; }
.rubi-c7 .home-hero-copy h1 span,
.rubi-c7 .r-cta-card h2 span { color: var(--r-rubi-light); }
.rubi-c7 .home-hero-copy > p {
    max-width: 36rem;
    margin-bottom: var(--r-6);
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.55;
}
.rubi-c7 .home-hero-actions { display: flex; flex-wrap: wrap; gap: var(--r-3); }
.rubi-c7 .hero-trust {
    margin-top: var(--r-7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.rubi-c7 .hero-trust .trust-label {
    font-family: var(--r-font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--r-text-inv-soft);
}
.rubi-c7 .hero-trust .trust-platforms {
    font-family: var(--r-font-body);
    font-size: 0.875rem;
    color: var(--r-text-inv-mute);
}
@keyframes rubiScrollReveal {
    from { opacity: 0.87; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
    .rubi-c7 [data-home-reveal].is-revealed {
        animation: rubiScrollReveal 420ms ease-out;
    }
}
.homepage .rubi-c7 a:focus-visible { outline: 2px solid var(--r-rubi-dark); outline-offset: 3px; }
.homepage .rubi-c7 :is(.sec-glow, .r-cta-card) a:focus-visible { outline-color: var(--r-rubi-light); }
.rubi-c7 :is(#services, #Services, #process) { scroll-margin-top: var(--r-5); }
.rubi-c7 #services { position: relative; }
.rubi-c7 #Services { position: absolute; inset-block-start: 0; }

/* Feature grid (6 services) */
.rubi-c7 .r-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--r-5);
}
.rubi-c7 .r-card {
    background: var(--r-white); border: 1px solid var(--r-border);
    border-radius: var(--r-radius-lg); padding: var(--r-6);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.rubi-c7 .r-feature:focus-visible { --service-active: 1; }
@media (hover: hover) and (pointer: fine) {
    .rubi-c7 .r-feature:hover {
        --service-active: 1;
        box-shadow: 0 12px 30px rgba(26,26,46,0.09);
        border-color: var(--r-border-strong);
    }
}
.rubi-c7 .r-feature .icon {
    width: 44px; height: 44px; border-radius: var(--r-radius);
    background: var(--r-rubi-mist); color: var(--r-rubi);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--r-4);
    font-family: var(--r-font-mono); font-size: 15px; font-weight: 500;
}
.rubi-c7 .r-feature h3 { margin-bottom: 0.5rem; font-size: 1.1875rem; }
.rubi-c7 .service-copy { display: grid; }
.rubi-c7 .service-copy p { grid-area: 1 / 1; font-size: 0.9375rem; }
.rubi-c7 .r-feature .service-description { opacity: calc(1 - var(--service-active, 0)); }
.rubi-c7 .r-feature .service-scenario {
    opacity: var(--service-active, 0);
    color: var(--r-text);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .rubi-c7 .r-feature .icon {
        transform: translateY(calc(var(--service-active, 0) * -2px));
        transition: transform 180ms ease-out;
    }
    .rubi-c7 .service-copy p { transition: opacity 95ms ease-out; }
    .rubi-c7 .r-feature .service-description {
        transition-delay: calc((1 - var(--service-active, 0)) * 75ms);
    }
    .rubi-c7 .r-feature .service-scenario {
        transition-delay: calc(var(--service-active, 0) * 75ms);
    }
}
@media (prefers-reduced-motion: reduce) {
    .rubi-c7 :is(.r-btn, .r-card, .r-product-spotlight) { transition: none; }
    .rubi-c7 :is(.r-btn, .r-product-spotlight):hover { transform: none; }
}

/* Featured product spotlight */
.rubi-c7 .r-product-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .875rem var(--r-6);
    align-items: center;
    padding: clamp(1.15rem, 2.6vw, 2rem);
    background: #fff;
    border: 1px solid var(--home-section-line);
    border-radius: var(--home-section-radius);
    color: inherit;
    text-decoration: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.rubi-c7 .r-product-spotlight:hover {
    color: inherit;
    border-color: #c88ba4;
    box-shadow: 0 .5rem 1.5rem rgb(26 26 46 / 7%);
}
.homepage .rubi-c7 .r-product-spotlight:focus-visible {
    outline: 3px solid var(--r-rubi);
    outline-offset: 3px;
}
.rubi-c7 .r-product-copy .r-eyebrow { margin-bottom: var(--r-2); }
.rubi-c7 .r-product-copy h2 {
    margin: 0 0 .3rem;
    font-size: clamp(1.6rem, 2.75vw, 2.25rem);
    letter-spacing: -.035em;
}
.rubi-c7 .r-product-copy p { max-width: 42rem; }
.rubi-c7 .r-product-link {
    color: var(--rubi-link);
    font: 700 1rem/1.35 var(--rubi-display);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.rubi-c7 .r-tech-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--r-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--r-text-mute);
}
.rubi-c7 .r-tech-text li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.rubi-c7 .r-tech-text li:not(:last-child)::after {
    content: "";
    width: 0.2rem;
    height: 0.2rem;
    margin-inline: 0.6rem;
    border-radius: 50%;
    background: var(--r-text-soft);
}
.rubi-c7 .r-tech-text-featured {
    margin-bottom: var(--r-3);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--r-rubi-dark);
}

/* Approach trio */
.rubi-c7 .r-approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--r-6); }
.rubi-c7 .r-step { padding-top: var(--r-5); border-top: 2px solid var(--r-rubi); }
.rubi-c7 .r-step .num {
    display: inline-block; font-family: var(--r-font-mono);
    font-size: 0.6875rem; font-weight: 500; color: var(--r-rubi);
    letter-spacing: 0.14em; margin-bottom: var(--r-4);
}
.rubi-c7 .r-step h3 { margin-bottom: var(--r-3); font-size: 1.25rem; }
.rubi-c7 .r-step p { font-size: 0.9375rem; }

/* CTA card: dark bordered card on warm background */
.rubi-c7 .r-cta-card {
    background: var(--r-midnight);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-radius-xl);
    padding: var(--r-9) var(--r-7);
    text-align: center;
    color: var(--r-text-inv);
    position: relative;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 24px 64px rgba(26,26,46,0.12);
}
.rubi-c7 .r-cta-card::before {
    content: ''; position: absolute;
    top: -50%; left: 50%; transform: translateX(-50%);
    width: 80%; height: 160%;
    background: radial-gradient(ellipse at center, rgba(223,24,96,0.22) 0%, rgba(223,24,96,0.04) 40%, transparent 70%);
    pointer-events: none;
}
.rubi-c7 .r-cta-card > * { position: relative; z-index: 1; }
.rubi-c7 .r-cta-card h2 { color: var(--r-text-inv); margin-bottom: var(--r-4); max-width: 24em; margin-left: auto; margin-right: auto; }
.rubi-c7 .r-cta-card p { color: var(--r-text-inv-mute); font-size: 1.125rem; max-width: 36rem; margin: 0 auto var(--r-6); }
.rubi-c7 .r-cta-card p strong { color: var(--r-text-inv); }
.rubi-c7 .r-cta-card .cta-actions { display: flex; gap: var(--r-3); justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
    .rubi-c7 .r-features,
    .rubi-c7 .r-approach { grid-template-columns: 1fr; gap: var(--r-5); }
    .rubi-c7 .sec { padding: var(--r-7) 0; }
    .rubi-c7 .r-cta-card { padding: var(--r-7) var(--r-5); }
}

@media (min-width: 992px) {
  .homepage .home-hero .rubi-flow-layout:has(> .home-hero-motion) {
    display: grid;
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }
}

/* Homepage sections after the hero. */

#wrapwrap.homepage .rubi-c7 > section:not(.home-hero) {
  --home-section-bg: #f7f3ef;
  --home-section-line: #e6dedb;
  --home-section-radius: clamp(.75rem, 1.5vw, 1.25rem);
  --home-heading-size: clamp(2rem, 4.2vw, 3.4rem);
  padding-block: clamp(2.6rem, 5.3vw, 4.8rem);
  background: var(--home-section-bg);
}

#wrapwrap.homepage .rubi-c7 > section:not(.home-hero) > .container {
  width: min(var(--rubi-page-width), calc(100% - 2 * var(--rubi-page-gutter)));
  max-width: none;
  padding: 0;
}

.homepage .rubi-c7 > section:not(.home-hero) :is(.sec-head, .r-cta-card) h2 {
  font-size: var(--home-heading-size);
  letter-spacing: -.05em;
  text-wrap: balance;
}

.homepage .rubi-c7 .sec-head {
  max-width: 37rem;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.homepage .rubi-c7 .sec-head h2 { margin: 0; }

.homepage .rubi-c7 :is(.sec-head, .r-product-copy) .r-eyebrow {
  margin-bottom: .65rem;
  color: var(--rubi-link);
  font-size: .7rem;
  letter-spacing: .12em;
}

#wrapwrap.homepage .rubi-c7 > #services {
  background: var(--rubi-paper);
}

.homepage .rubi-c7 #services .r-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--home-section-line);
  border-radius: var(--home-section-radius);
  background: var(--home-section-line);
}

.homepage .rubi-c7 #services .r-feature {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  column-gap: clamp(.7rem, 1.3vw, 1rem);
  row-gap: .3rem;
  padding: clamp(1.1rem, 2vw, 1.65rem);
  border: 0;
  border-radius: 0;
  background: #fff;
}

.homepage .rubi-c7 #services .r-feature:focus-visible {
  z-index: 1;
  outline-offset: -3px;
  background: #fff8fb;
}

.homepage .rubi-c7 #services .r-feature::after {
  position: absolute;
  inset-block-start: clamp(1.2rem, 2.25vw, 1.75rem);
  inset-inline-end: clamp(.95rem, 1.8vw, 1.55rem);
  width: .46rem;
  height: .46rem;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  color: var(--rubi-link);
  content: "";
  transform: rotate(45deg);
}

.homepage .rubi-c7 #services .r-feature .icon {
  grid-row: 1 / -1;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  color: var(--rubi-link);
}

.homepage .rubi-c7 #services .r-feature h3 {
  align-self: center;
  margin: 0;
  padding-inline-end: .8rem;
  font-size: clamp(1.07rem, 1.6vw, 1.26rem);
  line-height: 1.25;
}

.homepage .rubi-c7 #services .service-copy p { line-height: 1.55; }

@media (hover: hover) and (pointer: fine) {
  .homepage .rubi-c7 #services .r-feature:hover {
    z-index: 1;
    background: #fff8fb;
    box-shadow: inset 0 0 0 1px #e6b9cc;
  }
}

#wrapwrap.homepage .rubi-c7 > #consolidation {
  padding-block: clamp(1rem, 2.5vw, 2rem) 0;
  background: linear-gradient(var(--rubi-paper) 47%, var(--home-section-bg) 47%);
}

#wrapwrap.homepage .rubi-c7 #consolidation .r-cta-card {
  display: grid;
  gap: .95rem clamp(1.75rem, 4.5vw, 4.2rem);
  max-width: none;
  padding: clamp(1.65rem, 5.2vw, 4.3rem);
  border-radius: var(--home-section-radius);
  background: var(--rubi-dark-background);
  box-shadow: none;
  text-align: left;
}

.homepage .rubi-c7 > section:not(.home-hero) .r-cta-card::before {
  content: none;
}

.homepage .rubi-c7 #consolidation .r-eyebrow {
  justify-self: start;
  margin: 0;
}

.homepage .rubi-c7 #consolidation .r-cta-card h2 {
  max-width: 16ch;
  margin: 0;
}

.homepage .rubi-c7 #consolidation .r-cta-card p {
  max-width: 59ch;
  margin: 0;
  color: var(--rubi-dark-muted);
  font-size: 1rem;
}

.homepage .rubi-c7 #consolidation .cta-actions {
  justify-content: start;
  margin-block-start: .45rem;
}

.homepage .rubi-c7 > section:not(.home-hero) .r-btn {
  min-block-size: 2.75rem;
  justify-content: center;
  padding: .7rem 1rem;
  font-size: .95rem;
  line-height: 1.35;
  text-align: center;
}

.homepage .rubi-c7 > section:not(.home-hero) .r-btn--rubi {
  background: var(--rubi-action);
}

.homepage .rubi-c7 > section:not(.home-hero) .r-btn--rubi:hover {
  background: var(--rubi-action-hover);
}

.homepage .rubi-c7 #technologies .r-tech-text-featured {
  margin-bottom: .7rem;
  color: var(--rubi-text);
  font-family: var(--rubi-display);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
}

.homepage .rubi-c7 #technologies .r-tech-text:not(.r-tech-text-featured) {
  color: var(--rubi-muted);
  font-size: .95rem;
}

.homepage .rubi-c7 #technologies .r-tech-text li:not(:last-child)::after {
  border-radius: 0;
  background: var(--rubi-link);
  transform: rotate(45deg);
}

.homepage .rubi-c7 #technologies .home-directory-link {
  display: inline-block;
  margin-block-start: .85rem;
  color: var(--rubi-link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.homepage .rubi-c7 #technologies .home-directory-link:hover {
  color: var(--rubi-action-hover);
}

.homepage .rubi-c7 #technologies .home-showcase {
  margin-block-start: clamp(1rem, 2.25vw, 1.7rem);
  padding-block-start: clamp(.85rem, 1.6vw, 1.35rem);
  border-block-start: 1px solid var(--home-section-line);
}

.homepage .rubi-c7 #technologies .home-showcase h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  letter-spacing: -.025em;
}

.homepage .rubi-c7 #technologies .home-showcase p {
  margin-block-start: .35rem;
  font-size: .95rem;
}

#wrapwrap.homepage .rubi-c7 > #process {
  border-block: 1px solid var(--home-section-line);
  background: var(--rubi-paper);
}

.homepage .rubi-c7 #process .sec-head .lead { margin: .75rem 0 0; }

.homepage .rubi-c7 #process .r-approach {
  --process-step-gap: clamp(1.1rem, 3.5vw, 3.25rem);
  --process-marker-inline: .36rem;
  --process-marker-block: .31rem;
  --process-line-start: 0% 100%;
  --process-duration: .55s;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--process-step-gap);
}

.homepage .rubi-c7 #process .r-step {
  position: relative;
  padding-top: 1.5rem;
  border: 0;
}

.homepage .rubi-c7 #process .r-step::before {
  position: absolute;
  z-index: 1;
  inset-inline-start: var(--process-marker-inline);
  inset-block-start: var(--process-marker-block);
  width: .52rem;
  height: .52rem;
  border: 1px solid var(--rubi-link);
  background: var(--rubi-pink);
  box-shadow: 0 0 0 .3rem var(--rubi-paper);
  content: "";
  translate: -50% -50%;
  transform: rotate(45deg);
}

.homepage .rubi-c7 #process .r-step:not(:last-child)::after {
  position: absolute;
  inset-inline-start: var(--process-marker-inline);
  inset-block-start: var(--process-marker-block);
  inline-size: calc(100% + var(--process-step-gap));
  block-size: 2px;
  background: linear-gradient(var(--rubi-pink), var(--rubi-pink)) left top / 100% 100% no-repeat,
    var(--home-section-line);
  content: "";
  translate: 0 -50%;
}

@media (prefers-reduced-motion: no-preference) {
  .homepage .rubi-c7 #process .r-step:nth-child(2) { --process-delay: var(--process-duration); }
  .homepage .rubi-c7 #process .r-step:nth-child(3) { --process-delay: calc(2 * var(--process-duration)); }
  .homepage .rubi-c7 #process .r-step::before { background: var(--rubi-mist); }
  .homepage .rubi-c7 #process .r-step:not(:last-child)::after { background-size: var(--process-line-start); }
  .homepage .rubi-c7 #process .is-playing .r-step::before {
    animation: rubi-process-checkpoint .4s var(--process-delay, 0s) ease-out both;
  }
  .homepage .rubi-c7 #process .is-playing .r-step:not(:last-child)::after {
    animation: rubi-process-draw var(--process-duration) var(--process-delay, 0s) ease-in-out both;
  }
}

@keyframes rubi-process-checkpoint {
  0% { background: var(--rubi-mist); }
  45% { background: var(--rubi-pink); box-shadow: 0 0 0 .3rem var(--rubi-paper), 0 0 0 .5rem rgb(223 24 96 / 18%); }
  100% { background: var(--rubi-pink); }
}

@keyframes rubi-process-draw {
  from { background-size: var(--process-line-start); }
  to { background-size: 100% 100%; }
}

.homepage .rubi-c7 #process .r-step h3 {
  margin-bottom: .4rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.homepage .rubi-c7 #process .r-step p { max-width: 33ch; }

#wrapwrap.homepage .rubi-c7 > #home-featured-product {
  padding-block: clamp(2rem, 3.8vw, 3.5rem);
  background: var(--rubi-paper);
}

#wrapwrap.homepage .rubi-c7 > #home-contact {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: var(--rubi-dark-background);
}

#wrapwrap.homepage .rubi-c7 #home-contact .r-cta-card {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.homepage .rubi-c7 #home-contact h2 {
  max-width: 26ch;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
}

.homepage .rubi-c7 #home-contact .r-cta-card p {
  color: var(--rubi-dark-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.homepage .rubi-c7 #home-contact .r-btn--ghost-inv:not(:hover) {
  border-color: rgb(255 255 255 / 42%);
}

@media (min-width: 56rem) {
  .homepage .rubi-c7 #consolidation .r-cta-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "eyebrow eyebrow"
      "title first"
      "title second"
      "actions actions";
    align-items: start;
  }
  .homepage .rubi-c7 #consolidation .r-eyebrow { grid-area: eyebrow; }
  .homepage .rubi-c7 #consolidation h2 { grid-area: title; }
  .homepage .rubi-c7 #consolidation p:first-of-type { grid-area: first; }
  .homepage .rubi-c7 #consolidation p:last-of-type { grid-area: second; }
  .homepage .rubi-c7 #consolidation .cta-actions { grid-area: actions; }

  .homepage .rubi-c7 #technologies > .container {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    column-gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
  .homepage .rubi-c7 #technologies > .container::before,
  .homepage .rubi-c7 #technologies > .container::after { content: none; }
  .homepage .rubi-c7 #technologies .sec-head { margin: 0; }
}

@media (max-width: 60rem) {
  .homepage .rubi-c7 #services .r-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .homepage .rubi-c7 #services .r-features,
  .homepage .rubi-c7 #process .r-approach {
    grid-template-columns: minmax(0, 1fr);
  }

  .homepage .rubi-c7 #process .r-approach {
    --process-marker-block: .62rem;
    --process-line-start: 100% 0%;
  }

  .homepage .rubi-c7 #process .r-step:not(:last-child)::after {
    inline-size: 2px;
    block-size: calc(100% + var(--process-step-gap));
    translate: -50% 0;
  }

  .homepage .rubi-c7 #process .r-step { padding: 0 0 0 1.45rem; }
  .homepage .rubi-c7 #process .r-step p { max-width: 45ch; }

  .homepage .rubi-c7 .r-product-spotlight { grid-template-columns: minmax(0, 1fr); }
}
