*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ms-mist: #f8f5fb;
  --ms-paper: #ffffff;
  --ms-plum: #7a4a8c;
  --ms-plum-deep: #5d356c;
  --ms-lilac: #efe6f4;
  --ms-ink: #2a2230;
  --ms-dim: #6f6477;
  --ms-hair: #e6dcec;
  --ms-serif: Georgia, Cambria, "Times New Roman", serif;
  --ms-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ms-mist);
  color: var(--ms-ink);
  font-family: var(--ms-sans);
  font-size: 16px;
  line-height: 1.72;
}

.ms_top {
  padding: 22px 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--ms-hair);
}
.ms_top__brand {
  position: relative;
  display: inline-block;
  font-family: var(--ms-serif);
  font-size: 20px;
  color: var(--ms-plum-deep);
  text-decoration: none;
  padding-left: 22px;
}
.ms_top__brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  box-shadow: inset -4px -2px 0 0 var(--ms-plum);
}

.ms_docs {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 16px 60px;
}
.ms_docs__title {
  font-family: var(--ms-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
}
.ms_docs__intro {
  text-align: center;
  color: var(--ms-dim);
  margin-bottom: 8px;
}
.ms_docs__date {
  text-align: center;
  font-size: 13px;
  color: var(--ms-plum);
  margin-bottom: 26px;
}
.ms_chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.ms_chips a {
  font-size: 13px;
  color: var(--ms-plum-deep);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ms-lilac);
}
.ms_chips a:hover {
  background: var(--ms-hair);
}

.ms_fold {
  background: var(--ms-paper);
  border: 1px solid var(--ms-hair);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.ms_fold summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  position: relative;
}
.ms_fold summary::-webkit-details-marker {
  display: none;
}
.ms_fold summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--ms-plum);
  border-bottom: 2px solid var(--ms-plum);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.ms_fold[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.ms_fold h2 {
  font-family: var(--ms-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ms-plum-deep);
}
.ms_fold__body {
  padding: 0 22px 16px;
}
.ms_fold__body h3 {
  font-size: 15px;
  margin: 12px 0 4px;
}
.ms_fold__body p {
  margin-bottom: 10px;
}
.ms_fold__body ul,
.ms_fold__body ol {
  margin: 0 0 12px 20px;
}
.ms_fold__body li {
  margin-bottom: 5px;
}
.ms_fold__body a {
  color: var(--ms-plum);
}
.ms_hint {
  margin: 10px 0 14px;
  padding: 12px 16px;
  background: var(--ms-mist);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ms-dim);
}

.ms_bottom {
  margin-top: auto;
  padding: 26px 16px;
  background: var(--ms-lilac);
  text-align: center;
}
.ms_bottom__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 10px;
}
.ms_bottom__nav a {
  font-size: 13px;
  color: var(--ms-plum-deep);
  text-decoration: none;
}
.ms_bottom__copy {
  font-size: 12px;
  color: var(--ms-dim);
}

@media (max-width: 520px) {
  .ms_fold summary {
    padding: 16px 46px 16px 16px;
  }
  .ms_fold__body {
    padding: 0 16px 14px;
  }
}
