.ma-page {
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 12%, rgba(10, 190, 210, .14), transparent 30%),
    radial-gradient(circle at 12% 44%, rgba(152, 97, 242, .10), transparent 28%),
    linear-gradient(180deg, #f7faff 0%, #eef5ff 46%, #f8faff 100%);
}

.ma-page h1,
.ma-page h2,
.ma-page h3,
.ma-page p {
  margin-top: 0;
  letter-spacing: 0;
}

.ma-hero,
.ma-section,
.ma-contact {
  position: relative;
  width: min(1510px, calc(100% - 96px));
  margin: 0 auto;
}

.ma-hero {
  min-height: 100svh;
  padding: 24px 0 58px;
}

.ma-nav {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(18, 99, 245, .14);
  border-radius: 18px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 45px rgba(52, 90, 168, .11);
  backdrop-filter: blur(16px);
}

.ma-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #07183f;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.ma-brand img {
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(18, 99, 245, .16);
}

.ma-nav__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.ma-nav__home,
.ma-directions summary,
.ma-nav__contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(18, 99, 245, .17);
  border-radius: 10px;
  padding: 0 13px;
  color: #33476f;
  background: #f7faff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.ma-directions {
  position: relative;
}

.ma-directions summary {
  border: 2px solid rgba(18, 99, 245, .46);
  color: #07183f;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.ma-directions summary::-webkit-details-marker {
  display: none;
}

.ma-directions summary::after {
  content: "⌄";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1263f5;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.ma-directions div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 290px;
  border: 1px solid rgba(18, 99, 245, .14);
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 52px rgba(16, 43, 101, .18);
}

.ma-directions a {
  border-radius: 10px;
  padding: 12px;
  color: #07183f;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.ma-directions a:hover,
.ma-nav__home:hover {
  color: #1263f5;
  background: #edf4ff;
}

.ma-nav__contact img,
.ma-button img {
  width: 22px;
  height: 22px;
}

.ma-nav__contact--telegram {
  color: #0666ff;
  border-color: rgba(6, 102, 255, .34);
  background: rgba(255, 255, 255, .9);
}

.ma-nav__contact--telegram img {
  filter: none;
}

.ma-nav__contact--vk img {
  width: 25px;
}

.ma-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(370px, .72fr);
  gap: 42px;
  align-items: start;
  padding-top: clamp(64px, 8vh, 96px);
}

.ma-eyebrow {
  margin-bottom: 18px;
  color: #0666ff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.ma-hero h1 {
  max-width: 820px;
  margin-bottom: 26px;
  color: #07183f;
  font-size: clamp(41px, 3.1vw, 59px);
  font-weight: 750;
  line-height: 1.05;
}

.ma-lead {
  max-width: 680px;
  color: #31446f;
  font-size: 19px;
  line-height: 1.48;
}

.ma-actions,
.ma-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ma-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 0 25px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.ma-button--primary {
  color: white;
  background: #0666ff;
  box-shadow: 0 12px 28px rgba(6, 102, 255, .18);
}

.ma-button--primary img {
  filter: brightness(0) invert(1);
}

.ma-button--ghost {
  color: #0666ff;
  border-color: #0666ff;
  background: rgba(255, 255, 255, .84);
}

.ma-button--vk {
  color: white;
  background: linear-gradient(120deg, #374db5, #172780);
}

.ma-button--vk img {
  filter: brightness(0) invert(1);
}

.ma-hero__panel {
  overflow: hidden;
  border: 1px solid rgba(18, 99, 245, .13);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 64px rgba(30, 67, 135, .14);
}

.ma-panel__top {
  display: grid;
  gap: 8px;
  color: #5a6b90;
  font-size: 13px;
  font-weight: 800;
}

.ma-panel__top strong {
  color: #07183f;
  font-size: 18px;
  line-height: 1.3;
}

.ma-radar {
  position: relative;
  display: grid;
  height: 360px;
  place-items: center;
  margin: 24px 0;
  border-radius: 18px;
  background:
    radial-gradient(circle, rgba(18, 99, 245, .08) 0 23%, transparent 23% 100%),
    conic-gradient(from 90deg, rgba(18, 99, 245, .15), rgba(10, 190, 210, .17), rgba(255, 122, 22, .15), rgba(152, 97, 242, .16), rgba(18, 99, 245, .15));
}

.ma-radar::before,
.ma-radar::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(18, 99, 245, .18);
  border-radius: 50%;
}

.ma-radar::after {
  inset: 30%;
}

.ma-radar__center {
  position: relative;
  z-index: 2;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #1263f5, #0abed2);
  font-size: 18px;
  font-weight: 900;
}

.ma-radar i {
  position: absolute;
  z-index: 3;
  max-width: 150px;
  border-radius: 999px;
  padding: 9px 12px;
  color: #07183f;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 28px rgba(21, 58, 122, .12);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
}

.ma-radar i:nth-of-type(1) { top: 12%; left: 10%; }
.ma-radar i:nth-of-type(2) { top: 15%; right: 10%; }
.ma-radar i:nth-of-type(3) { top: 45%; right: 3%; }
.ma-radar i:nth-of-type(4) { right: 11%; bottom: 14%; }
.ma-radar i:nth-of-type(5) { bottom: 15%; left: 8%; }
.ma-radar i:nth-of-type(6) { top: 45%; left: 3%; }

.ma-hero__panel p {
  margin-bottom: 0;
  color: #334774;
  font-size: 16px;
  line-height: 1.55;
}

.ma-section {
  padding: 84px 0;
}

.ma-section__head {
  display: grid;
  grid-template-columns: minmax(200px, .38fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.ma-section h2,
.ma-faq h2 {
  max-width: 900px;
  margin-bottom: 0;
  color: #07183f;
  font-size: clamp(36px, 3.65vw, 56px);
  font-weight: 750;
  line-height: 1.07;
}

.ma-need__grid,
.ma-examples__grid,
.ma-faq__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ma-need__grid {
  align-items: start;
  min-height: 370px;
}

.ma-need-card--low {
  transform: translateY(52px);
}

.ma-need__grid article,
.ma-stack article,
.ma-example,
.ma-process__steps article,
.ma-result__cards article,
.ma-faq__grid article {
  border: 1px solid rgba(18, 99, 245, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 16px 46px rgba(44, 82, 154, .09);
}

.ma-need__grid article {
  position: relative;
  min-height: 285px;
  padding: 25px;
}

.ma-need__grid article::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(18, 99, 245, .22);
  border-radius: 50%;
}

.ma-need__grid span,
.ma-stack b,
.ma-process__steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #1263f5;
  background: #eaf2ff;
  font-size: 15px;
  font-weight: 900;
}

.ma-need__grid h3,
.ma-stack h3,
.ma-example h3,
.ma-process__steps h3,
.ma-result__cards strong,
.ma-faq__grid h3 {
  margin: 20px 0 13px;
  color: #07183f;
  font-size: 21px;
  line-height: 1.2;
}

.ma-need__grid p,
.ma-stack p,
.ma-example p,
.ma-process__steps p,
.ma-result__cards p,
.ma-faq__grid p,
.ma-result__copy p,
.ma-contact p,
.ma-process__deliverable p {
  margin-bottom: 0;
  color: #3e4f7d;
  font-size: 16px;
  line-height: 1.55;
}

.ma-inside__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .46fr);
  gap: 28px;
  align-items: start;
}

.ma-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ma-stack article {
  position: relative;
  min-height: 218px;
  padding: 24px;
}

.ma-stack article:nth-child(even) {
  transform: translateY(18px);
}

.ma-document {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 99, 245, .13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 64, 126, .14);
}

.ma-document__preview {
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(18, 99, 245, .08), rgba(10, 190, 210, .08)),
    #f6f9ff;
}

.ma-document__preview img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(31, 64, 126, .14));
}

.ma-document > div:last-child {
  padding: 26px;
}

.ma-document strong {
  display: block;
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.15;
}

.ma-document p {
  margin: 0;
  color: #3e4f7d;
  font-size: 16px;
  line-height: 1.55;
}

.ma-examples__grid {
  grid-template-columns: .95fr 1.1fr .95fr;
  align-items: stretch;
}

.ma-example {
  min-height: 430px;
  padding: 28px;
}

.ma-example:nth-child(2) {
  transform: translateY(-20px);
}

.ma-example span {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.ma-example--blue span { background: #1263f5; }
.ma-example--green span { background: #59bd26; }
.ma-example--violet span { background: #9861f2; }

.ma-example ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  color: #31446f;
  font-size: 15px;
  line-height: 1.45;
  list-style: none;
}

.ma-example li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
}

.ma-example li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: #1263f5;
}

.ma-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}

.ma-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ma-process__steps article {
  min-height: 305px;
  padding: 25px;
}

.ma-process__steps article:nth-child(2),
.ma-process__steps article:nth-child(4) {
  transform: translateY(28px);
}

.ma-process__deliverable {
  align-self: stretch;
  border-radius: 8px;
  padding: 30px;
  color: white;
  background: linear-gradient(145deg, #07183f, #123f8b 58%, #0a8ba8);
  box-shadow: 0 22px 60px rgba(17, 56, 126, .22);
}

.ma-process__deliverable b {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  color: #07183f;
  background: #fff;
  font-size: 13px;
}

.ma-process__deliverable strong {
  display: block;
  margin: 28px 0 18px;
  font-size: 38px;
  line-height: 1.04;
}

.ma-process__deliverable p {
  color: rgba(255,255,255,.86);
}

.ma-result {
  display: grid;
  gap: 34px;
}

.ma-result__copy {
  max-width: 950px;
}

.ma-result__copy h2 {
  margin-bottom: 20px;
}

.ma-result__cards {
  display: grid;
  overflow: hidden;
  border: 2px solid rgba(18, 99, 245, .34);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(31, 64, 126, .12);
}

.ma-result__cards article {
  display: grid;
  grid-template-columns: .72fr 1fr;
  align-items: stretch;
  border-top: 2px solid rgba(18, 99, 245, .22);
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.ma-result__cards article:first-child {
  border-top: 0;
}

.ma-result__cards article > div {
  padding: 24px;
}

.ma-result__cards article > div:first-child {
  border-right: 2px solid rgba(18, 99, 245, .22);
  background: #f0f5ff;
}

.ma-result__cards b,
.ma-result__cards strong {
  display: inline-flex;
  margin: 0 0 10px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ma-result__cards b {
  color: #9b3d14;
  background: #fff0e5;
}

.ma-result__cards strong {
  color: #0f6b24;
  background: #e9f8e7;
}

.ma-faq h2 {
  margin-bottom: 32px;
}

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

.ma-faq__grid article {
  padding: 26px;
}

.ma-contact__home {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  border-radius: 9px;
  color: #3e4f7d;
  background: rgba(255,255,255,.82);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.contacts-built .ma-contact__home {
  width: 100%;
}

@media (min-width: 1661px) {
  .ma-hero h1 {
    font-size: 59px;
  }

  .ma-lead {
    font-size: 19px;
  }
}

@media (max-width: 1299px) {
  .ma-hero h1 {
    font-size: 41px;
  }

  .ma-lead {
    font-size: 16px;
  }

  .ma-section h2,
  .ma-faq h2 {
    font-size: 42px;
  }

  .ma-process__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .ma-hero,
  .ma-section {
    width: min(100% - 40px, 900px);
  }

  .ma-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .ma-nav__controls {
    justify-content: flex-start;
  }

  .ma-hero__grid,
  .ma-section__head,
  .ma-inside__layout {
    grid-template-columns: 1fr;
  }

  .ma-hero__grid {
    min-height: 0;
  }

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

  .ma-need-card--low,
  .ma-stack article:nth-child(even),
  .ma-example:nth-child(2),
  .ma-process__steps article:nth-child(2),
  .ma-process__steps article:nth-child(4) {
    transform: none;
  }

  .ma-document {
    position: relative;
    top: auto;
  }

}

@media (max-width: 760px) {
  .ma-hero,
  .ma-section {
    width: calc(100% - 28px);
  }

  .ma-hero {
    padding-top: 14px;
  }

  .ma-nav {
    border-radius: 14px;
    padding: 14px;
  }

  .ma-brand {
    font-size: 14px;
  }

  .ma-nav__controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ma-directions,
  .ma-nav__home {
    grid-column: 1 / -1;
  }

  .ma-directions summary,
  .ma-nav__home {
    width: 100%;
  }

  .ma-directions div {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .ma-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .ma-eyebrow {
    margin-bottom: 15px;
    font-size: 15px;
  }

  .ma-lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .ma-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .ma-hero__panel {
    padding: 18px;
  }

  .ma-radar {
    height: 320px;
  }

  .ma-radar i {
    max-width: 120px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .ma-section {
    padding: 58px 0;
  }

  .ma-section__head {
    gap: 10px;
    margin-bottom: 28px;
  }

  .ma-section h2,
  .ma-faq h2 {
    font-size: 34px;
  }

  .ma-need__grid,
  .ma-stack,
  .ma-examples__grid,
  .ma-process__steps,
  .ma-faq__grid {
    grid-template-columns: 1fr;
  }

  .ma-need__grid {
    min-height: 0;
  }

  .ma-need__grid article,
  .ma-stack article,
  .ma-example,
  .ma-process__steps article {
    min-height: 0;
  }

  .ma-document__preview {
    min-height: 240px;
    padding: 18px;
  }

  .ma-process__deliverable {
    padding: 24px;
  }

  .ma-process__deliverable strong {
    font-size: 32px;
  }

  .ma-result__cards article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ma-result__cards article > div:first-child {
    border-right: 0;
    border-bottom: 2px solid rgba(18, 99, 245, .18);
  }

  .ma-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ma-button {
    width: 100%;
    min-height: 50px;
  }
}
