.mfps,
.mfps * { box-sizing: border-box; }
.mfps {
  --mfps-primary: #694ee6;
  --mfps-dark: #211842;
  --mfps-bg: #f7f6fc;
  --mfps-text: #5f6170;
  --mfps-border: #e7e3f2;
  --mfps-shadow: 0 20px 60px rgba(33, 24, 66, .10);
  width: 100%;
  overflow: hidden;
  background: var(--mfps-bg);
  color: var(--mfps-text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.mfps-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.mfps h1, .mfps h2, .mfps h3, .mfps p { margin-top: 0; }
.mfps h1, .mfps h2, .mfps h3 { color: var(--mfps-dark); letter-spacing: -.02em; }
.mfps img { display: block; max-width: 100%; height: auto; }
.mfps-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--mfps-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.3;
  text-transform: uppercase;
}
.mfps-hero {
  min-height: 305px;
  margin-top: 48px;
  padding: 52px 46px;
  border-radius: 24px;
  background: linear-gradient(118deg, var(--mfps-dark), var(--mfps-primary));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.mfps-hero .mfps-kicker { color: #fff; }
.mfps .mfps-hero__title { max-width: 820px; margin-bottom: 12px; color: #fff; font-size: clamp(42px, 5vw, 58px); font-weight: 520; line-height: 1.08; }
.mfps .mfps-hero__text { max-width: 790px; margin-bottom: 0; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.55; }
.mfps-demo { margin-top: 24px; }
.mfps-demo > :first-child { margin-top: 0; }
.mfps-demo > :last-child { margin-bottom: 0; }
.mfps-notice {
  margin-top: 32px;
  padding: 24px 32px;
  border-radius: 14px;
  background: var(--mfps-dark);
  color: rgba(255,255,255,.82);
  text-align: center;
}
.mfps .mfps-notice__title { margin-bottom: 4px; color: #fff; font-size: 17px; font-weight: 700; }
.mfps .mfps-notice__text { margin-bottom: 0; font-size: 14px; line-height: 1.55; }
.mfps-section { padding-block: 90px 0; }
.mfps-section-heading { max-width: 790px; margin: 0 auto 42px; text-align: center; }
.mfps-section-heading h2 { margin-bottom: 14px; font-size: clamp(32px, 4vw, 42px); font-weight: 650; line-height: 1.16; }
.mfps-section-heading p { margin: 0; font-size: 17px; line-height: 1.65; }
.mfps-grid-cards { display: grid; gap: 22px; }
.mfps-grid-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mfps-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--mfps-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(33,24,66,.045);
}
.mfps-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  background: #f0edff;
  color: var(--mfps-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.mfps-card h3 { margin-bottom: 9px; font-size: 19px; font-weight: 650; line-height: 1.3; }
.mfps-card p { margin-bottom: 0; font-size: 15px; line-height: 1.6; }
.mfps-card--step { min-height: 190px; }
.mfps-card--feature { min-height: 210px; }
.mfps-feature-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--mfps-shadow);
}
.mfps-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.mfps-gallery-card { overflow: hidden; border: 1px solid var(--mfps-border); border-radius: 16px; background: #fff; box-shadow: 0 14px 40px rgba(33,24,66,.055); }
.mfps-gallery-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mfps-gallery-card__content { padding: 20px 22px 23px; }
.mfps-gallery-card h3 { margin-bottom: 5px; font-size: 18px; font-weight: 650; }
.mfps-gallery-card p { margin-bottom: 0; font-size: 14px; }
.mfps-security { margin-top: 90px; }
.mfps-security__intro { padding: 58px 0 105px; background: linear-gradient(118deg, var(--mfps-dark), var(--mfps-primary)); }
.mfps-section-heading--light { margin-bottom: 0; color: rgba(255,255,255,.86); }
.mfps-section-heading--light .mfps-kicker,
.mfps-section-heading--light h2 { color: #fff; }
.mfps-security__image { margin-top: -68px; }
.mfps-security__image img { width: 100%; border: 8px solid var(--mfps-bg); border-radius: 20px; box-shadow: var(--mfps-shadow); }
.mfps-tech {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  padding: 38px;
  border: 1px solid var(--mfps-border);
  border-radius: 18px;
  background: #fff;
}
.mfps-tech__title { display: flex; flex-direction: column; justify-content: center; }
.mfps-tech__title h2 { margin-bottom: 0; font-size: 34px; line-height: 1.18; }
.mfps-tech__list { margin: 0; }
.mfps-tech__list > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--mfps-border); }
.mfps-tech__list > div:last-child { border-bottom: 0; }
.mfps-tech dt { color: var(--mfps-dark); font-weight: 650; }
.mfps-tech dd { margin: 0; }
.mfps-cta {
  margin-top: 90px;
  padding: 42px;
  border-radius: 20px;
  background: var(--mfps-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: rgba(255,255,255,.82);
}
.mfps-cta h2 { margin-bottom: 8px; color: #fff; font-size: 32px; }
.mfps-cta p { margin-bottom: 0; font-size: 16px; }
.mfps-button {
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--mfps-primary);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, filter .18s ease;
}
.mfps-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.mfps-footer { margin-top: 48px; padding: 36px 0; background: var(--mfps-dark); color: rgba(255,255,255,.72); font-size: 14px; }
.mfps-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mfps-footer__inner div { display: flex; flex-direction: column; }
.mfps-footer strong { color: #fff; font-size: 15px; }
.mfps-error { margin: 20px; padding: 14px; border-left: 4px solid #d63638; background: #fff; }
.mfps-blank-canvas { margin: 0; background: #f7f6fc; }
.mfps-blank-canvas__main { min-height: 100vh; }

@media (max-width: 1024px) {
  .mfps-section { padding-top: 70px; }
  .mfps-grid-cards--features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mfps-security { margin-top: 70px; }
  .mfps-cta { margin-top: 70px; }
}

@media (max-width: 767px) {
  .mfps { font-size: 15px; }
  .mfps-container { width: min(100% - 32px, 1180px); }
  .mfps-hero { min-height: 0; margin-top: 16px; padding: 34px 24px; border-radius: 18px; }
  .mfps .mfps-hero__title { font-size: 38px; }
  .mfps .mfps-hero__text { font-size: 16px; }
  .mfps-kicker { font-size: 12px; }
  .mfps-notice { padding: 22px 20px; text-align: left; }
  .mfps-section { padding-top: 54px; }
  .mfps-section-heading { margin-bottom: 28px; text-align: left; }
  .mfps-section-heading h2 { font-size: 32px; }
  .mfps-section-heading p { font-size: 15px; }
  .mfps-grid-cards--3,
  .mfps-grid-cards--features,
  .mfps-gallery { grid-template-columns: 1fr; }
  .mfps-card, .mfps-card--step, .mfps-card--feature { min-height: 0; padding: 22px; }
  .mfps-security { margin-top: 54px; }
  .mfps-security__intro { padding: 46px 0 88px; }
  .mfps-security__image { margin-top: -54px; }
  .mfps-security__image img { border-width: 5px; border-radius: 14px; }
  .mfps-tech { grid-template-columns: 1fr; gap: 25px; padding: 24px; }
  .mfps-tech__title h2 { font-size: 30px; }
  .mfps-tech__list > div { grid-template-columns: 1fr; gap: 2px; }
  .mfps-cta { margin-top: 54px; padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .mfps-cta h2 { font-size: 28px; }
  .mfps-button { width: 100%; }
  .mfps-footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mfps *, .mfps *::before, .mfps *::after { scroll-behavior: auto !important; transition: none !important; }
}
