/* ==========================================================================
   THE DESIGNERS HUB — Membership
   Source of truth: Figma frame "membership" #2129:2285 (1440 x 4500).
   Every coordinate in the desktop block is the literal Figma value.
   Section tops (frame y): hero 0 | who 498 | benefits 1090 | monthly 1734 |
   network 2222 | price 2668 | faq 3324 | cta 3868.

   Line steps derived per style from node height / line count:
     h1 Inter 700 36 (1.06em)        -> 38    h2 32 UPPER            -> 39
     Inter 400/500 18               -> 22    Inter 400 16 (1.04em)  -> 17
     Inter 200 14 CENTER            -> 17    Inter 500 17           -> 21
     Inter 500 20 UPPER             -> 24    Inter 300 16           -> 19

   The FAQ reuses the accordion built for the consultation page (.cn-acc);
   its shared rules live in consultation.css, which this page also loads.
   ========================================================================== */

.page-membership main { position: relative; }

/* --------------------------------------------------------------------------
   Flow fallback (below 1200px) — unverified reflow; desktop is the port.
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .mb section { position: relative; padding: var(--space-32) var(--page-pad-mob); }
  .mb img { width: 100%; height: auto; }
  .mb-hero__bg, .mb-month__bg, .mb-price__bg { display: none; }
  .mb-who, .mb-price { background: var(--color-surface-dark); color: var(--white); }
  .mb-benefit { margin-top: var(--space-24); padding: var(--space-24); background: var(--color-surface-dark); }
  .mb-benefit__label { color: var(--gold); }
  .mb-benefit__text { color: var(--white); }
  .mb-slot { margin-top: var(--space-16); }
}

.mb-hero__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}

.mb-who__title, .mb-benefits__title, .mb-month__title,
.mb-net__title, .mb-cta__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.mb-benefit__label {
  font-weight: var(--fw-bold);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--gold);
}

.mb-benefit__text { font-weight: var(--fw-med); font-size: 14px; }

/* ==========================================================================
   DESKTOP — the 1440 Figma canvas, literal coordinates
   ========================================================================== */
/* ==========================================================================
   MOBILE — literal Figma geometry, 390 canvas
   Source of truth: frame "membership phone" #2129:4435 (390 x 3996).

   Placed AFTER the max-width:1199 fallback above deliberately: both match at
   390, so source order decides and this must win.

   Same origin convention as the rest of the mobile phase — the frame draws
   no header/footer, its y:0 is the page top, the header is 81, so every
   coordinate is THE FIGMA VALUE MINUS 81. The offset used is noted per block.

   STROKE ALIGNMENT: every bordered box on this frame is INSIDE — hero plate
   #2129:4440 461x216/4, price card #2129:4517 563x204/2, CTA frame
   #2129:4542 761x263/1, monthly boxes #2129:4501 179x68/1 all render at
   their declared size. No OUTSIDE strokes here, unlike the stage frames.
   ========================================================================== */
@media (max-width: 767px) {

  .page-membership main {
    position: relative;
    display: flow-root;          /* so the FAQ's top margin cannot collapse out */
    width: var(--frame-mobile);
    max-width: none;
    margin-inline: 0;
    padding-bottom: 48px;        /* was 428 (frame's tail); trimmed 2026-07-20 */
  }

  /* NO `height` here — this selector is (0,1,2) and would outrank every
     per-section height below, collapsing all of them to zero.
     The last two sections are excluded and stay IN FLOW so that opening a
     FAQ row grows the page instead of being clipped or running under the
     CTA — the same arrangement the 1440 build uses. */
  .page-membership main > section:not(.mb-faq):not(.mb-cta) {
    position: absolute;
    left: 0;
    width: var(--frame-mobile);
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  /* the bleeding photos are wider than the canvas on purpose. display:block
     is required — the max-width:1199 fallback above hides all three, and
     that rule still matches at 390. */
  .page-membership .mb-hero__bg,
  .page-membership .mb-month__bg,
  .page-membership .mb-price__bg { display: block; max-width: none; object-fit: fill; }

  .mb-hero__cta,
  .mb-price__cta,
  .mb-cta__btn {
    position: absolute;
    display: flex;
    min-height: 0;
    height: 48px;
    width: 373px;
    max-width: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: var(--fw-bold);
    letter-spacing: normal;
    text-transform: none;
  }

  /* ======================================================================
     1. HERO — photo #2129:4439 at Figma 81 -> main 0.
     Local coordinates are the Figma value minus 81.
     ====================================================================== */
  .mb-hero { top: 0; height: 439px; }

  /* .mb img (0,1,1) in the fallback sets width:100%/height:auto and would
     squash these, so each carries the page class to outrank it */
  .page-membership .mb-hero__bg { position: absolute; left: -49px; top: 0; width: 488px; height: 439px; }

  /* #2129:4440 — 4px INSIDE stroke, so 461x216 is the border box */
  .mb-hero__panel {
    display: block;
    position: absolute;
    left: -36px;
    top: 87px;
    width: 461px;
    height: 216px;
    background: var(--bg);
    border: 4px solid var(--color-surface-dark);
  }

  .mb-hero__title {
    position: absolute;
    left: 15px;
    top: 111px;
    width: 360px;
    max-width: none;
    margin: 0;
    font-size: 24px;
    font-weight: var(--fw-bold);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-text);
    white-space: nowrap;
  }

  .mb-hero__lead {
    position: absolute;
    left: 20px;
    top: 142px;
    width: 351px;
    max-width: none;
    margin: 0;
    font-size: 15px;
    font-weight: var(--fw-reg);
    line-height: 18px;
    text-align: center;
    color: var(--color-text);
  }

  .mb-hero__cta { left: 9px; top: 220px; }

  /* ======================================================================
     2. WHO IT IS FOR — plate #2129:4444 at Figma 520 -> main 439.
     Local coordinates are the Figma value minus 520.
     ====================================================================== */
  .mb-who { top: 439px; height: 403px; }

  .mb-who__plate {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--frame-mobile);
    height: 403px;
    background: var(--color-surface-dark);
  }

  .mb-who__title {
    position: absolute;
    left: 8px;
    top: 48px;
    width: 328px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-med);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--white);
  }

  /* each point is a bare <p>, so it is placed at its TEXT origin (the Figma
     group + 20,4) and the bullet hangs off it */
  .mb-point {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: var(--fw-light);
    line-height: 1.04;
    color: var(--white);
  }

  .mb-point::before {
    content: "";
    position: absolute;
    left: -20px;
    top: -4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
  }

  /* DOM order is not the frame's reading order
     (#2129:4448 / 4454 / 4451 / 4457 / 4460) */
  .mb-point--1 { left: 29px;  top: 195px; width: 158px; }
  .mb-point--2 { left: 223px; top: 139px; width: 137px; }
  .mb-point--3 { left: 29px;  top: 139px; width: 158px; }
  .mb-point--4 { left: 223px; top: 195px; width: 159px; }
  .mb-point--5 { left: 106px; top: 265px; width: 199px; }

  .mb-who__rule {
    position: absolute;
    left: 0;
    width: var(--frame-mobile);
    height: 1px;
    margin: 0;
    background: var(--bg);
  }

  .mb-who__rule--top    { top: 317px; }
  .mb-who__rule--bottom { top: 355px; }

  .mb-who__close {
    position: absolute;
    left: 8px;
    top: 327px;
    width: 362px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 17px;
    color: var(--white);
  }

  /* ======================================================================
     3. BENEFITS — title #2129:4467 at Figma 971 -> main 890.
     Local coordinates are the Figma value minus 971.
     ====================================================================== */
  .mb-benefits { top: 890px; height: 654px; }

  .mb-benefits__title {
    position: absolute;
    left: 9px;
    top: 0;
    width: 363px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-text);
  }

  .mb-benefit {
    position: absolute;
    height: 159px;
    margin: 0;          /* the 1440 rules leave a 24px top margin on these */
    padding: 0;
    background: var(--color-surface-dark);
    border: 0;
  }

  /* the first card spans the full width; the other four are a 2x2 grid */
  .mb-benefit--1 { left: 8px;   top: 87px;  width: 374px; }
  .mb-benefit--2 { left: 8px;   top: 262px; width: 179px; }
  .mb-benefit--3 { left: 203px; top: 262px; width: 179px; }
  .mb-benefit--4 { left: 8px;   top: 437px; width: 179px; }
  .mb-benefit--5 { left: 203px; top: 437px; width: 179px; }

  .mb-benefit__label {
    position: absolute;
    left: 16px;
    top: 24px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-bold);
    line-height: 17px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }

  .mb-benefit__text {
    position: absolute;
    left: 16px;
    top: 105px;
    width: 152px;
    margin: 0;
    font-size: 12px;
    font-weight: var(--fw-med);
    line-height: 15px;
    color: var(--white);
  }

  .mb-benefits__close {
    position: absolute;
    left: 8px;
    top: 620px;
    width: 277px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--color-text);
  }

  /* ======================================================================
     4. MONTHLY STRUCTURE — photo #2129:4491 at Figma 1673 -> main 1592.
     Local coordinates are the Figma value minus 1673.
     ====================================================================== */
  .mb-month { top: 1592px; height: 401px; }

  .page-membership .mb-month__bg { position: absolute; left: 0; top: 0; width: var(--frame-mobile); height: 401px; }

  /* #2129:4492 — a 901-wide band that bleeds both edges */
  .mb-month__plate {
    display: block;
    position: absolute;
    left: -451px;
    top: 32px;
    width: 901px;
    height: 337px;
    background: var(--color-surface-dark);
  }

  .mb-month__title {
    position: absolute;
    left: 8px;
    top: 64px;
    width: 328px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-med);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--white);
  }

  .mb-month__lead {
    position: absolute;
    left: 8px;
    top: 91px;
    width: 167px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--white);
  }

  .mb-slot { position: static; }

  /* #2129:4501 / 4503 / 4502 — gold hairline boxes, no fill */
  .mb-slot__box {
    position: absolute;
    height: 68px;
    background: none;
    border: var(--stroke-1) solid var(--gold);
  }

  .mb-slot--1 .mb-slot__box { left: 8px;   top: 127px; width: 179px; }
  .mb-slot--2 .mb-slot__box { left: 203px; top: 127px; width: 179px; }
  .mb-slot--3 .mb-slot__box { left: 8px;   top: 211px; width: 374px; }

  .mb-slot__key {
    position: absolute;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    text-align: center;
    color: var(--gold);
    white-space: nowrap;
  }

  .mb-slot__val {
    position: absolute;
    margin: 0;
    font-size: 12px;
    font-weight: 200;
    line-height: 15px;
    text-align: center;
    color: var(--white);
  }

  .mb-slot--1 .mb-slot__key { left: 63px;  top: 135px; width: 68px;  }
  .mb-slot--1 .mb-slot__val { left: 55px;  top: 156px; width: 84px;  }
  .mb-slot--2 .mb-slot__key { left: 265px; top: 135px; width: 55px;  }
  .mb-slot--2 .mb-slot__val { left: 237px; top: 156px; width: 112px; }
  .mb-slot--3 .mb-slot__key { left: 143px; top: 219px; width: 104px; }
  .mb-slot--3 .mb-slot__val { left: 136px; top: 240px; width: 118px; }

  .mb-month__close {
    position: absolute;
    left: 8px;
    top: 303px;
    width: 293px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 17px;
    color: var(--white);
  }

  /* ======================================================================
     5. EXPERT NETWORK — title #2129:4468 at Figma 2130 -> main 2049.
     Local coordinates are the Figma value minus 2130.
     ====================================================================== */
  .mb-net { top: 2049px; height: 319px; }

  /* the 390 frame draws three separate bars, not one panel */
  .mb-net__panel { display: none; }

  .mb-net__title {
    position: absolute;
    left: 9px;
    top: 0;
    width: 363px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-text);
  }

  .mb-net__bar {
    position: absolute;
    left: -1px;
    width: 392px;
    height: 47px;
    background: var(--color-surface-dark);
  }

  .mb-net__bar--1 { top: 87px;  }
  .mb-net__bar--2 { top: 142px; }
  .mb-net__bar--3 { top: 197px; }

  /* placed at the text origin, bullet hanging off, as in the who block */
  .mb-net__item {
    position: absolute;
    left: 23px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 1.04;
    color: var(--white);
  }

  .mb-net__item::before {
    content: "";
    position: absolute;
    left: -14px;
    top: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
  }

  .mb-net__item--1 { top: 104px; width: 166px; }
  .mb-net__item--2 { top: 159px; width: 215px; }
  .mb-net__item--3 { top: 214px; width: 232px; }

  .mb-net__rule {
    position: absolute;
    left: 0;
    width: var(--frame-mobile);
    height: 1px;
    margin: 0;
    background: var(--color-surface-dark);
  }

  .mb-net__rule--top    { top: 268px; }
  .mb-net__rule--bottom { top: 318px; }

  .mb-net__close {
    position: absolute;
    left: 8px;
    top: 276px;
    width: 296px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 17px;
    color: var(--color-text);
  }

  /* ======================================================================
     6. PRICE — card photo #2129:4514 at Figma 2496 -> main 2415.
     Local coordinates are the Figma value minus 2496.
     ====================================================================== */
  .mb-price { top: 2415px; height: 393px; }

  .page-membership .mb-price__bg { position: absolute; left: -196px; top: 0; width: 1121px; height: 393px; }

  .mb-price__pitch {
    position: absolute;
    left: 8px;
    top: 32px;
    width: 374px;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    text-transform: uppercase;
    color: var(--white);
  }

  .mb-price__shift {
    position: absolute;
    left: 8px;
    top: 116px;
    width: 330px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-semi);
    line-height: 17px;
    color: var(--gold);
  }

  /* #2129:4517 — 563x204 with a 2px INSIDE stroke, bleeding both edges */
  .mb-price__panel {
    display: block;
    position: absolute;
    left: -114px;
    top: 157px;
    width: 563px;
    height: 204px;
    background: var(--white);
    border: 2px solid var(--color-surface-dark);
  }

  .mb-price__name {
    position: absolute;
    left: 9px;
    top: 189px;
    width: 299px;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 1.06;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
  }

  .mb-price__amount {
    position: absolute;
    left: 9px;
    top: 218px;
    width: 197px;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-semi);
    line-height: 19px;
    text-align: center;
    color: var(--color-text);
    white-space: nowrap;
  }

  .mb-price__amount-lead { font-weight: var(--fw-reg); }

  .mb-price__min {
    position: absolute;
    left: 9px;
    top: 240px;
    width: 210px;
    margin: 0;
    font-size: 14px;
    font-weight: 200;
    line-height: 17px;
    text-align: center;
    color: var(--color-text);
  }

  .mb-price__cta { left: 9px; top: 281px; }

  /* ======================================================================
     7. FAQ — chip #2129:4522 at Figma 2937 -> main 2856.
     Local coordinates are the Figma value minus 2937.
     ====================================================================== */
  /* in flow, so it grows downward as rows open (see the note on main).
     The page class is needed: the fallback's .mb section (0,1,1) pads these
     32px/20px, and it still matches at 390 now that they are not covered by
     the generic absolute rule. */
  .page-membership .mb-faq {
    position: relative;
    display: flow-root;
    width: var(--frame-mobile);
    margin: 2856px 0 0;
    padding: 0;
    overflow: visible;
  }

  .mb-faq__chip {
    display: block;
    position: absolute;
    left: -15px;
    top: 0;
    width: 200px;
    height: 27px;
    background: var(--color-surface-dark);
  }

  .mb-faq__eyebrow {
    position: absolute;
    left: 8px;
    top: 6px;
    width: 111px;
    margin: 0;
    font-size: 12px;
    font-weight: var(--fw-reg);
    line-height: 15px;
    text-align: center;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }

  .mb-faq__title {
    position: absolute;
    left: 8px;
    top: 33px;
    width: 326px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-text);
    white-space: nowrap;
  }

  /* rows are 35 tall on a 16px gap; the frame opens row 1, and its answer
     panel sits 9px under the head and 1px wider on each side (#2129:4540 is
     x:8 w:375 against the rows' x:9 w:374) */
  /* relative, not absolute — this is what gives the section its height, so
     the section tracks the accordion instead of clipping it */
  .mb-faq__list { position: relative; margin: 78px 0 0 9px; width: 374px; }

  .mb-faq__list .cn-acc { background: none; border: 0; }

  .mb-faq__list .cn-acc + .cn-acc { margin-top: 16px; }

  .mb-faq__list .cn-acc__head {
    height: 35px;
    min-height: 0;
    padding: 0 18px 0 9px;
    background: var(--color-surface-dark);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .mb-faq__list .cn-acc__q {
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--white);
  }

  /* 12px arms here against the 20px the shared rule uses */
  .mb-faq__list .cn-acc__icon { width: 12px; height: 12px; }
  .mb-faq__list .cn-acc__icon::before { left: 0; top: 5px; width: 12px; height: 1.55px; }
  .mb-faq__list .cn-acc__icon::after  { left: 5px; top: 0; width: 1.55px; height: 12px; }

  .mb-faq__list .cn-acc__panel {
    margin: 9px 0 0 -1px;
    width: 375px;
    height: 61px;
    padding: 0;
    background: var(--white);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .mb-faq__list .cn-acc__a {
    margin: 15px 0 0 9px;
    width: 302px;
    font-size: 12px;
    font-weight: var(--fw-reg);
    line-height: 15px;
    color: var(--color-text);
  }

  /* ======================================================================
     8. FINAL CTA — frame #2129:4542 at Figma 3305 -> main 3224.
     Local coordinates are the Figma value minus 3305.
     ====================================================================== */
  /* also in flow, so it is pushed down by an expanding FAQ rather than
     being overlapped by it. 32px is the frame's gap (3305 - 3273). */
  .page-membership .mb-cta {
    position: relative;
    width: var(--frame-mobile);
    height: 263px;
    margin: 32px 0 0;
    padding: 0;
    overflow: hidden;
  }

  .mb-cta__outline {
    display: block;
    position: absolute;
    left: -345px;
    top: 0;
    width: 761px;
    height: 263px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .mb-cta__panel {
    display: block;
    position: absolute;
    left: -307px;
    top: 13px;
    width: 714px;
    height: 236px;
    background: var(--color-surface-dark);
  }

  .mb-cta__title {
    position: absolute;
    left: 32px;
    top: 46px;
    width: 326px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-med);
    line-height: 1.06;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
  }

  .mb-cta__lead {
    position: absolute;
    left: 44px;
    top: 94px;
    width: 311px;
    max-width: none;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-light);
    line-height: 17px;
    text-align: center;
    color: var(--white);
  }

  .mb-cta__btn { left: 9px; top: 169px; }
}

@media (min-width: 1200px) {

  /* flow-root so the FAQ/CTA margins cannot collapse out of main */
  .page-membership main {
    display: flow-root;
    width: var(--frame-desktop);
    min-height: 4500px;
    margin-inline: auto;
  }

  .mb section { position: absolute; left: 0; width: var(--frame-desktop); padding: 0; }
  /* `> picture > img` is required: the three background photos are wrapped
     for the breakpoint swap, so `> *` alone leaves them static at 0,0. */
  .mb section > *,
  .mb section > picture > img { position: absolute; }
  .page-membership main img { max-width: none; }

  /* Every node below is one line in Figma. */
  .mb-hero__title,
  .mb-benefit__label,
  .mb-month__title, .mb-month__lead, .mb-month__close,
  .mb-slot__key,
  .mb-net__item,
  .mb-net__close, .mb-benefits__close, .mb-who__close,
  .mb-price__shift, .mb-price__name, .mb-price__amount, .mb-price__min,
  .mb-faq__eyebrow, .mb-faq__title,
  .cn-acc__q { white-space: nowrap; }

  .mb-who__rule, .mb-net__rule { height: 1px; }

  /* ---- 1. HERO ---------------------------------------------------------- */
  .mb-hero { top: 0; height: 498px; }

  .mb-hero__bg { left: -67px; top: 64px; width: 1574px; height: 437px; object-fit: cover; }

  .mb-hero__panel {
    left: 335px; top: 144px; width: 771px; height: 203px;
    background: var(--bg);
    border: 5px solid var(--color-surface-dark);
  }

  .mb-hero__title {
    left: 450px; top: 186px; width: 540px;
    color: var(--color-text);
    font-size: var(--fs-h1);
    line-height: 38px;
  }

  .mb-hero__lead {
    left: 463px; top: 240px; width: 514px;
    color: var(--color-text);
    font-size: var(--fs-lead);
    line-height: 22px;
    text-align: center;
  }

  .mb-hero__cta { left: 601px; top: 316px; width: 239px; padding-inline: 0; white-space: nowrap; }

  /* ---- 2. WHO IT'S FOR : dark plate #2129:2288 y:498 -------------------- */
  .mb-who { top: 498px; height: 520px; }

  .mb-who__plate { left: -27px; top: 0; width: 1643px; height: 520px; background: var(--color-surface-dark); }

  .mb-who__title {
    left: 399px; top: 72px; width: 642px;
    color: var(--white);
    font-weight: var(--fw-med);
    font-size: var(--fs-h2);
    line-height: 39px;
    text-align: center;
  }

  /* bullet groups: the dot sits at the group origin, 21px left / 4px above */
  .mb-point {
    color: var(--white);
    font-size: var(--fs-body);
    font-weight: var(--fw-reg);
    line-height: 17px;
  }

  .mb-point::before {
    content: "";
    position: absolute;
    left: -21px; top: -4px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--gold);
  }

  .mb-point--1 { left: 257px;  top: 202px; width: 216px; }
  .mb-point--2 { left: 645px;  top: 202px; width: 171px; }
  .mb-point--3 { left: 1024px; top: 202px; width: 179px; }
  .mb-point--4 { left: 431px;  top: 296px; width: 259px; }
  .mb-point--5 { left: 839px;  top: 296px; width: 235px; }

  .mb-who__rule { left: -0.5px; width: 1483px; background: var(--bg); }
  .mb-who__rule--top    { left: -27.5px; top: 397px; }
  .mb-who__rule--bottom { left: -27.5px; top: 449px; }

  .mb-who__close {
    left: 485px; top: 411px; width: 471px;
    color: var(--white);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  /* ---- 3. BENEFITS ------------------------------------------------------ */
  .mb-benefits { top: 1090px; height: 588px; }

  .mb-benefits__title {
    left: 80px; top: 0; width: 709px;
    color: var(--color-text);
    font-weight: var(--fw-semi);
    font-size: var(--fs-h2);
    line-height: 39px;
  }

  /* Figma lays each card out as a column with a large gap that pins the body
     to the bottom; space-between reproduces that from the padding alone. */
  .mb-benefit {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 142px;
    width: 227px; height: 376px;
    padding: 32px 27px 32px 24px;
    background: var(--color-surface-dark);
  }

  .mb-benefit p { position: static; margin: 0; }
  .mb-benefit__text { color: var(--white); }

  .mb-benefit--1 { left: 80px;   padding-right: 28px; }
  .mb-benefit--1 .mb-benefit__text { width: 175px; }

  /* #2129:2337 is the odd one out: white, 1px black edge, and Figma sizes and
     offsets it fractionally differently from its four siblings. */
  .mb-benefit--2 {
    left: 343px; top: 132.06px;
    width: 233px; height: 385.94px;
    padding: 32.85px 67.74px 32.85px 24.63px;
    background: var(--white);
    border: var(--stroke-1) solid var(--black);
  }
  .mb-benefit--2 .mb-benefit__label { font-size: 18.48px; }
  .mb-benefit--2 .mb-benefit__text  { width: 140.62px; font-size: 14.37px; color: var(--color-text); }

  .mb-benefit--3 { left: 606px; }
  .mb-benefit--4 { left: 869px; }
  .mb-benefit--5 { left: 1132px; }
  .mb-benefit--3 .mb-benefit__label,
  .mb-benefit--4 .mb-benefit__label,
  .mb-benefit--5 .mb-benefit__label { width: 144px; white-space: normal; }
  .mb-benefit--3 .mb-benefit__text,
  .mb-benefit--4 .mb-benefit__text,
  .mb-benefit--5 .mb-benefit__text { width: 176px; }

  .mb-benefits__close {
    left: 80px; top: 566px; width: 591px;
    color: var(--color-text);
    font-weight: var(--fw-med);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  /* ---- 4. MONTHLY STRUCTURE : fabrics plate y:1734 ---------------------- */
  .mb-month { top: 1734px; height: 442px; }

  /* Figma renders this plate desaturated (as it does the consultation page's
     backdrops). Figma applies it as an image-fill filter, which the API node
     data does not expose, so the value is matched to the rendered frame rather
     than read — worth confirming full vs partial desaturation. */
  .mb-month__bg {
    left: -135px; top: 0; width: 1711px; height: 442px;
    object-fit: cover;
    filter: grayscale(1);
  }
  .mb-month__plate { left: -34px; top: 66px; width: 786px; height: 309px; background: var(--color-surface-dark); }

  .mb-month__title {
    left: 80px; top: 116px; width: 363px;
    color: var(--bg);
    font-weight: var(--fw-med);
    font-size: var(--fs-h2);
    line-height: 39px;
  }

  .mb-month__lead {
    left: 80px; top: 159px; width: 214px;
    color: var(--white);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  .mb-slot__box {
    position: absolute;
    top: 203px; width: 178px; height: 80px;
    border: var(--stroke-1) solid var(--gold);
  }

  .mb-slot__key,
  .mb-slot__val { position: absolute; text-align: center; }

  .mb-slot__key { top: 213px; color: var(--gold); font-size: var(--fs-lead); line-height: 22px; }

  .mb-slot__val {
    top: 239px;
    color: var(--white);
    font-weight: 200;
    font-size: 14px;
    line-height: 17px;
  }

  .mb-slot--1 .mb-slot__box { left: 80px; }
  .mb-slot--2 .mb-slot__box { left: 301px; }
  .mb-slot--3 .mb-slot__box { left: 522px; }
  .mb-slot--1 .mb-slot__key { left: 131px; width: 76px; }
  .mb-slot--2 .mb-slot__key { left: 359px; width: 62px; }
  .mb-slot--3 .mb-slot__key { left: 553px; width: 117px; }
  .mb-slot--1 .mb-slot__val { left: 127px; width: 84px; }
  .mb-slot--2 .mb-slot__val { left: 319px; width: 142px; }
  .mb-slot--3 .mb-slot__val { left: 541px; width: 140px; }

  .mb-month__close {
    left: 80px; top: 305px; width: 483px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: var(--fs-body);
    line-height: 19px;
  }

  /* ---- 5. EXPERT NETWORK : white panel #2129:2289 y:2222 ---------------- */
  .mb-net { top: 2222px; height: 400px; }

  .mb-net__panel {
    left: 31px; top: 0; width: 1378px; height: 400px;
    background: var(--white);
    border: 5px solid var(--color-surface-dark);
  }

  .mb-net__title {
    left: 80px; top: 48px; width: 680px;
    color: var(--color-text);
    font-weight: var(--fw-semi);
    font-size: var(--fs-h2);
    line-height: 39px;
  }

  .mb-net__bar { top: 169px; height: 64px; background: var(--color-surface-dark); }
  .mb-net__bar--1 { left: 32px;  width: 440px; }
  .mb-net__bar--2 { left: 517px; width: 407px; }
  .mb-net__bar--3 { left: 971px; width: 438px; }

  .mb-net__item {
    top: 194px;
    color: var(--white);
    font-size: var(--fs-body);
    line-height: 17px;
  }

  .mb-net__item::before {
    content: "";
    position: absolute;
    left: -21px; top: -4px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: var(--gold);
  }

  .mb-net__item--1 { left: 218px;  width: 192px; }
  .mb-net__item--2 { left: 606px;  width: 249px; }
  .mb-net__item--3 { left: 1027px; width: 268px; }

  .mb-net__rule { left: 32px; width: 1376px; background: var(--color-surface-dark); }
  .mb-net__rule--top    { top: 281px; }
  .mb-net__rule--bottom { top: 333px; }

  .mb-net__close {
    left: 453px; top: 296px; width: 534px;
    color: var(--color-text);
    font-weight: var(--fw-med);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  /* ---- 6. PRICE : membership card plate y:2668 -------------------------- */
  .mb-price { top: 2668px; height: 576px; }

  .mb-price__bg { left: 0; top: 0; width: 1440px; height: 576px; object-fit: cover; }

  /* 645 not Figma's 640: line 1 at Figma's break measures 643.9px, so the
     browser wraps a word early and the third line then collides with the gold
     "From isolated decisions" line sitting beside it. */
  .mb-price__pitch {
    left: 566px; top: 72px; width: 645px;
    color: var(--white);
    font-weight: var(--fw-med);
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
  }

  .mb-price__shift {
    left: 719px; top: 122px; width: 424px;
    color: var(--gold);
    font-weight: var(--fw-semi);
    font-size: var(--fs-lead);
    line-height: 22px;
  }

  .mb-price__panel {
    left: 566px; top: 171px; width: 640px; height: 296px;
    background: var(--white);
    border: 7px solid var(--color-surface-dark);
  }

  .mb-price__name {
    left: 630px; top: 219px; width: 477px;
    color: var(--color-text);
    font-weight: var(--fw-med);
    font-size: var(--fs-h2);
    line-height: 39px;
    text-transform: uppercase;
    text-align: center;
  }

  /* Figma mixes weights inside this line: the figure is Semi Bold, the words
     around it Regular (#2129:2377). */
  .mb-price__amount {
    left: 630px; top: 274px; width: 283px;
    color: var(--color-text);
    font-weight: var(--fw-semi);
    font-size: 23px;
    line-height: 28px;
    text-align: center;
  }

  .mb-price__amount-lead { font-weight: var(--fw-reg); }

  .mb-price__min {
    left: 630px; top: 309px; width: 270px;
    color: var(--color-text);
    font-weight: 200;
    font-size: var(--fs-lead);
    line-height: 22px;
    text-align: center;
  }

  .mb-price__cta { left: 630px; top: 363px; width: 239px; padding-inline: 0; white-space: nowrap; }

  /* ---- 7. FAQ : chip y:3324, rows from y:3451 --------------------------
     In flow (with the CTA below it) so an opening row grows main instead of
     running under the section beneath. Figma's row step here is 16px, not the
     24px used on the consultation page. */
  .mb section.mb-faq {
    position: relative;
    display: flow-root;
    margin-top: 3324px;
    min-height: 472px;
    height: auto;
  }

  .mb-faq__chip    { left: -7.61px; top: 0; width: 250px; height: 32px; background: var(--color-surface-dark); }
  .mb-faq__eyebrow {
    left: 80.39px; top: 8px; width: 120px;
    color: var(--gold);
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    text-transform: uppercase;
  }

  .mb-faq__title {
    left: 80.39px; top: 40px; width: 680px;
    color: var(--color-text);
    font-weight: var(--fw-semi);
    font-size: var(--fs-h2);
    line-height: 39px;
    text-transform: uppercase;
  }

  .mb section.mb-faq > .mb-faq__list {
    position: relative;
    left: 0; top: 0;
    width: 1280px;
    margin: 127px 0 0 80.39px;
  }

  .mb-faq__list .cn-acc + .cn-acc { margin-top: 16px; }
  .mb-faq__list .cn-acc__head  { height: 48px; padding: 13px 43px 12px 80px; }
  /* body #2129:2373 is 1280x89 at y:3515 with its answer at y:3552 */
  .mb-faq__list .cn-acc__panel { margin-top: 16px; padding: 36px 79px 34px; }
  .mb-faq__list .cn-acc__a     { width: 793px; }

  /* ---- 8. FINAL CTA : outline y:3868, panel y:3908 --------------------- */
  .mb section.mb-cta {
    position: relative;
    margin-top: 72px;
    height: 376px;
  }

  .mb-cta__outline {
    left: 20px; top: 0; width: 1400px; height: 320px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .mb-cta__panel { left: 80px; top: 40px; width: 1280px; height: 336px; background: var(--color-surface-dark); }

  .mb-cta__title {
    left: 470px; top: 98px; width: 500px;
    color: var(--bg);
    font-weight: var(--fw-med);
    font-size: var(--fs-h2);
    line-height: 39px;
    text-align: center;
  }

  .mb-cta__lead {
    left: 476px; top: 184px; width: 489px;
    color: var(--white);
    font-weight: var(--fw-light);
    font-size: var(--fs-lead);
    line-height: 22px;
    text-align: center;
  }

  .mb-cta__btn { left: 601px; top: 276px; width: 239px; padding-inline: 0; white-space: nowrap; }
}

/* ==========================================================================
   TABLET — literal Figma geometry, 768 canvas
   Source of truth: frame "membership tablet" #2129:6580 (768 x 3894).

   The frame draws no header and no footer, so its y:0 is the top of the page.
   The tablet header is 81 tall, so `main` = 3894 - 81 = **3813** and every
   coordinate is THE FIGMA VALUE MINUS 81. Section origins (frame y):
   hero 81 | who 448 | benefits 912 | month 1726 | net 2139 | price 2474 |
   faq 2920 | cta 3355.

   STROKE ALIGNMENT: batched over 6581 / 6584 / 6645 / 6663 / 6670 / 6681 —
   every one renders at its declared size, so EVERY bordered box on this frame
   is INSIDE. Same as the 1440 and 390 membership frames; all three agree.

   PLACED AFTER the max-width:1199 fallback deliberately: that block still
   matches in this band, so source order decides. Three of its rules also
   outrank a bare class and are beaten on specificity with `.page-membership`
   — `.mb img` (0,1,1), the `display:none` on the three photos, and
   `.mb section` (0,1,1) padding. Same fight the 390 block had.

   THE FAQ AND THE CLOSING CTA ARE IN FLOW, every other section absolute —
   the arrangement both the 1440 and 390 builds use, and it is load-bearing:
   with a fixed height the FAQ silently clips any row past Figma's one open.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1199px) {

  .page-membership main {
    position: relative;
    display: flow-root;          /* so the FAQ's top margin cannot collapse out */
    width: var(--frame-tablet);
    max-width: none;
    margin-inline: auto;
    padding: 0 0 48px;           /* was 244 (frame's tail); trimmed 2026-07-20 */
  }

  /* NO `height` here — this selector is (0,1,2) and would outrank every
     per-section height below, collapsing all of them to zero. */
  .page-membership main > section:not(.mb-faq):not(.mb-cta) {
    position: absolute;
    left: 0;
    width: var(--frame-tablet);
    margin: 0;
    padding: 0;
  }

  /* the fallback paints these two; the frame does not */
  .page-membership .mb-who,
  .page-membership .mb-price { background: none; color: inherit; }

  /* base.css clamps every image to max-width:100%, and all three photos here
     are wider than the canvas on purpose */
  .page-membership .mb-hero__bg,
  .page-membership .mb-month__bg,
  .page-membership .mb-price__bg {
    display: block;
    position: absolute;
    inset: auto;
    max-width: none;
    object-fit: fill;            /* every image fill in this file is STRETCH */
  }

  /* ======================================================================
     1. HERO — photo #2129:6583 at Figma 89, i.e. 8px below the header.
     ====================================================================== */
  .mb-hero { top: 0; height: 367px; overflow: visible; }

  .page-membership .mb-hero__bg {
    left: -279px; top: 8px; width: 1294px; height: 359px;
  }

  /* #2129:6584 — 606x185, 4px INSIDE stroke */
  .mb-hero__panel {
    display: block;
    position: absolute;
    left: 81px;
    top: 59px;
    width: 606px;
    height: 185px;
    background: var(--bg);
    border: 4px solid var(--color-surface-dark);
  }

  .mb-hero__title {
    position: absolute;
    left: 144px;
    top: 101px;
    width: 480px;
    max-width: none;
    margin: 0;
    font-size: 32px;
    font-weight: var(--fw-bold);
    line-height: 34px;           /* 32 * 1.06 = 33.92, and Figma rounds to px */
    text-align: left;
    color: var(--color-surface-dark);
  }

  .mb-hero__lead {
    position: absolute;
    left: 165px;
    top: 143px;
    width: 438px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;           /* box 38 = 2 lines */
    text-align: center;
    color: var(--color-surface-dark);
  }

  .mb-hero__cta {
    position: absolute;
    left: 265px;
    top: 213px;
    width: 239px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  /* ======================================================================
     2. WHO IT'S FOR — dark band #2129:6582 at Figma 448 -> main 367.
     ====================================================================== */
  .mb-who { top: 367px; height: 464px; }

  .mb-who__plate {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--frame-tablet);
    height: 464px;
    background: var(--color-surface-dark);
  }

  .mb-who__title {
    position: absolute;
    left: 84px;
    top: 64px;
    width: 600px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-med);
    line-height: 31px;           /* box 62 = 2 lines */
    text-align: center;
    color: var(--white);
  }

  /* Each point is a bare <p> placed at its TEXT origin, with the dot hanging
     off it as a ::before. THE FIVE DOT OFFSETS ARE ALL DIFFERENT in the file
     (x 20/21/18/17/15, y 4/4/4/8/8), so each is set rather than shared. */
  .page-membership .mb-point {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 17px;           /* 16 * 1.04 = 16.64 -> 17 */
    color: var(--white);
  }

  .page-membership .mb-point::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
  }

  .page-membership .mb-point--1 { left: 62px;  top: 162px; width: 203px; }
  .page-membership .mb-point--2 { left: 323px; top: 162px; width: 169px; }
  .page-membership .mb-point--3 { left: 556px; top: 166px; width: 174px; }
  .page-membership .mb-point--4 { left: 175px; top: 253px; width: 148px; }
  .page-membership .mb-point--5 { left: 475px; top: 253px; width: 182px; }

  .page-membership .mb-point--1::before { left: -20px; top: -4px; }
  .page-membership .mb-point--2::before { left: -21px; top: -4px; }
  .page-membership .mb-point--3::before { left: -18px; top: -4px; }
  .page-membership .mb-point--4::before { left: -17px; top: -8px; }
  .page-membership .mb-point--5::before { left: -15px; top: -8px; }

  .mb-who__rule {
    display: block;
    position: absolute;
    left: 0;
    width: var(--frame-tablet);
    height: 1px;
    background: var(--bg);
  }

  .mb-who__rule--top    { top: 352px; }
  .mb-who__rule--bottom { top: 400px; }

  .mb-who__close {
    position: absolute;
    left: 175px;
    top: 367px;
    width: 419px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    text-align: left;
    color: var(--white);
  }

  /* ======================================================================
     3. BENEFITS — Figma origin 912 -> main 831. Five dark cards, all 262
     tall: two wide on the first row, three narrow on the second. The label
     sits at y:32 and the text at y:200 with nothing between — that gap is
     the auto-layout's own 256px, not a mistake.
     ====================================================================== */
  .mb-benefits { top: 831px; height: 814px; }

  .mb-benefits__title {
    position: absolute;
    left: 42px;
    top: 64px;
    width: 568px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-semi);
    line-height: 31px;           /* box 62 = 2 lines */
    text-align: left;
    color: var(--color-surface-dark);
  }

  .page-membership .mb-benefit {
    position: absolute;
    height: 262px;
    margin: 0;
    padding: 0;
    background: var(--color-surface-dark);
  }

  .page-membership .mb-benefit--1 { left: 42px;     top: 158px;    width: 331px; }
  .page-membership .mb-benefit--2 { left: 393px;    top: 158px;    width: 337px; }
  .page-membership .mb-benefit--3 { left: 40.38px;  top: 452.99px; width: 216px; }
  .page-membership .mb-benefit--4 { left: 276.38px; top: 452.99px; width: 216px; }
  .page-membership .mb-benefit--5 { left: 514px;    top: 452.99px; width: 216px; }

  .page-membership .mb-benefit__label {
    position: absolute;
    top: 32px;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-bold);
    line-height: 19px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }

  .page-membership .mb-benefit__text {
    position: absolute;
    top: 200px;
    width: 175px;
    margin: 0;
    font-size: 14px;
    font-weight: var(--fw-med);
    line-height: 17px;           /* box 34 = 2 lines */
    color: var(--white);
  }

  .page-membership .mb-benefit--1 .mb-benefit__label { left: 16.13px; }
  .page-membership .mb-benefit--2 .mb-benefit__label { left: 16.17px; }
  .page-membership .mb-benefit--3 .mb-benefit__label,
  .page-membership .mb-benefit--4 .mb-benefit__label,
  .page-membership .mb-benefit--5 .mb-benefit__label { left: 16px; }

  .page-membership .mb-benefit--1 .mb-benefit__text { left: 16px; }
  .page-membership .mb-benefit--2 .mb-benefit__text { left: 16.05px; }
  .page-membership .mb-benefit--3 .mb-benefit__text,
  .page-membership .mb-benefit--4 .mb-benefit__text,
  .page-membership .mb-benefit--5 .mb-benefit__text { left: 15.88px; }

  .mb-benefits__close {
    position: absolute;
    left: 42px;
    top: 747px;
    width: 520px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    color: var(--color-surface-dark);
  }

  /* ======================================================================
     4. MONTHLY STRUCTURE — fabrics #2129:6631 at Figma 1726 -> main 1645.

     NO CSS FILTER HERE. The 1440 build applies `grayscale(1)` because the
     API does not expose the image-fill filter; the tablet bitmap is a NODE
     RENDER, which carries the desaturation natively — measured at mean
     chroma 0.00 across the file, i.e. exactly grayscale. That also settles
     the 1440 block's open question: it is full desaturation, not partial.
     ====================================================================== */
  .mb-month { top: 1645px; height: 413px; }

  .page-membership .mb-month__bg {
    left: -356px; top: 0; width: 1315px; height: 365px;
  }

  .mb-month__plate {
    display: block;
    position: absolute;
    left: -173px;
    top: 40px;
    width: 901px;
    height: 285px;
    background: var(--color-surface-dark);
  }

  .mb-month__title {
    position: absolute;
    left: 40px;
    top: 76px;
    width: 295px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-med);
    line-height: 31px;
    text-align: left;
    color: var(--white);
  }

  .mb-month__lead {
    position: absolute;
    left: 41px;
    top: 113px;
    width: 191px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    color: var(--white);
  }

  /* the slot wrapper is placed at its BOX origin, so key/val are box-relative.
     `.mb-slot__box` is a separate child, not the wrapper, so the wrapper
     carries no border and nothing measures from a padding box. */
  .page-membership .mb-slot {
    position: absolute;
    top: 157px;
    width: 178px;
    height: 80px;
    margin: 0;
    padding: 0;
  }

  .page-membership .mb-slot--1 { left: 42px;  }
  .page-membership .mb-slot--2 { left: 256px; }
  .page-membership .mb-slot--3 { left: 470px; }

  .mb-slot__box {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 178px;
    height: 80px;
    background: none;
    border: var(--stroke-1) solid var(--gold);
  }

  .mb-slot__key {
    position: absolute;
    top: 10px;
    margin: 0;
    font-size: 18px;
    font-weight: var(--fw-reg);
    line-height: 22px;
    text-align: center;
    color: var(--gold);
    white-space: nowrap;
  }

  .mb-slot__val {
    position: absolute;
    top: 36px;
    margin: 0;
    font-size: 14px;
    font-weight: 200;            /* Inter ExtraLight */
    line-height: 17px;           /* box 34 = 2 lines */
    text-align: center;
    color: var(--white);
  }

  .mb-slot--1 .mb-slot__key { left: 51px; width: 76px;  }
  .mb-slot--2 .mb-slot__key { left: 58px; width: 62px;  }
  .mb-slot--3 .mb-slot__key { left: 31px; width: 117px; }

  .mb-slot--1 .mb-slot__val { left: 47px; width: 84px;  }
  .mb-slot--2 .mb-slot__val { left: 18px; width: 142px; }
  .mb-slot--3 .mb-slot__val { left: 19px; width: 140px; }

  .mb-month__close {
    position: absolute;
    left: 41px;
    top: 269px;
    width: 483px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 19px;
    color: var(--white);
  }

  /* ======================================================================
     5. EXPERT NETWORK — card #2129:6581 at Figma 2139 -> main 2058.
     The card is a SIBLING of the copy, not a wrapper, so every child here
     resolves against the section and not against the card.
     ====================================================================== */
  .mb-net { top: 2058px; height: 335px; }

  .mb-net__panel {
    display: block;
    position: absolute;
    left: 1px;
    top: 0;
    width: 766px;
    height: 287px;
    background: var(--white);
    border: 5px solid var(--color-surface-dark);
  }

  .mb-net__title {
    position: absolute;
    left: 42px;
    top: 34px;
    width: 568px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-semi);
    line-height: 31px;           /* box 62 = 2 lines */
    text-align: left;
    color: var(--color-surface-dark);
  }

  .mb-net__bar {
    display: block;
    position: absolute;
    top: 120px;
    height: 58px;
    background: var(--color-surface-dark);
  }

  .mb-net__bar--1 { left: 2px;   width: 254px; }
  .mb-net__bar--2 { left: 276px; width: 216px; }
  .mb-net__bar--3 { left: 512px; width: 254px; }

  /* same construction as the who-points: placed at the TEXT origin with the
     dot hanging off. Item 2's dot sits BELOW its text baseline (+2) where the
     other two sit above it (-4) — read per group, not inferred from the first. */
  .page-membership .mb-net__item {
    position: absolute;
    width: 157px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 17px;
    color: var(--white);
  }

  .page-membership .mb-net__item::before {
    content: "";
    position: absolute;
    left: -21px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gold);
  }

  .page-membership .mb-net__item--1 { left: 63px;  top: 134px; width: 135px; }
  .page-membership .mb-net__item--2 { left: 316px; top: 132px; width: 157px; }
  .page-membership .mb-net__item--3 { left: 552px; top: 134px; width: 153px; }

  .page-membership .mb-net__item--1::before { top: -4px; }
  .page-membership .mb-net__item--2::before { top: 2px;  }
  .page-membership .mb-net__item--3::before { top: -4px; }

  .mb-net__rule {
    display: block;
    position: absolute;
    left: 2px;
    width: 764px;
    height: 1px;
    background: var(--color-surface-dark);
  }

  .mb-net__rule--top    { top: 210px; }
  .mb-net__rule--bottom { top: 252px; }

  /* CONTENT FAULT IN THE FRAME. #2129:6636 repeats the monthly-structure line
     #2129:6635 word for word ("Over time, this creates consistent progress and
     better decisions."), where the 1440 copy has a distinct line. The SAME
     duplication is in the 390 frame, so it is in two mobile/tablet frames and
     neither desktop. The 1440 copy ships, as it does at 390, and the box is
     centred on the panel the way Figma centres its own string (140 + 489/2 =
     384.5 on a 768 canvas) rather than reusing its literal width. */
  .mb-net__close {
    position: absolute;
    left: 0;
    top: 222px;
    width: var(--frame-tablet);
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    text-align: center;
    color: var(--color-surface-dark);
  }

  /* ======================================================================
     6. PRICE — card photo #2129:6660 at Figma 2474 -> main 2393.
     ====================================================================== */
  .mb-price { top: 2393px; height: 446px; }

  .page-membership .mb-price__bg {
    left: -70px; top: 0; width: 1002px; height: 401px;
  }

  .mb-price__pitch {
    position: absolute;
    left: 40px;
    top: 32px;
    width: 598px;
    max-width: none;
    margin: 0;
    font-size: 19px;
    font-weight: var(--fw-med);
    line-height: 23px;           /* Inter auto; box 69 = 3 lines */
    text-transform: uppercase;
    text-align: left;
    color: var(--white);
  }

  .mb-price__shift {
    position: absolute;
    left: 262px;
    top: 81px;
    width: 377px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-semi);
    line-height: 19px;
    text-align: left;
    color: var(--gold);
  }

  /* #2129:6663 — 477x241, 4px INSIDE stroke. A sibling of the copy below. */
  .mb-price__panel {
    display: block;
    position: absolute;
    left: 251px;
    top: 133px;
    width: 477px;
    height: 241px;
    background: var(--white);
    border: 4px solid var(--color-surface-dark);
  }

  .mb-price__name {
    position: absolute;
    left: 276px;
    top: 167px;
    width: 389px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-semi);
    line-height: 31px;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-surface-dark);
  }

  .mb-price__amount {
    position: absolute;
    left: 276px;
    top: 214px;
    width: 247px;
    max-width: none;
    margin: 0;
    font-size: 20px;
    font-weight: var(--fw-semi);
    line-height: 24px;
    text-align: center;
    color: var(--color-surface-dark);
  }

  .mb-price__amount-lead { font-weight: var(--fw-reg); }

  .mb-price__min {
    position: absolute;
    left: 276px;
    top: 244px;
    width: 240px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: 200;            /* Inter ExtraLight */
    line-height: 19px;
    text-align: center;
    color: var(--color-surface-dark);
  }

  .mb-price__cta {
    position: absolute;
    left: 276px;
    top: 287px;
    width: 239px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  /* ======================================================================
     7. FAQ — chip #2129:6675 at Figma 2920 -> main 2839.

     IN FLOW, so the section grows as rows open instead of clipping them.
     The page class is needed twice over: the fallback's `.mb section` (0,1,1)
     pads these 32px/20px and still matches here, and these two sections are
     excluded from the generic absolute rule that would otherwise zero it.
     ====================================================================== */
  .page-membership .mb-faq {
    position: relative;
    display: flow-root;
    width: var(--frame-tablet);
    margin: 2839px 0 0;
    padding: 0;
    overflow: visible;
  }

  .mb-faq__chip {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 32px;
    background: var(--color-surface-dark);
  }

  .mb-faq__eyebrow {
    position: absolute;
    left: 40px;
    top: 8px;
    width: 120px;
    margin: 0;
    font-size: 13px;
    font-weight: var(--fw-reg);
    line-height: 16px;
    text-align: left;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }

  .mb-faq__title {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 424px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-semi);
    line-height: 31px;
    text-transform: uppercase;
    text-align: left;
    color: var(--color-surface-dark);
  }

  /* relative, not absolute — this is what gives the section its height, so
     the section tracks the accordion instead of clipping it.
     Rows are 43 tall on a 16px gap; the open row's panel sits 6px under its
     head and shares the row's x and width (both #2129:6680 and #2129:6681
     are 688 wide at x:40). */
  .page-membership .mb-faq__list {
    position: relative;
    width: 688px;
    margin: 101px 0 0 40px;
  }

  .page-membership .mb-faq__list .cn-acc { background: none; border: 0; }

  .page-membership .mb-faq__list .cn-acc + .cn-acc { margin-top: 16px; }

  /* the 14/17 padding is the Figma inset minus the 1px border, because a
     child of a bordered box measures from the padding box */
  .page-membership .mb-faq__list .cn-acc__head {
    height: 43px;
    min-height: 0;
    padding: 0 17px 0 14px;
    background: var(--color-surface-dark);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .page-membership .mb-faq__list .cn-acc__q {
    font-size: 16px;
    font-weight: var(--fw-reg);
    line-height: 19px;
    color: var(--white);
  }

  /* 18px arms here against the 20px the shared rule uses */
  .page-membership .mb-faq__list .cn-acc__icon { width: 18px; height: 18px; }
  .page-membership .mb-faq__list .cn-acc__icon::before { left: 0; top: 8px; width: 18px; height: 1.897px; }
  .page-membership .mb-faq__list .cn-acc__icon::after  { left: 8px; top: 0; width: 1.897px; height: 18px; }

  .page-membership .mb-faq__list .cn-acc__panel {
    width: 688px;
    height: 60px;
    margin: 6px 0 0;
    padding: 0;
    background: var(--white);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .page-membership .mb-faq__list .cn-acc__a {
    width: 612px;
    margin: 19px 0 0 26px;
    font-size: 14px;
    font-weight: var(--fw-reg);
    line-height: 17px;
    color: var(--color-text);
  }

  /* ======================================================================
     8. FINAL CTA — outline #2129:6670 at Figma 3355 -> main 3274.
     48px is the frame's own gap below the last FAQ row (3355 - 3307).

     THE DARK PANEL OVERHANGS THE OUTLINE. #2129:6671 runs 3381-3650 while
     #2129:6670 stops at 3602, so the panel's bottom 48px sits outside the
     bordered box — confirmed against the frame render, where the outline's
     two bottom corners are visible either side of the panel. The section is
     therefore as tall as the PANEL (295), not the outline, and does not clip.
     ====================================================================== */
  .page-membership .mb-cta {
    position: relative;
    width: var(--frame-tablet);
    height: 295px;
    margin: 48px 0 0;
    padding: 0;
    overflow: visible;
  }

  .mb-cta__outline {
    display: block;
    position: absolute;
    left: 17px;
    top: 0;
    width: 735px;
    height: 247px;
    background: var(--bg);
    border: var(--stroke-1) solid var(--color-surface-dark);
  }

  .mb-cta__panel {
    display: block;
    position: absolute;
    left: 40px;
    top: 26px;
    width: 689px;
    height: 269px;
    background: var(--color-surface-dark);
  }

  .mb-cta__title {
    position: absolute;
    left: 181px;
    top: 74px;
    width: 408px;
    max-width: none;
    margin: 0;
    font-size: 26px;
    font-weight: var(--fw-med);
    line-height: 31px;           /* box 62 = 2 lines */
    text-align: center;
    color: var(--bg);
  }

  .mb-cta__lead {
    position: absolute;
    left: 171px;
    top: 144px;
    width: 426px;
    max-width: none;
    margin: 0;
    font-size: 16px;
    font-weight: var(--fw-light);
    line-height: 19px;           /* box 38 = 2 lines */
    text-align: center;
    color: var(--bg);
  }

  .mb-cta__btn {
    position: absolute;
    left: 265px;
    top: 206px;
    width: 239px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  /* --- corrections found by measuring ---------------------------------- */

  /* Chrome measures each of these 0.59-1.49px wider than Figma's own box and
     spilled a second line, doubling the heading height. Nothing sits to the
     right of any of them and none has a border, so holding the line is the
     fix rather than widening the box.
       hero title  481.23 in 480      price name  390.04 in 389
       month title 295.59 in 295      faq title   425.49 in 424           */
  .page-membership .mb-hero__title,
  .page-membership .mb-month__title,
  .page-membership .mb-price__name,
  .page-membership .mb-faq__title { white-space: nowrap; }
}

/* ==== RTL OVERLAY (auto — tools/rtl-gen.js; mirrors horizontal geometry for Arabic, scoped to html[dir=rtl], changed decls only) ==== */
@media (max-width: 767px) {
    html[dir="rtl"] .page-membership main > section:not(.mb-faq):not(.mb-cta) {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-hero__bg {
        right: -49px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__panel {
        right: -36px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__title {
        right: 15px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-hero__lead {
        right: 20px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__cta {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .mb-who__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-who__title {
        right: 8px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-point::before {
        right: -20px;
        left: auto
    }
    html[dir="rtl"] .mb-point--1 {
        right: 29px;
        left: auto
    }
    html[dir="rtl"] .mb-point--2 {
        right: 223px;
        left: auto
    }
    html[dir="rtl"] .mb-point--3 {
        right: 29px;
        left: auto
    }
    html[dir="rtl"] .mb-point--4 {
        right: 223px;
        left: auto
    }
    html[dir="rtl"] .mb-point--5 {
        right: 106px;
        left: auto
    }
    html[dir="rtl"] .mb-who__rule {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-who__close {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__title {
        right: 9px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--1 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--2 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--3 {
        right: 203px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--4 {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--5 {
        right: 203px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit__label {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit__text {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__close {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-month__bg {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-month__plate {
        right: -451px;
        left: auto
    }
    html[dir="rtl"] .mb-month__title {
        right: 8px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-month__lead {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__box {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__box {
        right: 203px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__box {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__key {
        right: 63px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__val {
        right: 55px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__key {
        right: 265px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__val {
        right: 237px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__key {
        right: 143px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__val {
        right: 136px;
        left: auto
    }
    html[dir="rtl"] .mb-month__close {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-net__title {
        right: 9px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar {
        right: -1px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item {
        right: 23px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item::before {
        right: -14px;
        left: auto
    }
    html[dir="rtl"] .mb-net__rule {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-net__close {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-price__bg {
        right: -196px;
        left: auto
    }
    html[dir="rtl"] .mb-price__pitch {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-price__shift {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-price__panel {
        right: -114px;
        left: auto
    }
    html[dir="rtl"] .mb-price__name {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .mb-price__amount {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .mb-price__min {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .mb-price__cta {
        right: 9px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__chip {
        right: -15px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__eyebrow {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__title {
        right: 8px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-faq__list {
        margin: 78px 9px 0 0
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__head {
        padding: 0 9px 0 18px
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__icon::before {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__icon::after {
        right: 5px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__panel {
        margin: 9px -1px 0 0
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__a {
        margin: 15px 9px 0 0
    }
    html[dir="rtl"] .mb-cta__outline {
        right: -345px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__panel {
        right: -307px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__title {
        right: 32px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__lead {
        right: 44px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__btn {
        right: 9px;
        left: auto
    }
}
@media (min-width: 1200px) {
    html[dir="rtl"] .mb section {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-hero__bg {
        right: -67px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__panel {
        right: 335px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__title {
        right: 450px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__lead {
        right: 463px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__cta {
        right: 601px;
        left: auto
    }
    html[dir="rtl"] .mb-who__plate {
        right: -27px;
        left: auto
    }
    html[dir="rtl"] .mb-who__title {
        right: 399px;
        left: auto
    }
    html[dir="rtl"] .mb-point::before {
        right: -21px;
        left: auto
    }
    html[dir="rtl"] .mb-point--1 {
        right: 257px;
        left: auto
    }
    html[dir="rtl"] .mb-point--2 {
        right: 645px;
        left: auto
    }
    html[dir="rtl"] .mb-point--3 {
        right: 1024px;
        left: auto
    }
    html[dir="rtl"] .mb-point--4 {
        right: 431px;
        left: auto
    }
    html[dir="rtl"] .mb-point--5 {
        right: 839px;
        left: auto
    }
    html[dir="rtl"] .mb-who__rule {
        right: -0.5px;
        left: auto
    }
    html[dir="rtl"] .mb-who__rule--top {
        right: -27.5px;
        left: auto
    }
    html[dir="rtl"] .mb-who__rule--bottom {
        right: -27.5px;
        left: auto
    }
    html[dir="rtl"] .mb-who__close {
        right: 485px;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__title {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit {
        padding: 32px 24px 32px 27px
    }
    html[dir="rtl"] .mb-benefit--1 {
        right: 80px;
        padding-left: 28px;
        left: auto;
        padding-right: 0
    }
    html[dir="rtl"] .mb-benefit--2 {
        right: 343px;
        padding: 32.85px 24.63px 32.85px 67.74px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--3 {
        right: 606px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--4 {
        right: 869px;
        left: auto
    }
    html[dir="rtl"] .mb-benefit--5 {
        right: 1132px;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__close {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-month__bg {
        right: -135px;
        left: auto
    }
    html[dir="rtl"] .mb-month__plate {
        right: -34px;
        left: auto
    }
    html[dir="rtl"] .mb-month__title {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-month__lead {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__box {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__box {
        right: 301px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__box {
        right: 522px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__key {
        right: 131px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__key {
        right: 359px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__key {
        right: 553px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__val {
        right: 127px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__val {
        right: 319px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__val {
        right: 541px;
        left: auto
    }
    html[dir="rtl"] .mb-month__close {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-net__panel {
        right: 31px;
        left: auto
    }
    html[dir="rtl"] .mb-net__title {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--1 {
        right: 32px;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--2 {
        right: 517px;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--3 {
        right: 971px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item::before {
        right: -21px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item--1 {
        right: 218px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item--2 {
        right: 606px;
        left: auto
    }
    html[dir="rtl"] .mb-net__item--3 {
        right: 1027px;
        left: auto
    }
    html[dir="rtl"] .mb-net__rule {
        right: 32px;
        left: auto
    }
    html[dir="rtl"] .mb-net__close {
        right: 453px;
        left: auto
    }
    html[dir="rtl"] .mb-price__bg {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-price__pitch {
        right: 566px;
        left: auto
    }
    html[dir="rtl"] .mb-price__shift {
        right: 719px;
        left: auto
    }
    html[dir="rtl"] .mb-price__panel {
        right: 566px;
        left: auto
    }
    html[dir="rtl"] .mb-price__name {
        right: 630px;
        left: auto
    }
    html[dir="rtl"] .mb-price__amount {
        right: 630px;
        left: auto
    }
    html[dir="rtl"] .mb-price__min {
        right: 630px;
        left: auto
    }
    html[dir="rtl"] .mb-price__cta {
        right: 630px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__chip {
        right: -7.61px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__eyebrow {
        right: 80.39px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__title {
        right: 80.39px;
        left: auto
    }
    html[dir="rtl"] .mb section.mb-faq > .mb-faq__list {
        right: 0;
        margin: 127px 80.39px 0 0;
        left: auto
    }
    html[dir="rtl"] .mb-faq__list .cn-acc__head {
        padding: 13px 80px 12px 43px
    }
    html[dir="rtl"] .mb-cta__outline {
        right: 20px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__panel {
        right: 80px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__title {
        right: 470px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__lead {
        right: 476px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__btn {
        right: 601px;
        left: auto
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    html[dir="rtl"] .page-membership main > section:not(.mb-faq):not(.mb-cta) {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-hero__bg {
        right: -279px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__panel {
        right: 81px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__title {
        right: 144px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-hero__lead {
        right: 165px;
        left: auto
    }
    html[dir="rtl"] .mb-hero__cta {
        right: 265px;
        left: auto
    }
    html[dir="rtl"] .mb-who__plate {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-who__title {
        right: 84px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--1 {
        right: 62px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--2 {
        right: 323px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--3 {
        right: 556px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--4 {
        right: 175px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--5 {
        right: 475px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--1::before {
        right: -20px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--2::before {
        right: -21px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--3::before {
        right: -18px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--4::before {
        right: -17px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-point--5::before {
        right: -15px;
        left: auto
    }
    html[dir="rtl"] .mb-who__rule {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-who__close {
        right: 175px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__title {
        right: 42px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--1 {
        right: 42px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--2 {
        right: 393px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--3 {
        right: 40.38px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--4 {
        right: 276.38px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--5 {
        right: 514px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--1 .mb-benefit__label {
        right: 16.13px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--2 .mb-benefit__label {
        right: 16.17px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--3 .mb-benefit__label,
html[dir="rtl"] .page-membership .mb-benefit--4 .mb-benefit__label,
html[dir="rtl"] .page-membership .mb-benefit--5 .mb-benefit__label {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--1 .mb-benefit__text {
        right: 16px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--2 .mb-benefit__text {
        right: 16.05px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-benefit--3 .mb-benefit__text,
html[dir="rtl"] .page-membership .mb-benefit--4 .mb-benefit__text,
html[dir="rtl"] .page-membership .mb-benefit--5 .mb-benefit__text {
        right: 15.88px;
        left: auto
    }
    html[dir="rtl"] .mb-benefits__close {
        right: 42px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-month__bg {
        right: -356px;
        left: auto
    }
    html[dir="rtl"] .mb-month__plate {
        right: -173px;
        left: auto
    }
    html[dir="rtl"] .mb-month__title {
        right: 40px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-month__lead {
        right: 41px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-slot--1 {
        right: 42px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-slot--2 {
        right: 256px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-slot--3 {
        right: 470px;
        left: auto
    }
    html[dir="rtl"] .mb-slot__box {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__key {
        right: 51px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__key {
        right: 58px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__key {
        right: 31px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--1 .mb-slot__val {
        right: 47px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--2 .mb-slot__val {
        right: 18px;
        left: auto
    }
    html[dir="rtl"] .mb-slot--3 .mb-slot__val {
        right: 19px;
        left: auto
    }
    html[dir="rtl"] .mb-month__close {
        right: 41px;
        left: auto
    }
    html[dir="rtl"] .mb-net__panel {
        right: 1px;
        left: auto
    }
    html[dir="rtl"] .mb-net__title {
        right: 42px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--1 {
        right: 2px;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--2 {
        right: 276px;
        left: auto
    }
    html[dir="rtl"] .mb-net__bar--3 {
        right: 512px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-net__item::before {
        right: -21px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-net__item--1 {
        right: 63px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-net__item--2 {
        right: 316px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-net__item--3 {
        right: 552px;
        left: auto
    }
    html[dir="rtl"] .mb-net__rule {
        right: 2px;
        left: auto
    }
    html[dir="rtl"] .mb-net__close {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-price__bg {
        right: -70px;
        left: auto
    }
    html[dir="rtl"] .mb-price__pitch {
        right: 40px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-price__shift {
        right: 262px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-price__panel {
        right: 251px;
        left: auto
    }
    html[dir="rtl"] .mb-price__name {
        right: 276px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-price__amount {
        right: 276px;
        left: auto
    }
    html[dir="rtl"] .mb-price__min {
        right: 276px;
        left: auto
    }
    html[dir="rtl"] .mb-price__cta {
        right: 276px;
        left: auto
    }
    html[dir="rtl"] .mb-faq__chip {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .mb-faq__eyebrow {
        right: 40px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .mb-faq__title {
        right: 40px;
        text-align: right;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-faq__list {
        margin: 101px 40px 0 0
    }
    html[dir="rtl"] .page-membership .mb-faq__list .cn-acc__head {
        padding: 0 14px 0 17px
    }
    html[dir="rtl"] .page-membership .mb-faq__list .cn-acc__icon::before {
        right: 0;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-faq__list .cn-acc__icon::after {
        right: 8px;
        left: auto
    }
    html[dir="rtl"] .page-membership .mb-faq__list .cn-acc__a {
        margin: 19px 26px 0 0
    }
    html[dir="rtl"] .mb-cta__outline {
        right: 17px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__panel {
        right: 40px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__title {
        right: 181px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__lead {
        right: 171px;
        left: auto
    }
    html[dir="rtl"] .mb-cta__btn {
        right: 265px;
        left: auto
    }
}

/* ==========================================================================
   RU MOBILE nudges — Russian runs longer than the pinned English boxes, so two
   spots overflow the fixed element below them at 390. Scoped to lang=ru + mobile
   so English and Arabic are untouched. Measured, not guessed:
   - price pitch is 5 lines and overran the "shift" line by 11px -> tighten it
     (14/16 keeps 5 lines at 80px, ending 4px above the shift).
   - CTA title is 3 lines in RU and overran the lead by 16px -> drop the lead
     19px (clears the title by 3px, ends 5px above the button, inside the panel).
   ========================================================================== */
@media (max-width: 767px) {
  html[lang="ru"] .mb-price__pitch { font-size: 14px; line-height: 16px; }
  html[lang="ru"] .mb-cta__lead { top: 113px; }
}
