.magichr-page {
   --mhr-blue: #0094FF;
   --mhr-blue-btn: #064870;
   --mhr-blue-btn-hover: #0a3d68;
   --mhr-ink: #000000;
   --mhr-text: #555555;
   --mhr-grid: rgba(13, 76, 128, .07);
   font-family: "Manrope", sans-serif;
}

.magichr-page .mhr-container {
   width: 100%;
   max-width: 1536px;
   margin: 0 auto;
   padding: 0 60px;
}

/* ---------- Banner ---------- */
.magichr-page .mhr-banner {
   position: relative;
   padding: 144px 0 26px;
   text-align: center;
   overflow: hidden;
   background-color: #ffffff;
   background-image: url('../images/magichr/magichr-banner.webp');
   background-repeat: no-repeat;
   background-position: center calc(60 / 1440 * 100vw);
   background-size: 100% auto;
}

.magichr-page .mhr-banner .mhr-container {
   position: relative;
   z-index: 1;
}

.magichr-page .mhr-banner-text {
   max-width: 960px;
   margin: 0 auto;
}

.magichr-page .mhr-banner h1 {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 43px;
   font-weight: 600;
   line-height: 100%;
   letter-spacing: 0;
   color: var(--mhr-ink);
}

.magichr-page .mhr-banner h1 span {
   font-weight: 800;
   color: var(--mhr-blue);
}

.magichr-page .mhr-banner-text p {
   max-width: 945px;
   margin: 24px auto 0;
   font-family: "Manrope", sans-serif;
   font-size: 20px;
   font-weight: 500;
   line-height: 32px;
   color: var(--mhr-text);
}

.magichr-page .mhr-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   height: 56px;
   margin-top: 30px;
   padding: 0 38px;
   border-radius: 8px;
   background: var(--mhr-blue-btn);
   color: #fff;
   font-family: "Manrope", sans-serif;
   font-size: 18px;
   font-weight: 600;
   line-height: 1;
   text-decoration: none;
   transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.magichr-page .mhr-btn:hover {
   background: var(--mhr-blue-btn-hover);
   color: #fff;
   transform: translateY(-2px);
   box-shadow: 0 10px 24px rgba(13, 76, 128, .28);
}

.magichr-page .mhr-btn svg {
   transition: transform .2s ease;
}

.magichr-page .mhr-btn:hover svg {
   transform: translateX(3px);
}

/* ----- Banner image: laptop + 2 side screens (Figma group 1416 x 564) ----- */
.magichr-page .mhr-banner-img {
   position: relative;
   width: 100%;
   max-width: 1416px;
   aspect-ratio: 1416 / 564;
   margin: 60px auto 0;
}

.magichr-page .mhr-banner-img .mhr-banner-layer {
   position: absolute;
   display: block;
   width: auto;
   max-width: none;
}

/* laptop: centred, top ~3px, 550px tall (of 564) */
.magichr-page .mhr-banner-img .mhr-banner-layer--main {
   top: .5%;
   left: 0;
   right: 0;
   z-index: 2;
   height: 97.5%;
   margin: 0 auto;
}

/* side screens: 28px from top, 464px tall (of 564).
   Fixed box from the outer edge to ~2% under the laptop,
   so the image always meets the laptop (extra part hides behind it). */
.magichr-page .mhr-banner-img .mhr-banner-layer--left,
.magichr-page .mhr-banner-img .mhr-banner-layer--right {
   top: 4.96%;
   z-index: 1;
   height: 82.3%;
   object-fit: cover;
}

/* left: from 0 to 25% (laptop edge is at ~22.6%) */
.magichr-page .mhr-banner-img .mhr-banner-layer--left {
   left: 0;
   right: auto;
   width: 25%;
   object-position: left top;
}

/* right: from 13px off the right edge to ~25% (laptop edge is at ~22.6%) */
.magichr-page .mhr-banner-img .mhr-banner-layer--right {
   right: .92%;
   left: auto;
   width: 24.1%;
   object-position: right top;
}

/* ----- Banner animation (slow + smooth) ----- */
.mhr-js .magichr-page .mhr-banner h1,
.mhr-js .magichr-page .mhr-banner-text p,
.mhr-js .magichr-page .mhr-banner-cta {
   opacity: 0;
   transform: translateY(30px);
   transition:
      opacity 1.4s ease,
      transform 1.8s cubic-bezier(.22, 1, .36, 1);
}

.mhr-js .magichr-page .mhr-banner h1 {
   transition-delay: .2s;
}

.mhr-js .magichr-page .mhr-banner-text p {
   transition-delay: .5s;
}

.mhr-js .magichr-page .mhr-banner-cta {
   transition-delay: .8s;
}

.mhr-js .magichr-page .mhr-banner-layer--main {
   opacity: 0;
   transform: translateY(160px);
   transition:
      opacity 1.6s ease .9s,
      transform 2.4s cubic-bezier(.22, 1, .36, 1) .9s;
   will-change: transform, opacity;
}

.mhr-js .magichr-page .mhr-banner.is-loaded h1,
.mhr-js .magichr-page .mhr-banner.is-loaded .mhr-banner-text p,
.mhr-js .magichr-page .mhr-banner.is-loaded .mhr-banner-cta,
.mhr-js .magichr-page .mhr-banner.is-loaded .mhr-banner-layer--main {
   opacity: 1;
   transform: none;
}

/* side screens start in the centre, behind the laptop */
.mhr-js .magichr-page .mhr-banner-layer--left,
.mhr-js .magichr-page .mhr-banner-layer--right {
   opacity: 0;
   transition:
      opacity 1.4s ease,
      transform 2.4s cubic-bezier(.22, 1, .36, 1);
   will-change: transform, opacity;
}

.mhr-js .magichr-page .mhr-banner-layer--left {
   transform: translateX(60%) scale(.9);
}

.mhr-js .magichr-page .mhr-banner-layer--right {
   transform: translateX(-60%) scale(.9);
}

.mhr-js .magichr-page .mhr-banner.is-spread .mhr-banner-layer--left,
.mhr-js .magichr-page .mhr-banner.is-spread .mhr-banner-layer--right {
   opacity: 1;
   transform: none;
}

/* ---------- Stats ---------- */
.magichr-page .mhr-stats {
   padding: 51px 0 0;
   background: #fff;
}

.magichr-page .mhr-stats-list {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   min-height: 176px;
   margin: 0;
   padding: 45px 84px 45px 76px;
   list-style: none;
   background: #f9fafc;
   border-radius: 12px;
}

.magichr-page .mhr-stats-list li {
   margin: 0;
   padding: 0;
   text-align: center;
}

.magichr-page .mhr-stats-list h3 {
   margin: 0;
   padding: 0 0 8px;
   font-family: "Manrope", sans-serif;
   font-size: 40px;
   font-weight: 700;
   line-height: 44px;
   color: var(--mhr-blue);
   font-variant-numeric: tabular-nums;
}

.magichr-page .mhr-stats-list p {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 16px;
   font-weight: 500;
   line-height: 21px;
   color: var(--mhr-ink);
}

/* ---------- Stats animation ----------*/
.magichr-page .mhr-anim-ready .mhr-stats-list {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.16, 1, .3, 1);
}

.magichr-page .mhr-anim-ready .mhr-stats-list li {
   opacity: 0;
   transform: translateY(20px);
   transition: opacity 1s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1);
   transition-delay: calc(.4s + var(--i, 0) * .2s);
}

.magichr-page .mhr-anim-ready.is-visible .mhr-stats-list,
.magichr-page .mhr-anim-ready.is-visible .mhr-stats-list li {
   opacity: 1;
   transform: none;
}

/* ---------- Section heading (shared) ---------- */
.magichr-page .mhr-heading {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 43px;
   font-weight: 600;
   line-height: 61px;
   text-align: center;
   color: var(--mhr-ink);
}

.magichr-page .mhr-heading span {
   font-weight: 800;
   color: var(--mhr-blue);
}

/* left-aligned section title with blue underline (shared) */
.magichr-page .mhr-title-left {
   position: relative;
   margin: 0 0 22px;
   padding-bottom: 14px;
   font-family: "Manrope", sans-serif;
   font-size: 43px;
   font-weight: 600;
   line-height: 61px;
   text-align: left;
   color: var(--mhr-ink);
}

.magichr-page .mhr-title-left span {
   font-weight: 800;
   color: var(--mhr-blue);
}

.magichr-page .mhr-title-left::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 108px;
   height: 3px;
   border-radius: 3px;
   background: var(--mhr-blue);
}

/* blue text link (shared) */
.magichr-page .mhr-link {
   font-weight: 600;
   color: var(--mhr-blue);
   text-decoration: none;
}

.magichr-page .mhr-link:hover {
   color: var(--mhr-blue);
   text-decoration: underline;
}

/* ---------- Back Story ---------- */
.magichr-page .mhr-story {
   padding: 115px 0 115px;
   background: #fff;
}

.magichr-page .mhr-story .mhr-heading {
   margin-bottom: 52px;
}

.magichr-page .mhr-story-grid {
   --gap: 18px;
   --card-h: max(221px, 34.32%);
   --ease: cubic-bezier(.65, 0, .35, 1);
   --speed: .8s;
   position: relative;
   height: 644px;
}

.magichr-page .mhr-story-card {
   position: absolute;
   top: 0;
   left: 0;
   z-index: 1;
   width: calc(50% - var(--gap) / 2);
   height: var(--card-h);
   overflow: hidden;
   padding: 32px 36px 30px;
   border-radius: 12px;
   background: #0a8dff;
   color: #fff;
   transition: height var(--speed) var(--ease);
   will-change: height;
}

.magichr-page .mhr-story-img {
   position: absolute;
   margin: 0;
   overflow: hidden;
   border-radius: 12px;
   contain: paint;
   transition:
      transform var(--speed) var(--ease),
      height var(--speed) var(--ease);
   will-change: transform, height;
}

/* small image: bottom-left */
.magichr-page .mhr-story-img--small {
   left: 0;
   bottom: 0;
   z-index: 2;
   width: calc(50% - var(--gap) / 2);
   height: calc(100% - var(--card-h) - var(--gap));
}

/* tall image: full right column */
.magichr-page .mhr-story-img--tall {
   top: 0;
   right: 0;
   width: calc(50% - var(--gap) / 2);
   height: 100%;
}

/* ----- expanded state ----- */
.magichr-page .mhr-story-grid.is-expanded .mhr-story-card {
   height: 100%;
}

/* moves right with transform (GPU) instead of left (layout every frame).
   100% of its own width + gap = exactly the right column */
.magichr-page .mhr-story-grid.is-expanded .mhr-story-img--small {
   transform: translateX(calc(100% + var(--gap)));
   height: calc(50% - var(--gap) / 2);
}

.magichr-page .mhr-story-grid.is-expanded .mhr-story-img--tall {
   height: calc(50% - var(--gap) / 2);
}

.magichr-page .mhr-story-img img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center 50%;
   transition:
      transform .5s ease,
      object-position var(--speed) var(--ease);
}

.magichr-page .mhr-story-img:hover img {
   transform: scale(1.03);
}

/* small image after it moves right: keep laptop + faces in view */
.magichr-page .mhr-story-grid.is-expanded .mhr-story-img--small img {
   object-position: center 60%;
}

/* tall image: two crops of the same photo, crossfade in step with the resize */
.magichr-page .mhr-story-img--tall .mhr-story-pic {
   position: absolute;
   inset: 0;
   transition:
      opacity var(--speed) var(--ease),
      transform .5s ease;
}

.magichr-page .mhr-story-img--tall .mhr-story-pic--wide {
   opacity: 0;
}

.magichr-page .mhr-story-grid.is-expanded .mhr-story-img--tall .mhr-story-pic--tall {
   opacity: 0;
}

.magichr-page .mhr-story-grid.is-expanded .mhr-story-img--tall .mhr-story-pic--wide {
   opacity: 1;
}

/* card text */
.magichr-page .mhr-story-card h3 {
   position: relative;
   margin: 0 0 20px;
   padding-bottom: 15px;
   font-family: "Manrope", sans-serif;
   font-size: 30px;
   font-weight: 500;
   line-height: 38px;
   color: #fff;
}

.magichr-page .mhr-story-card h3 strong {
   font-weight: 700;
}

/* white underline bar */
.magichr-page .mhr-story-card h3::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 110px;
   height: 3px;
   border-radius: 3px;
   background: #fff;
}

.magichr-page .mhr-story-card p {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 15px;
   font-weight: 500;
   line-height: 22px;
   color: #fff;
}

/* extra text, shown after "Read more" */
.magichr-page .mhr-story-more {
   display: none;
}

.magichr-page .mhr-story-grid.is-expanded .mhr-story-more {
   display: block;
   animation: mhrFadeUp .5s ease .35s both;
}

.magichr-page .mhr-story-more p {
   margin-top: 14px;
}

.magichr-page .mhr-story-grid.is-expanded .mhr-readmore {
   display: none;
}

/* Read more / Read less buttons */
.magichr-page .mhr-readmore,
.magichr-page .mhr-readless {
   display: inline;
   margin: 0;
   padding: 0;
   border: 0;
   background: none;
   font: inherit;
   font-weight: 600;
   color: #fff;
   cursor: pointer;
}

.magichr-page .mhr-readless {
   display: inline-block;
   margin-top: 14px;
}

.magichr-page .mhr-readmore:hover,
.magichr-page .mhr-readless:hover {
   text-decoration: underline;
}

.magichr-page .mhr-readmore:focus-visible,
.magichr-page .mhr-readless:focus-visible {
   outline: 2px solid #fff;
   outline-offset: 3px;
   border-radius: 2px;
}

@keyframes mhrFadeUp {
   from {
      opacity: 0;
      transform: translateY(12px);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

/* ---------- Own First Customer ---------- */
.magichr-page .mhr-customer {
   padding: 80px 0 77px;
   background-color: #f5f9fd;
   background-image: url('../images/magichr/magichr-customer-bg.webp');
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
}

.magichr-page .mhr-customer-row {
   display: flex;
   align-items: center;
   gap: 86px;
}

/* two overlapping images */
.magichr-page .mhr-customer-media {
   position: relative;
   flex: 0 0 578px;
   width: 578px;
   aspect-ratio: 578 / 380;
}

.magichr-page .mhr-customer-img {
   position: absolute;
   margin: 0;
   overflow: hidden;
   border-radius: 10px;
}

.magichr-page .mhr-customer-img img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* big image: top-left, 524x324 */
.magichr-page .mhr-customer-img--main {
   top: 0;
   left: 0;
   width: 90.66%;
   height: 85.26%;
}

/* small image: bottom-right, 295x204 with 8px #F6FCFF border */
.magichr-page .mhr-customer-img--overlay {
   right: 0;
   bottom: 0;
   z-index: 1;
   width: 51.04%;
   height: 53.68%;
   box-sizing: border-box;
   border: 8px solid #f6fcff;
}

/* ----- Own First Customer: in-view animation -----*/
.magichr-page .mhr-customer-media.mhr-anim-ready .mhr-customer-img--main {
   opacity: 0;
   transform: translateY(24px) scale(.97);
   transition:
      opacity 1.2s ease,
      transform 1.6s cubic-bezier(.16, 1, .3, 1);
   will-change: transform, opacity;
}

.magichr-page .mhr-customer-media.mhr-anim-ready.is-visible .mhr-customer-img--main {
   opacity: 1;
   transform: none;
}

/* small image follows the page scroll:
   --mhr-p = 0 -> top-right, --mhr-p = 1 -> its bottom-right place (set by magichr.js)
   86.3% = (380 - 204) / 204, the distance from top to bottom of the group */
.magichr-page .mhr-customer-img--overlay {
   transform: translateY(calc((1 - var(--mhr-p, 1)) * -86.3%));
   will-change: transform;
}

.magichr-page .mhr-customer-text {
   flex: 1 1 auto;
   min-width: 0;
}

.magichr-page .mhr-customer-text p {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 17px;
   font-weight: 500;
   line-height: 25px;
   color: var(--mhr-text);
}

/* ----- Read more (shared: Own First Customer + More than a Product) ----- */
.magichr-page .mhr-more-wrap {
   display: grid;
   grid-template-rows: 0fr;
   transition: grid-template-rows .6s cubic-bezier(.4, 0, .2, 1);
}

.magichr-page .mhr-more-inner {
   min-height: 0;
   overflow: hidden;
}

.magichr-page .mhr-more-inner p {
   margin-top: 12px;
   opacity: 0;
   transition: opacity .4s ease;
}

.magichr-page [data-mhr-more].is-open .mhr-more-wrap {
   grid-template-rows: 1fr;
}

.magichr-page [data-mhr-more].is-open .mhr-more-inner p {
   opacity: 1;
   transition-delay: .2s;
}

/* .mhr-link used as a button */
.magichr-page button.mhr-link {
   display: inline;
   margin: 0;
   padding: 0;
   border: 0;
   background: none;
   font: inherit;
   font-weight: 600;
   color: var(--mhr-blue);
   cursor: pointer;
}

.magichr-page button.mhr-link:focus-visible {
   outline: 2px solid var(--mhr-blue);
   outline-offset: 3px;
   border-radius: 2px;
}

/* ---------- Features ---------- */
.magichr-page .mhr-features {
   padding: 118px 0 120px;
   background: #fff;
}

.magichr-page .mhr-features .mhr-heading {
   margin-bottom: 52px;
}

.magichr-page .mhr-features-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-auto-rows: minmax(220px, auto);
   gap: 22px;
}

.magichr-page .mhr-feature-card {
   padding: 30px 18px 22px 12px;
   border: 1px solid #eef3f9;
   border-radius: 10px;
   background: #fff;
   box-shadow: 0 4px 18px rgba(16, 40, 80, .05);
   transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.magichr-page .mhr-feature-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 55px;
   height: 55px;
   border-radius: 6px;
   background: #f3f9ff;
   transition: background-color .25s ease;
}

.magichr-page .mhr-feature-icon img {
   display: block;
   width: 34px;
   height: 34px;
   object-fit: contain;
}

.magichr-page .mhr-feature-card h3 {
   margin: 20px 0 6px;
   font-family: "Manrope", sans-serif;
   font-size: 18px;
   font-weight: 700;
   line-height: 24px;
   color: var(--mhr-blue);
   transition: color .25s ease;
}

.magichr-page .mhr-feature-card p {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 14px;
   font-weight: 500;
   line-height: 22px;
   color: var(--mhr-text);
   transition: color .25s ease;
}

/* blue state: the active card, or whichever card is hovered */
.magichr-page .mhr-feature-card.is-active,
.magichr-page .mhr-feature-card:hover {
   border-color: var(--mhr-blue);
   background: var(--mhr-blue);
   box-shadow: 0 10px 28px rgba(0, 148, 255, .25);
}

.magichr-page .mhr-feature-card.is-active .mhr-feature-icon,
.magichr-page .mhr-feature-card:hover .mhr-feature-icon {
   background: #fff;
}

.magichr-page .mhr-feature-card.is-active h3,
.magichr-page .mhr-feature-card.is-active p,
.magichr-page .mhr-feature-card:hover h3,
.magichr-page .mhr-feature-card:hover p {
   color: #fff;
}

/* while hovering another card, the default active card goes back to white */
.magichr-page .mhr-features-grid:hover .mhr-feature-card.is-active:not(:hover) {
   border-color: #eef3f9;
   background: #fff;
   box-shadow: 0 4px 18px rgba(16, 40, 80, .05);
}

.magichr-page .mhr-features-grid:hover .mhr-feature-card.is-active:not(:hover) .mhr-feature-icon {
   background: #f3f9ff;
}

.magichr-page .mhr-features-grid:hover .mhr-feature-card.is-active:not(:hover) h3 {
   color: var(--mhr-blue);
}

.magichr-page .mhr-features-grid:hover .mhr-feature-card.is-active:not(:hover) p {
   color: var(--mhr-text);
}

/* ----- Features: cards appear row by row ----- */
.magichr-page .mhr-feature-card.mhr-anim-ready {
   opacity: 0;
}

.magichr-page .mhr-feature-card.mhr-anim-ready.is-visible {
   animation: mhrCardIn .9s cubic-bezier(.16, 1, .3, 1) var(--delay, 0s) both;
}

@keyframes mhrCardIn {
   from {
      opacity: 0;
      transform: translateY(40px) scale(.97);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

/* ---------- Impact (laptop video + stat cards) ---------- */
.magichr-page .mhr-impact {
   position: relative;
   padding: 0;
   overflow: hidden;
   background: #fff;
}

/* 1 Figma px = var(--u) */
.magichr-page .mhr-impact-stage {
   position: relative;
   container-type: inline-size;
   --u: calc(100cqw / 1415);
}

/* blue band: full screen width, starts 105px below laptop top, ends at the rock */
.magichr-page .mhr-impact-band {
   position: absolute;
   top: calc(102 * var(--u));
   bottom: 0;
   left: 50%;
   z-index: 0;
   width: 100vw;
   transform: translateX(-50%);
   background-image: url('../images/magichr/magichr-laptop-open-poster.webp');
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
}

/* laptop grows with --k and stays centred between the card columns */
.magichr-page .mhr-impact-media {
   position: relative;
   z-index: 1;
   width: calc(1321 * var(--u));
   aspect-ratio: 1600 / 784;
   margin: calc(-107 * var(--u)) 0 0 calc(79 * var(--u));
   pointer-events: none;
}

.magichr-page .mhr-impact-video {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: contain;
   object-position: center bottom;
}

.magichr-page .mhr-impact-cards {
   position: absolute;
   inset: 0;
   z-index: 2;
   margin: 0;
   padding: 0;
   list-style: none;
   pointer-events: none;
}

.magichr-page .mhr-impact-card {
   position: absolute;
   display: flex;
   align-items: center;
   gap: calc(14 * var(--u));
   box-sizing: border-box;
   margin: 0;
   padding: calc(12 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u));
   border-radius: 4px;
   background: #fff;
   box-shadow: 0 4px 16px rgba(6, 40, 80, .08);
   pointer-events: auto;
}

/* Figma positions (px, top measured from the laptop lid) */
.magichr-page .mhr-impact-card--l1 {
   top: calc(39 * var(--u));
   left: calc(38 * var(--u));
   width: calc(326 * var(--u));
}

.magichr-page .mhr-impact-card--l2 {
   top: calc(164 * var(--u));
   left: calc(-21 * var(--u));
   width: calc(326 * var(--u));
}

.magichr-page .mhr-impact-card--l3 {
   top: calc(287 * var(--u));
   left: calc(20 * var(--u));
   width: calc(343 * var(--u));
}

.magichr-page .mhr-impact-card--r1 {
   top: calc(39 * var(--u));
   right: calc(65 * var(--u));
   width: calc(326 * var(--u));
}

.magichr-page .mhr-impact-card--r2 {
   top: calc(164 * var(--u));
   right: calc(-11 * var(--u));
   width: calc(343 * var(--u));
}

.magichr-page .mhr-impact-card--r3 {
   top: calc(300 * var(--u));
   right: calc(42 * var(--u));
   width: calc(349 * var(--u));
}

.magichr-page .mhr-impact-icon {
   display: flex;
   flex: 0 0 auto;
   align-items: center;
   justify-content: center;
   width: calc(48 * var(--u));
   height: calc(48 * var(--u));
   min-width: 32px;
   min-height: 32px;
   border-radius: 4px;
   background: var(--mhr-blue);
}

.magichr-page .mhr-impact-icon img {
   display: block;
   width: 58%;
   height: 58%;
   object-fit: contain;
}

.magichr-page .mhr-impact-copy {
   display: flex;
   flex-direction: column;
   gap: calc(3 * var(--u));
   min-width: 0;
   text-align: left;
}

.magichr-page .mhr-impact-copy strong {
   font-family: "Manrope", sans-serif;
   font-size: max(13px, calc(18 * var(--u)));
   font-weight: 700;
   line-height: 1.3;
   color: var(--mhr-blue-btn);
}

.magichr-page .mhr-impact-copy span {
   font-family: "Manrope", sans-serif;
   font-size: max(11px, calc(14 * var(--u)));
   font-weight: 500;
   line-height: 1.4;
   color: var(--mhr-ink);
}

/* ----- Impact animation: cards start behind the laptop ----- */
.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card {
   opacity: 0;
   transition:
      opacity 1s ease,
      transform 1.6s cubic-bezier(.22, 1, .36, 1);
   transition-delay: calc(var(--i, 0) * .15s);
   will-change: transform, opacity;
}

.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--l1,
.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--l2,
.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--l3 {
   transform: translateX(60%) scale(.9);
}

.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--r1,
.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--r2,
.magichr-page .mhr-impact.mhr-anim-ready .mhr-impact-card--r3 {
   transform: translateX(-60%) scale(.9);
}

.magichr-page .mhr-impact.mhr-anim-ready.is-open .mhr-impact-card {
   opacity: 1;
   transform: none;
}

/* ----- tablet / mobile: laptop on top, cards in a grid below ----- */
@media (max-width: 991px) {
   .magichr-page .mhr-impact-band {
      top: 12%;
   }

   .magichr-page .mhr-impact-media {
      width: 100%;
      margin: 0;
   }

   .magichr-page .mhr-impact-cards {
      position: relative;
      inset: auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      padding: 24px 0 40px;
   }

   .magichr-page .mhr-impact-card,
   .magichr-page [class*="mhr-impact-card--"] {
      position: static;
      width: auto;
      gap: 12px;
      padding: 12px 14px 12px 12px;
   }

   .magichr-page .mhr-impact-icon {
      width: 40px;
      height: 40px;
   }

   .magichr-page .mhr-impact-copy strong {
      font-size: 16px;
   }

   .magichr-page .mhr-impact-copy span {
      font-size: 13px;
   }

   .magichr-page .mhr-impact.mhr-anim-ready [class*="mhr-impact-card--"] {
      transform: translateY(20px);
   }
}

@media (max-width: 575px) {
   .magichr-page .mhr-impact-cards {
      grid-template-columns: 1fr;
   }
}

/* ---------- More than a Product ---------- */
.magichr-page .mhr-product {
   padding: 115px 0 110px;
   background: #fff;
}

.magichr-page .mhr-product-row {
   display: flex;
   align-items: center;
   gap: 83px;
}

/* collage 578 x 437: wide image on top, two below (336 + 226) */
.magichr-page .mhr-product-media {
   display: grid;
   flex: 0 0 578px;
   width: 578px;
   aspect-ratio: 578 / 437;
   grid-template-columns: 336fr 226fr;
   grid-template-rows: 195fr 226fr;
   gap: 16px;
}

.magichr-page .mhr-product-img {
   margin: 0;
   overflow: hidden;
   border-radius: 10px;
}

.magichr-page .mhr-product-img--top {
   grid-column: 1 / -1;
}

.magichr-page .mhr-product-img img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .5s ease;
}

.magichr-page .mhr-product-img:hover img {
   transform: scale(1.03);
}

.magichr-page .mhr-product-text {
   flex: 1 1 auto;
   min-width: 0;
   max-width: 740px;
}

.magichr-page .mhr-product-text p,
.magichr-page .mhr-product-list li {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 17px;
   font-weight: 500;
   line-height: 25px;
   color: var(--mhr-text);
}

.magichr-page .mhr-product-list {
   margin: 16px 0 0;
   padding-left: 22px;
   list-style: disc;
}

.magichr-page .mhr-product-list li+li {
   margin-top: 4px;
}

.magichr-page .mhr-product-text .mhr-more-inner p {
   margin-top: 12px;
}

/* ----- More than a Product: in-view animation ----- */
.magichr-page .mhr-product-media.mhr-anim-ready .mhr-product-img {
   opacity: 0;
   transform: translateY(30px) scale(.96);
   transition:
      opacity 1s ease,
      transform 1.4s cubic-bezier(.16, 1, .3, 1);
}

.magichr-page .mhr-product-media.mhr-anim-ready .mhr-product-img--left {
   transition-delay: .15s;
}

.magichr-page .mhr-product-media.mhr-anim-ready .mhr-product-img--right {
   transition-delay: .3s;
}

.magichr-page .mhr-product-media.mhr-anim-ready.is-visible .mhr-product-img {
   opacity: 1;
   transform: none;
}

/* text fades up on view - .mhr-more-wrap is skipped so its read-more slide keeps working */
.magichr-page .mhr-product-text.mhr-anim-ready> :not(.mhr-more-wrap) {
   opacity: 0;
   transform: translateY(24px);
   transition:
      opacity 1s ease,
      transform 1.3s cubic-bezier(.16, 1, .3, 1);
}

.magichr-page .mhr-product-text.mhr-anim-ready> :nth-child(2) {
   transition-delay: .15s;
}

.magichr-page .mhr-product-text.mhr-anim-ready> :nth-child(3) {
   transition-delay: .3s;
}

.magichr-page .mhr-product-text.mhr-anim-ready.is-visible> :not(.mhr-more-wrap) {
   opacity: 1;
   transform: none;
}

/* ---------- CTA ---------- */
.magichr-page .mhr-cta {
   position: relative;
   min-height: 417px;
   overflow: hidden;
   background: #fff;
}

/* light pattern band: starts 97px below the laptop top */
.magichr-page .mhr-cta-band {
   position: absolute;
   top: 97px;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 0;
   background-color: #eef6fd;
   background-image: url('../images/magichr/magichr-cta-bg.webp');
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
}

.magichr-page .mhr-cta .mhr-container {
   position: relative;
   z-index: 2;
   padding-top: 127px;
   padding-bottom: 36px;
}

.magichr-page .mhr-cta-text {
   max-width: 660px;
}

.magichr-page .mhr-cta-text p {
   margin: 0;
   font-family: "Manrope", sans-serif;
   font-size: 17px;
   font-weight: 500;
   line-height: 25px;
   color: var(--mhr-text);
}

.magichr-page .mhr-cta .mhr-btn {
   margin-top: 26px;
}

/* laptop: cut off at the right screen edge, like Figma */
.magichr-page .mhr-cta-img {
   position: absolute;
   right: 0;
   bottom: 34px;
   z-index: 1;
   width: min(571px, 37.2vw);
   margin: 0;
}

.magichr-page .mhr-cta-img img {
   display: block;
   width: 100%;
   height: auto;
}

/* ----- CTA: in-view animation ----- */
.magichr-page .mhr-cta-text.mhr-anim-ready>* {
   opacity: 0;
   transform: translateY(24px);
   transition:
      opacity 1s ease,
      transform 1.3s cubic-bezier(.16, 1, .3, 1);
}

.magichr-page .mhr-cta-text.mhr-anim-ready> :nth-child(2) {
   transition-delay: .15s;
}

.magichr-page .mhr-cta-text.mhr-anim-ready> :nth-child(3) {
   transition-delay: .3s;
}

.magichr-page .mhr-cta-text.mhr-anim-ready.is-visible>* {
   opacity: 1;
   transform: none;
}

/* laptop slides in slowly from the right edge */
.magichr-page .mhr-cta-img.mhr-anim-ready {
   opacity: 0;
   transform: translateX(50%);
   transition:
      opacity 2s ease .3s,
      transform 3s cubic-bezier(.16, 1, .3, 1) .3s;
   will-change: transform, opacity;
}

.magichr-page .mhr-cta-img.mhr-anim-ready.is-visible {
   opacity: 1;
   transform: none;
}

/* ----- More than a Product + CTA responsive ----- */
@media (max-width: 1199px) {
   .magichr-page .mhr-product-row {
      gap: 48px;
   }

   .magichr-page .mhr-product-media {
      flex: 0 0 46%;
      width: 46%;
   }

   .magichr-page .mhr-product-text p,
   .magichr-page .mhr-product-list li,
   .magichr-page .mhr-cta-text p {
      font-size: 16px;
      line-height: 24px;
   }

   .magichr-page .mhr-cta-text {
      max-width: 55%;
   }
}

@media (max-width: 991px) {
   .magichr-page .mhr-product {
      padding: 80px 0;
   }

   .magichr-page .mhr-product-row {
      flex-direction: column;
      align-items: stretch;
      gap: 36px;
   }

   .magichr-page .mhr-product-media {
      flex: none;
      width: 100%;
      max-width: 578px;
      margin: 0 auto;
   }

   .magichr-page .mhr-product-text {
      max-width: none;
   }

   /* CTA: text on top, laptop below */
   .magichr-page .mhr-cta {
      min-height: 0;
   }

   .magichr-page .mhr-cta-band {
      top: 40px;
   }

   .magichr-page .mhr-cta .mhr-container {
      padding-top: 72px;
      padding-bottom: 32px;
   }

   .magichr-page .mhr-cta-text {
      max-width: none;
   }

   .magichr-page .mhr-cta-img {
      position: relative;
      right: auto;
      bottom: auto;
      width: 85%;
      margin: 0 0 32px auto;
   }
}

@media (max-width: 767px) {
   .magichr-page .mhr-product {
      padding: 56px 0;
   }

   .magichr-page .mhr-product-media {
      gap: 10px;
   }

   .magichr-page .mhr-product-text p,
   .magichr-page .mhr-product-list li,
   .magichr-page .mhr-cta-text p {
      font-size: 15px;
      line-height: 23px;
   }

   .magichr-page .mhr-cta .mhr-container {
      padding-top: 56px;
   }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

   .magichr-page .mhr-anim-ready .mhr-stats-list,
   .magichr-page .mhr-anim-ready .mhr-stats-list li {
      opacity: 1;
      transform: none;
      transition: none;
   }

   .magichr-page .mhr-story-card,
   .magichr-page .mhr-story-img,
   .magichr-page .mhr-story-img img,
   .magichr-page .mhr-story-img--tall .mhr-story-pic {
      transition: none;
   }

   .magichr-page .mhr-story-grid.is-expanded .mhr-story-more {
      animation: none;
   }

   .magichr-page .mhr-customer-media.mhr-anim-ready .mhr-customer-img--main,
   .magichr-page .mhr-customer-img--overlay {
      opacity: 1;
      transform: none;
      transition: none;
   }

   .magichr-page .mhr-feature-card.mhr-anim-ready,
   .magichr-page .mhr-feature-card.mhr-anim-ready.is-visible {
      opacity: 1;
      animation: none;
   }

   .magichr-page .mhr-impact .mhr-impact-card {
      opacity: 1 !important;
      transform: none !important;
      transition: none;
   }

   .magichr-page .mhr-product-media.mhr-anim-ready .mhr-product-img,
   .magichr-page .mhr-product-text.mhr-anim-ready> :not(.mhr-more-wrap),
   .magichr-page .mhr-cta-text.mhr-anim-ready>*,
   .magichr-page .mhr-cta-img.mhr-anim-ready {
      opacity: 1;
      transform: none;
      transition: none;
   }
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {

   .magichr-page .mhr-banner h1,
   .magichr-page .mhr-heading,
   .magichr-page .mhr-title-left {
      font-size: clamp(30px, 3.1vw, 45px);
      line-height: 1.35;
   }

   .magichr-page .mhr-story-grid {
      height: auto;
      aspect-ratio: 1416 / 644;
   }

   .magichr-page .mhr-story-card h3 {
      font-size: clamp(24px, 2.1vw, 30px);
      line-height: 1.3;
   }

   .magichr-page .mhr-banner-text p {
      font-size: clamp(16px, 1.35vw, 20px);
      line-height: 1.6;
   }
}

@media (max-width: 1199px) {
   .magichr-page .mhr-container {
      padding: 0 40px;
   }

   .magichr-page .mhr-banner-img {
      margin-top: 48px;
   }

   .magichr-page .mhr-stats-list {
      padding: 36px 40px;
   }

   .magichr-page .mhr-stats-list h3 {
      font-size: 34px;
      line-height: 40px;
   }

   .magichr-page .mhr-stats-list p {
      font-size: 15px;
   }

   .magichr-page .mhr-story-card {
      padding: 26px 28px;
   }

   .magichr-page .mhr-customer-row {
      gap: 48px;
   }

   .magichr-page .mhr-customer-media {
      flex: 0 0 46%;
      width: 46%;
   }

   .magichr-page .mhr-customer-text p {
      font-size: 16px;
      line-height: 24px;
   }

   .magichr-page .mhr-features-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
   }

   .magichr-page .mhr-feature-card {
      padding: 26px 18px 22px;
   }
}

@media (max-width: 991px) {
   .magichr-page .mhr-story {
      padding: 80px 0;
   }

   .magichr-page .mhr-story .mhr-heading {
      margin-bottom: 36px;
   }

   /* stacked: card, small image, tall image — no moving */
   .magichr-page .mhr-story-grid {
      display: flex;
      flex-direction: column;
      gap: 16px;
      height: auto;
      aspect-ratio: auto;
   }

   .magichr-page .mhr-story-card,
   .magichr-page .mhr-story-img,
   .magichr-page .mhr-story-grid.is-expanded .mhr-story-card,
   .magichr-page .mhr-story-grid.is-expanded .mhr-story-img--small,
   .magichr-page .mhr-story-grid.is-expanded .mhr-story-img--tall {
      position: static;
      width: 100%;
      height: auto;
      overflow: hidden;
      transform: none;
      transition: none;
   }

   .magichr-page .mhr-story-card {
      padding: 28px;
   }

   .magichr-page .mhr-story-img--small {
      aspect-ratio: 698 / 405;
   }

   .magichr-page .mhr-story-img--tall {
      aspect-ratio: 698 / 644;
   }

   /* only the normal crop on mobile */
   .magichr-page .mhr-story-img--tall .mhr-story-pic {
      position: static;
   }

   .magichr-page .mhr-story-img--tall .mhr-story-pic--wide {
      display: none;
   }

   .magichr-page .mhr-story-grid.is-expanded .mhr-story-img--tall .mhr-story-pic--tall {
      opacity: 1;
   }

   .magichr-page .mhr-stats {
      padding-top: 40px;
   }

   .magichr-page .mhr-stats-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px 16px;
      min-height: 0;
      padding: 32px 24px;
   }

   .magichr-page .mhr-customer {
      padding: 64px 0;
   }

   .magichr-page .mhr-customer-row {
      flex-direction: column;
      align-items: stretch;
      gap: 36px;
   }

   .magichr-page .mhr-customer-media {
      flex: none;
      width: 100%;
      max-width: 578px;
      margin: 0 auto;
   }

   .magichr-page .mhr-features {
      padding: 80px 0;
   }

   .magichr-page .mhr-features .mhr-heading {
      margin-bottom: 36px;
   }

   .magichr-page .mhr-features-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: auto;
      gap: 16px;
   }
}

@media (max-width: 767px) {
   .magichr-page .mhr-container {
      padding: 0 16px;
   }

   .magichr-page .mhr-banner {
      padding: 100px 0 16px;
      background-size: auto 100%;
   }

   .magichr-page .mhr-banner h1 {
      font-size: 28px;
      line-height: 1.3;
   }

   .magichr-page .mhr-banner-text p {
      margin-top: 16px;
      font-size: 15px;
   }

   .magichr-page .mhr-btn {
      height: 50px;
      margin-top: 24px;
      padding: 0 28px;
      font-size: 16px;
   }

   .magichr-page .mhr-banner-img {
      margin-top: 32px;
   }

   .magichr-page .mhr-heading {
      font-size: 26px;
      line-height: 1.3;
   }

   .magichr-page .mhr-title-left {
      font-size: 26px;
      line-height: 1.3;
      margin-bottom: 16px;
      padding-bottom: 12px;
   }

   .magichr-page .mhr-title-left::after {
      width: 80px;
   }

   .magichr-page .mhr-story {
      padding: 56px 0;
   }

   .magichr-page .mhr-story .mhr-heading {
      margin-bottom: 24px;
   }

   .magichr-page .mhr-story-card {
      padding: 24px 20px;
   }

   .magichr-page .mhr-story-card h3 {
      font-size: 22px;
      margin-bottom: 16px;
      padding-bottom: 12px;
   }

   .magichr-page .mhr-story-card h3::after {
      width: 80px;
   }

   .magichr-page .mhr-story-card p {
      font-size: 14px;
      line-height: 21px;
   }

   .magichr-page .mhr-stats {
      padding-top: 32px;
   }

   .magichr-page .mhr-stats-list {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px 12px;
      padding: 24px 16px;
   }

   .magichr-page .mhr-stats-list li:last-child {
      grid-column: 1 / -1;
   }

   .magichr-page .mhr-stats-list h3 {
      font-size: 30px;
      line-height: 36px;
   }

   .magichr-page .mhr-stats-list p {
      font-size: 14px;
      line-height: 20px;
   }

   .magichr-page .mhr-customer {
      padding: 48px 0;
   }

   .magichr-page .mhr-customer-img--overlay {
      border-width: 5px;
   }

   .magichr-page .mhr-customer-text p {
      font-size: 15px;
      line-height: 23px;
   }

   .magichr-page .mhr-features {
      padding: 56px 0;
   }

   .magichr-page .mhr-features .mhr-heading {
      margin-bottom: 24px;
   }

   .magichr-page .mhr-feature-card {
      padding: 22px 18px;
   }

   .magichr-page .mhr-feature-icon {
      width: 48px;
      height: 48px;
   }

   .magichr-page .mhr-feature-icon img {
      width: 28px;
      height: 28px;
   }

   .magichr-page .mhr-feature-card h3 {
      margin-top: 16px;
      font-size: 17px;
   }
}

@media (max-width: 575px) {
   .magichr-page .mhr-features-grid {
      grid-template-columns: 1fr;
   }
}