/* ============================================================
   Berry Members — page-specific system
   Loads AFTER styles.css. Reuses every design token, buttons,
   .eyebrow, headings, .grain, nav, footer, .faq.
   Everything below is NEW layout language for this page only.
   ============================================================ */

:root{
  --mint:       #34E1C4;
  --mint-deep:  #12B79C;
  --mint-soft:  rgba(52,225,196,0.16);
  --panel-blur: saturate(1.4) blur(14px);
}

/* skeleton helpers reused across all mocks */
.sk{ background: rgba(11,22,56,0.08); border-radius: 6px; }
.sk-grad{ background: var(--grad-brand); border-radius: 8px; }

/* ============================================================
   HERO — centred type + tilting device stage
   ============================================================ */
.mhero{
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 20vw, 220px) 0 clamp(50px, 8vw, 90px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(140,87,253,0.12), transparent 70%),
    var(--cream);
}
.mhero-glow{
  position:absolute; z-index:1;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(71,80,251,0.14), transparent 62%);
  pointer-events:none;
}
.mhero-inner{ position: relative; z-index: 2; text-align: center; }
.mhero-eyebrow{ justify-content: center; margin: 0 auto 24px; }
.mhero-title{
  max-width: 16ch;
  margin: 0 auto 26px;
}
.mhero-title .l{ display:block; overflow:hidden; }
.mhero-title .w{ display:block; will-change: transform; }
.mhero-lede{
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 auto 34px;
}
.mhero-ctas{ display:flex; justify-content:center; gap: 14px; flex-wrap: wrap; }

/* ---- device stage ---- */
.mhero-stage{
  position: relative;
  width: min(960px, 100%);
  margin: clamp(52px, 8vw, 100px) auto 0;
  transform-style: preserve-3d;
  perspective: 1400px;
}
.mstage-browser{
  position: relative; z-index: 2;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  will-change: transform;
}
.mbrowser-bar{
  display:flex; align-items:center; gap: 7px;
  padding: 12px 16px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line-soft);
}
.mbrowser-bar > span{ width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mbrowser-bar > span:nth-child(1){ background: #F5A3A3; }
.mbrowser-bar > span:nth-child(2){ background: #F5D08A; }
.mbrowser-bar > span:nth-child(3){ background: #9BD9A6; }
.mbrowser-bar i{
  margin-left: 12px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--ink-faint);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 14px;
}
.mbrowser-body{
  display:grid;
  grid-template-columns: 210px 1fr;
  min-height: 340px;
}
.mba-side{
  background: var(--cream-deep);
  border-right: 1px solid var(--line-soft);
  padding: 20px 18px;
  display:flex; flex-direction:column; gap: 22px;
}
.mba-logo{ width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); }
.mba-nav{ display:flex; flex-direction:column; gap: 12px; }
.mba-nav b{ height: 10px; border-radius: 5px; background: rgba(11,22,56,0.09); width: 78%; }
.mba-nav b.on{ background: var(--grad-brand); width: 92%; }
.mba-nav b:nth-child(3){ width: 64%; }
.mba-nav b:nth-child(4){ width: 71%; }
.mba-main{ padding: 22px; display:flex; flex-direction:column; gap: 16px; }
.mba-hero{
  aspect-ratio: 16 / 8;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(71,80,251,0.9), rgba(140,87,253,0.75));
  position: relative;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.mba-play{
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display:flex; align-items:center; justify-content:center;
  color: var(--navy);
}
.mba-play svg{ width: 18px; height: 18px; margin-left: 3px; }
.mba-hero .mba-prog{
  position:absolute; left: 14px; right: 14px; bottom: 12px;
  height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); overflow:hidden;
}
.mba-hero .mba-prog i{ display:block; height:100%; width: 46%; background: #fff; }
.mba-row{ display:flex; gap: 10px; }
.mba-row span{ height: 12px; border-radius: 6px; background: rgba(11,22,56,0.09); flex: 1; }
.mba-row span:last-child{ flex: .5; }
.mba-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mba-grid i{ aspect-ratio: 1; border-radius: 10px; background: var(--grad-brand-soft); }
.mba-grid i:nth-child(2){ opacity:.72; }
.mba-grid i:nth-child(4){ opacity:.55; }
.mba-grid i:nth-child(5){ opacity:.4; }
.mba-grid i:nth-child(6){ opacity:.62; }

.mstage-phone{
  position:absolute; z-index: 3;
  right: -3%; bottom: -12%;
  width: clamp(120px, 17vw, 176px);
  aspect-ratio: 176 / 360;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, #16295C, #081029);
  box-shadow: 0 40px 70px -22px rgba(8,16,41,0.5), 0 0 0 1px rgba(255,255,255,0.06) inset;
  will-change: transform;
}
.mphone-screen{
  width:100%; height:100%;
  border-radius: 22px;
  background: linear-gradient(180deg, #F4F1FF, #FEF9F3 45%);
  padding: 16px 12px;
  display:flex; flex-direction:column; gap: 10px;
}
.mps-head b{ font-family: var(--font-display); font-size: 13px; color: var(--ink); }
.mps-tiles{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mps-tiles i{ aspect-ratio: 1; border-radius: 10px; background: var(--grad-brand-soft); }
.mps-tiles i:nth-child(2){ opacity:.7; }
.mps-tiles i:nth-child(3){ opacity:.5; }

.mchip{
  position:absolute; z-index: 4;
  display:flex; align-items:center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: var(--panel-blur);
  backdrop-filter: var(--panel-blur);
  border: 1px solid rgba(11,22,56,0.07);
  box-shadow: var(--shadow-lg);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap;
  will-change: transform;
}
.mchip .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); flex:none; }
.mchip .dot.ok{ background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.mchip-1{ top: 8%; left: -4%; }
.mchip-2{ top: 40%; right: -7%; }
.mchip-3{ bottom: 2%; left: 6%; }

/* ============================================================
   STRIP — course marquee
   ============================================================ */
.mstrip{ padding: clamp(48px, 7vw, 84px) 0 clamp(30px, 5vw, 50px); overflow: hidden; }
.mstrip-label{
  display:block;
  text-align:center;
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 26px;
  padding: 0 var(--gutter);
}
.mstrip-track{
  display:flex; gap: 14px;
  width: max-content;
  will-change: transform;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mcourse{
  flex:none;
  display:flex; align-items:center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.mcourse span{
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand); flex:none;
}
.mcourse b{ font-size: 13.5px; font-weight: 600; }
.mcourse small{ display:block; font-size: 11px; color: var(--ink-faint); font-weight: 500; }

/* ============================================================
   MFLOW — horizontal animated timeline
   ============================================================ */
.mflow{ padding: clamp(80px, 10vw, 140px) 0; }
.mflow-wrap{ position: relative; }
.mflow-steps{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mflow-step{
  position: relative;
  padding-top: 84px;
}
/* connector segment: node-centre of this step -> node-centre of the next */
.mflow-step::after{
  content: '';
  position: absolute;
  top: 25px;           /* vertical centre of the 52px .n node */
  left: 26px;          /* horizontal centre of this node */
  width: calc(100% + 24px);  /* column width + grid gap = distance between nodes */
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s var(--ease-out);
  z-index: 1;
}
.mflow-step:last-child::after{ display: none; }
.mflow-step.is-lit::after{ transform: scaleX(1); }
.mflow-step .n{
  position:absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--paper);
  border: 2px solid var(--line);
  font-family: var(--font-display); font-style: italic; font-size: 17px;
  color: var(--ink-faint);
  z-index: 2;
}
.mflow-step.is-lit .n{
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}
.mflow-step .ic{
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-brand-soft);
  color: var(--indigo);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 14px;
}
.mflow-step .ic svg{ width: 19px; height: 19px; }
.mflow-step b{ display:block; font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.mflow-step p{ font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* ============================================================
   MPIN — sticky device + scrolling chapters
   ============================================================ */
.mpin{ padding: clamp(70px, 9vw, 120px) 0; background: var(--cream-deep); }
.mpin-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.mpin-visual{
  position: sticky;
  top: 14vh;
  align-self: start;
}
.mpin-device{
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.mpd-screen{
  position:absolute; inset: 0;
  padding: 24px;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.mpd-screen.is-active{ opacity: 1; transform: scale(1); }
.mpd-title{ font-family: var(--font-display); font-size: 15px; color: var(--ink-faint); margin-bottom: 16px; }
.mpd-mods{ display:flex; flex-direction:column; gap: 10px; }
.mpd-mod{
  display:flex; align-items:center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--cream-deep); border: 1px solid var(--line-soft);
}
.mpd-mod .r{ width: 22px; height: 22px; border-radius: 7px; background: var(--grad-brand); flex:none; }
.mpd-mod .b1{ height: 9px; border-radius: 5px; background: rgba(11,22,56,0.12); flex: 1; }
.mpd-mod .b2{ height: 9px; width: 34px; border-radius: 5px; background: rgba(11,22,56,0.08); }
.mpd-watch{
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(71,80,251,0.92), rgba(140,87,253,0.72));
  display:flex; align-items:center; justify-content:center;
  position: relative; overflow:hidden;
}
.mpd-watch .p{
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.mpd-watch .p svg{ width: 22px; height: 22px; margin-left: 3px; }
.mpd-watch .bar{ position:absolute; left: 20px; right: 20px; bottom: 18px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow:hidden; }
.mpd-watch .bar i{ display:block; height:100%; width: 58%; background:#fff; }
.mpd-resume{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 14px; height:100%; text-align:center; }
.mpd-ring{
  width: 120px; height: 120px; border-radius: 50%;
  background:
    conic-gradient(var(--indigo) 0 62%, rgba(11,22,56,0.08) 62% 100%);
  display:flex; align-items:center; justify-content:center;
}
.mpd-ring::after{
  content: "62%";
  width: 88px; height: 88px; border-radius:50%;
  background: var(--paper);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-size: 22px; color: var(--ink);
}
.mpd-resume b{ font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.mpd-resume small{ font-size: 12.5px; color: var(--ink-faint); }
.mpd-brand{ height:100%; display:flex; flex-direction:column; gap: 14px; }
.mpd-brand .top{ display:flex; align-items:center; gap: 10px; }
.mpd-brand .logo{ width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--mint), var(--mint-deep)); }
.mpd-brand .dom{ font-size: 12px; color: var(--ink-faint); }
.mpd-brand .hero{ flex:1; border-radius: 14px; background: linear-gradient(135deg, var(--mint-deep), var(--indigo)); opacity: .9; }
.mpd-brand .cards{ display:grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mpd-brand .cards i{ aspect-ratio: 1; border-radius: 10px; background: var(--mint-soft); }

.mpin-copy{ padding-top: 6vh; }
.mpin-copy .eyebrow{ margin-bottom: 30px; }
.mpin-chapter{
  padding: 34px 0;
  border-top: 1px solid var(--line);
  opacity: .35;
  transition: opacity .45s var(--ease-out);
}
.mpin-chapter:first-of-type{ border-top: none; }
.mpin-chapter.is-active{ opacity: 1; }
.mpin-chapter h3{ font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 12px; }
.mpin-chapter p{ font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 42ch; }
.mpin-chapter .tag{
  display:inline-flex; align-items:center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-deep); margin-bottom: 14px;
}
.mpin-chapter .tag::before{ content:''; width: 6px; height: 6px; border-radius:50%; background: var(--mint); }

/* ============================================================
   BENTO — feature grid
   ============================================================ */
.mbento{ padding: clamp(80px, 10vw, 140px) 0; }
.bento-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px;
}
.bento{
  position: relative;
  grid-column: span 2;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s ease;
}
.bento::before{
  content:'';
  position:absolute; inset: 0;
  background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 0%), rgba(71,80,251,0.12), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events:none;
}
.bento:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(71,80,251,0.22); }
.bento:hover::before{ opacity: 1; }
.bento .ic{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-brand); color: #fff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.bento .ic svg{ width: 20px; height: 20px; }
.bento b{ display:block; font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.bento p{ font-size: 13.8px; line-height: 1.55; color: var(--ink-soft); }

.bento.cell-lg{ grid-column: span 3; grid-row: span 2; display:flex; flex-direction:column; }
.bento.cell-lg .bento-illustration{
  margin-top: auto;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: var(--cream-deep);
  padding: 16px;
  display:grid; grid-template-columns: 64px 1fr; gap: 12px;
}
.bento.cell-lg .bi-side{ display:flex; flex-direction:column; gap: 8px; }
.bento.cell-lg .bi-side i{ height: 8px; border-radius: 4px; background: rgba(11,22,56,0.1); }
.bento.cell-lg .bi-side i:first-child{ background: var(--grad-brand); }
.bento.cell-lg .bi-main{ display:grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.bento.cell-lg .bi-main i{ aspect-ratio: 1; border-radius: 8px; background: var(--grad-brand-soft); }

.bento.cell-wide{ grid-column: span 3; background: var(--navy); border-color: var(--navy); color: var(--cream); }
.bento.cell-wide .num{
  display:block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}
.bento.cell-wide p{ color: rgba(254,249,243,0.66); font-size: 14px; }
.bento.cell-wide::before{ display:none; }

/* ============================================================
   MPLAYER — cinematic dark section
   ============================================================ */
.mplayer{
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) 0;
  background: var(--navy-deep);
  color: var(--cream);
  border-radius: var(--radius-xl);
  margin: 0 var(--gutter);
}
.mplayer-glow{
  position:absolute; pointer-events:none;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 720px; height: 720px; border-radius:50%;
  background: radial-gradient(circle, rgba(71,80,251,0.32), transparent 62%);
}
.mplayer .container{ position: relative; z-index: 1; }
.mplayer .section-head{ text-align:center; align-items:center; max-width: 640px; margin-left:auto; margin-right:auto; }
.mplayer .section-head .eyebrow{ justify-content:center; }

.mplayer-stage{
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
}
.mplayer-frame{
  position: relative; z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #050a1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.6);
}
.mpf-screen{
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(140,87,253,0.5), transparent 70%),
    linear-gradient(135deg, rgba(71,80,251,0.55), rgba(22,41,92,0.9));
  display:flex; align-items:center; justify-content:center;
}
.mpf-play{
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display:flex; align-items:center; justify-content:center;
  color: var(--navy);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.mpf-play svg{ width: 26px; height: 26px; margin-left: 4px; }
.mpf-bar{
  display:flex; align-items:center; gap: 14px;
  padding: 16px 20px;
  background: #050a1c;
}
.mpf-bar span{ font-size: 11.5px; color: rgba(255,255,255,0.55); font-variant-numeric: tabular-nums; }
.mpf-track{ flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
.mpf-track i{ display:block; height: 100%; width: 0%; background: var(--grad-brand); }

.mplayer-orbit{ position: absolute; inset: -6% -8%; pointer-events: none; z-index: 3; }
.orb{
  position: absolute;
  display:inline-flex; align-items:center; gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; color: #fff;
  white-space: nowrap;
  will-change: transform;
}
.orb::before{ content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex:none; }
.orb-1{ top: 2%; left: -4%; }
.orb-2{ top: 24%; right: -6%; }
.orb-3{ bottom: 16%; left: -6%; }
.orb-4{ bottom: -2%; right: 4%; }
.orb-5{ top: 50%; left: -9%; }

.mplayer-note{
  text-align:center;
  margin-top: 34px;
  font-size: 12.5px;
  color: rgba(254,249,243,0.42);
}

/* ============================================================
   MAPP — fanned phones + store badges
   ============================================================ */
.mapp{ padding: clamp(90px, 11vw, 150px) 0; }
.mapp-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.mapp-copy .eyebrow{ margin-bottom: 18px; }
.mapp-copy h2{ margin-bottom: 18px; }
.mapp-badges{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.mapp-badges .store-badge{ border-color: var(--line); color: var(--ink); }
.mapp-badges .store-badge small{ color: var(--ink-faint); }
.mapp-badges .store-badge:hover{ border-color: var(--ink); background: transparent; }

.mapp-phones{
  position: relative;
  height: clamp(360px, 46vw, 520px);
  display:flex; align-items:center; justify-content:center;
}
.mapp-phone{
  position: absolute;
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 220 / 452;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #16295C, #081029);
  box-shadow: 0 40px 80px -24px rgba(8,16,41,0.5), 0 0 0 1px rgba(255,255,255,0.06) inset;
  will-change: transform;
}
.mapp-phone .scr{
  width:100%; height:100%;
  border-radius: 25px;
  background: linear-gradient(180deg, #F4F1FF, #FEF9F3 45%);
  padding: 18px 13px;
  display:flex; flex-direction:column; gap: 10px;
  overflow: hidden;
}
.mapp-phone .scr .h{ font-family: var(--font-display); font-size: 13px; color: var(--ink); }
.mapp-phone .scr .g2{ display:grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mapp-phone .scr .g2 i{ aspect-ratio: 1; border-radius: 9px; background: var(--grad-brand-soft); }
.mapp-phone .scr .vid{ aspect-ratio: 16/9; border-radius: 10px; background: var(--grad-brand); }
.mapp-phone .scr .ln{ height: 9px; border-radius: 5px; background: rgba(11,22,56,0.1); }
.mapp-phone .scr .ln.s{ width: 60%; }
.mapp-phone.p1{ transform: translateX(-58%) rotate(-9deg); z-index: 1; }
.mapp-phone.p2{ transform: translateY(-6%); z-index: 3; }
.mapp-phone.p3{ transform: translateX(58%) rotate(9deg); z-index: 2; }

/* ============================================================
   MCTA — panel with sweeping shine
   ============================================================ */
.mcta{ padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.mcta-panel{
  position: relative;
  overflow: hidden;
  text-align:center;
  border-radius: var(--radius-xl);
  padding: clamp(50px, 8vw, 90px) clamp(24px, 5vw, 80px);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(140,87,253,0.4), transparent 70%),
    var(--navy);
  color: var(--cream);
}
.mcta-shine{
  position:absolute; top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-18deg);
  pointer-events:none;
}
.mcta-panel .eyebrow{ justify-content:center; margin: 0 auto 20px; }
.mcta-panel h2{ margin-bottom: 18px; }
.mcta-panel > p{
  max-width: 52ch; margin: 0 auto 34px;
  color: rgba(254,249,243,0.7);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}
.mcta-ctas{ display:flex; justify-content:center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   REVEAL primitive for this page (driven by members.js)
   ============================================================ */
.mreveal{ opacity: 0; transform: translateY(30px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .mflow-steps{ grid-template-columns: 1fr; gap: 0; }
  .mflow-step{ padding: 0 0 34px 76px; min-height: 52px; }
  .mflow-step:last-child{ padding-bottom: 0; }
  .mflow-step .n{ top: 0; left: 0; }
  /* vertical connector on stacked layout */
  .mflow-step::after{
    top: 52px; left: 25px;
    width: 2px; height: calc(100% - 52px);
    transform: scaleY(0);
    transform-origin: top center;
  }
  .mflow-step.is-lit::after{ transform: scaleY(1); }
  .mflow-step .ic{ margin-bottom: 10px; }
}
@media (max-width: 960px){
  .mpin-grid{ grid-template-columns: 1fr; }
  .mpin-visual{ position: relative; top: 0; margin-bottom: 20px; }
  .mpin-copy{ padding-top: 0; }
  .mpin-chapter{ opacity: 1; }
  .mapp-grid{ grid-template-columns: 1fr; }
  .mplayer{ margin: 0 12px; border-radius: 24px; }
}
@media (max-width: 720px){
  .mbrowser-body{ grid-template-columns: 1fr; }
  .mba-side{ display: none; }
  .mstage-phone{ right: -2%; bottom: -16%; }
  .bento-grid{ grid-template-columns: repeat(2, 1fr); }
  .bento, .bento.cell-lg, .bento.cell-wide{ grid-column: span 2; grid-row: auto; }
  .mplayer-orbit{ position: static; inset: auto; display:flex; flex-wrap:wrap; gap: 8px; justify-content:center; margin-top: 24px; }
  .orb{ position: static; }
}
@media (max-width: 520px){
  .mchip{ display: none; }
  .mhero-stage{ margin-top: 40px; }
  .bento-grid{ grid-template-columns: 1fr; }
  .bento, .bento.cell-lg, .bento.cell-wide{ grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce){
  .mreveal{ opacity: 1 !important; transform: none !important; }
  .mstrip-track{ mask-image: none; -webkit-mask-image: none; }
  .mcta-shine{ display: none; }
}
