/* Mumaken landing page: semantic tablet/mobile layout.
   The exported 1728px design remains untouched for desktop screens. */

.landing-responsive {
  display: none;
}

@media (max-width: 1024px) {
  :root {
    --m-navy: #07182a;
    --m-blue: #0f3460;
    --m-orange: #d4820a;
    --m-gold: #f0b52b;
    --m-cream: #fdf8f2;
    --m-muted: #536274;
    --m-line: rgba(15, 52, 96, 0.13);
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    background: var(--m-cream);
    color: var(--m-navy);
    min-width: 0;
    overflow-x: hidden;
  }

  .design-frame {
    display: none !important;
  }

  .landing-responsive {
    display: block;
    overflow: clip;
    width: 100%;
  }

  .landing-mobile-bar {
    align-items: center;
    background: rgba(7, 24, 42, 0.97);
    border-bottom: 1px solid rgba(253, 248, 242, 0.12);
    display: flex !important;
    gap: 12px;
    inset: 0 0 auto;
    justify-content: space-between;
    min-height: 68px;
    padding: 9px clamp(12px, 3vw, 28px);
    position: fixed;
    z-index: 100;
  }

  .landing-mobile-bar__logo {
    height: 36px;
    max-width: 132px;
    object-fit: contain;
    width: auto;
  }

  .landing-mobile-bar > a[aria-label="Mumaken"] {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
  }

  .landing-mobile-bar__links {
    align-items: center;
    display: flex;
    gap: clamp(4px, 1.8vw, 14px);
  }

  .landing-mobile-bar__links a {
    align-items: center;
    color: var(--m-cream);
    display: inline-flex;
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: clamp(15px, 2.2vw, 18px);
    justify-content: center;
    min-height: 44px;
    padding: 7px;
  }

  .landing-mobile-menu {
    position: relative;
  }

  .landing-mobile-menu summary {
    align-items: center;
    color: var(--m-cream);
    cursor: pointer;
    display: inline-flex;
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: 17px;
    gap: 6px;
    justify-content: center;
    list-style: none;
    min-height: 44px;
    padding: 7px 9px;
  }

  .landing-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .landing-mobile-menu summary span[aria-hidden="true"] {
    font-family: sans-serif;
    font-size: 19px;
    line-height: 1;
  }

  .landing-mobile-menu__panel {
    background: var(--m-navy);
    border: 1px solid rgba(253, 248, 242, 0.16);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    display: grid;
    inset: 68px 12px auto;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    padding: 8px;
    position: fixed;
    width: auto;
  }

  .landing-mobile-menu__panel a {
    border-radius: 8px;
    justify-content: flex-start;
    padding-inline: 13px;
    white-space: nowrap;
  }

  .landing-mobile-menu__panel a:hover,
  .landing-mobile-menu__panel a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--m-gold);
  }

  .landing-mobile-bar__cta {
    background: #fff;
    border-radius: 10px;
    color: var(--m-orange) !important;
    padding-inline: 14px !important;
  }

  .m-shell {
    margin-inline: auto;
    max-width: 960px;
    padding-inline: clamp(18px, 5vw, 52px);
    position: relative;
    width: 100%;
  }

  .m-section {
    padding-block: clamp(64px, 10vw, 100px);
    scroll-margin-top: 68px;
  }

  .m-eyebrow {
    color: var(--m-orange);
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: clamp(18px, 2.8vw, 23px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .landing-responsive h2 {
    color: var(--m-navy);
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: clamp(34px, 6vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    max-width: 720px;
  }

  .landing-responsive h3 {
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: clamp(23px, 3vw, 28px);
    line-height: 1.2;
  }

  .m-section__lede {
    color: var(--m-muted);
    font-size: clamp(20px, 3vw, 25px);
    line-height: 1.65;
    margin-top: 18px;
    max-width: 760px;
  }

  .m-hero {
    align-items: end;
    background: var(--m-navy);
    color: #fff;
    display: flex;
    min-height: min(840px, 100svh);
    overflow: hidden;
    padding-block: 150px 74px;
    position: relative;
  }

  .m-hero__image,
  .m-hero__overlay {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
  }

  .m-hero__image {
    object-fit: cover;
    object-position: 42% center;
  }

  .m-hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 42, 0.23), rgba(7, 24, 42, 0.78) 68%, rgba(7, 24, 42, 0.96)),
      linear-gradient(0deg, rgba(7, 24, 42, 0.92), transparent 55%);
  }

  .m-hero__content {
    z-index: 1;
  }

  .m-hero__title {
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: clamp(46px, 8.5vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    max-width: 760px;
  }

  .m-hero__lede {
    color: rgba(255, 255, 255, 0.87);
    font-size: clamp(21px, 3.2vw, 28px);
    line-height: 1.55;
    margin-top: 22px;
    max-width: 670px;
  }

  .m-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
  }

  .m-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: 21px;
    justify-content: center;
    line-height: 1;
    min-height: 52px;
    padding: 12px 24px;
    transition: transform 160ms ease, background-color 160ms ease;
  }

  .m-button:hover {
    transform: translateY(-2px);
  }

  .m-button--primary {
    background: var(--m-orange);
    color: #fff;
  }

  .m-button--ghost {
    border-color: rgba(255, 255, 255, 0.58);
    color: #fff;
  }

  .m-stats {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 44px;
    max-width: 650px;
  }

  .m-stats > div {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.23);
    min-width: 0;
    padding-inline: 16px;
  }

  .m-stats > div:first-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .m-stats dt {
    color: var(--m-gold);
    direction: ltr;
    font: 800 clamp(30px, 5vw, 44px)/1 "Inter", sans-serif;
    text-align: start;
  }

  .m-stats dd {
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(16px, 2.6vw, 21px);
    line-height: 1.3;
    margin-top: 8px;
  }

  .m-partners {
    background: #fff;
    text-align: center;
  }

  .m-partners h2 {
    margin-inline: auto;
  }

  .m-partner-grid {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    margin-top: 34px;
  }

  .m-partner {
    align-items: center;
    background: var(--m-cream);
    border: 1px solid var(--m-line);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    min-height: 100px;
    padding: 18px;
  }

  .m-partner img {
    max-height: 56px;
    max-width: 145px;
    object-fit: contain;
  }

  .m-problem,
  .m-features,
  .m-contact {
    background: var(--m-cream);
  }

  .m-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
  }

  .m-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .m-card,
  .m-quote {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(7, 24, 42, 0.055);
    min-width: 0;
    padding: clamp(22px, 4vw, 34px);
  }

  .m-card--accent {
    background: var(--m-blue);
    color: #fff;
  }

  .m-card__number {
    color: var(--m-orange);
    direction: ltr;
    display: block;
    font: 800 18px/1 "Inter", sans-serif;
    margin-bottom: 22px;
    text-align: start;
  }

  .m-card p,
  .m-quote blockquote {
    color: var(--m-muted);
    font-size: 20px;
    line-height: 1.55;
    margin-top: 12px;
  }

  .m-card--accent p {
    color: rgba(255, 255, 255, 0.79);
  }

  .m-how,
  .m-testimonials {
    background: #fff;
  }

  .m-steps {
    display: grid;
    gap: 16px;
    margin-top: 38px;
  }

  .m-steps li {
    align-items: start;
    background: var(--m-cream);
    border-radius: 18px;
    display: grid;
    gap: 20px;
    grid-template-columns: 68px 1fr;
    padding: 22px;
  }

  .m-steps li > span {
    align-items: center;
    background: var(--m-orange);
    border-radius: 14px;
    color: #fff;
    direction: ltr;
    display: flex;
    font: 800 20px/1 "Inter", sans-serif;
    height: 56px;
    justify-content: center;
  }

  .m-steps p {
    color: var(--m-muted);
    font-size: 20px;
    line-height: 1.5;
    margin-top: 6px;
  }

  .m-feature-dot {
    background: var(--m-orange);
    border-radius: 50%;
    display: block;
    height: 12px;
    margin-bottom: 24px;
    width: 12px;
  }

  .m-quote blockquote {
    color: var(--m-navy);
    font-size: 23px;
    margin: 0;
  }

  .m-quote figcaption {
    border-top: 1px solid var(--m-line);
    display: flex;
    flex-direction: column;
    font-size: 18px;
    margin-top: 24px;
    padding-top: 18px;
  }

  .m-quote figcaption span {
    color: var(--m-muted);
  }

  .m-download {
    background: var(--m-blue);
    color: #fff;
  }

  .m-download h2 {
    color: #fff;
  }

  .m-download__inner {
    align-items: center;
    display: grid;
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .m-download__inner p:not(.m-eyebrow) {
    color: rgba(255, 255, 255, 0.75);
    font-size: 21px;
    line-height: 1.55;
    margin-top: 14px;
  }

  .m-store-buttons {
    display: grid;
    gap: 12px;
  }

  .m-store-button {
    align-items: center;
    background: #fff;
    border-radius: 14px;
    color: var(--m-blue);
    direction: ltr;
    display: flex;
    gap: 12px;
    justify-content: center;
    min-height: 72px;
    min-width: 220px;
    padding: 10px 18px;
  }

  .m-store-button img {
    height: 38px;
    object-fit: contain;
    width: 38px;
  }

  .m-store-button span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: center;
  }

  .m-store-button small {
    direction: rtl;
    font-size: 14px;
  }

  .m-store-button strong {
    font: 700 18px/1.2 "Inter", sans-serif;
  }

  .m-contact__grid {
    display: grid;
    gap: clamp(36px, 7vw, 72px);
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .m-contact__details {
    display: grid;
    font-size: 20px;
    gap: 10px;
    line-height: 1.5;
    margin-top: 24px;
  }

  .m-contact__details a {
    color: var(--m-blue);
    overflow-wrap: anywhere;
  }

  .m-contact-form {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(7, 24, 42, 0.07);
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: clamp(22px, 5vw, 38px);
  }

  .m-contact-form label {
    font-family: "ZainMobVariable600-ZainMobVariable600", "ZainMob", sans-serif;
    font-size: 18px;
    margin-top: 6px;
  }

  .m-contact-form input,
  .m-contact-form textarea {
    background: var(--m-cream);
    border: 1px solid var(--m-line);
    border-radius: 10px;
    color: var(--m-navy);
    font: 18px/1.5 "ZainMob", "Zain", sans-serif;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 13px;
    width: 100%;
  }

  .m-contact-form textarea {
    min-height: 130px;
    resize: vertical;
  }

  .m-contact-form input:focus,
  .m-contact-form textarea:focus {
    border-color: var(--m-orange);
    box-shadow: 0 0 0 3px rgba(212, 130, 10, 0.13);
    outline: 0;
  }

  .m-contact-form .errorlist {
    color: #a52d24;
    font-size: 16px;
  }

  .m-form-success,
  .m-form-error {
    border-radius: 10px;
    font-size: 18px;
    padding: 12px 14px;
  }

  .m-form-success {
    background: #e5f5eb;
    color: #17633a;
  }

  .m-form-error {
    background: #fae8e6;
    color: #8b231c;
  }

  .m-footer {
    background: var(--m-navy);
    color: #fff;
    padding-block: 58px 26px;
  }

  .m-footer__grid {
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr);
  }

  .m-footer__brand img {
    height: auto;
    max-width: 230px;
    width: 100%;
  }

  .m-footer__brand p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 19px;
    line-height: 1.5;
    margin-top: 18px;
    max-width: 420px;
  }

  .m-footer__stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
    max-width: 470px;
  }

  .m-footer nav {
    display: grid;
    gap: 8px;
  }

  .m-footer nav h2 {
    color: var(--m-gold);
    font-size: 23px;
    margin-bottom: 8px;
  }

  .m-footer nav a {
    color: rgba(255, 255, 255, 0.83);
    font-size: 18px;
    min-height: 36px;
  }

  .m-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.58);
    display: flex;
    font-size: 16px;
    gap: 18px;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 22px;
  }

  .m-footer__bottom > span:last-child {
    display: flex;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .m-hero {
    min-height: auto;
    padding-block: 124px 54px;
  }

  .m-hero__image {
    object-position: 39% center;
  }

  .m-hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 42, 0.28), rgba(7, 24, 42, 0.85) 66%, rgba(7, 24, 42, 0.97)),
      linear-gradient(0deg, rgba(7, 24, 42, 0.97), transparent 65%);
  }

  .m-card-grid,
  .m-card-grid--three,
  .m-download__inner,
  .m-contact__grid,
  .m-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .m-download__inner {
    align-items: stretch;
  }

  .m-store-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-store-button {
    min-width: 0;
  }

  .m-footer__grid {
    gap: 32px;
  }

  .m-footer__brand,
  .m-footer nav {
    text-align: center;
  }

  .m-footer__brand img,
  .m-footer__brand p,
  .m-footer__stores {
    margin-inline: auto;
  }

  .m-footer nav {
    column-gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-footer nav h2 {
    grid-column: 1 / -1;
  }

  .m-footer nav a {
    align-items: center;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .m-shell {
    padding-inline: 18px;
  }

  .m-section {
    padding-block: 54px;
  }

  .landing-responsive h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .landing-responsive h3 {
    font-size: 22px;
    line-height: 1.28;
  }

  .m-eyebrow {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 9px;
  }

  .m-section__lede,
  .m-card p,
  .m-steps p {
    font-size: 18px;
  }

  .m-hero {
    display: block;
    min-height: auto;
    padding-block: 0;
  }

  .m-hero__image,
  .m-hero__overlay {
    height: 330px;
    inset-block-end: auto;
  }

  .m-hero__image {
    object-position: 36% center;
  }

  .m-hero__overlay {
    background: linear-gradient(0deg, var(--m-navy), rgba(7, 24, 42, 0.08) 62%);
  }

  .m-hero__content {
    padding-block: 350px 42px;
  }

  .m-hero__content > .m-eyebrow {
    display: none;
  }

  .m-hero__title {
    font-size: clamp(34px, 9.2vw, 36px);
    line-height: 1.14;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .m-hero__lede {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 16px;
  }

  .m-actions,
  .m-actions .m-button {
    width: 100%;
  }

  .m-actions .m-button {
    flex: 1 1 100%;
  }

  .m-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .m-button {
    font-size: 19px;
    min-height: 50px;
  }

  .m-stats {
    margin-top: 32px;
  }

  .m-stats dt {
    font-size: clamp(25px, 8vw, 32px);
  }

  .m-stats dd {
    font-size: 15px;
  }

  .m-stats > div {
    padding-inline: 10px;
  }

  .m-steps li {
    gap: 15px;
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

  .m-steps li > span {
    border-radius: 11px;
    font-size: 16px;
    height: 48px;
  }

  .m-store-buttons {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-store-button {
    gap: 8px;
    min-height: 68px;
    padding-inline: 10px;
    width: 100%;
  }

  .m-store-button img {
    height: 32px;
    width: 32px;
  }

  .m-store-button strong {
    font-size: 16px;
  }

  .m-footer {
    padding-block: 46px 22px;
  }

  .m-footer__grid {
    gap: 28px;
  }

  .m-footer__brand img {
    max-width: 205px;
  }

  .m-footer__brand p {
    font-size: 17px;
    margin-top: 12px;
  }

  .m-footer__bottom {
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    text-align: center;
  }

  .m-footer__bottom,
  .m-footer__bottom > span:last-child {
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 350px) {
  .landing-mobile-bar__logo {
    max-width: 112px;
  }

  .landing-mobile-menu summary span:last-child {
    display: none;
  }

  .landing-mobile-menu summary {
    padding-inline: 6px;
  }

  .m-shell {
    padding-inline: 14px;
  }

  .m-hero__title {
    font-size: 32px;
  }

  .m-stats > div {
    padding-inline: 6px;
  }

  .m-stats dd {
    font-size: 13px;
  }

}

@media (max-width: 330px) {
  .m-store-buttons {
    grid-template-columns: minmax(0, 1fr);
  }

  .m-store-button {
    min-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-button {
    transition: none;
  }
}
