/* ==========================================================================
   Money 2 Manage — Landing page styles
   Depends on: tokens.css, Bootstrap 5.3
   --------------------------------------------------------------------------
   01 Base            02 Buttons & shared UI    03 Reveal system
   04 Header          05 Hero                   06 Features
   07 About           08 How it works           09 Why choose us
   10 Pricing         11 FAQ                    12 Support CTA
   13 Footer          14 Responsive             15 Reduced motion
   ========================================================================== */

   /* ==========================================================================
   Money 2 Manage — Design tokens
   ========================================================================== */

:root {
  /* Brand */
  --m2m-blue: #1971cd;
  --m2m-blue-600: #145fae;
  --m2m-blue-700: #0f4c8c;
  --m2m-blue-tint: #d6e6f8;
  --m2m-deep: #0d3561;
  --m2m-deep-2: #081d36;

  /* Neutrals (cool, never warm cream) */
  --m2m-ink: #14243b;
  --m2m-ink-soft: #4a5b72;
  --m2m-ink-mute: #8292a8;
  --m2m-ink-faint: #a9b6c7;
  --m2m-paper: #f5f7fa;
  --m2m-white: #ffffff;
  --m2m-mist: #e4eef9;
  --m2m-sky: #c9ddf4;
  --m2m-line: #dfe6ef;
  --m2m-panel: #eef3f9;

  /* Supporting tones */
  --m2m-butter: #f2e4a4;
  --m2m-butter-deep: #e3c95a;
  --m2m-sage: #d3e6d8;
  --m2m-sage-deep: #5e9a76;
  --m2m-success: #2a8559;
  --m2m-danger: #c24f3d;

  /* Type */
  --m2m-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --m2m-font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radii — hierarchy, not one size for everything */
  --m2m-r-frame: 40px;
  --m2m-r-xl: 32px;
  --m2m-r-lg: 22px;
  --m2m-r-md: 16px;
  --m2m-r-sm: 12px;
  --m2m-r-pill: 999px;

  /* Elevation (tinted with ink-blue, not neutral grey) */
  --m2m-shadow-1: 0 1px 2px rgba(20, 36, 59, 0.05), 0 8px 24px -14px rgba(20, 36, 59, 0.22);
  --m2m-shadow-float: 0 18px 40px -18px rgba(13, 53, 97, 0.42);
  --m2m-shadow-lift: 0 30px 60px -30px rgba(13, 53, 97, 0.6);

  /* Motion */
  --m2m-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --m2m-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --m2m-ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);

  /* Bootstrap bridge */
  --bs-body-font-family: var(--m2m-font-body);
  --bs-body-color: var(--m2m-ink);
  --bs-body-bg: var(--m2m-paper);
  --bs-border-color: var(--m2m-line);
}


/* 01 Base ----------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--m2m-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--m2m-ink);
  background: var(--m2m-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--m2m-font-head);
  color: var(--m2m-ink);
  letter-spacing: -0.02em;
}

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--m2m-blue);
  outline-offset: 3px;
}

.m2m-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--m2m-ink);
  color: #fff;
  border-radius: var(--m2m-r-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.m2m-skip:focus { top: 16px; color: #fff; }

.m2m-ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1400px) {
  .m2m-container { max-width: 1240px; }
}

.m2m-section { padding-block: clamp(45px, 6vw, 90px) }

.m2m-h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 104;
  margin: 0 0 18px;
}

.m2m-lead {
  font-size: 1.075rem;
  color: var(--m2m-ink-soft);
  max-width: 65ch;
  margin: 0;
}

.m2m-kicker {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--m2m-blue);
  margin-bottom: 14px;
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1240px;
    }
}

/* 02 Buttons & shared UI -------------------------------------------------- */
.m2m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--m2m-r-pill);
  border: 1px solid transparent;
  font-family: var(--m2m-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--m2m-ease-out);
}
.m2m-btn:active { transform: scale(0.97); }
.m2m-btn--sm { height: 42px; padding: 0 18px; font-size: 0.875rem; }

.m2m-btn--primary { background: var(--m2m-blue); color: #fff; }
.m2m-btn--primary:hover {
  background: var(--m2m-blue-600);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(25, 113, 205, 0.75);
}

.m2m-btn--ghost { background: #fff; color: var(--m2m-ink); border-color: var(--m2m-line); }
.m2m-btn--ghost:hover { border-color: var(--m2m-blue); color: var(--m2m-blue); }

.m2m-btn--light { background: #fff; color: var(--m2m-ink); }
.m2m-btn--light:hover { background: var(--m2m-mist); color: var(--m2m-ink); }

.m2m-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 9px 18px;
  border-radius: var(--m2m-r-pill);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--m2m-ink);
  box-shadow: var(--m2m-shadow-1);
}
.m2m-chip .m2m-ico { color: var(--m2m-blue); }

.m2m-icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--m2m-ink);
  box-shadow: var(--m2m-shadow-1);
  font-size: 1.2rem;
}

.m2m-round-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--m2m-line);
  background: #fff;
  color: var(--m2m-ink);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
}
.m2m-round-btn:hover:not(:disabled) { background: var(--m2m-blue); border-color: var(--m2m-blue); color: #fff; }
.m2m-round-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.m2m-progress {
  height: 8px;
  border-radius: var(--m2m-r-pill);
  background: #e7edf5;
  overflow: hidden;
}
.m2m-progress > span {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--m2m-blue), #5aa0e6);
}

.m2m-avatars { display: flex; }
.m2m-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -12px;
  background: linear-gradient(135deg, var(--m2m-sky), var(--m2m-blue));
}
.m2m-avatars img:first-child { margin-left: 0; }

img[data-fallback].is-broken { opacity: 0; }

/* Logo */
.m2m-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 160px;
  text-decoration: none;
  color: var(--m2m-ink);
}
.m2m-logo__mark { width: 36px; height: 36px; flex: none; }
.m2m-logo__word {
  font-family: var(--m2m-font-head);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 110;
  white-space: nowrap;
}
.m2m-logo__two {
  display: inline-grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: var(--m2m-blue-tint);
  color: var(--m2m-blue-700);
  font-size: 0.82em;
  vertical-align: 0.06em;
}

/* 03 Reveal system -------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .m2m-js [data-reveal] {
    opacity: 0;
    transition:
      opacity 0.9s ease var(--m2m-delay, 0s),
      transform 1.1s var(--m2m-ease-out) var(--m2m-delay, 0s),
      clip-path 1.25s var(--m2m-ease-wipe) var(--m2m-delay, 0s),
      filter 0.9s ease var(--m2m-delay, 0s);
  }
  .m2m-js [data-reveal="up"] { transform: translateY(34px); }
  .m2m-js [data-reveal="zoom"] { transform: scale(0.96); filter: blur(6px); }
  .m2m-js [data-reveal="clip"] {
    opacity: 1;
    clip-path: inset(10% 5% 10% 5% round var(--m2m-r-xl));
  }

  .m2m-js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .m2m-js [data-reveal="clip"].is-revealed { clip-path: inset(0 0 0 0 round var(--m2m-r-xl)); }

  /* Images inside clip reveals settle from a gentle zoom */
  .m2m-js [data-reveal="clip"] img {
    transform: scale(1.12);
    transition: transform 1.6s var(--m2m-ease-out) var(--m2m-delay, 0s);
  }
  .m2m-js [data-reveal="clip"].is-revealed img { transform: none; }
}

/* 04 Header --------------------------------------------------------------- */
.m2m-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.m2m-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 16px;
  padding: 16px 16px 0;
  transition: padding 0.35s;
}

.m2m-header__brand {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
}

.m2m-header__meta {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--m2m-ink-soft);
  transition: opacity 0.3s, visibility 0.3s;
}
.m2m-header__meta li { display: inline-flex; align-items: center; gap: 7px; }

.m2m-tick {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--m2m-line);
  background: #fff;
  font-size: 0.65rem;
  color: var(--m2m-blue);
}
.m2m-tick .m2m-ico { stroke-width: 2.6; }

.m2m-header__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.m2m-nav {
  gap: 2px;
  padding: 5px;
  background: #fff;
  border-radius: var(--m2m-r-pill);
  box-shadow: var(--m2m-shadow-1);
}
.m2m-nav a {
  padding: 9px 14px;
  white-space: nowrap;
  border-radius: var(--m2m-r-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--m2m-ink-soft);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.m2m-nav a:hover { color: var(--m2m-ink); background: var(--m2m-paper); }
.m2m-nav a.is-active { color: var(--m2m-blue-700); background: var(--m2m-blue-tint); }

.m2m-header__actions { display: flex; align-items: center; gap: 10px; }
.m2m-header__login {
  display: none;
  align-items: center;
  white-space: nowrap;
  height: 42px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--m2m-ink);
  text-decoration: none;
}
.m2m-header__login:hover { color: var(--m2m-blue); }

.m2m-header.is-scrolled {
  background: rgba(245, 247, 250, 0.82);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 var(--m2m-line);
}
.m2m-header.is-scrolled .m2m-header__grid { padding-top: 0; }
.m2m-header.is-scrolled .m2m-header__brand,
.m2m-header.is-scrolled .m2m-header__nav-wrap { padding-block: 10px; }
.m2m-header.is-scrolled .m2m-header__meta { opacity: 0; visibility: hidden; }

/* Offcanvas */
.m2m-offcanvas { --bs-offcanvas-width: min(360px, 88vw); background: var(--m2m-paper); border: 0 !important; }
.m2m-offcanvas .offcanvas-header { padding: 20px 20px 8px; }
.m2m-offcanvas__title { font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.1rem; }
.m2m-offcanvas .offcanvas-body { display: flex; flex-direction: column; gap: 24px; padding: 12px 20px 28px; }
.m2m-offcanvas__nav { display: flex; flex-direction: column; }
.m2m-offcanvas__nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--m2m-line);
  font-family: var(--m2m-font-head);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--m2m-ink);
  text-decoration: none;
}
.m2m-offcanvas__nav a:hover { color: var(--m2m-blue); }

/* 05 Hero ----------------------------------------------------------------- */
.m2m-hero { padding: 16px; }

.m2m-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 16px;
  min-height: max(780px, calc(100svh - 32px));
  max-width: 1720px;
  margin-inline: auto;
}

.m2m-hero__intro {
  display: flex;
  flex-direction: column;
  padding: 112px clamp(16px, 3.5vw, 56px) 16px;
}

.m2m-hero__intro-inner {
  width: 100%;
  margin-block: auto;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.m2m-hero__title {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 104;
  margin: 28px 0 22px;
}

.m2m-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.m2m-word > span { display: inline-block; padding: 0 3px;}

.m2m-hero__lead {
  font-size: 1.075rem;
  color: var(--m2m-ink-soft);
  max-width: 48ch;
  margin: 0 auto 34px;
}

/* Sign-up field */
.m2m-signup {
  display: flex;
  gap: 8px;
  max-width: 470px;
  margin: 0 auto;
  padding: 7px;
  background: #fff;
  border-radius: var(--m2m-r-pill);
  box-shadow: 0 0 0 1px var(--m2m-line), 0 22px 44px -26px rgba(13, 53, 97, 0.4);
  transition: box-shadow 0.25s;
}
.m2m-signup:focus-within { box-shadow: 0 0 0 2px var(--m2m-blue), 0 22px 44px -26px rgba(13, 53, 97, 0.4); }
.m2m-signup input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--m2m-ink);
  outline: none;
}
.m2m-signup input::placeholder { color: var(--m2m-ink-mute); }
.m2m-signup input[aria-invalid="true"] { color: var(--m2m-danger); }

.m2m-signup__msg {
  min-height: 1.5em;
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--m2m-ink-mute);
}
.m2m-signup__msg.is-error { color: var(--m2m-danger); }
.m2m-signup__msg.is-success { color: var(--m2m-success); }

/* Fan of example plans */
.m2m-hero__plans {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 36px;
}
.m2m-hero__plans > p {
  margin: 0;
  font-family: var(--m2m-font-head);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: right;
}

.m2m-fan { display: flex; margin: 0; padding: 0 0 0 14px; list-style: none; }
.m2m-fan__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 66px;
  height: 92px;
  margin-left: -16px;
  padding: 9px 8px;
  border-radius: 14px;
  background: var(--c);
  color: var(--fg, var(--m2m-ink));
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.1;
  transform: rotate(var(--r));
  box-shadow: 0 0 0 1px rgba(20, 36, 59, 0.06), 0 12px 22px -12px rgba(13, 53, 97, 0.55);
  transition: transform 0.5s var(--m2m-ease-out), margin 0.5s var(--m2m-ease-out);
}
.m2m-fan__tile .m2m-ico { font-size: 1.05rem; }
.m2m-fan__tile b {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 22%, transparent);
  overflow: hidden;
}
.m2m-fan__tile b i { display: block; width: var(--w); height: 100%; background: currentColor; border-radius: inherit; }
.m2m-fan:hover .m2m-fan__tile { margin-left: 6px; transform: rotate(0) translateY(-4px); }

/* Panel */
.m2m-hero__panel {
  position: relative;
  padding: 100px 18px 18px;
  border-radius: var(--m2m-r-xl);
  background:
    radial-gradient(55% 40% at 88% 8%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(25, 113, 205, 0.12), transparent 70%),
    linear-gradient(160deg, #e6effa 0%, #d5e4f6 100%);
  overflow: hidden;
}

.m2m-hero__panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 14px;
  height: 100%;
}

.m2m-hero__col { display: flex; flex-direction: column; gap: 14px; min-height: 0; }

.m2m-hero__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.m2m-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
}
.m2m-tile__ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
}
.m2m-tile__label { font-size: 0.74rem; color: var(--m2m-ink-mute); }
.m2m-tile__value {
  font-family: var(--m2m-font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.m2m-tile__meta { font-size: 0.7rem; color: var(--m2m-ink-soft); }

.m2m-hero__photo {
  position: relative;
  flex: 1;
  min-height: 250px;
  margin: 0;
  border-radius: var(--m2m-r-lg);
  overflow: hidden;
  /* background: linear-gradient(160deg, #a9c8ec, #5b8dc6); */
}
.m2m-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.m2m-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: var(--m2m-shadow-float);
}
.m2m-float small { display: block; font-size: 0.68rem; font-weight: 500; color: var(--m2m-ink-mute); font-variant-numeric: tabular-nums; }
.m2m-float__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--bg);
  color: var(--fg);
}
.m2m-float--a { top: 16px; left: 16px; }
.m2m-float--b { top: 37%; right: 14px; }
.m2m-float--c { bottom: 16px; left: 16px; }

.m2m-hero__panel-head { padding: 4px 6px 2px; }
.m2m-hero__panel-head h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.m2m-hero__panel-head p { margin: 0; font-size: 0.84rem; color: var(--m2m-ink-soft); max-width: 32ch; }

.m2m-hero__note {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  padding: 26px 24px;
  border-radius: var(--m2m-r-lg);
  background: var(--m2m-butter);
}
.m2m-hero__note p {
  margin: 0;
  max-width: min(8.6em, calc(100% - 64px));
  font-family: var(--m2m-font-head);
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.m2m-hero__scribble {
  position: absolute;
  top: 16px;
  right: 12px;
  width: clamp(92px, 9vw, 132px);
  fill: none;
  stroke: var(--m2m-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m2m-medal {
  position: absolute;
  right: 22px;
  bottom: -26px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: var(--m2m-blue);
  color: #fff;
  font-size: 1.6rem;
  transform: rotate(-8deg);
  box-shadow: 0 14px 30px -10px rgba(25, 113, 205, 0.7);
}

.m2m-goal { padding: 20px 18px 10px; border-radius: var(--m2m-r-lg); background: #fff; }
.m2m-goal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.m2m-goal__title { display: block; font-family: var(--m2m-font-head); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.m2m-goal__sub { display: block; font-size: 0.74rem; color: var(--m2m-ink-mute); }
.m2m-goal__pct { font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.05rem; color: var(--m2m-blue); }
.m2m-goal .m2m-progress { margin: 12px 0 8px; }
.m2m-goal__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--m2m-line);
}
.m2m-goal__row:first-of-type { border-top: 0; }
.m2m-goal__ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg);
}
.m2m-goal__txt { font-size: 0.8rem; font-weight: 600; line-height: 1.25; }
.m2m-goal__txt small { display: block; font-weight: 400; font-size: 0.7rem; color: var(--m2m-ink-mute); }
.m2m-goal__amt { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--m2m-success); font-variant-numeric: tabular-nums; }

/* Hero load sequence */
@media (prefers-reduced-motion: no-preference) {
  .m2m-js .m2m-header { opacity: 0; transform: translateY(-14px); }
  .m2m-ready .m2m-header {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease 0.5s, transform 0.9s var(--m2m-ease-out) 0.5s, background-color 0.35s, box-shadow 0.35s;
  }

  .m2m-js .m2m-hero [data-hero-step] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease var(--d, 0s), transform 0.9s var(--m2m-ease-out) var(--d, 0s);
  }
  .m2m-ready .m2m-hero [data-hero-step] { opacity: 1; transform: none; }

  .m2m-js .m2m-word > span {
    transform: translateY(108%);
    transition: transform 1s var(--m2m-ease-out) calc(0.35s + var(--i, 0) * 0.055s);
  }
  .m2m-ready .m2m-word > span { transform: none; }

  .m2m-js .m2m-hero__panel {
    clip-path: inset(0 0 0 100% round var(--m2m-r-xl));
    transition: clip-path 1.3s var(--m2m-ease-wipe) 0.1s;
  }
  .m2m-ready .m2m-hero__panel { clip-path: inset(0 0 0 0 round var(--m2m-r-xl)); }

  .m2m-js .m2m-hero [data-hero-pop] {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    transition: opacity 0.7s ease var(--d, 0s), transform 0.95s var(--m2m-ease-out) var(--d, 0s);
  }
  .m2m-ready .m2m-hero [data-hero-pop] { opacity: 1; transform: none; }

  .m2m-js .m2m-hero__photo img { transform: scale(1.18); transition: transform 1.8s var(--m2m-ease-out) 0.9s; }
  .m2m-ready .m2m-hero__photo img { transform: none; }

  .m2m-js .m2m-scribble__line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.3s ease-in-out 1.45s; }
  .m2m-js .m2m-scribble__head { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.4s ease-out 2.7s; }
  .m2m-ready .m2m-scribble__line,
  .m2m-ready .m2m-scribble__head { stroke-dashoffset: 0; }

  .m2m-js .m2m-medal { transform: scale(0) rotate(-60deg); transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.75s; }
  .m2m-ready .m2m-medal { transform: rotate(-8deg); }

  .m2m-js .m2m-goal .m2m-progress > span { width: 0; transition: width 1.5s var(--m2m-ease-out) 1.7s; }
  .m2m-ready .m2m-goal .m2m-progress > span { width: var(--v); }
}

/* 06 Features ------------------------------------------------------------- */
.m2m-stack-title {
  margin: 0;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-variation-settings: "wdth" 108;
}
.m2m-stack-title > span { display: block; }
.m2m-stack-title .is-muted { color: var(--m2m-ink-faint); }

.m2m-features__intro { margin: 0 0 0.6em; max-width: 36ch; color: var(--m2m-ink-soft); }

.m2m-feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 64px 0 24px;
}

.m2m-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 0;
  border-radius: var(--m2m-r-md);
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.m2m-feature-item:hover,
.m2m-feature-item.is-active { background: #fff; box-shadow: var(--m2m-shadow-1); }
.m2m-feature-item.is-active .m2m-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--m2m-blue); }

.m2m-feature-item__title {
  display: block;
  font-family: var(--m2m-font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.m2m-feature-item__desc { display: block; margin-top: 3px; font-size: 0.82rem; line-height: 1.4; color: var(--m2m-ink-mute); }

/* Feature thumbnails */
.m2m-thumb {
  position: relative;
  flex: none;
  width: 84px;
  height: 60px;
  border-radius: var(--m2m-r-sm);
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.m2m-thumb i { display: block; }
.m2m-thumb--list { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 14px; }
.m2m-thumb--list i { height: 6px; border-radius: 4px; background: #fff; }
.m2m-thumb--list i:nth-child(1) { width: 78%; }
.m2m-thumb--list i:nth-child(2) { width: 56%; background: var(--m2m-blue); }
.m2m-thumb--list i:nth-child(3) { width: 68%; }
.m2m-thumb--donut { display: grid; place-items: center; }
.m2m-thumb--donut i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(#5aa0e6 0 42%, var(--m2m-butter-deep) 0 68%, #7fb592 0 84%, rgba(255, 255, 255, 0.2) 0);
  -webkit-mask: radial-gradient(circle, transparent 9px, #000 10px);
  mask: radial-gradient(circle, transparent 9px, #000 10px);
}
.m2m-thumb--bars { display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 12px 16px; }
.m2m-thumb--bars i { width: 9px; height: var(--h); border-radius: 3px; background: #fff; }
.m2m-thumb--bars i:nth-child(4) { background: var(--m2m-ink); }
.m2m-thumb--tags { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 4px; padding: 0 10px; }
.m2m-thumb--tags i { width: 18px; height: 9px; border-radius: 6px; background: #fff; }
.m2m-thumb--tags i:nth-child(2) { width: 26px; background: var(--m2m-sage-deep); }
.m2m-thumb--tags i:nth-child(4) { width: 24px; }

/* Transaction icon (also used by the How it works demos) */
.m2m-txn { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef2f7; }
.m2m-txn__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
}
.m2m-txn__name { font-weight: 600; line-height: 1.2; }
.m2m-txn__name small { display: block; font-weight: 400; font-size: 0.65rem; color: var(--m2m-ink-mute); }
.m2m-txn b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.m2m-txn b.is-in { color: var(--m2m-success); }

/* Feature cards: photo + UI ------------------------------------------------ */
.m2m-fx {
  --fx-pad: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.m2m-fx__card {
  position: relative;
  isolation: isolate;
  grid-column: span 5;
  height: 460px;
  padding: var(--fx-pad);
  border-radius: var(--m2m-r-xl);
  overflow: hidden;
  color: #fff;
  /* Shown if a photo fails to load, dark enough for the white UI */
  background: linear-gradient(150deg, #3b78b8 0%, var(--m2m-deep) 60%, var(--m2m-deep-2) 100%);
}
.m2m-fx__card--wide { grid-column: span 7; }

.m2m-fx__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrim: darker top and bottom for the text, photo stays clear in the middle */
.m2m-fx__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 29, 54, 0.6) 0%, rgba(8, 29, 54, 0.12) 34%, rgba(8, 29, 54, 0.08) 56%, rgba(8, 29, 54, 0.58) 100%);
}

/* Highlight ring, drawn inside the card so the clip reveal can't cut it off */
.m2m-fx__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px var(--m2m-blue), inset 0 0 0 6px rgba(255, 255, 255, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.m2m-feature-list:is(:hover, :focus-within) ~ .m2m-fx .m2m-fx__card.is-active::after,
.m2m-fx__card.is-pinged::after { opacity: 1; }
.m2m-feature-list:is(:hover, :focus-within) ~ .m2m-fx .m2m-fx__card:not(.is-active) { filter: saturate(0.55) brightness(0.82); }

/* Shared pieces */
.m2m-fx__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.m2m-fx__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 15px;
  border-radius: var(--m2m-r-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  font-size: 0.84rem;
  font-weight: 600;
}
.m2m-fx__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--m2m-ink);
  font-size: 1.1rem;
  transition: transform 0.5s var(--m2m-ease-out), background-color 0.25s, color 0.25s;
}
.m2m-fx__go:hover { background: #fff; color: var(--m2m-blue); }
.m2m-fx__card:hover .m2m-fx__go { transform: rotate(45deg); }

.m2m-fx__total { position: relative; z-index: 2; margin-top: 18px; }
.m2m-fx__total small { display: block; font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.m2m-fx__total b,
.m2m-fx__big {
  display: block;
  font-family: var(--m2m-font-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 18px rgba(8, 29, 54, 0.35);
}
.m2m-fx__total b { font-size: clamp(2rem, 1.5rem + 1.3vw, 2.75rem); }

.m2m-fx__panel {
  position: absolute;
  left: var(--fx-pad);
  right: var(--fx-pad);
  bottom: var(--fx-pad);
  z-index: 2;
  padding: 16px 18px;
  border-radius: var(--m2m-r-lg);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  color: var(--m2m-ink-soft);
  box-shadow: var(--m2m-shadow-float);
}
.m2m-fx__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m2m-fx__panel-head b { font-family: var(--m2m-font-head); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; color: var(--m2m-ink); }
.m2m-fx__panel p { margin: 2px 0 12px; font-size: 0.86rem; line-height: 1.45; }
.m2m-fx__edit {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--m2m-panel);
  color: var(--m2m-ink);
}

/* Expense: weekly bars */
.m2m-week { position: absolute; left: var(--fx-pad); right: var(--fx-pad); bottom: 14px; height: 54%; }
.m2m-week__grid { position: absolute; inset: 0 0 30px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.m2m-week__grid i { height: 1px; background: rgba(255, 255, 255, 0.24); }
.m2m-week__bars { position: relative; display: flex; gap: clamp(6px, 1.3vw, 14px); height: 100%; }
.m2m-week__col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.m2m-week__track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.m2m-week__bar {
  position: relative;
  width: 100%;
  height: var(--h);
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2));
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 3px 0 var(--m2m-butter-deep);
}
.m2m-week__bar::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--m2m-ink);
  border: 2.5px solid #fff;
}
.m2m-week__bar em {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--m2m-butter);
  color: var(--m2m-ink);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s, transform 0.4s var(--m2m-ease-out);
  pointer-events: none;
}
.m2m-week__col.is-active .m2m-week__bar { background: #fff; }
.m2m-week__col.is-active em { opacity: 1; transform: translate(-50%, 0); }
.m2m-week__col small { height: 20px; font-size: 0.8rem; font-weight: 600; color: #fff; }

/* Insights: overview split */
.m2m-fx__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 6px; text-align: center; }
.m2m-fx__pill { padding: 6px 14px; border-radius: var(--m2m-r-pill); background: #fff; color: var(--m2m-ink); font-size: 0.8rem; font-weight: 600; }
.m2m-fx__big { margin-top: 8px; font-size: clamp(2.6rem, 2rem + 1.8vw, 3.4rem); font-weight: 700; }

.m2m-split { width: 100%; margin-top: 14px; }
.m2m-split__line {
  position: relative;
  display: block;
  height: 22px;
  margin: 0 16.666%;
  border: 1.5px dashed rgba(255, 255, 255, 0.78);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  clip-path: inset(-14px 0 0 0);
}
.m2m-split__line::before { content: ""; position: absolute; left: 50%; top: -14px; bottom: 0; border-left: 1.5px dashed rgba(255, 255, 255, 0.78); }

.m2m-split__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.m2m-split__chips li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
  padding: 8px 6px;
  border-radius: var(--m2m-r-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--m2m-ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--m2m-shadow-1);
}
.m2m-split__chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.m2m-split__chips b { color: var(--m2m-ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.m2m-compare { position: relative; height: 8px; border-radius: var(--m2m-r-pill); background: var(--m2m-blue-tint); }
.m2m-compare i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--m2m-blue), #5aa0e6); }
.m2m-compare span { position: absolute; top: -4px; left: var(--x); width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--m2m-ink); }
.m2m-compare__legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 0.8rem; }
.m2m-compare__legend span { display: inline-flex; align-items: center; gap: 6px; }
.m2m-compare__legend i { width: 3px; height: 12px; border-radius: 2px; background: var(--m2m-ink); }
.m2m-compare__legend span + span i { width: 8px; height: 8px; border-radius: 50%; background: var(--m2m-blue); }
.m2m-compare__legend b { color: var(--m2m-ink); font-variant-numeric: tabular-nums; }

/* Income: payment feed */
.m2m-feed { position: absolute; left: var(--fx-pad); right: var(--fx-pad); bottom: var(--fx-pad); z-index: 2; display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.m2m-feed li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: var(--m2m-r-md);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--m2m-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: var(--m2m-shadow-1);
}
.m2m-feed .m2m-txn__ico { width: 36px; height: 36px; border-radius: 11px; }
.m2m-feed li small { display: block; font-size: 0.76rem; font-weight: 400; color: var(--m2m-ink-mute); }
.m2m-feed li b { margin-left: auto; color: var(--m2m-success); font-variant-numeric: tabular-nums; }

/* Categories: tags + split bar */
.m2m-tags { position: absolute; top: 80px; right: var(--fx-pad); z-index: 1; width: 48%; height: 44%; list-style: none; margin: 0; padding: 0; }
.m2m-tags li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--m2m-r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--m2m-ink);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--m2m-shadow-float);
  transform: rotate(var(--r));
}
.m2m-tags li i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }

.m2m-fx__panel--left { right: auto; width: min(58%, 420px); }
.m2m-seg { display: flex; gap: 3px; height: 12px; margin: 12px 0 14px; }
.m2m-seg i { width: var(--w); border-radius: 3px; background: var(--c); transition: opacity 0.3s; }
.m2m-seg i:first-child { border-radius: 6px 3px 3px 6px; }
.m2m-seg i:last-child { border-radius: 3px 6px 6px 3px; }
.m2m-seg__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; list-style: none; margin: 0; padding: 0; font-size: 0.82rem; }
.m2m-seg__legend li { display: flex; align-items: center; gap: 7px; cursor: default; transition: opacity 0.3s; }
.m2m-seg__legend li i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.m2m-seg__legend li b { margin-left: auto; color: var(--m2m-ink); font-variant-numeric: tabular-nums; }
.m2m-seg .is-dim,
.m2m-seg__legend .is-dim { opacity: 0.28; }

/* Feature card motion: plays once each card's clip reveal starts */
@media (prefers-reduced-motion: no-preference) {
  /* Keep the reveal timings, but let the dimming respond without delay */
  .m2m-js .m2m-fx .m2m-fx__card {
    transition:
      opacity 0.9s ease var(--m2m-delay, 0s),
      transform 1.1s var(--m2m-ease-out) var(--m2m-delay, 0s),
      clip-path 1.25s var(--m2m-ease-wipe) var(--m2m-delay, 0s),
      filter 0.45s ease;
  }
  .m2m-js .m2m-fx .m2m-fx__card.is-revealed:hover .m2m-fx__img { transform: scale(1.045); }

  .m2m-js .m2m-fx__card .m2m-fx__panel { transition: opacity 0.8s ease, transform 0.9s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 0.7s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-fx__panel { opacity: 0; transform: translateY(24px); }

  .m2m-js .m2m-fx__card .m2m-week__bar { transition: height 1.1s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 0.45s + var(--i) * 0.07s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-week__bar { height: 0; }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-week__col em { opacity: 0; }

  .m2m-js .m2m-fx__card .m2m-split__line { transition: clip-path 1s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 0.6s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-split__line { clip-path: inset(-14px 50% 0 50%); }

  .m2m-js .m2m-fx__card .m2m-split__chips li { transition: opacity 0.6s ease, transform 0.7s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 0.95s + var(--i) * 0.1s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-split__chips li { opacity: 0; transform: translateY(10px); }

  .m2m-js .m2m-fx__card .m2m-compare i { transition: width 1.2s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 1.1s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-compare i { width: 0; }

  .m2m-js .m2m-fx__card .m2m-feed li { transition: opacity 0.7s ease, transform 0.8s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 0.6s + var(--i) * 0.15s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-feed li { opacity: 0; transform: translateX(28px); }

  .m2m-js .m2m-fx__card .m2m-tags li { transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--m2m-delay, 0s) + 0.55s + var(--i) * 0.11s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-tags li { opacity: 0; transform: translateY(-36px) rotate(0deg); }
  .m2m-js .m2m-fx__card--cats.is-settled:hover .m2m-tags li { transform: translateY(-3px) rotate(0deg); transition-delay: calc(var(--i) * 0.04s); }

  .m2m-js .m2m-fx__card .m2m-seg { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--m2m-ease-out); transition-delay: calc(var(--m2m-delay, 0s) + 1s); }
  .m2m-js .m2m-fx__card:not(.is-revealed) .m2m-seg { clip-path: inset(0 100% 0 0); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hold the busiest-day label until its bar has grown */
  .m2m-js .m2m-fx__card.is-revealed:not(.is-settled) .m2m-week__col.is-active em { transition-delay: calc(var(--m2m-delay, 0s) + 1.4s); }
}

@media (max-width: 1199.98px) {
  .m2m-fx__card { height: 440px; }
  .m2m-split__chips li { font-size: 0.76rem; }
}

@media (max-width: 991.98px) {
  .m2m-fx { grid-template-columns: 1fr 1fr; }
  .m2m-fx .m2m-fx__card { grid-column: auto; }
  .m2m-fx .m2m-fx__card--wide { grid-column: 1 / -1; }
  .m2m-fx .m2m-fx__card { height: 480px; }
  .m2m-fx .m2m-fx__card--wide { height: 440px; }
  .m2m-split__chips { gap: 6px; }
  .m2m-split__chips li { padding: 7px 4px; }
}

@media (max-width: 575.98px) {
  .m2m-fx { --fx-pad: 16px; grid-template-columns: 1fr; gap: 12px; }
  .m2m-fx .m2m-fx__card { height: 430px; border-radius: var(--m2m-r-lg); }
  .m2m-fx .m2m-fx__card--cats { height: 500px; }
  .m2m-fx__tag { padding: 7px 13px; font-size: 0.78rem; }
  .m2m-week { height: 50%; }
  .m2m-week__bars { gap: 5px; }
  .m2m-week__col small { font-size: 0.7rem; }
  .m2m-week__bar { border-radius: 8px 8px 4px 4px; }
  .m2m-week__bar em { font-size: 0.72rem; }
  .m2m-tags { top: 76px; left: var(--fx-pad); width: auto; height: 36%; }
  .m2m-fx__panel--left { right: var(--fx-pad); width: auto; }
}

/* 07 About ---------------------------------------------------------------- */
.m2m-about { padding-top: 0; }
.m2m-about__head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.m2m-about__head .m2m-lead { margin-inline: auto; }
.m2m-about__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.m2m-about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
  gap: 16px;
  height: 400px;
}
.m2m-about__card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px;
  border-radius: var(--m2m-r-lg);
  overflow: hidden;
}
.m2m-about__card p { margin: 0; font-size: 0.94rem; line-height: 1.5; }
.m2m-about__card--img { padding: 0; background: linear-gradient(160deg, var(--m2m-sky), #8fb3dd); }
.m2m-about__card--img img { width: 100%; height: 100%; object-fit: cover; }
.m2m-about__card--blue { background: var(--m2m-blue); color: #fff; }
.m2m-about__card--blue p { max-width: 26ch; opacity: 0.92; }
.m2m-about__card--deep { background: var(--m2m-deep); color: #fff; }
.m2m-about__card--deep p { opacity: 0.72; }
.m2m-about__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 1.1rem; }
.m2m-about__stat {
  display: block;
  margin-top: auto;
  font-family: var(--m2m-font-head);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.m2m-about__stat small { display: block; margin-top: 6px; font-family: var(--m2m-font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; opacity: 0.8; }
.m2m-about__card--deep .m2m-about__stat { margin-bottom: 18px; }

/* 08 How it works --------------------------------------------------------- */
.m2m-how { padding-block: clamp(32px, 4vw, 64px); }

.m2m-how__frame {
  margin: 0 16px;
  padding: clamp(12px, 2.4vw, 36px);
  border-radius: var(--m2m-r-frame);
  background:
    radial-gradient(70% 60% at 0% 100%, #b4caee 0%, transparent 60%),
    radial-gradient(60% 60% at 100% 0%, #cdd0f6 0%, transparent 60%),
    linear-gradient(160deg, #d8e3f6, #c8d5f2);
}
.m2m-how__card { padding: clamp(48px, 6vw, 84px) 0 40px; border-radius: var(--m2m-r-xl); background: #fcfdff; overflow: hidden; }
.m2m-how__head { max-width: 760px; margin: 0 auto 52px; padding: 0 24px; text-align: center; }

.m2m-steps {
  --m2m-gutter: max(24px, calc((100% - 1120px) / 2));
  position: relative;
  display: flex;
  gap: 28px;
  padding: 4px var(--m2m-gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--m2m-gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.m2m-steps::-webkit-scrollbar { display: none; }
.m2m-steps:focus-visible { outline-offset: -4px; }

.m2m-step { flex: 0 0 min(540px, 84%); scroll-snap-align: start; }

.m2m-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.m2m-step__head h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 500; letter-spacing: -0.03em; }
.m2m-step__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--fg); font-size: 1.1rem; }
.m2m-step__tag { padding: 5px 12px; border-radius: 9px; background: #eef2f7; font-size: 0.8rem; font-weight: 500; color: var(--m2m-ink-soft); white-space: nowrap; }

.m2m-step__stage { position: relative; height: 320px; border-radius: var(--m2m-r-lg); background: var(--grad); overflow: hidden; }

.m2m-step__pill {
  position: absolute;
  top: 38px;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 4px solid #fff;
  border-radius: var(--m2m-r-md);
  background: var(--pill);
  font-family: var(--m2m-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 14px 30px -14px rgba(13, 53, 97, 0.5);
}

.m2m-step__screen {
  position: absolute;
  inset: 72px 32px 0;
  padding: 50px 22px 18px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -10px 30px -22px rgba(13, 53, 97, 0.45);
  font-size: 0.84rem;
}

.m2m-step__desc { max-width: 36ch; margin: 22px 0 0; font-size: 1.04rem; color: var(--m2m-ink-mute); }
.m2m-step__desc strong { color: var(--m2m-ink); font-weight: 600; }

.m2m-how__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 30px max(24px, calc((100% - 1120px) / 2)) 0;
}
.m2m-dots { display: flex; gap: 8px; }
.m2m-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--m2m-r-pill);
  background: #cdd7e4;
  transition: width 0.35s var(--m2m-ease-out), background-color 0.35s;
}
.m2m-dots button[aria-current="true"] { width: 30px; background: var(--m2m-blue); }
.m2m-arrows { display: flex; gap: 10px; }

/* Demo UI shared */
.m2m-demo__title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; }
.m2m-demo__muted { font-family: var(--m2m-font-body); font-size: 0.78rem; font-weight: 500; color: var(--m2m-ink-mute); font-variant-numeric: tabular-nums; }
.m2m-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid var(--m2m-line);
  border-radius: var(--m2m-r-sm);
}
.m2m-field span { color: var(--m2m-ink-mute); }
.m2m-field b { display: inline-flex; align-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.m2m-field:nth-of-type(3) { border-color: var(--m2m-blue); box-shadow: 0 0 0 3px rgba(25, 113, 205, 0.12); }

.m2m-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 9ch; vertical-align: bottom; }
.m2m-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: var(--m2m-blue); }

.m2m-demo__toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--m2m-r-sm);
  background: #e9f4ee;
  color: #1f6b48;
  font-weight: 600;
  font-size: 0.82rem;
}
.m2m-demo__toast span { margin-left: auto; font-variant-numeric: tabular-nums; }

.m2m-demo-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f7; }
.m2m-demo-row__name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-weight: 600; line-height: 1.1; }
.m2m-demo-row b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.m2m-cat { padding: 2px 8px; border-radius: 6px; background: var(--bg); color: var(--fg); font-size: 0.66rem; font-weight: 600; }

@property --m2m-p { syntax: "<number>"; inherits: false; initial-value: 72; }
@property --m2m-n { syntax: "<integer>"; inherits: false; initial-value: 430; }

.m2m-budget { display: flex; align-items: center; gap: 20px; }
.m2m-ring {
  --m2m-p: 72;
  display: grid;
  place-items: center;
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: conic-gradient(var(--m2m-blue) calc(var(--m2m-p) * 1%), #e6edf6 0);
}
.m2m-ring__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  line-height: 1.1;
}
.m2m-ring__in small { font-size: 0.65rem; color: var(--m2m-ink-mute); }
.m2m-ring__num { --m2m-n: 430; counter-reset: m2mnum var(--m2m-n); font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m2m-ring__num::after { content: "$" counter(m2mnum); }
.m2m-budget__name { display: block; font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.1rem; }
.m2m-budget__hint { display: block; font-size: 0.78rem; color: var(--m2m-ink-mute); line-height: 1.4; }

.m2m-slider { position: relative; height: 6px; margin-top: 22px; border-radius: 6px; background: #e6edf6; }
.m2m-slider__fill { position: absolute; inset: 0 auto 0 0; width: 72%; border-radius: inherit; background: var(--m2m-blue); }
.m2m-slider__thumb {
  position: absolute;
  top: 50%;
  left: 72%;
  width: 20px;
  height: 20px;
  border: 4px solid var(--m2m-blue);
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px -2px rgba(13, 53, 97, 0.35);
}
.m2m-slider__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.7rem; color: var(--m2m-ink-mute); }

.m2m-goalchart { display: block; width: 100%; height: 66px; margin: 4px 0 12px; }
.m2m-goalchart__area { fill: rgba(25, 113, 205, 0.09); }
.m2m-goalchart__line { fill: none; stroke: var(--m2m-blue); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 340; }
.m2m-progress--demo > span { width: 100%; }

.m2m-goal-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--m2m-r-pill);
  background: var(--m2m-ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.m2m-goal-badge i { position: absolute; width: 6px; height: 6px; border-radius: 2px; opacity: 0; }
.m2m-goal-badge i:nth-of-type(1) { top: -10px; left: 12px; background: var(--m2m-butter-deep); }
.m2m-goal-badge i:nth-of-type(2) { top: -14px; right: 20px; background: var(--m2m-blue); }
.m2m-goal-badge i:nth-of-type(3) { bottom: -10px; right: 6px; background: #7fb592; }
.m2m-goal-badge i:nth-of-type(4) { top: 10px; left: -12px; background: #8c95d6; }

/* Demo animations — paused until the step is in view */
@media (prefers-reduced-motion: no-preference) {
  .m2m-step [data-anim],
  .m2m-step--income .m2m-type,
  .m2m-step--income .m2m-caret,
  .m2m-step--income .m2m-demo__toast,
  .m2m-step .m2m-step__pill,
  .m2m-step--expense .m2m-demo-row,
  .m2m-step--expense .m2m-cat,
  .m2m-step--budget .m2m-ring,
  .m2m-step--budget .m2m-ring__num,
  .m2m-step--budget .m2m-slider__fill,
  .m2m-step--budget .m2m-slider__thumb,
  .m2m-step--goal .m2m-goalchart__line,
  .m2m-step--goal .m2m-progress--demo > span,
  .m2m-step--goal .m2m-goal-badge,
  .m2m-step--goal .m2m-goal-badge i {
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-play-state: paused;
  }
  .m2m-step.is-playing * { animation-play-state: running !important; }

  .m2m-step__pill { animation-name: m2m-press; }
  .m2m-step--income .m2m-type { animation-name: m2m-type; animation-timing-function: steps(9, end); }
  .m2m-step--income .m2m-caret { animation: m2m-blink 1s steps(1) infinite paused; }
  .m2m-step--income .m2m-demo__toast { animation-name: m2m-toast; }

  .m2m-step--expense .m2m-demo-row { animation-name: m2m-row; animation-delay: calc(var(--i) * 0.45s); }
  .m2m-step--expense .m2m-cat { animation-name: m2m-cat; animation-delay: calc(var(--i) * 0.45s); }

  .m2m-step--budget .m2m-ring { animation-name: m2m-ring; animation-timing-function: var(--m2m-ease); }
  .m2m-step--budget .m2m-ring__num { animation-name: m2m-num; animation-timing-function: var(--m2m-ease); }
  .m2m-step--budget .m2m-slider__fill { animation-name: m2m-fill; animation-timing-function: var(--m2m-ease); }
  .m2m-step--budget .m2m-slider__thumb { animation-name: m2m-thumb; animation-timing-function: var(--m2m-ease); }

  .m2m-step--goal .m2m-goalchart__line { animation-name: m2m-draw; animation-timing-function: ease-in-out; }
  .m2m-step--goal .m2m-progress--demo > span { animation-name: m2m-grow; animation-timing-function: var(--m2m-ease); }
  .m2m-step--goal .m2m-goal-badge { animation-name: m2m-badge; }
  .m2m-step--goal .m2m-goal-badge i { animation-name: m2m-confetti; }
}

@keyframes m2m-press {
  0%, 52% { transform: translateX(-50%) scale(1); }
  56% { transform: translateX(-50%) scale(0.92); }
  62%, 100% { transform: translateX(-50%) scale(1); }
}
@keyframes m2m-type { 0%, 10% { width: 0; } 42%, 100% { width: 9ch; } }
@keyframes m2m-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes m2m-toast {
  0%, 56% { opacity: 0; transform: translateY(10px); }
  62%, 90% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes m2m-row {
  0%, 6% { opacity: 0; transform: translateX(-16px); }
  14%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes m2m-cat {
  0%, 34% { background: #eef2f7; color: transparent; }
  42%, 100% { background: var(--bg); color: var(--fg); }
}
@keyframes m2m-ring { 0%, 10% { --m2m-p: 30; } 52%, 92% { --m2m-p: 72; } 100% { --m2m-p: 30; } }
@keyframes m2m-num { 0%, 10% { --m2m-n: 180; } 52%, 92% { --m2m-n: 430; } 100% { --m2m-n: 180; } }
@keyframes m2m-fill { 0%, 10% { width: 30%; } 52%, 92% { width: 72%; } 100% { width: 30%; } }
@keyframes m2m-thumb { 0%, 10% { left: 30%; } 52%, 92% { left: 72%; } 100% { left: 30%; } }
@keyframes m2m-draw { 0%, 6% { stroke-dashoffset: 340; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes m2m-grow { 0%, 6% { width: 18%; } 58%, 92% { width: 100%; } 100% { width: 18%; } }
@keyframes m2m-badge {
  0%, 60% { opacity: 0; transform: scale(0.6) translateY(8px); }
  66% { opacity: 1; transform: scale(1.08); }
  70%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(0.9); }
}
@keyframes m2m-confetti {
  0%, 64% { opacity: 0; transform: scale(0); }
  70% { opacity: 1; transform: scale(1.4) rotate(45deg); }
  84%, 100% { opacity: 0; transform: scale(0.6) translateY(-10px) rotate(120deg); }
}

/* 09 Why choose us -------------------------------------------------------- */
.m2m-why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.m2m-why__head .m2m-h2 { max-width: 17ch; margin: 0; }

.m2m-why__grid { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: 16px; }

.m2m-why__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 440px;
  padding: 28px;
  border-radius: 26px;
  overflow: hidden;
}
.m2m-why__card h3 { margin: 0 0 10px; font-size: 1.55rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }
.m2m-why__card p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--m2m-ink-soft); }

.m2m-why__card--plan { background: linear-gradient(175deg, #a6c9ee 0%, #d3e5f8 50%, #e9f1fb 100%); }
.m2m-chipcloud { position: relative; height: 210px; margin: 6px -10px 0; }
.m2m-chipcloud span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 9px 16px;
  border: 1px solid rgba(20, 36, 59, 0.08);
  border-radius: var(--m2m-r-pill);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transform: rotate(var(--r));
  box-shadow: 0 8px 18px -12px rgba(13, 53, 97, 0.45);
  transition: transform 0.5s var(--m2m-ease-out);
}
.m2m-chipcloud .is-dark { background: var(--m2m-ink); color: #fff; }
.m2m-chipcloud .is-blue { background: var(--m2m-blue); color: #fff; }
.m2m-chipcloud .is-butter { background: var(--m2m-butter); }
.m2m-why__card--plan:hover .m2m-chipcloud span { transform: rotate(0) translateY(-3px); }
.m2m-why__body { margin-top: auto; }

.m2m-why__card--track { background: #e8f0fa; }
.m2m-why__big.m2m-why__big { font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.m2m-spend { margin-top: auto; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--m2m-shadow-1); }
.m2m-spend__label { display: block; font-size: 0.74rem; color: var(--m2m-ink-mute); }
.m2m-spend__value { display: block; margin-bottom: 12px; font-family: var(--m2m-font-head); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.m2m-spend__bar { display: flex; gap: 4px; height: 10px; }
.m2m-spend__bar i { width: var(--w); border-radius: 6px; background: var(--c); }
.m2m-spend__legend { display: flex; gap: 16px; margin-top: 10px; font-size: 0.74rem; color: var(--m2m-ink-soft); }
.m2m-spend__legend span { display: inline-flex; align-items: center; gap: 6px; }
.m2m-spend__legend b { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.m2m-why__card--analytics { justify-content: space-between; background: linear-gradient(160deg, #3c6fa6, #0d3561); color: #fff; }
.m2m-why__card--analytics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m2m-why__card--analytics::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 29, 54, 0.55) 0%, rgba(8, 29, 54, 0.1) 40%, rgba(8, 29, 54, 0.82) 100%);
}
.m2m-why__card--analytics > *:not(img) { position: relative; z-index: 2; }
.m2m-why__card--analytics h3 { max-width: 11ch; color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -0.045em; line-height: 0.98; }
.m2m-why__card--analytics p { max-width: 38ch; color: rgba(255, 255, 255, 0.85); }

.m2m-glass-chart {
  position: absolute !important;
  top: 50%;
  right: 28px;
  width: 190px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
}
.m2m-glass-chart__label { display: block; margin-bottom: 10px; font-size: 0.72rem; font-weight: 600; }
.m2m-glass-chart__bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.m2m-glass-chart__bars i { flex: 1; height: var(--h); border-radius: 5px; background: rgba(255, 255, 255, 0.45); }
.m2m-glass-chart__bars i.is-hi { background: var(--m2m-butter); }

/* 10 Pricing -------------------------------------------------------------- */
.m2m-pricing { background: #fff; }
.m2m-pricing__head { max-width: fit-content; margin: 0 auto 56px; text-align: center; }
.m2m-pricing__head .m2m-lead { margin-inline: auto; }

.m2m-plans > li { display: flex; flex: 0 1 100%; }

.m2m-plan {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 8px;
  border: 1px solid var(--m2m-line);
  border-radius: 24px;
  background: #fff;
  transition:
    background-color 0.45s var(--m2m-ease),
    border-color 0.45s var(--m2m-ease),
    transform 0.5s var(--m2m-ease-out),
    box-shadow 0.5s var(--m2m-ease-out);
}
.m2m-plan__top { padding: 18px 14px 20px; }
.m2m-plan__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m2m-plan__name {margin: 0;font-size: 1.35rem;font-weight: 600;letter-spacing: -0.02em;transition: color 0.35s;}
.m2m-plan__badge { padding: 3px 9px; line-height: 1.2; border-radius: var(--m2m-r-pill); background: var(--m2m-butter); color: var(--m2m-ink); font-size: 0.68rem; font-weight: 600; white-space: nowrap; }
.m2m-plan__desc {min-height: 2.6em;margin: 8px 0 16px;font-size: 0.9rem;line-height: 1.5;color: var(--m2m-ink-mute);transition: color 0.35s;}
.m2m-plan__price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 18px; font-family: var(--m2m-font-head); color: var(--m2m-ink); transition: color 0.35s; }
.m2m-plan__price sup { top: 0; align-self: flex-start; margin-top: 0.45em; font-size: 0.95rem; font-weight: 600; }
.m2m-plan__amount { font-size: 2.8rem; font-weight: 600; line-height: 1; letter-spacing: -0.05em; }
.m2m-plan__per { margin-left: 4px; font-family: var(--m2m-font-body); font-size: 0.82rem; color: var(--m2m-ink-mute); transition: color 0.35s; }
.m2m-plan__btn {
  width: 100%;
  height: 44px;
  display: block;
    text-align: center;
    line-height: 44px;
  border: 1px solid var(--m2m-line);
  border-radius: var(--m2m-r-pill);
  background: #fff;
  color: var(--m2m-ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.m2m-plan__btn:hover { border-color: var(--m2m-blue); color: var(--m2m-blue); }
.m2m-plan__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 18px 14px;
  border-radius: 18px;
  background: var(--m2m-panel);
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: background-color 0.45s;
}
.m2m-plan__list li { display: flex; align-items: flex-start; gap: 9px; }
.m2m-plan__list .m2m-ico { margin-top: 1px; color: var(--m2m-blue); stroke-width: 2.4; }

/* Highlighted plan (JS moves this class on hover / focus) */
.m2m-plan.is-highlighted {
  background: var(--m2m-deep);
  border-color: var(--m2m-deep);
  transform: translateY(-10px);
  box-shadow: 0 34px 60px -30px rgba(13, 53, 97, 0.7);
}
.m2m-plan.is-highlighted .m2m-plan__name,
.m2m-plan.is-highlighted .m2m-plan__price { color: #fff; }
.m2m-plan.is-highlighted .m2m-plan__desc,
.m2m-plan.is-highlighted .m2m-plan__per { color: rgba(255, 255, 255, 0.62); }
.m2m-plan.is-highlighted .m2m-plan__btn { background: var(--m2m-butter); border-color: var(--m2m-butter); color: var(--m2m-ink); }
.m2m-plan.is-highlighted .m2m-plan__list { background: #fff; }

.m2m-pricing__note { margin: 32px 0 0; text-align: center; font-size: 0.82rem; color: var(--m2m-ink-mute); }

/* 11 FAQ ------------------------------------------------------------------ */
.m2m-faq__aside { position: sticky; top: 120px; }
.m2m-faq__help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 380px;
  margin-top: 36px;
  padding: 22px;
  border: 1px solid var(--m2m-line);
  border-radius: var(--m2m-r-lg);
  background: #fff;
}
.m2m-faq__help p { margin: 0; font-size: 0.92rem; color: var(--m2m-ink-soft); }
.m2m-faq__help strong { color: var(--m2m-ink); }

.m2m-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 20px;
  --bs-accordion-inner-border-radius: 20px;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--m2m-ink);
  --bs-accordion-btn-color: var(--m2m-ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m2m-accordion .accordion-item {
  border: 1px solid var(--m2m-line);
  border-radius: 20px !important;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.m2m-accordion .accordion-item:has(.accordion-collapse.show) {
  border-color: #b9d2ee;
  box-shadow: 0 18px 36px -26px rgba(13, 53, 97, 0.45);
}
.m2m-accordion .accordion-header { margin: 0; }
.m2m-accordion .accordion-button {
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px !important;
  font-family: var(--m2m-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.m2m-accordion .accordion-button:focus-visible { outline: 2px solid var(--m2m-blue); outline-offset: -4px; }
.m2m-accordion .accordion-button::after {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--m2m-blue), var(--m2m-blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--m2m-blue), var(--m2m-blue)) center / 2px 12px no-repeat,
    var(--m2m-mist);
  transition: transform 0.35s var(--m2m-ease-out), background-color 0.3s;
}
.m2m-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--m2m-blue);
}
.m2m-accordion .accordion-body { max-width: 62ch; padding: 0 24px 22px; color: var(--m2m-ink-soft); }

/* 12 Support CTA ---------------------------------------------------------- */
.m2m-support { padding-bottom: clamp(45px, 6vw, 90px); }

.m2m-support__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-radius: var(--m2m-r-xl);
  overflow: hidden;
}

.m2m-support__sky {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 52px;
  background: linear-gradient(180deg, #2f7dd3 0%, #5f9fe2 50%, #8dbcec 100%);
  overflow: hidden;
}
.m2m-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  filter: blur(2px);
}
.m2m-cloud--1 { top: 8%; left: -12%; width: 320px; height: 120px; }
.m2m-cloud--2 { top: 30%; right: -10%; width: 360px; height: 140px; opacity: 0.85; }
.m2m-cloud--3 { bottom: 18%; left: 20%; width: 420px; height: 150px; opacity: 0.7; }

.m2m-support__skyline {
  position: relative;
  z-index: 2;
  max-width: 13ch;
  margin: 0;
  padding: 0 24px;
  font-family: var(--m2m-font-head);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-variation-settings: "wdth" 92;
  text-align: center;
  color: #fff;
}

.m2m-glass-row { position: relative; flex: 1; width: 100%; min-height: 330px; margin-top: 34px; }
.m2m-glass {
  position: absolute;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 210px;
  height: 280px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--m2m-r-lg);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  overflow: hidden;
}
.m2m-glass--left { left: calc(50% - 360px); }
.m2m-glass--right { left: calc(50% + 150px); }
.m2m-glass--center {
  left: 50%;
  z-index: 2;
  justify-content: space-between;
  width: 240px;
  height: 330px;
  bottom: -10px;
  transform: translateX(-50%);
  background: linear-gradient(160deg, #a3c6ec, #4c84c4);
  box-shadow: 0 30px 60px -30px rgba(8, 29, 54, 0.6);
}
.m2m-glass--center img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m2m-glass--center::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 29, 54, 0.1) 30%, rgba(8, 29, 54, 0.7) 100%); }
.m2m-glass--center > *:not(img) { position: relative; z-index: 2; }
.m2m-glass__tag { align-self: flex-start; padding: 4px 11px; border-radius: var(--m2m-r-pill); background: rgba(255, 255, 255, 0.22); font-size: 0.72rem; font-weight: 600; }
.m2m-glass__amt { font-family: var(--m2m-font-head); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.m2m-glass__amt small { font-size: 0.6em; opacity: 0.75; letter-spacing: 0; }
.m2m-glass__sub { font-size: 0.72rem; opacity: 0.8; }
.m2m-glass--left { align-items: flex-end; text-align: right; }
.m2m-glass--left .m2m-glass__tag { align-self: flex-end; }
.m2m-glass--left .m2m-glass__amt,
.m2m-glass--right .m2m-glass__amt { margin-top: auto; }
.m2m-glass--left, .m2m-glass--right { text-shadow: 0 1px 12px rgba(8, 29, 54, 0.25); }
.m2m-glass--left .m2m-glass__sub,
.m2m-glass--right .m2m-glass__sub { margin-bottom: 30px; }

@media (prefers-reduced-motion: no-preference) {
  .m2m-cloud--1 { animation: m2m-drift 38s ease-in-out infinite alternate; }
  .m2m-cloud--2 { animation: m2m-drift 46s ease-in-out infinite alternate-reverse; }
  .m2m-cloud--3 { animation: m2m-drift 52s ease-in-out infinite alternate; }
}
@keyframes m2m-drift { to { transform: translateX(60px); } }

.m2m-support__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(90% 55% at 50% 118%, rgba(84, 156, 230, 0.9) 0%, rgba(25, 113, 205, 0.25) 45%, transparent 70%),
    linear-gradient(180deg, var(--m2m-deep-2) 0%, var(--m2m-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.m2m-support__panel::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  box-shadow: 0 0 22px 3px rgba(120, 180, 255, 0.55);
}
.m2m-support__team { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.m2m-avatars--dark img { width: 36px; height: 36px; border-color: var(--m2m-deep-2); }
.m2m-support__panel h2 {
  max-width: 15ch;
  margin: 28px 0 18px;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.m2m-support__panel > p { max-width: 46ch; margin: 0; color: rgba(255, 255, 255, 0.72); }
.m2m-support__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.m2m-support__hours.m2m-support__hours { margin-top: 22px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* 13 Footer --------------------------------------------------------------- */
.m2m-footer { padding-top: 88px; border-top: 1px solid var(--m2m-line); background: #fff; overflow: hidden; }
.m2m-footer__blurb { max-width: 40ch; margin: 18px 0 22px; font-size: 0.92rem; color: var(--m2m-ink-soft); }
.m2m-signup--sm { max-width: 400px; margin: 0; box-shadow: 0 0 0 1px var(--m2m-line); }
.m2m-signup--sm:focus-within { box-shadow: 0 0 0 2px var(--m2m-blue); }
.m2m-signup__msg--left { margin-top: 10px; }
.m2m-footer__title { margin-bottom: 16px; font-size: 0.95rem; font-weight: 600; }
.m2m-footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; }
.m2m-footer__links a { color: var(--m2m-ink-soft); text-decoration: none; transition: color 0.2s; }
.m2m-footer__links a:hover { color: var(--m2m-blue); }

.m2m-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--m2m-line);
  font-size: 0.85rem;
  color: var(--m2m-ink-mute);
}
.m2m-footer__legal p { max-width: 72ch; margin: 0; }
.m2m-footer__bottom { display: flex; align-items: center; gap: 18px; }
.m2m-socials { display: flex; gap: 8px; }
.m2m-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--m2m-line);
  border-radius: 50%;
  color: var(--m2m-ink-soft);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.m2m-socials a:hover { background: var(--m2m-blue); border-color: var(--m2m-blue); color: #fff; }

.m2m-footer__word {
  margin: 0;
  padding-top: 12px;
  font-family: var(--m2m-font-head);
  font-size: clamp(2.6rem, 10.2vw, 10.5rem);
  font-weight: 700;
  font-variation-settings: "wdth" 125;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: #e4ecf6;
  transform: translateY(0.14em);
  user-select: none;
}

/* 14 Responsive ----------------------------------------------------------- */
@media (min-width: 576px) {
  .m2m-plans > li { flex-basis: calc((100% - 14px) / 2); }
}
@media (min-width: 768px) {
  .m2m-plans > li { flex-basis: calc((100% - 28px) / 3); }
}
@media (min-width: 1200px) {
  .m2m-plans > li { flex-basis: calc((100% - 56px) / 5); }
}
@media (min-width: 1400px) {
  .m2m-header__login { display: inline-flex; }
}

@media (max-width: 1399.98px) {
  .m2m-header__meta { display: none; }
}

@media (max-width: 1199.98px) {
  .m2m-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2m-hero__tiles { gap: 10px; }
  .m2m-tile { padding: 12px; }
  .m2m-tile__value { font-size: 1.1rem; }
  .m2m-float--b { display: none; }
  .m2m-glass--left { left: calc(50% - 320px); }
  .m2m-glass--right { left: calc(50% + 130px); }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 80px; }

  .m2m-header__grid { grid-template-columns: 1fr auto; padding: 10px 12px 0; gap: 8px; }
  .m2m-header__brand, .m2m-header__nav-wrap { padding: 8px; }
  .m2m-header.is-scrolled .m2m-header__brand,
  .m2m-header.is-scrolled .m2m-header__nav-wrap { padding-block: 8px; }

  .m2m-hero { padding: 12px; }
  .m2m-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 12px; }
  .m2m-hero__intro { padding: 112px 8px 48px; }
  .m2m-hero__panel { padding: 16px; }

  .m2m-about__grid { grid-template-columns: 1fr 1fr; height: auto; }
  .m2m-about__card { min-height: 320px; }

  .m2m-why__grid { grid-template-columns: 1fr 1fr; }
  .m2m-why__card--analytics { grid-column: 1 / -1; }

  .m2m-faq__aside { position: static; }

  .m2m-support__wrap { grid-template-columns: 1fr; }
  .m2m-support__sky { min-height: 500px; }
}

@media (max-width: 767.98px) {
  .m2m-why__head { flex-direction: column; align-items: flex-start; }
  .m2m-why__grid { grid-template-columns: 1fr; }
  .m2m-why__card { height: auto; min-height: 400px; }
  .m2m-plan.is-highlighted { transform: none; }
  .m2m-how__frame { margin: 0 8px; border-radius: 28px; }
  .m2m-how__card { border-radius: 22px; }
  .m2m-step { flex-basis: 88%; }
  .m2m-step__screen { inset: 72px 16px 0; padding: 50px 16px 16px; }
  .m2m-step__stage { height: 300px; }
}

@media (max-width: 575.98px) {
  .m2m-logo__word { font-size: 1rem; }
  .m2m-header .m2m-btn--sm { padding: 0 14px; }

  .m2m-hero__intro { padding-top: 104px; }
  .m2m-hero__title { margin-top: 22px; }
  .m2m-signup { padding: 6px; }
  .m2m-signup input { padding: 0 12px; }
  .m2m-signup .m2m-btn { padding: 0 18px; height: 46px; }
  .m2m-hero__plans { flex-direction: column; gap: 14px; }
  .m2m-hero__plans > p { text-align: center; }
  .m2m-hero__panel-inner { display: flex; flex-direction: column; gap: 12px; }
  .m2m-hero__col { display: contents; }
  .m2m-hero__panel-head { order: 1; }
  .m2m-hero__tiles { order: 2; }
  .m2m-hero__photo { order: 3; min-height: 300px; }
  .m2m-hero__note { order: 4; }
  .m2m-goal { order: 5; }

  .m2m-feature-list { grid-template-columns: 1fr; gap: 8px; margin-top: 40px; }

  .m2m-about__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .m2m-about__card--img { min-height: 240px; }
  .m2m-about__card--blue, .m2m-about__card--deep { grid-column: 1 / -1; min-height: 240px; }
  .m2m-about__grid > :nth-child(4) { grid-row: 1; grid-column: 2; }

  .m2m-plans {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    margin-inline: -12px;
    padding: 16px 12px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .m2m-plans::-webkit-scrollbar { display: none; }
  .m2m-plans > li { flex: 0 0 82%; scroll-snap-align: center; }

  .m2m-how__controls { padding-top: 22px; }
  .m2m-step__head h3 { font-size: 1.2rem; }
  .m2m-step__pill { font-size: 0.92rem; padding: 8px 16px; }

  .m2m-glass--left { left: -128px; }
  .m2m-glass--right { left: auto; right: -128px; }
  .m2m-glass--center { width: 210px; height: 300px; }
  .m2m-support__panel { padding: 40px 24px 96px; }
  .m2m-support__actions .m2m-btn { flex: 1 1 100%; }

  .m2m-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* 15 Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
