/* RoxxGen hero system: one soft brand backdrop, readable sub-lines, proof and people in every hero. */
.section-hero,
.about-us-section,
.section-case-study-hero,
.career-hero-section,
.rg-hero-bg {
  background-image:
    radial-gradient(980px 560px at 92% -8%, rgba(147, 51, 234, .17), transparent 64%),
    radial-gradient(760px 520px at -8% 108%, rgba(57, 33, 113, .11), transparent 60%);
  background-repeat: no-repeat;
}
.section-how-we-work-hero {
  background-image:
    radial-gradient(900px 520px at 96% 0%, rgba(147, 51, 234, .16), transparent 62%),
    radial-gradient(700px 460px at 0% 100%, rgba(57, 33, 113, .10), transparent 60%);
  background-repeat: no-repeat;
}

/* live dot in the homepage headline */
.rg-live { position: relative; display: inline-block; width: clamp(12px, 2.5vw, 36px); height: clamp(12px, 2.5vw, 36px); vertical-align: middle; }
.rg-live i { position: absolute; inset: 0; border-radius: 50%; background: #9333ea; box-shadow: 0 0 0 .06em rgba(147, 51, 234, .25); }
.rg-live::before, .rg-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #9333ea; opacity: 0; animation: rg-live-pulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.rg-live::after { animation-delay: 1.2s; }
@keyframes rg-live-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.start-image-wrapper.rg-live-wrap { display: flex; align-items: center; justify-content: center; width: clamp(34px, 6.4vw, 96px) !important; min-width: 0 !important; max-width: none !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* proof row under the buttons */
.rg-hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-family: 'Poppins', sans-serif; }
.rg-hero-proof img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 10%; border: 2px solid #9333ea; flex-shrink: 0; }
.rg-hero-proof strong { display: block; font-size: 15px; font-weight: 600; color: #1e1e1e; line-height: 1.35; }
.rg-hero-proof span { display: block; font-size: 13.5px; color: #6b6b76; line-height: 1.4; }

/* recent work cards in the homepage hero */
.rg-hero-work { display: none; }
@media (min-width: 1240px) {
  .section-hero .hero-content-wrapper { position: relative; }
  .section-hero .hero-subcontent-wrapper { position: static; }
  .section-hero .hero-description-text { max-width: 540px; font-size: 18px; line-height: 1.6; }
  .rg-hero-work { display: block; position: absolute; right: 0; bottom: 6px; width: 620px; font-family: 'Poppins', sans-serif; }
  .rg-hero-work-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9333ea; font-weight: 600; margin: 0 0 16px 6px; }
  .rg-hero-work-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .rg-hero-work a { display: block; text-decoration: none; color: #1e1e1e; transition: transform .45s cubic-bezier(.165, .84, .44, 1); }
  .rg-hero-work a:nth-child(1) { transform: rotate(-2.5deg) translateY(10px); }
  .rg-hero-work a:nth-child(2) { transform: rotate(1.5deg) translateY(-6px); }
  .rg-hero-work a:nth-child(3) { transform: rotate(-1.5deg) translateY(14px); }
  .rg-hero-work a:hover { transform: rotate(0) translateY(-8px); }
  .rg-hero-work img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border-radius: 14px; border: 1px solid rgba(57, 33, 113, .12); box-shadow: 0 24px 50px -24px rgba(57, 33, 113, .55); background: #fff; }
  .rg-hero-work b { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 0 4px; }
  .rg-hero-work small { display: block; font-size: 12.5px; color: #6b6b76; margin: 2px 0 0 4px; }
}

/* founders row, step chips, buttons used on inner-page heroes */
.rg-hero-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-family: 'Poppins', sans-serif; }
.rg-hero-btn { display: inline-flex; align-items: center; justify-content: center; background: #9333ea; color: #fff !important; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 28px -10px rgba(147, 51, 234, .6); transition: transform .25s ease, background .25s ease; }
.rg-hero-btn:hover { background: #7e22ce; transform: translateY(-2px); }
.rg-founders { display: flex; align-items: center; gap: 14px; }
.rg-founders-pics { display: flex; }
.rg-founders-pics img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 12%; border: 3px solid #fff; box-shadow: 0 6px 16px -6px rgba(57, 33, 113, .5); background: #ece6f6; }
.rg-founders-pics img + img { margin-left: -16px; }
.rg-founders strong { display: block; font-size: 15.5px; font-weight: 600; color: #1e1e1e; }
.rg-founders span { display: block; font-size: 13.5px; color: #6b6b76; }
.rg-steps { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 36px 0 0; font-family: 'Poppins', sans-serif; counter-reset: rgstep; }
.rg-steps li { counter-increment: rgstep; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(57, 33, 113, .14); border-radius: 999px; padding: 10px 18px 10px 10px; font-size: 15px; font-weight: 500; color: #1e1e1e; box-shadow: 0 10px 24px -18px rgba(57, 33, 113, .5); }
.rg-steps li::before { content: '0' counter(rgstep); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #392171; color: #fff; font-size: 12.5px; font-weight: 600; }
.rg-hero-sub { font-family: 'Poppins', sans-serif; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.6; color: #3a3a44; max-width: 640px; margin: 28px 0 0; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-family: 'Poppins', sans-serif; }
.rg-chips span { background: #f3ecfd; color: #392171; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }

/* sub-lines that were too small to read */
.section-blog-hero-2 .text-block-86 { font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important; line-height: 1.6 !important; max-width: 640px; opacity: .92; }
.career-hero-paragraph { font-size: 18px; font-weight: 400; line-height: 1.7; }

@media (max-width: 767px) {
  .rg-hero-proof { justify-content: center; text-align: left; margin-top: 22px; }
  .rg-hero-row { margin-top: 26px; gap: 16px; }
  .rg-hero-btn { width: 100%; }
  .rg-steps { margin-top: 26px; }
  .rg-steps li { font-size: 14px; padding: 8px 14px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) { .rg-live::before, .rg-live::after { animation: none; } }

/* ===== One hero standard (17 Nov 2026) =====
   Headline: Poppins 500, #1e1e1e, 1.15 line height. Accent: Playfair italic 600, #9333ea, no underline.
   Sub-line: Poppins 400, 20px/1.6 desktop, 16px/1.6 phone, #4f4f5a, max 620px, 28px under the headline.
   Left edge: the 80rem container. Headline starts 190px from the top on desktop, 132px on phones.
   Button: Poppins 600 16px, 54px tall, pill. Photo: 48px. */
.how-we-work-heading { color: #1e1e1e !important; line-height: 1.15 !important; }
.career-hero-heading-2 { line-height: 1.15 !important; font-weight: 500 !important; }
.section-case-study-hero .heading-style-h1.text-underline { text-decoration: none !important; }

.section-hero .hero-description-text,
.about-us-section .hero-subparagraph,
.section-how-we-work-hero .hero-subparagraph,
.products-hero-section .hero-subparagraph,
.section-case-study-hero .rg-hero-sub,
.career-hero-section .career-hero-paragraph,
.section-blog-hero-2 .text-block-86,
.hero-relative-2 .text-block-81 {
  font-family: 'Poppins', sans-serif !important; font-weight: 400 !important; font-size: 20px !important; line-height: 1.6 !important;
  letter-spacing: normal !important; color: #4f4f5a !important; max-width: 620px !important; margin-top: 28px !important; margin-bottom: 0 !important;
}
.section-blog-hero-2 .text-block-86 { color: rgba(255, 255, 255, .8) !important; opacity: 1 !important; }
.hero-relative-2 .text-block-81 { margin-left: auto !important; margin-right: auto !important; }

.section-hero .hero-primary-btn, .section-hero .hero-secondary-btn, .rg-hero-btn, .rg-mk-btn {
  font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: 16px !important; height: 54px !important; padding: 0 28px !important;
  border-radius: 999px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; box-sizing: border-box !important;
}
.section-hero .hero-btn-group, .rg-hero-row { margin-top: 34px !important; }
.rg-hero-proof img, .rg-founders-pics img { width: 48px !important; height: 48px !important; }
.rg-hero-proof strong, .rg-founders strong { font-size: 15px !important; font-weight: 600 !important; color: #1e1e1e !important; line-height: 1.35 !important; }
.rg-hero-proof span, .rg-founders span { font-size: 13.5px !important; color: #6b6b76 !important; line-height: 1.4 !important; }
.rg-hero-proof { margin-top: 28px !important; }

@media (min-width: 992px) {
  .section-hero:not(.products-hero-section) .hero-main-wrapper { height: auto !important; min-height: 100vh; align-items: flex-start !important; padding-top: 190px; padding-bottom: 70px; box-sizing: border-box; }
  .about-us-section .about-us-content-wrapper { padding-top: 200px !important; }
  .section-how-we-work-hero .how-we-work-wrapper { padding-top: 190px !important; }
  .section-how-we-work-hero .container-small-2, .career-hero-section .container-4 { max-width: 80rem !important; }
  .career-hero-section .career-hero-content-wrapper-2 { padding-left: 0 !important; }
  .section-case-study-hero .case-study-hero-main-wrapper { align-items: flex-start !important; height: auto !important; min-height: 100vh; box-sizing: border-box; }
}
@media (max-width: 767px) {
  .section-hero .hero-description-text,
  .about-us-section .hero-subparagraph,
  .section-how-we-work-hero .hero-subparagraph,
  .products-hero-section .hero-subparagraph,
  .section-case-study-hero .rg-hero-sub,
  .career-hero-section .career-hero-paragraph,
  .section-blog-hero-2 .text-block-86,
  .hero-relative-2 .text-block-81 { font-size: 16px !important; margin-top: 20px !important; }
  .section-hero .hero-btn-group, .rg-hero-row { margin-top: 26px !important; }
  .section-hero .hero-primary-btn, .section-hero .hero-secondary-btn, .rg-hero-btn { width: 100% !important; max-width: 100% !important; }
  .rg-hero-proof { margin-top: 22px !important; justify-content: flex-start !important; }
  .about-us-section .visionnaries-heading, .section-blog-hero-2 .visionnaries-heading,
  .how-we-work-heading, .career-hero-heading-2,
  .section-case-study-hero .hero-case-study-heading, .section-case-study-hero .heading-46, .section-case-study-hero .heading-47,
  .products-hero-section .hero-heading, .hero-card-heading-2 {
    font-size: clamp(1.75rem, calc((100vw - 44px) / 9.7), 2.75rem) !important; line-height: 1.2 !important;
  }
  .career-hero-section .career-hero-heading-2 { padding-left: 0 !important; }
}

/* structure fixes so every hero can share the same offsets */
.section-case-study-hero .image-45 { display: none !important; }
.section-how-we-work-hero .how-we-work-wrapper { grid-row-gap: 0 !important; row-gap: 0 !important; }
.about-us-section .visionnaries-heading, .section-blog-hero-2 .visionnaries-heading { color: #1e1e1e; }
.section-blog-hero-2 .visionnaries-heading { color: #fff; }
body .hero-relative-2 div.text-block-81 { font-family: 'Poppins', sans-serif !important; font-weight: 400 !important; font-size: 20px !important; line-height: 1.6 !important; color: #4f4f5a !important; max-width: 620px !important; margin: 28px auto 0 !important; }
.products-hero-section .hero-main-wrapper { align-items: flex-start !important; height: auto !important; }
@media (max-width: 767px) {
  body .hero-relative-2 div.text-block-81 { font-size: 16px !important; margin-top: 20px !important; padding: 0 20px; }
  .hero-card-heading-2 strong, .hero-card-heading-2 .bold-text-4, .hero-card-heading-2 span { font-size: clamp(1.75rem, calc((100vw - 44px) / 9.7), 2.75rem) !important; line-height: 1.2 !important; }
  .about-us-section .visionnaries-heading { color: #1e1e1e !important; }
  .career-hero-section .container-4, .career-hero-section .career-hero-content-wrapper-2 { padding-left: 0 !important; padding-right: 0 !important; }
}

/* exact offsets: every headline starts 190px from the top on desktop and 132px on phones */
@media (min-width: 992px) {
  .section-hero:not(.products-hero-section) .hero-main-wrapper { display: block !important; padding-top: 187px !important; }
  .about-us-section .about-us-content-wrapper { display: block !important; height: auto !important; min-height: 100vh; box-sizing: border-box; padding-top: 187px !important; }
  .career-hero-section { padding-left: .625rem !important; padding-right: .625rem !important; }
  .section-case-study-hero .case-study-hero-main-wrapper { padding-top: 190px !important; }
  .products-hero-section .hero-content-wrapper { margin-top: -3px !important; }
  .hero-relative-2 .hero-card-heading-2 { margin-top: 13px !important; }
  .section-blog-hero-2 .text-block-86 { margin-top: 12px !important; }
}
@media (max-width: 767px) {
  .section-hero:not(.products-hero-section) .hero-main-wrapper { padding-top: 131px !important; }
  .about-us-section .about-us-content-wrapper { padding-top: 131px !important; }
  .about-us-section .hero-subparagraph { margin-top: 14px !important; }
  .section-how-we-work-hero .how-we-work-wrapper { padding-top: 132px !important; }
  .section-case-study-hero .case-study-hero-main-wrapper { padding-top: 136px !important; }
  .section-case-study-hero .rg-hero-sub { margin-top: 21px !important; }
  .products-hero-section .hero-content-wrapper { margin-top: -8px !important; }
  .career-hero-section .career-hero-heading-2 { margin-top: -3px !important; }
  .section-blog-hero-2 .text-block-86 { margin-top: 1px !important; }
  .section-blog-hero-2 .visionaries-content-main-wrapper { margin-top: 1px !important; }
  .hero-relative-2 .hero-card-heading-2 { margin-top: 1px !important; }
}

/* tablets: every headline starts 160px from the top */
@media (min-width: 768px) and (max-width: 991px) {
  .section-hero:not(.products-hero-section) .hero-main-wrapper { display: block !important; height: auto !important; min-height: 100vh; box-sizing: border-box; padding-top: 157px !important; padding-bottom: 60px; }
  .about-us-section .about-us-content-wrapper { display: block !important; height: auto !important; min-height: 100vh; box-sizing: border-box; padding-top: 157px !important; }
  .section-case-study-hero .case-study-hero-main-wrapper { align-items: flex-start !important; height: auto !important; min-height: 100vh; box-sizing: border-box; padding-top: 160px !important; }
  .hero-relative-2 .hero-card-heading-2 { margin-top: 8px !important; }
  .section-blog-hero-2 .text-block-86 { margin-top: 12px !important; }
  .career-hero-section { padding-left: .625rem !important; padding-right: .625rem !important; }
  .career-hero-section .career-hero-paragraph { margin-top: -2px !important; }
}

/* About: keep a word space where the inline icon used to be */
.about-us-section .visionaries-header-wrapper .visionnaries-heading + .visionnaries-heading { margin-left: .26em !important; }
/* Marketing: same headline type as every other hero (Poppins, with the Playfair italic accent) */
.hero-card-heading-2, .hero-card-heading-2 .bold-text-4 { font-family: 'Poppins', sans-serif !important; font-weight: 500 !important; font-style: normal !important; letter-spacing: -.02em !important; color: #1e1e1e !important; }
.hero-card-heading-2 .text-span-11, .hero-card-heading-2 .text-span-11 .bold-text-4 { font-family: 'Playfair Display', Georgia, serif !important; font-style: italic !important; font-weight: 600 !important; color: #9333ea !important; }

/* ===== Fit every hero on one screen (desktop) =====
   The headline size and the top offset now follow the window height as well as its width,
   so nothing is cut off on shorter laptop screens. */
:root { --rg-top: clamp(118px, 19vh, 190px); --rg-h1: min(7vw, 12.6vh, 104px); }
@media (min-width: 992px) {
  .section-hero .hero-heading,
  .about-us-section .visionnaries-heading,
  .section-blog-hero-2 .visionnaries-heading,
  .how-we-work-heading,
  .section-case-study-hero .hero-case-study-heading, .section-case-study-hero .heading-46, .section-case-study-hero .heading-47,
  .career-hero-heading-2,
  .hero-card-heading-2, .hero-card-heading-2 .bold-text-4 { font-size: var(--rg-h1) !important; line-height: 1.15 !important; letter-spacing: -.02em !important; }
  .section-hero .hero-heading .heading-style-h1, .visionnaries-heading .heading-style-h1-2, .how-we-work-heading .heading-style-h1,
  .section-case-study-hero .heading-style-h1, .career-hero-heading-2 .heading-style-h1 { font-size: 1em !important; line-height: inherit !important; }
  .how-we-work-heading { max-width: none !important; }

  .section-hero:not(.products-hero-section) .hero-content-wrapper { margin-top: calc(var(--rg-top) - 190px) !important; }
  .about-us-section h1.visionaries-content-main-wrapper { margin-top: calc(var(--rg-top) - 190px) !important; }
  .section-how-we-work-hero .how-we-work-heading { margin-top: calc(var(--rg-top) - 190px) !important; }
  .section-case-study-hero .hero-case-study-content-wrapper { margin-top: calc(var(--rg-top) - 190px) !important; }
  .products-hero-section .hero-content-wrapper { margin-top: calc(var(--rg-top) - 193px) !important; }
  .hero-relative-2 .hero-card-heading-2 { margin-top: calc(var(--rg-top) - 177px) !important; }
  .section-blog-hero-2 .visionaries-content-main-wrapper { margin-top: calc(var(--rg-top) - 190px) !important; }
  .career-hero-section .career-hero-heading-2 { margin-top: calc(var(--rg-top) - 190px) !important; }

  /* home: proof sits on the button row */
  .section-hero .hero-btn-group { display: flex !important; align-items: center !important; flex-wrap: wrap; gap: 14px 16px; }
  .section-hero .hero-btn-group .rg-hero-proof { margin: 0 0 0 10px !important; }
  .rg-steps { margin-top: 30px; }
}
/* home live dot: calmer ring, clear of the words */
.rg-live::before, .rg-live::after { animation-name: rg-live-pulse-2; }
@keyframes rg-live-pulse-2 { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }
.start-image-wrapper.rg-live-wrap { width: clamp(40px, 8vw, 120px) !important; }
/* products: a word space before the accent */
.products-hero-section .hera-heading-wrapper .hero-heading + .hero-heading { margin-left: .12em !important; }
@media (min-width: 992px) {
  /* the homepage headline is three lines, so it and its spacing tighten a little on short screens */
  .section-hero:not(.products-hero-section) .hero-heading { font-size: min(7vw, 11.4vh, 104px) !important; }
  .section-hero:not(.products-hero-section) .hero-description-text { margin-top: clamp(16px, 3vh, 28px) !important; }
  .section-hero:not(.products-hero-section) .hero-btn-group { margin-top: clamp(18px, 3.4vh, 34px) !important; }
}
