:root {
  --bg-deep: #221a62;
  --bg-deep-2: #38257f;
  --violet: #6a4ad9;
  --violet-dark: #4f36b1;
  --pink: #ec39dd;
  --pink-2: #f050b8;
  --text-main: #1d1837;
  --text-light: #f4f0ff;
  --panel: #f3eafe;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* Do NOT set overflow-x on html/body — that creates a scroll container and breaks
 * position:sticky on the header. Clip horizontal overflow on .mp-site-wrap instead (see header.php). */
html {
  overflow-x: visible;
}

body {
  overflow-x: visible;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.6;
}

/* Wraps main (+ everything between header and footer). Keeps wide RTL/100vw sections from
 * causing horizontal scroll without breaking sticky header. */
.mp-site-wrap {
  overflow-x: hidden;
  min-width: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.mp-container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mp-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(35, 27, 99, 0.92), rgba(64, 39, 131, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* RTL: Safari mis-paints sticky + backdrop-filter (white gap). Use solid bar; inner stays RTL via rtl.css. */
html[dir="rtl"] .mp-header,
body.rtl .mp-header,
*[dir="rtl"] .mp-header {
  inset-inline: 0;
  width: 100%;
  max-width: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(90deg, rgba(35, 27, 99, 0.96), rgba(64, 39, 131, 0.92));
}

/* Horizontal padding must live here: a later `padding` shorthand on .mp-header-inner was
 * overriding .mp-container’s side padding (logo/menu flush to screen edges). */
.mp-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-block: 0.9rem;
  padding-inline-start: max(1.35rem, env(safe-area-inset-left, 0px));
  padding-inline-end: max(1.35rem, env(safe-area-inset-right, 0px));
}

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-light);
  font-weight: 700;
}

.mp-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.mp-nav {
  display: flex;
  align-items: center;
  color: #f2eeff;
  font-size: 0.83rem;
  font-weight: 500;
}

.mp-nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-nav-list > li {
  position: relative;
}

.mp-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  white-space: nowrap;
}

.mp-nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-inline-start: 0.2rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(242, 238, 255, 0.85);
}

/* Dropdown */
.mp-nav-sub {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 50;
  /*min-width: 13rem;*/
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: rgba(28, 22, 72, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.mp-nav-list > li:hover > .mp-nav-sub,
.mp-nav-list > li:focus-within > .mp-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mp-nav-sub li {
  margin: 0;
}

.mp-nav-sub .lang-item a {
  display: flex;
  line-height: 0.80;
}

.mp-nav-sub a {
  display: block;
  /*padding: 0.5rem 1rem;*/
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  color: #f2eeff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mp-nav-sub a:hover,
.mp-nav-sub a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

/* Nested flyout (3rd level) */
.mp-nav-sub .menu-item-has-children {
  position: relative;
}

.mp-nav-sub .mp-nav-sub {
  top: 0;
  left: 100%;
  margin-left: 0.35rem;
  margin-top: 0;
}

.mp-nav-sub li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-inline-start: 0.35rem;
  vertical-align: middle;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(242, 238, 255, 0.75);
}

.mp-nav-cta,
.mp-nav-list > li.mp-nav-cta > a {
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  font-weight: 600;
}

.mp-nav-list > li.mp-nav-cta > a::after {
  display: none !important;
}

.mp-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.mp-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
}

.mp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #7854f9 0, var(--bg-deep-2) 35%, var(--bg-deep) 100%);
  color: var(--text-light);
  padding: 5.8rem 0 4.6rem;
}

/*.mp-hero-glow {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background-image: radial-gradient(circle at 12% 24%, rgba(255, 255, 255, 0.12), transparent 30%),*/
/*    radial-gradient(circle at 78% 8%, rgba(238, 84, 193, 0.2), transparent 36%),*/
/*    radial-gradient(circle at 86% 84%, rgba(145, 112, 255, 0.28), transparent 36%),*/
/*    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 22px);*/
/*  pointer-events: none;*/
/*}*/

.mp-hero-glow {
  position: absolute;
  inset: 0;
  background-image: url("../img/background_hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.mp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.mp-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f8d3ff;
}

.mp-kicker-dark {
  color: var(--violet-dark);
}

.mp-hero h1 {
  margin: 0.75rem 0 1rem;
  line-height: 1.08;
  font-size: clamp(2rem, 2.4vw + 1.25rem, 3.35rem);
}

.mp-hero p {
  margin: 0;
  max-width: 42rem;
  color: #e8dcff;
}

.mp-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.mp-btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.74rem 1.22rem;
  cursor: pointer;
}

.mp-btn-primary {
  background: linear-gradient(135deg, #ff65be, #ea36de);
  color: #fff;
  box-shadow: 0 12px 30px rgba(185, 32, 163, 0.35);
}

.mp-btn-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mp-btn-full {
  width: 100%;
}

.mp-hero-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 1.6rem;
}

.mp-hero-card img {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.mp-hero-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

/* Inner page hero (Privacy Policy, Terms, etc.) — below sticky .mp-header */
.mp-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4b2fa3 0%, #38257f 42%, #221a62 100%);
  color: var(--text-light);
  padding: 3rem 0 3.25rem;
  text-align: center;
}

.mp-page-hero-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.14), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(236, 57, 221, 0.18), transparent 34%),
    radial-gradient(circle at 70% 88%, rgba(145, 112, 255, 0.22), transparent 38%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 20px);
  pointer-events: none;
}

.mp-page-hero-inner {
  position: relative;
  z-index: 1;
}

.mp-page-hero-title {
  margin: 0 0 1.65rem;
  font-size: clamp(1.85rem, 2.1vw + 1.15rem, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mp-page-hero-inner > .mp-page-hero-title:last-child {
  margin-bottom: 0;
}

.mp-page-hero-desc {
  margin: 0 auto;
  max-width: 40rem;
  font-size: clamp(0.92rem, 0.32vw + 0.82rem, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(232, 220, 255, 0.92);
}

.mp-page-hero-desc p {
  margin: 0;
}

.mp-page-hero-desc p + p {
  margin-top: 0.45rem;
}

.mp-main-with-page-hero {
  background: #fff;
}

.mp-page-with-hero-content {
  position: relative;
  background: #fff;
  min-height: 8rem;
}

.mp-page-with-hero-content::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0;
  width: min(120px, 18vw);
  height: 180px;
  opacity: 0.35;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(106, 74, 217, 0.22) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(to right, #000 20%, transparent 95%);
  mask-image: linear-gradient(to right, #000 20%, transparent 95%);
}

/* 404 — full viewport between header & footer, no search */
body.error404 {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.error404 .mp-main-404 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
}

.mp-main-404 {
  background: transparent;
}

.mp-404-hero {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4b2fa3 0%, #38257f 42%, #221a62 100%);
  color: var(--text-light);
  padding: 2rem 0 2.5rem;
  text-align: center;
  min-height: 0;
}

.mp-404-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.14), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(236, 57, 221, 0.18), transparent 34%),
    radial-gradient(circle at 70% 88%, rgba(145, 112, 255, 0.22), transparent 38%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.055) 0 2px, transparent 2px 20px);
  pointer-events: none;
}

.mp-404-inner {
  position: relative;
  z-index: 1;
}

.mp-404-code {
  margin: 0 0 0.35rem;
  font-size: clamp(3rem, 9vw, 5.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.32);
}

.mp-404-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 1.6vw + 1rem, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mp-404-lead {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: clamp(0.94rem, 0.3vw + 0.85rem, 1.02rem);
  line-height: 1.55;
  color: rgba(232, 220, 255, 0.92);
}

.mp-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.mp-404-actions .mp-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp-hero-card p {
  margin-top: 0.7rem;
}

.mp-mascot {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mp-mascot img {
  width: min(170px, 100%);
  height: auto;
  object-fit: contain;
}

.mp-section {
  padding: 4.4rem 0;
}

.mp-section-light {
  background: linear-gradient(180deg, #f5ecff, #f8f3ff);
}

.mp-section-white {
  background: #fff;
}

.mp-section-gradient {
  background: linear-gradient(135deg, #41268d, #241c67);
  color: var(--text-light);
}

.mp-section-app {
  background: #fff;
}

.mp-split {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  align-items: center;
  gap: 2rem;
}

.mp-icon-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(93, 60, 173, 0.15);
  border-radius: 24px;
  padding: 1.6rem;
  display: grid;
  place-items: center;
}

.mp-icon-panel img {
  width: min(220px, 100%);
}

.mp-split h2,
.mp-community h2,
.mp-center-head h2 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.5rem, 1.15vw + 1.2rem, 2.2rem);
  line-height: 1.2;
}

.mp-split p {
  margin: 0;
  color: #483a75;
}

.mp-center-head {
  text-align: center;
  margin-bottom: 2rem;
}

.mp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mp-card {
  border: 1px solid #eedfff;
  background: #fff;
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: 0 8px 24px rgba(98, 56, 173, 0.08);
}

.mp-card h3 {
  margin: 0 0 0.4rem;
  color: #442a93;
}

.mp-card p {
  margin: 0;
  color: #5f4b96;
}

.mp-community {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 2rem;
  align-items: center;
}

.mp-community ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: #5c4b91;
}

.mp-community-badge {
  justify-self: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 1.2rem;
}

.mp-community-badge img {
  width: 230px;
  border-radius: 26px;
}

.mp-community-badge-light {
  background: radial-gradient(circle at top, #e6d8ff, #ccb5ff);
  border-color: #d2c0ff;
}

.mp-store-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.mp-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #181818;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
}

.mp-carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #e7d8ff;
  background: #fff;
  color: #3f2b84;
  box-shadow: 0 10px 24px rgba(80, 55, 145, 0.12);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mp-carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(80, 55, 145, 0.16);
}

.mp-carousel {
  display: grid;
  gap: 0.75rem;
}

.mp-carousel-coverflow {
  justify-items: center;
}

.mp-carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
}

.mp-carousel-viewport-wide {
  width: 100%;
  max-width: 1180px;
  padding: 0.25rem 0.1rem;
}

.mp-phone-frame {
  position: relative;
  border-radius: 22px;
  padding: 0.38rem;
  background: linear-gradient(160deg, #2d215f, #4f36b1);
  box-shadow: 0 16px 35px rgba(64, 40, 128, 0.22);
}

.mp-phone-notch {
  position: absolute;
  top: 0.28rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.mp-carousel-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mp-carousel-track-wide {
  gap: 32px;
  padding: 0 14px;
}

.mp-carousel-slide {
  flex: 0 0 auto;
}

.mp-slide-phone {
  position: relative;
  width: clamp(200px, 25vw, 308px);
  opacity: 0.5;
  transform: scale(0.92);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.9);
  z-index: 1;
}

.mp-slide-phone.is-near {
  opacity: 0.7;
  transform: scale(0.96);
  z-index: 2;
}

.mp-slide-phone.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
  z-index: 3;
}

.mp-phone-screen {
  overflow: hidden;
  border-radius: 18px;
}

.mp-phone-screen img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.mp-carousel-nav {
  display: grid;
  grid-template-columns: 44px 44px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.mp-contact-wrap {
  max-width: 720px;
}

.mp-contact-section {
  background: linear-gradient(180deg, #f3e7ff, #f5ecff);
}

.mp-contact-mascots {
  margin-top: 0.7rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mp-contact-mascots img {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
}

.mp-form {
  border-radius: 24px;
  padding: 1.4rem;
  border: 1px solid #e8d8fc;
  background: #fff;
  box-shadow: 0 10px 30px rgba(80, 55, 145, 0.08);
}

.mp-form input,
.mp-form textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid #dbc7fc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.mp-form .wpcf7-form {
  margin: 0;
}

.mp-form .wpcf7-form-control-wrap {
  display: block;
}

/* Contact Form 7 default markup uses <p> wrappers. Their margins can stack
 * with our input/textarea margins and look like "extra whitespace". */
.mp-form .wpcf7 p {
  margin: 0;
  padding: 0;
}

.mp-form .wpcf7 form {
  margin: 0;
}

/* Let the theme styles define spacing; avoid double spacing inside CF7. */
.mp-form .wpcf7 input,
.mp-form .wpcf7 textarea {
  margin-bottom: 0;
}

.mp-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  margin-bottom: 0;
  border: 1px solid #dbc7fc;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.mp-form .wpcf7-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.74rem 1.22rem;
  cursor: pointer;
  background: linear-gradient(135deg, #ff65be, #ea36de);
  color: #fff;
  box-shadow: 0 12px 30px rgba(185, 32, 163, 0.35);
}

.mp-form .wpcf7-not-valid-tip,
.mp-form .wpcf7-response-output {
  font-size: 0.85rem;
  margin: 0;
  padding: 0;
}

.mp-footer {
  background: #fff;
  border-top: 1px solid #eee3ff;
  padding-block: 1.8rem 1rem;
  padding-inline: max(1.25rem, env(safe-area-inset-left, 0px))
    max(1.25rem, env(safe-area-inset-right, 0px));
}

.mp-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: #5c4a93;
  min-width: 0;
  align-items: start;
}

.mp-foot-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.mp-foot-col p {
  margin: 0;
  overflow-wrap: anywhere;
}

.mp-foot-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mp-foot-nav-list a {
  color: inherit;
}

.mp-foot-sub {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0 0 0 0.85rem;
  border-left: 1px solid rgba(92, 74, 147, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88em;
}

.mp-foot-col h4 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  color: #3f2b84;
}

/* Footer — Follow us (two columns + branded icon tiles) */
.mp-foot-follow-title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2d2650;
}

.mp-foot-social-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.35rem;
  align-items: start;
  min-width: 0;
  /* direction: inherit from .mp-footer-inner (RTL locales mirror columns) */
}

.mp-foot-social-col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mp-foot-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  text-decoration: none;
  color: #2d2650;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.25;
}

.mp-foot-social-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mp-foot-social-link:hover .mp-foot-social-label {
  text-decoration: underline;
}

.mp-foot-social-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mp-foot-social-icon svg {
  display: block;
}

.mp-foot-social-icon--twitter {
  background: linear-gradient(145deg, #7b5cf0, #4f36b1);
}

.mp-foot-social-icon--twitter svg {
  width: 14px;
  height: 14px;
}

.mp-foot-social-icon--instagram {
  background: linear-gradient(145deg, #f58529, #dd2a7b 55%, #8134af);
}

.mp-foot-social-icon--instagram svg {
  width: 17px;
  height: 17px;
}

.mp-foot-social-icon--tumblr {
  background: #35465c;
}

.mp-foot-social-icon--tumblr svg {
  width: 14px;
  height: 14px;
}

.mp-foot-social-icon--plain {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.mp-foot-social-icon--plain svg {
  width: 26px;
  height: 26px;
}

.mp-foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.mp-foot-brand img {
  width: 24px;
  height: 24px;
}

.mp-copy {
  margin: 1.2rem 0 0;
  padding-inline: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #705ba9;
  overflow-wrap: anywhere;
}

.mp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.mp-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

body.mp-skip-reveal-animations .mp-reveal {
  opacity: 1;
  transform: none;
}

.mp-form .wpcf7-form-control.wpcf7-submit {
  text-align: center;
}

@media (max-width: 900px) {
  .mp-hero-grid,
  .mp-split,
  .mp-community {
    grid-template-columns: 1fr;
  }

  .mp-cards {
    grid-template-columns: 1fr 1fr;
  }

  .mp-carousel-btn {
    width: 46px;
    height: 46px;
  }

  .mp-carousel-nav {
    grid-template-columns: 46px 46px;
    gap: 0.5rem;
  }

  /* Tablets / small laptops: larger phone frames than desktop vw scaling */
  .mp-carousel-viewport-wide {
    max-width: 100%;
  }

  .mp-slide-phone {
    width: clamp(228px, 40vw, 308px);
  }

  .mp-carousel-track-wide {
    gap: 26px;
    padding: 0 10px;
  }

  /* Three footer blocks: 2×2 then “Follow” full width — avoids a stray 3rd cell in one column. */
  .mp-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
  }

  .mp-foot-col-follow {
    grid-column: 1 / -1;
  }

  .mp-foot-social-cols {
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 740px) {
  .mp-toggle {
    display: inline-flex;
  }

  .mp-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    background: #2b1e74;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.5rem 1.2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .mp-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mp-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .mp-nav-list > li > a {
    white-space: normal;
    padding: 0.35rem 0;
  }

  .mp-nav-list > li.menu-item-has-children > a::after {
    display: none;
  }

  .mp-phone-frame {
    padding: 0.32rem;
    border-radius: 20px;
  }

  .mp-phone-notch {
    top: 0.24rem;
    height: 0.2rem;
  }

  .mp-phone-screen {
    border-radius: 16px;
  }

  .mp-nav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0.35rem 0 0.5rem;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
  }

  .mp-nav-sub .mp-nav-sub {
    left: auto;
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .mp-nav-sub li.menu-item-has-children > a::after {
    display: none;
  }

  .mp-nav-list > li.mp-nav-cta > a {
    display: inline-block;
    width: fit-content;
    padding: 0.4rem 0.78rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--pink-2));
  }

  .mp-cards {
    grid-template-columns: 1fr;
  }

  /* Phones: use most of the viewport width for each mockup */
  .mp-carousel-viewport-wide {
    max-width: none;
    width: 100%;
    padding-inline: 0;
  }

  .mp-carousel-track-wide {
    gap: clamp(14px, 3.5vw, 22px);
    padding: 0 6px;
  }

  .mp-slide-phone {
    width: min(318px, calc(100vw - 2.75rem));
  }

  .mp-carousel-nav {
    grid-template-columns: 42px 42px;
    gap: 0.5rem;
  }

  .mp-footer {
    padding-block: 1.5rem 1rem;
  }

  .mp-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
  }

  .mp-foot-col-follow {
    grid-column: auto;
  }

  .mp-foot-social-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }

  .mp-contact-mascots img {
    width: min(320px, 100%);
    height: auto;
  }
}

/* Very narrow phones: stack “Follow us” link columns so they don’t crush. */
@media (max-width: 520px) {
  .mp-foot-social-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }
}

