:root {
  --ma-bg: #f4f8fc;
  --ma-bg-soft: #edf3fa;
  --ma-surface: #ffffff;
  --ma-border: #d8e2ee;
  --ma-ink: #102338;
  --ma-ink-2: #27425e;
  --ma-muted: #4e6580;
  --ma-primary: #ba1d45;
  --ma-primary-2: #981537;
  --ma-primary-soft: #fce9ee;
  --ma-accent: #0f3e70;
  --ma-radius: 20px;
  --ma-wrap: min(1140px, calc(100vw - 2rem));
  --ma-shadow: 0 24px 55px rgba(12, 34, 58, 0.1);
  --ma-shadow-soft: 0 12px 30px rgba(12, 34, 58, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ma-ink);
  background: var(--ma-bg);
  line-height: 1.5;
}

body.ma-noScroll {
  overflow: hidden;
}

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

.ma-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 340px at -12% -14%, rgba(15, 72, 128, 0.2), transparent 60%),
    radial-gradient(820px 320px at 108% -8%, rgba(186, 29, 69, 0.16), transparent 65%),
    linear-gradient(180deg, #f7fbff 0%, #f1f6fc 48%, #edf3fa 100%);
}

.ma-wrap {
  width: var(--ma-wrap);
  margin: 0 auto;
}

.ma-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(247, 251, 255, 0.88);
  border-bottom: 1px solid rgba(16, 35, 56, 0.08);
  backdrop-filter: blur(8px);
}

.ma-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ma-brand img {
  width: 166px;
  height: auto;
}

.ma-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ma-link {
  color: var(--ma-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.ma-link:hover {
  text-decoration: underline;
}

.ma-hero {
  padding: 2rem 0 1.2rem;
}

.ma-hero__grid {
  display: grid;
  gap: 1.2rem;
}

.ma-eyebrow {
  margin: 0 0 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ma-accent);
  font-size: 0.77rem;
}

.ma-hero h1 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.95rem, 8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ma-subheadline {
  margin: 0.95rem 0 0;
  color: var(--ma-muted);
  font-size: clamp(1rem, 3.8vw, 1.16rem);
  max-width: 62ch;
}

.ma-hero__actions {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.ma-trustRow {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ma-trustRow li {
  border: 1px solid var(--ma-border);
  border-radius: 999px;
  background: #f8fbff;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ma-ink-2);
}

.ma-videoShell {
  border: 1px solid var(--ma-border);
  border-radius: var(--ma-radius);
  overflow: hidden;
  background: #f8fbff;
  box-shadow: var(--ma-shadow);
}

.ma-videoShell__top {
  min-height: 38px;
  padding: 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--ma-border);
  background: linear-gradient(180deg, #ffffff, #f3f7fd);
}

.ma-videoShell__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #d3dde9;
}

.ma-videoShell__top span:nth-child(1) {
  background: #f27474;
}

.ma-videoShell__top span:nth-child(2) {
  background: #f3bd65;
}

.ma-videoShell__top span:nth-child(3) {
  background: #6bcc87;
}

.ma-videoShell__top p {
  margin: 0 0 0 auto;
  color: var(--ma-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.ma-videoShell iframe,
.ma-productVideo iframe {
  width: 100%;
  border: 0;
  display: block;
  aspect-ratio: 16 / 10;
}

.ma-videoHint {
  margin: 0.65rem 0 0;
  color: var(--ma-muted);
  font-size: 0.93rem;
}

.ma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ma-btn:hover {
  transform: translateY(-1px);
}

.ma-btn:focus-visible {
  outline: 3px solid rgba(15, 62, 112, 0.28);
  outline-offset: 1px;
}

.ma-btn--primary {
  color: #ffffff;
  background: linear-gradient(140deg, var(--ma-primary), #cb214d);
  box-shadow: 0 14px 28px rgba(186, 29, 69, 0.28);
}

.ma-btn--primary:hover {
  background: linear-gradient(140deg, var(--ma-primary-2), var(--ma-primary));
}

.ma-btn--secondary {
  color: var(--ma-accent);
  border-color: #c2d3e5;
  background: #f7fbff;
}

.ma-btn--secondary:hover {
  background: #eef5fc;
}

.ma-btn--sm {
  padding: 0.56rem 0.8rem;
  font-size: 0.84rem;
}

.ma-btn--lg {
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-size: 0.98rem;
}

.ma-btn--xl {
  min-height: 52px;
  padding: 0.76rem 1.1rem;
  font-size: 1rem;
}

.ma-btn--block {
  width: 100%;
}

.ma-section {
  padding: 1.4rem 0 2.2rem;
}

.ma-section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(247, 251, 255, 0.82));
  border-top: 1px solid rgba(16, 35, 56, 0.06);
  border-bottom: 1px solid rgba(16, 35, 56, 0.06);
}

.ma-sectionHead h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.3rem, 5.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ma-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.ma-card {
  background: var(--ma-surface);
  border: 1px solid var(--ma-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--ma-shadow-soft);
}

.ma-card h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.03rem;
  line-height: 1.25;
}

.ma-card p {
  margin: 0.55rem 0 0;
  color: var(--ma-muted);
  font-size: 0.95rem;
}

.ma-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ma-primary-soft);
  color: var(--ma-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.ma-card__icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ma-card--fit {
  padding-top: 1.15rem;
}

.ma-section--steps {
  padding-top: 1.7rem;
}

.ma-steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.ma-steps li {
  background: #ffffff;
  border: 1px solid var(--ma-border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--ma-shadow-soft);
}

.ma-step__n {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0f3e70;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ma-steps h3 {
  margin: 0.72rem 0 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.03rem;
}

.ma-steps p {
  margin: 0.5rem 0 0;
  color: var(--ma-muted);
  font-size: 0.93rem;
}

.ma-productGrid {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
}

.ma-productVideo {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid var(--ma-border);
  border-radius: 16px;
  overflow: hidden;
  background: #f7fbff;
  box-shadow: var(--ma-shadow-soft);
}

.ma-productVideo iframe {
  aspect-ratio: 16 / 9;
  min-height: clamp(260px, 42vw, 560px);
}

.ma-shotGrid {
  display: grid;
  gap: 0.75rem;
}

.ma-shotCard {
  margin: 0;
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 14px;
  padding: 0.55rem;
  box-shadow: var(--ma-shadow-soft);
}

.ma-shotCard img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  border: 1px solid #e1e8f1;
}

.ma-shotCard figcaption {
  margin-top: 0.46rem;
  font-size: 0.8rem;
  color: var(--ma-muted);
  font-weight: 700;
}

.ma-shotCard--mobile img {
  max-height: 260px;
  object-fit: contain;
  background: #f6fafe;
}

.ma-tertiary {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  color: var(--ma-muted);
  font-size: 0.9rem;
}

.ma-tertiary p {
  margin: 0;
}

.ma-tertiary a {
  color: var(--ma-accent);
  font-weight: 700;
  text-decoration: none;
}

.ma-tertiary a:hover {
  text-decoration: underline;
}

.ma-linkBtn {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ma-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ma-linkBtn:hover {
  text-decoration: underline;
}

.ma-faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.ma-faq article {
  background: #fff;
  border: 1px solid var(--ma-border);
  border-radius: 14px;
  padding: 0.95rem;
}

.ma-faq h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.98rem;
}

.ma-faq p {
  margin: 0.45rem 0 0;
  color: var(--ma-muted);
  font-size: 0.92rem;
}

.ma-section--final {
  padding-bottom: 6.6rem;
}

.ma-final {
  border: 1px solid rgba(186, 29, 69, 0.2);
  border-radius: var(--ma-radius);
  padding: clamp(1rem, 3.6vw, 2rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(252, 238, 243, 0.95));
  box-shadow: var(--ma-shadow);
}

.ma-final h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.25rem, 5vw, 2rem);
  line-height: 1.2;
}

.ma-final__actions {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.ma-footer {
  border-top: 1px solid rgba(16, 35, 56, 0.12);
  background: rgba(246, 250, 255, 0.94);
  padding: 1.2rem 0 1.5rem;
}

.ma-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-weight: 700;
  color: var(--ma-ink-2);
}

.ma-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.95rem;
}

.ma-footer__links a {
  color: var(--ma-ink-2);
  text-decoration: none;
  font-size: 0.9rem;
}

.ma-footer__links a:hover {
  text-decoration: underline;
}

.ma-modal {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
}

.ma-modal.is-open {
  display: block;
}

.ma-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 21, 35, 0.55);
}

.ma-modal__panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 1.4rem));
  margin: 2.8rem auto;
  border-radius: 16px;
  border: 1px solid var(--ma-border);
  background: #fff;
  box-shadow: var(--ma-shadow);
  padding: 1rem;
}

.ma-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.ma-modal__top h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.15rem;
}

.ma-modal__top p {
  margin: 0.3rem 0 0;
  color: var(--ma-muted);
  font-size: 0.92rem;
}

.ma-modal__close {
  border: 1px solid var(--ma-border);
  background: #f5f8fc;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.ma-demoForm {
  display: grid;
  gap: 0.75rem;
}

.ma-demoForm__grid {
  display: grid;
  gap: 0.65rem;
}

.ma-demoField {
  display: grid;
  gap: 0.35rem;
  color: var(--ma-ink-2);
  font-size: 0.87rem;
  font-weight: 700;
}

.ma-demoField input,
.ma-demoField textarea {
  width: 100%;
  border: 1px solid var(--ma-border);
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: #fbfdff;
  color: var(--ma-ink);
  font: 500 0.95rem/1.4 "Manrope", system-ui, sans-serif;
}

.ma-demoField input:focus,
.ma-demoField textarea:focus {
  outline: none;
  border-color: #8cb0d4;
  box-shadow: 0 0 0 3px rgba(140, 176, 212, 0.24);
}

.ma-demoField input[aria-invalid="true"],
.ma-demoField textarea[aria-invalid="true"] {
  border-color: #d0415e;
}

.ma-demoForm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.ma-demoForm__status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--ma-muted);
}

.ma-demoForm__status.is-error {
  color: #c93252;
}

.ma-demoForm__status.is-ok {
  color: #147649;
}

.ma-demoForm__status.is-info {
  color: var(--ma-accent);
}

.ma-demoForm__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.ma-sticky {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 120;
  display: none;
  border: 1px solid rgba(16, 35, 56, 0.12);
  border-radius: 16px;
  background: rgba(250, 252, 255, 0.96);
  box-shadow: 0 15px 35px rgba(10, 30, 52, 0.18);
  padding: 0.65rem;
}

.ma-sticky.is-visible {
  display: block;
}

.ma-sticky__demo {
  margin-top: 0.48rem;
  display: block;
  text-align: center;
  color: var(--ma-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.ma-sticky__demo:hover {
  text-decoration: underline;
}

[data-ma-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

[data-ma-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 720px) {
  .ma-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-hero__actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .ma-final__actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .ma-shotGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-demoForm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ma-hero {
    padding-top: 2.7rem;
  }

  .ma-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 1.35rem;
  }

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

  .ma-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-productGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ma-productVideo {
    width: min(100%, 1080px);
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .ma-header__actions .ma-link {
    display: none;
  }
}

@media (max-width: 540px) {
  .ma-wrap {
    width: min(1140px, calc(100vw - 1.2rem));
  }

  .ma-header__inner {
    min-height: 64px;
  }

  .ma-brand img {
    width: 148px;
  }

  .ma-btn--sm {
    padding: 0.55rem 0.72rem;
  }

  .ma-section--final {
    padding-bottom: 7.9rem;
  }

  .ma-modal__panel {
    margin-top: 1.1rem;
    max-height: calc(100vh - 2.2rem);
    overflow: auto;
  }

  .ma-demoForm__actions {
    flex-direction: column;
  }

  .ma-demoForm__actions .ma-btn {
    width: 100%;
  }

  .ma-productVideo iframe {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
