.mm-article-page {
  --article-paper: #f3f8f6;
  --article-card: #ffffff;
  --article-ink: #0c2b33;
  --article-soft: #3e5a5f;
  --article-muted: #69837f;
  --article-teal: #0e9d84;
  --article-teal-dark: #0b7d6a;
  --article-teal-soft: #e1f2ee;
  --article-pin: #ff5a48;
  --article-line: #d9e6e2;
  --article-amber: #fff4e0;
  --article-radius: 18px;
  --article-shadow: 0 10px 30px rgba(12, 43, 51, .08);
  background: var(--article-paper);
  color: var(--article-ink);
  font-family: "Golos Text", Inter, system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}

.mm-article-page * {
  min-width: 0;
}

.mm-article-page a {
  color: var(--article-teal-dark);
}

.mm-article-hero,
.mm-article-map,
.mm-article-layout,
.mm-article-final,
.mm-article-related {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.mm-article-hero {
  padding-top: 48px;
  padding-bottom: 28px;
}

.mm-article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--article-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.mm-article-breadcrumbs a {
  color: var(--article-muted);
  text-decoration: none;
}

.mm-article-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.mm-article-chips span {
  border-radius: 999px;
  background: var(--article-teal-soft);
  color: var(--article-teal-dark);
  padding: 6px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mm-article-chips span + span {
  background: transparent;
  border: 1px solid var(--article-line);
  color: var(--article-muted);
}

.mm-article-hero h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.18;
}

.mm-article-excerpt {
  max-width: 820px;
  margin: 0 0 24px;
  color: var(--article-soft);
  font-size: 19px;
}

.mm-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  color: var(--article-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.mm-article-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--article-soft);
  font-family: "Golos Text", sans-serif;
}

.mm-article-author span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--article-teal), #4cc9b0);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.mm-article-map {
  margin-top: 8px;
}

.mm-article-map__frame {
  overflow: hidden;
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
  box-shadow: var(--article-shadow);
}

.mm-article-map svg {
  display: block;
  width: 100%;
  height: auto;
}

.mm-article-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  margin-top: 48px;
}

.mm-article-rail__sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mm-article-toc {
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
  padding: 22px 20px;
  box-shadow: var(--article-shadow);
  max-width: 100%;
}

.mm-article-toc h2 {
  margin: 0 0 16px;
  color: var(--article-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mm-article-toc ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-article-toc ol::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 9px;
  border-left: 2px dashed var(--article-line);
}

.mm-article-toc li {
  position: relative;
  padding: 7px 0 7px 32px;
}

.mm-article-toc li span {
  position: absolute;
  top: 13px;
  left: 2px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--article-line);
  border-radius: 50%;
  background: var(--article-paper);
}

.mm-article-toc a {
  display: block;
  color: var(--article-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mm-article-toc a:hover {
  color: var(--article-teal-dark);
}

.mm-article-toc li.is-active span {
  border-color: var(--article-pin);
  background: var(--article-pin);
  box-shadow: 0 0 0 5px rgba(255, 90, 72, .15);
}

.mm-article-toc li.is-active a {
  color: var(--article-ink);
  font-weight: 800;
}

.mm-article-toc li.is-passed span {
  border-color: var(--article-teal);
  background: var(--article-teal);
}

.mm-article-side-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--article-radius);
  background: var(--article-ink);
  color: #eaf4f1;
  padding: 24px 22px;
}

.mm-article-side-cta::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border: 2px dashed rgba(255, 255, 255, .15);
  border-radius: 50%;
}

.mm-article-side-cta div,
.mm-article-final span,
.mm-article-inline-cta span {
  margin-bottom: 10px;
  color: #8fc7bc;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mm-article-side-cta p {
  position: relative;
  margin: 0 0 16px;
  color: #d8ece8;
  font-size: 15px;
  line-height: 1.5;
}

.mm-article-side-cta button,
.mm-article-final button,
.mm-article-inline-cta button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--article-teal);
  color: #fff;
  padding: 12px 22px;
  font-family: "Golos Text", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.mm-article-side-cta button {
  width: 100%;
}

.mm-article-side-cta button:hover,
.mm-article-final button:hover,
.mm-article-inline-cta button:hover {
  background: var(--article-teal-dark);
  transform: translateY(-1px);
}

.mm-article-content {
  max-width: 760px;
  overflow-wrap: anywhere;
}

.mm-article-lead {
  margin: 0 0 40px;
  border-left: 3px solid var(--article-teal);
  padding-left: 22px;
  color: var(--article-soft);
  font-size: 19px;
  line-height: 1.7;
}

.mm-article-content h2 {
  margin: 52px 0 18px;
  scroll-margin-top: 100px;
  color: var(--article-ink);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.3;
}

.mm-article-content h2 span {
  display: block;
  margin-bottom: 8px;
  color: var(--article-pin);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}

.mm-article-content h3 {
  margin: 30px 0 12px;
  color: var(--article-ink);
  font-size: 19px;
  font-weight: 700;
}

.mm-article-content p,
.mm-article-content li {
  color: #22434b;
}

.mm-article-content p {
  margin: 0 0 18px;
}

.mm-article-content ul,
.mm-article-content ol {
  margin: 0 0 20px 22px;
}

.mm-article-content li {
  margin-bottom: 8px;
}

.mm-article-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0;
  border-radius: var(--article-radius);
  padding: 20px 22px;
  background: var(--article-teal-soft);
  color: var(--article-teal-dark);
  font-size: 15px;
}

.mm-article-callout > span {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--article-teal);
  color: #fff;
  font-weight: 800;
}

.mm-article-callout--warn {
  background: var(--article-amber);
  color: #8a5a00;
}

.mm-article-callout--warn > span {
  background: #f0a400;
}

.mm-article-check__card {
  margin: 30px 0;
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
  padding: 26px;
  box-shadow: var(--article-shadow);
}

.mm-article-check__card h3 {
  margin-top: 0;
}

.mm-article-check__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-article-check__card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  border-bottom: 1px dashed var(--article-line);
  padding: 10px 0;
  font-size: 15px;
}

.mm-article-check__card li:last-child {
  border-bottom: 0;
}

.mm-article-check__card li > span {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--article-teal-soft);
  color: var(--article-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.mm-article-steps {
  display: grid;
  gap: 12px;
  margin-left: 0 !important;
  list-style: none;
}

.mm-article-steps li {
  margin: 0;
  border: 1px solid var(--article-line);
  border-radius: 16px;
  background: var(--article-card);
  padding: 18px;
}

.mm-article-steps b {
  display: block;
  margin-bottom: 6px;
  color: var(--article-ink);
}

.mm-article-table {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
}

.mm-article-table table {
  min-width: 520px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.mm-article-table th {
  border-bottom: 1px solid var(--article-line);
  background: #fafdfc;
  color: var(--article-muted);
  padding: 14px 18px;
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mm-article-table td {
  border-bottom: 1px solid var(--article-line);
  padding: 14px 18px;
  vertical-align: top;
}

.mm-article-table tr:last-child td {
  border-bottom: 0;
}

.mm-article-faq {
  margin: 30px 0;
}

.mm-article-faq details {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--article-line);
  border-radius: 14px;
  background: var(--article-card);
}

.mm-article-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  list-style: none;
}

.mm-article-faq summary::-webkit-details-marker {
  display: none;
}

.mm-article-faq summary::after {
  content: "+";
  flex: none;
  color: var(--article-teal);
  font-family: "JetBrains Mono", monospace;
  font-size: 19px;
  transition: transform .2s;
}

.mm-article-faq details[open] summary::after {
  transform: rotate(45deg);
}

.mm-article-faq details > div {
  padding: 0 22px 20px;
  color: var(--article-soft);
  font-size: 15px;
}

.mm-article-inline-cta {
  display: grid;
  grid-template-columns: 1fr 200px;
  overflow: hidden;
  margin: 46px 0;
  border: 1px solid var(--article-line);
  border-radius: 22px;
  background: var(--article-card);
  box-shadow: var(--article-shadow);
}

.mm-article-inline-cta > div:first-child {
  padding: 28px;
}

.mm-article-inline-cta h3 {
  margin: 0 0 8px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.mm-article-inline-cta p {
  margin-bottom: 18px;
  color: var(--article-soft);
}

.mm-article-inline-cta > div:last-child {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-left: 1px dashed var(--article-line);
  background:
    linear-gradient(var(--article-teal-soft) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(90deg, var(--article-teal-soft) 1px, transparent 1px) 0 0 / 26px 26px,
    #f6fbfa;
}

.mm-article-inline-cta i {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  display: block;
  transform: rotate(-45deg);
  background: var(--article-pin);
  box-shadow: 0 0 0 14px rgba(255, 90, 72, .12);
}

.mm-article-image {
  margin: 32px 0;
}

.mm-article-image img {
  width: 100%;
  border-radius: var(--article-radius);
  border: 1px solid var(--article-line);
}

.mm-article-image figcaption {
  margin-top: 8px;
  color: var(--article-muted);
  font-size: 13px;
}

.mm-article-quote {
  margin: 34px 0;
  border-left: 4px solid var(--article-pin);
  border-radius: 0 var(--article-radius) var(--article-radius) 0;
  background: var(--article-card);
  padding: 24px 28px;
  box-shadow: var(--article-shadow);
}

.mm-article-quote p {
  margin: 0;
  color: var(--article-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.mm-article-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--article-muted);
  font-style: normal;
}

.mm-article-pros-cons > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.mm-article-pros-cons article {
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
  padding: 22px;
  box-shadow: var(--article-shadow);
}

.mm-article-pros-cons h3 {
  margin-top: 0;
}

.mm-article-pros-cons ul {
  margin-bottom: 0;
}

.mm-article-service-cards > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.mm-article-service-cards a {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--article-line);
  border-radius: 16px;
  background: var(--article-card);
  padding: 20px;
  text-decoration: none;
  box-shadow: var(--article-shadow);
}

.mm-article-service-cards span {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--article-teal-soft);
  color: var(--article-teal-dark);
  padding: 4px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.mm-article-service-cards b {
  color: var(--article-ink);
  font-size: 17px;
  line-height: 1.35;
}

.mm-article-service-cards small {
  margin-top: auto;
  color: var(--article-muted);
  font-size: 13px;
}

.mm-article-final {
  margin-top: 70px;
}

.mm-article-final > div {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--article-ink);
  color: #fff;
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}

.mm-article-final h2 {
  max-width: 680px;
  margin: 0 auto 14px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.mm-article-final p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: #b9d4cd;
}

.mm-article-related {
  margin-top: 70px;
  padding-bottom: 70px;
}

.mm-article-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.mm-article-related__head h2 {
  margin: 0;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 500;
}

.mm-article-related__head a {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.mm-article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mm-article-related__card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--article-line);
  border-radius: var(--article-radius);
  background: var(--article-card);
  padding: 24px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.mm-article-related__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--article-shadow);
}

.mm-article-related__card span {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--article-teal-soft);
  color: var(--article-teal-dark);
  padding: 5px 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.mm-article-related__card h3 {
  margin: 0;
  color: var(--article-ink);
  font-size: 17px;
  line-height: 1.4;
}

.mm-article-related__card small {
  margin-top: auto;
  color: var(--article-muted);
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 1000px) {
  .mm-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mm-article-rail__sticky {
    position: static;
  }

  .mm-article-content {
    max-width: none;
  }

  .mm-article-inline-cta {
    grid-template-columns: 1fr;
  }

  .mm-article-inline-cta > div:last-child {
    min-height: 130px;
    border-top: 1px dashed var(--article-line);
    border-left: 0;
  }

  .mm-article-related__grid {
    grid-template-columns: 1fr;
  }

  .mm-article-pros-cons > div {
    grid-template-columns: 1fr;
  }

  .mm-article-service-cards > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mm-article-hero,
  .mm-article-map,
  .mm-article-layout,
  .mm-article-final,
  .mm-article-related {
    padding-inline: 16px;
  }

  .mm-article-hero {
    padding-top: 30px;
  }

  .mm-article-hero h1 {
    font-size: clamp(25px, 8vw, 34px);
    overflow-wrap: anywhere;
  }

  .mm-article-excerpt {
    font-size: 16px;
  }

  .mm-article-meta {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-article-author {
    max-width: 100%;
  }

  .mm-article-layout {
    gap: 26px;
    margin-top: 30px;
  }

  .mm-article-toc {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .mm-article-toc li {
    padding-left: 30px;
  }

  .mm-article-toc a {
    font-size: 13.5px;
    line-height: 1.35;
  }

  .mm-article-lead {
    margin-bottom: 28px;
    padding-left: 16px;
    font-size: 16px;
  }

  .mm-article-content h2 {
    margin-top: 38px;
  }

  .mm-article-callout,
  .mm-article-check__card,
  .mm-article-steps li,
  .mm-article-pros-cons article,
  .mm-article-service-cards a,
  .mm-article-related__card {
    padding: 16px;
  }

  .mm-article-callout {
    gap: 10px;
  }

  .mm-article-inline-cta {
    margin: 34px 0;
    border-radius: 18px;
  }

  .mm-article-inline-cta > div:first-child {
    padding: 22px 18px;
  }

  .mm-article-side-cta button,
  .mm-article-final button,
  .mm-article-inline-cta button {
    width: 100%;
    padding-inline: 14px;
    text-align: center;
  }

  .mm-article-table {
    margin-inline: -2px;
    border-radius: 14px;
  }

  .mm-article-related__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-article-map {
    display: none;
  }
}

@media (max-width: 420px) {
  .mm-article-hero,
  .mm-article-map,
  .mm-article-layout,
  .mm-article-final,
  .mm-article-related {
    padding-inline: 12px;
  }

  .mm-article-toc {
    padding-inline: 14px;
  }

  .mm-article-toc h2 {
    font-size: 11px;
  }
}
