/* ==========================================================================
   MYQR Naboo-1 — Investor Mobile Experience
   --------------------------------------------------------------------------
   Mobile-only presentation layer. Every rule is scoped to (max-width: 767px)
   so desktop and tablet are untouched BY CONSTRUCTION, not by inspection.
   Loaded last; overrides the legacy template without editing it.
   ========================================================================== */

/* ==========================================================================
   NABOO-3 COMPONENTS — authoritative base, OUTSIDE the mobile media query.

   These were previously defined only inside /* --- Shelly: protected natural composition, at EVERY width ----------------
   Previously declared inside @media (max-width:767px). At desktop the computed
   values were `aspect-ratio: auto` and `object-fit: fill` on a container with
   `overflow: hidden` — the image rendered uncropped only because intrinsic
   sizing happened to agree with the source's 1.200 ratio. That is the image
   "happening to be correct", which is exactly what the protection exists to
   replace. Declared at base, no crop is possible at any width. ------------- */
.mq-ce-photo { aspect-ratio: 1600 / 1333; height: auto; max-height: none; }
.mq-ce-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* --- Desktop product reality: the carousel recomposed ---------------------
   The five faux application panels that occupied `.mq-hc-stage` — the right
   column of every slide — are DELETED from the markup, not hidden, so no
   hidden archaeology remains. That leaves the two-column grid with one child,
   which would render as a half-width copy column beside dead space.

   `.mq-hc-media` is already absolutely positioned across the whole slide and
   `.mq-hc-copy` is capped at 560px, so collapsing the grid to a single column
   does not stretch the copy: it hands the vacated half to the governed
   photograph, which becomes the visual subject at every width. This is the
   treatment mobile already used, now applied as the base.

   Declared at BASE, not inside the mobile media query — the defect this
   corrects was exactly a retirement scoped to one lane. --------------------- */
.mq-hc-split { grid-template-columns: minmax(0, 1fr); gap: 0; }

/* The driver-payouts slide carries a BESPOKE desktop split at (0,2,1):
   `@media (min-width:1024px) .mq-hc-slide[data-slide="driver-payouts"]
   .mq-hc-split { grid-template-columns: minmax(440px,530px) 1fr }`. It exists
   only to seat the faux stage in the right-hand track, and it outranks the
   plain `.mq-hc-split` above — so the collapse has to be restated at matching
   specificity or slide 0 alone keeps a 600px column of dead space. */
.mq-hc-slide[data-slide="driver-payouts"] .mq-hc-split {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

/* `section.mq-os2` keeps its genuine heading and explanatory paragraph
   ("Multiple applications. One platform.") — positioning copy, not concept
   artwork. Only the three simulated cards were deleted, so the section needs
   its own closing space now that the grid no longer provides it. */
.mq-os2 { padding-bottom: 28px; }

/* --- INV-01: the back-to-top control is removed at EVERY width -------------
   On mobile it was covering "Licensed Financial Institution". At desktop it is
   the last remaining fixed element, and its x-band (1195-1235 at 1280px)
   overlaps the value-movement disclosure, which reaches x1218. Repositioning it
   would only move the collision, so it goes entirely — it had little value on
   mobile and none that outweighs a disclosure at desktop.

   `!important` is load-bearing: the template's script writes
   style="display:block" inline, which a stylesheet cannot otherwise beat. ---- */
#to-the-top { display: none !important; }

/* --- N6: NABOO-INV-01 applied at DESKTOP as well as mobile -----------------
   The acquisition bar was returned to document flow on mobile, but stayed
   position:fixed above 767px, where it was covering a section subheading.
   The invariant is about readability, not viewport width, so the same remedy
   applies at every width: the bar lives in normal flow at the end of the page.
   Not solved by moving content under another overlay. ----------------------- */
.mq-cta-float,
.mq-cta-float.is-off {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: block !important;
  width: 100%;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  box-shadow: none;
}

/* --- N5: vertical progression must not keep horizontal arrows -------------- */
.mq-how .flow .a { transition: none; }

@media (max-width: 767px), so at
   desktop widths they fell back to unstyled paragraphs: the availability block
   was three lines of left-aligned body text and the QR explainer had no card
   and no disclosure control. Content was correct, presentation was absent —
   which text-only verification cannot detect.

   Base defines the component. The media query below modifies it. There is
   exactly ONE rule set per selector; nothing here depends on source order to
   beat a duplicate.

   Restrained by intent: these are supporting sections, not hero modules.
   ========================================================================== */

/* --- QR explainer --------------------------------------------------------- */
.mq-qr-explainer { padding: 18px 0 34px; }

.mq-qr-explainer .mq-qr-det {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 0 22px;
}

.mq-qr-explainer .mq-qr-det > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mq-qr-explainer .mq-qr-det > summary::-webkit-details-marker { display: none; }
.mq-qr-explainer .mq-qr-det > summary::after {
  content: "+"; font-weight: 700; font-size: 20px; line-height: 1; color: #64748b;
}
.mq-qr-explainer .mq-qr-det[open] > summary::after { content: "\2013"; }

.mq-qr-explainer .mq-qr-generic {
  margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: #475569;
}
.mq-qr-explainer .mq-qr-myqr {
  margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: #0f172a; font-weight: 600;
}
.mq-qr-explainer .mq-qr-sub {
  margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: #64748b;
}

/* --- Availability --------------------------------------------------------- */
/* Word marks as plain text. No official badge artwork, no links, nothing
   interactive: every official badge asserts a store state that must already
   exist, and none may be modified. */
.mq-availability { padding: 34px 0 40px; text-align: center; }

.mq-availability .mq-av-head {
  margin: 0 0 8px; font-weight: 700; font-size: 20px; line-height: 1.3; color: #0f172a;
}
.mq-availability .mq-av-soontag {
  display: block; margin: 0 0 6px;
  font-size: 16px; font-weight: 600; line-height: 1.4; color: #1e3a8a;
}
.mq-availability .mq-av-status {
  margin: 0; font-size: 14px; line-height: 1.5; color: #64748b;
}

@media (max-width: 767px) {

  /* ----------------------------------------------------------------------
     P0-1 — the header.
     It was never sticky. It is rgba(255,255,255,.25) — 25% opaque white over
     a full-bleed dark carousel — so the hero headline bled straight through
     it, and the carousel auto-advancing underneath made it read as though it
     followed the scroll. The fix is contrast and height, not positioning.
     Measured before: 86px tall, toggle at y10-41 and wordmark at y30-60 —
     vertically misaligned by 20px, which is why it looked unbalanced.
     ---------------------------------------------------------------------- */
  header.header,
  header.header-v1 {
    background: #ffffff;
    float: none;
    display: block;
    width: 100%;
    padding: 0 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  /* The compact header must apply in BOTH header states.
     The template adds `.stuck` on scroll and re-pads it: `.header-v1.stuck`
     (0,2,0) outranks `header.header-v1` (0,1,1), and `.header-v1.stuck .logo`
     forces height:auto. The result was a 57px header at scroll 0 and an 85px
     one while scrolling — which is the state a reader is actually in. Matching
     the specificity rather than reaching for !important. */
  header.header-v1.stuck { padding: 0 16px; }
  .header-v1.stuck .logo { height: 56px; }

  /* One row, vertically centred, 56px. Reclaims 30px of a 812px viewport. */
  .header-v1 .logo {
    display: flex;
    align-items: center;
    height: 56px;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
  }

  .header-v1 .logo .mm-toggle {
    flex: 0 0 44px;            /* 44px — minimum comfortable touch target */
    display: flex;
    align-items: center;
    height: 56px;
    margin: 0;
    padding: 0;
  }

  /* The word "Menu" is redundant beside a hamburger and costs horizontal
     space. Hidden visually only — the control keeps aria-label="Open menu",
     so nothing is removed for a screen reader. */
  .header-v1 .logo .mm-toggle .mm-label { display: none; }

  .header-v1 .logo .mm-toggle .fa-bars { font-size: 20px; line-height: 1; }

  /* Optically centred: the 44px right margin balances the toggle on the left
     so the wordmark sits in the true centre of the bar, Paysafe-style. */
  .header-v1 .logo .myqr-logo-link {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 44px;
    min-width: 0;
  }

  .header-v1 .logo .myqr-logo-img {
    height: 24px;
    width: auto;
    max-width: 100%;
  }

  /* ----------------------------------------------------------------------
     P0-2 — horizontal overflow.
     .mq-hc-pause measured left:311 right:385 against a 375px viewport: the
     control sat 10px outside the screen. .mq-hc-controls spans left:0/right:0
     with no inline padding, so the last child ran past the edge.
     ---------------------------------------------------------------------- */
  /* The overflowing element's real parent is an inner .container (343px wide
     inside a 375px viewport), not .mq-hc-controls — padding on the outer
     element moved nothing. The row is dots + pause + a decorative label held
     right by margin-left:auto, and it cannot fit. */
  .mq-hc-controls > .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
  }

  /* The label is decorative on a phone and is what forces the row over the
     edge. Dropping it leaves the functional controls — dots and pause. */
  .mq-hc-label { display: none; }

  .mq-hc-pause {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  /* ----------------------------------------------------------------------
     P0-3 — hero density.
     The headline set 50px across three lines (y237-396) and the sub-copy a
     further three (y410-481). Before a reader reaches the CTA, 60% of the
     viewport is spent. Tightening type and rhythm, not cutting the claim.
     ---------------------------------------------------------------------- */
  /* NOTE — the oversized headline is a CASCADE BUG, not a design decision.
     myqr-bundle.min.css declares `.mq-hero-carousel h1, .mq-hc-slide h2` at
     31px under @media (max-width:600px), then re-declares the SAME selector
     unconditionally at 50px further down the file. Equal specificity, later
     wins, so the bundle's mobile headline sizing has never applied at any
     viewport. Measured at 375px: computed 50px, three lines, 159px tall.
     Overriding at matching specificity rather than with !important. */
  .mq-hero-carousel h1.mq-hc-h1,
  .mq-hc-slide h2.mq-hc-h1,
  .mq-hero-carousel .mq-hc-h1 {
    /* Rebalanced for the longer brand string. "One MYQR Identity for every
       payout." set two lines at a flat 34px; "One MyQR.at Identity for every
       payout." is four characters longer and took three, which read as a
       serif word pasted into a sans heading rather than as one headline.
       Per the ruling the HEADLINE is adjusted, not the brand token: the token
       keeps its inherited size and the whole line scales with the viewport,
       so the balance holds across 320-767 instead of being tuned at one
       width. Declared here, at the specificity that actually wins — a
       `.mq-hc-h1` rule (0,1,0) loses to this selector (0,2,1). */
    font-size: clamp(26px, 7.8vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .mq-hero-carousel .mq-hc-sub,
  .mq-hc-sub {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .mq-hc-eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 10px; }

  /* ----------------------------------------------------------------------
     P0-4 — NABOO-INV-01. The persistent floating CTA is removed on mobile.

     It was position:fixed, 96px tall, z-60: it permanently occupied 12% of the
     viewport and overlaid whatever sat beneath it. A mechanical scan of the
     document found 13 protected disclosure strings and 3 collisions, the worst
     covering 31px of "MYQR determines the verified payment destination.
     Licensed financial..." — a payment-execution disclaimer.

     It is NOT made to hide itself when a disclosure enters view. That would put
     conditional behaviour around exactly the content most needing protection,
     and would leave us forever testing whether every protected string had been
     found. Returning the CTA to normal document flow removes the collision
     class entirely rather than managing it.
     ---------------------------------------------------------------------- */
  /* NABOO-INV-01 + the acquisition ruling: the signup treatment STAYS, but as
     an end-of-page conversion section in normal document flow. Never fixed,
     never a viewport overlay — so it cannot obscure carousel media, animation,
     product imagery or a disclosure, and cannot collide with the carousel
     controls. Being in flow also removes the class of layout jump that a
     late-appearing fixed bar causes. */
  .mq-cta-float,
  .mq-cta-float.is-off {
    position: static !important;   /* the template's script re-pins it on scroll */
    inset: auto !important;
    z-index: auto !important;
    display: block !important;     /* supersedes the earlier blanket removal */
    width: 100%;
    margin: 0;
    padding: 30px 16px 34px;
    font-size: 15px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: none;
    transform: none !important;
    opacity: 1 !important;      /* `.is-off` zeroes this for the fixed variant */
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* The clearance added for the fixed bar is no longer needed: with nothing
     pinned to the viewport there is nothing to scroll clear of. */
  body { padding-bottom: 0; }

  /* ----------------------------------------------------------------------
     P0-5 — remove the back-to-top control on mobile (NABOO-INV-01).

     #to-the-top is fixed, and the generalised disclosure test caught it
     covering "Licensed Financial Institution" at scrollY 8775. It has little
     mobile value — the gesture is a status-bar tap on iOS and a short swipe
     everywhere else. Removing it is preferable to teaching the acceptance test
     to tolerate one more floater.

     `!important` is load-bearing here and used deliberately: the template's
     script writes `style="display: block"` directly onto the element, and an
     inline style cannot be overridden from a stylesheet any other way.
     ---------------------------------------------------------------------- */
  /* (moved to the base rule set — see N6/INV-01 note above) */

  /* Leaves exactly one piece of persistent chrome on mobile: the compact
     sticky header. */

  /* ======================================================================
     NABOO-UX-01/02/03 + NABOO-BRAND-03 — direction preview (mobile only).

     Applied as presentation rather than markup deletion so the direction can
     be judged and reversed cheaply. On acceptance the retired surfaces come
     out of the HTML properly rather than being hidden.
     ====================================================================== */

  /* --- BRAND-03: the wordmark earns real presence ---------------------- */
  /* Geometry untouched; only the rendered height changes. 38px at the
     master's 3.042:1 gives ~116px, inside HANS's 110-125px target, and still
     fits the 57px header with 9px of breathing room top and bottom. */
  .header-v1 .logo .myqr-logo-img { height: 38px; }

  /* --- UX-01 --- the faux panels are now DELETED, not hidden.
     See the base rule set for the carousel recomposition. No hiding rules
     survive here: the selectors they targeted no longer exist in the DOM. */

  /* --- UX-02 --------------------------------------------------------- */
  /* The acquisition strip is no longer removed: it is unpinned and returned
     to document flow at the end of the page. See the .mq-cta-float block. */

  /* --- UX-03: the media becomes legible presentation ------------------- */
  /* Copy sits over moving photography, so the scrim has to carry contrast at
     the BRIGHTEST frame, not the average one. A vertical ramp keeps the
     headline readable while leaving the image visible lower down. */
  .mq-hc-scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 13, 25, 0.82) 0%,
      rgba(8, 13, 25, 0.62) 42%,
      rgba(8, 13, 25, 0.78) 100%
    );
  }

  .mq-hc-copy { padding-top: 8px; padding-bottom: 8px; }

  /* `.mq-ucx-note` is deliberately left alone — it qualifies value movement,
     which is a disclosure, not concept-product chrome. `.mq-hc-cap` is gone
     from the markup entirely (classified DELETE: concept-only). */

  /* ----------------------------------------------------------------------
     Product visual promoted out of the card thumbnail.

     `.mq-ucx-img` is a 164px card thumbnail with object-fit:cover and a label
     overlaid on top, so the MyQR.at screen inside the photograph measured
     ~86x74px — illegible at every viewport. Card framing and the "03 Wallet"
     overlay are removed on mobile and the photograph is shown full-bleed at
     its own aspect ratio, uncropped.
     ---------------------------------------------------------------------- */
  .mq-ucx-feature {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: none;
  }

  .mq-ucx-feature .mq-ucx-media,
  .mq-ucx-feature .mq-ucx-media.hp {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 2809 / 1668;   /* the source's own ratio — no crop */
    border-radius: 0;
  }

  .mq-ucx-feature .mq-ucx-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;          /* nothing of the product screen cropped away */
  }

  /* The "03 Wallet" plate sat over the photograph. Retired on mobile: the
     section copy underneath already says it. */
  .mq-ucx-feature .mq-ucx-title { display: none; }

  .mq-ucx-feature .mq-ucx-body { padding-left: 16px; padding-right: 16px; }

  /* ----------------------------------------------------------------------
     Driver hero copy reduction (HANS).

     The photographed phone is now the strongest proof point in the image, and
     at 375px the cyan sub-headline ran straight across it. Reducing the hero
     to proposition + identity + one action lets the product breathe.

     Scoped to `data-slide="driver-payouts"`. That scoping turns out to be
     belt-and-braces rather than load-bearing: inspecting the live DOM,
     `.mq-hc-sub` exists ONLY on the driver slide — slides 2-5 carry their
     supporting copy as `.mq-hc-body`. So no other slide could have been
     affected. Recorded because the scoping's reason matters if `.mq-hc-sub`
     is ever reused elsewhere.

     The sentence is HIDDEN, not deleted — it remains in the markup and on
     desktop. Its relocation target is a copy decision, see the register.
     ---------------------------------------------------------------------- */
  .mq-hc-slide[data-slide="driver-payouts"] .mq-hc-sub { display: none; }

  /* ----------------------------------------------------------------------
     D2 — WITHDRAWN. The comment that stood here claimed this rule kept "the
     phone and the governed Receive screen in frame". It did the opposite: the
     phone is on the RIGHT of the source, and biasing the focal point to 38%
     (left of centre) pushed it out. Measured at 375, the visible source ran
     11.6% -> 81.0% of the frame, cutting the product off at 81%.

     No replacement focal point is used. A percentage that happens to work at
     one width is the same defect with a different number — see the mobile
     composition rule in the base set, which removes the horizontal crop
     entirely instead of aiming it.
     ---------------------------------------------------------------------- */

  /* ----------------------------------------------------------------------
     Shelly explainer photograph — composition protected.

     HANS's selection constraint: B must NOT be forced into a shallow
     fixed-height `object-fit: cover` box. That crop cut Shelly's face and most
     of the phone — destroying exactly what makes the image work.

     Pinning the container to the source's own 1.200 aspect and forcing
     `object-fit: contain` means no material crop is possible here, even if a
     `cover` rule is introduced elsewhere later. The constraint is enforced,
     not merely honoured by the current markup happening to be correct.
     ---------------------------------------------------------------------- */
  /* (the Shelly protections are declared at BASE — see the base rule set.
     They were mobile-only, so at desktop the image was undistorted only
     because intrinsic sizing happened to agree with the source ratio.) *//* (stale duplicate removed — an earlier uppercase .mq-av-soontag rule sat
     later in the file and won the cascade, rendering HANS-approved
     sentence-case copy, and the App Store / Google Play word marks with it,
     in capitals.) */

   /* 38 x 1.39 — equalises the visible bodies */

  /* --- NABOO-3 responsive differences only. The components are defined in the
     base above; these are the mobile deltas, nothing more. --- */
  .mq-qr-explainer { padding: 6px 0 22px; }
  .mq-qr-explainer .mq-qr-det { padding: 0 14px; border-radius: 12px; }
  .mq-qr-explainer .mq-qr-det > summary { padding: 14px 0; font-size: 15.5px; }
  .mq-qr-explainer .mq-qr-generic { font-size: 15px; margin-bottom: 10px; }
  .mq-qr-explainer .mq-qr-myqr { font-size: 15px; }
  .mq-qr-explainer .mq-qr-sub { font-size: 13.5px; margin-bottom: 16px; }

  .mq-availability { padding: 26px 0 30px; }
  .mq-availability .mq-av-head { font-size: 16.5px; }
  .mq-availability .mq-av-soontag { font-size: 14.5px; }
  .mq-availability .mq-av-status { font-size: 13.5px; }

  /* N5 — the How-it-works cards stack vertically on mobile, so a right-pointing
     arrow points at nothing. Rotated to follow the actual reading direction
     rather than removed: the progression is still information. */
  .mq-how .flow { flex-direction: column; align-items: stretch; }
  .mq-how .flow .a { transform: rotate(90deg); align-self: center; margin: 2px 0; }

  /* The step cards carry `flex: 1 1 220px`. In the original ROW layout that
     220px was a card WIDTH; once N5 turned the flow into a column it became a
     card HEIGHT, so every card stood 220px tall around ~64px of content.
     Content-sized here — the basis is what needed correcting, not the padding. */
  .mq-how .flow .n { flex: 0 0 auto; }
}


/* ===========================================================================
   NABOO DESKTOP DENSITY & FULL-BLEED CORRECTIVE  (PO visual review at 1280)
   Scoped to >=768px. Mobile spacing is deliberately untouched: the defect PO
   identified is a desktop one, and squeezing mobile to fix it would trade one
   complaint for another.
   ======================================================================== */
@media (min-width: 768px) {

  /* --- 1. The hero photograph goes full-bleed -----------------------------
     PO: "What is this black bar?" — twice, above and below the photograph.
     Neither band was decorative. The upper one was `.mq-hero-carousel`'s own
     `padding: 62px 0` showing its navy background. The lower one was the same
     padding plus a shortfall: the carousel holds `min-height: 560px`, but the
     CURRENT slide is the only one in flow, and once the faux stage was deleted
     its remaining copy measured 388px — 48px short of the content box. The
     controls are already an absolute overlay at `bottom: 18px`; they simply
     had navy behind them instead of photograph.

     So: drop the padding, and make every slide fill the carousel. The media
     layer is `position: absolute; inset: 0`, so the photograph then spans from
     immediately below the navigation to the bottom of the hero, and the
     controls land over its lower portion as intended. */
  .mq-hero-carousel { padding: 0; }
  .mq-hc-slide { min-height: 560px; }

  /* The controls sit over photography, so they carry their own contrast
     rather than relying on whatever frame is showing behind them. */
  .mq-hc-controls::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -18px;
    height: 128px;
    background: linear-gradient(180deg, rgba(7, 16, 34, 0) 0%, rgba(7, 16, 34, 0.55) 55%, rgba(7, 16, 34, 0.78) 100%);
    pointer-events: none;
    z-index: -1;
  }
  .mq-hc-controls { position: absolute; z-index: 4; }

  /* --- 2. Desktop density ------------------------------------------------
     PO: "Too much white space." The individual values were defensible; the
     accumulation was not. Between the audience cards and the Individuals
     heading sat 56px of one section's padding plus 64px of the next — 120px
     of nothing between two parts of the same narrative. The same pattern
     repeated at the photo/benefits boundary (44px row-gap + 34px margin) and
     at the section exit.

     The rule applied here, per HANS: section spacing should distinguish
     different IDEAS; content belonging to one idea should group. These are
     reductions, not eliminations — the breathing room stays. */
  .mq-why { padding: 36px 0; }                 /* was 56 */
  .mq-ce  { padding: 40px 0; }                 /* was 64 — boundary 120 -> 76 */

  .mq-ce-hero { column-gap: 44px; row-gap: 24px; }   /* row was 44 */
  .mq-ce-benefits { margin-top: 16px; }              /* was 34 — 78 -> 40 */

  /* The remaining Individuals blocks are the same narrative, not separate
     ideas, so they group at the same rhythm. */
  .mq-ce-duo,
  .mq-ce-example,
  .mq-ce-steps { margin-top: 40px; }                 /* was 56 */
}


/* ===========================================================================
   NABOO CAROUSEL & VISUAL ACCEPTANCE CORRECTIVE  (PO ruling on 12e10266)
   ======================================================================== */

/* Bootstrap gives `.container` a clearfix `::before`/`::after`. In a flex row
   those become zero-width flex ITEMS, so the 18px gap falls between the
   pseudo-element and the dots — the last 18px of the control misalignment
   (dots at 66 against the hero copy's 48). Declared at BASE: it is a bug in
   the flex row, not a desktop concern, and mobile has the same 18px offset. */
.mq-hc-controls .container::before,
.mq-hc-controls .container::after { display: none; }

/* `.mq-ce-badge` and the heading are both `inline-block`, so wherever the
   heading fits beside the badge they share a line — at 768 the Individuals
   eyebrow rendered to the LEFT of "Your financial address for getting paid."
   instead of above it. Width-dependent by accident; made deterministic. */
.mq-ce-badge { display: block; }

/* --- 2a. Driver eyebrow contrast -------------------------------------------
   C9PO H1: the eyebrow sits over a bright part of the photograph. It was the
   one piece of hero typography with NO shadow — `.mq-hc-sub` and
   `.mq-hc-body` already carry one. This is that same restrained treatment,
   not a box or a plate. ---------------------------------------------------- */
.mq-hc-eyebrow {
  text-shadow: 0 1px 3px rgba(7, 16, 34, 0.7), 0 2px 18px rgba(7, 16, 34, 0.55);
}

@media (min-width: 768px) {

  /* --- 2b. Controls on the hero's content grid ---------------------------
     The controls' container carried an inline `width:100%`, so it spanned the
     viewport and started its dots 15px left of the hero copy (33 vs 48). The
     inline width is removed in the markup; this keeps the container's padding
     matched to the hero split so the two share one left edge. */
  .mq-hc-controls .container { padding-left: 15px; padding-right: 15px; }


  /* --- 3. The audience selector joins the narrative ----------------------
     Two separate devices were making one narrative read as two: a full-width
     1px rule closing the audience section, and a 30px difference in left edge
     (cards at 48, Individuals copy at 78). The divider goes, and the cards
     move onto the Individuals grid.

     `:has()` scopes the divider removal to the audience block that actually
     precedes the Individuals section, so the other `.mq-why` sections keep
     their rule. */
  .mq-why:has(+ .mq-ce) { border-bottom: 0; }
  .mq-why > .container { max-width: 1140px; }
}

/* --- 4. Mobile hero: the product is the hard constraint --------------------
   C9PO HIGH regression: the governed Receive screen was cropped out at narrow
   widths. With `object-fit: cover`, the horizontal crop is a function of the
   box ratio — at 375x361 the scale is height-driven, so the frame overflows
   sideways and the phone (right of frame) is the first thing lost. Aiming a
   different `object-position` only chooses WHICH edge is sacrificed.

   So the crop is removed rather than aimed: the photographic region takes the
   source's own 1600:1070 ratio, which makes the scale width-driven at every
   width and the full frame visible — phone, QR and /ernesto included. The copy
   can no longer sit over a region that short without covering the product, so
   it moves below the photograph onto the carousel's own navy. That is the
   composition change PO authorised in preference to cropping the product.
   ------------------------------------------------------------------------ */
@media (max-width: 767px) {
  .mq-hero-carousel { padding-top: 0; }        /* PO: remove the empty upper band */

  .mq-hc-slide { display: flex; flex-direction: column; }

  .mq-hc-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1600 / 1070;
    flex: none;
  }
  .mq-hc-media img,
  .mq-hc-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* box ratio == source ratio, so nothing is cut */
    object-position: center;
  }

  /* The scrim existed to hold copy legible over photography. The copy is no
     longer over the photograph, and leaving it would only dim the product. */
  .mq-hc-scrim { display: none; }

  .mq-hc-inner { position: relative; inset: auto; padding-top: 20px; }
}

