.msm-legal {
  min-width: 320px;
  background: var(--msm-paper, #fbfaf7);
  color: var(--msm-ink, #261735);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.msm-legal *,
.msm-legal *::before,
.msm-legal *::after { box-sizing: border-box; }

.msm-legal a { color: var(--msm-gold-deep, #b47b12); }
.msm-legal a:hover { color: var(--msm-ink, #261735); }

.msm-legal__nav {
  border-bottom: 1px solid var(--msm-line, #e3ddd6);
  background: rgba(251, 250, 247, 0.97);
}

.msm-legal__nav-inner,
.msm-legal__footer-inner {
  width: min(calc(100% - 88px), var(--msm-content, 1240px));
  margin-inline: auto;
}

.msm-legal__nav-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.msm-legal__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--msm-ink, #261735);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.msm-legal__brand > img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}

.msm-legal__brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--msm-gold, #e7b63b);
  color: var(--msm-ink, #261735);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.msm-legal__nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.msm-legal__nav-links a {
  color: var(--msm-ink-soft, #4c3c59);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.msm-legal__nav-links a:hover,
.msm-legal__nav-links a[aria-current="page"] { color: var(--msm-gold-deep, #b47b12); }

.msm-legal__main { padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 9vw, 120px); }

.msm-legal__intro,
.msm-legal__content {
  width: min(calc(100% - 88px), var(--msm-copy, 680px));
  margin-inline: auto;
}

.msm-legal__intro { margin-bottom: 48px; }

.msm-legal__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--msm-gold-deep, #b47b12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.msm-legal__eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.msm-legal h1,
.msm-legal h2 {
  color: var(--msm-ink, #261735);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.msm-legal h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
}

.msm-legal h2 {
  margin: 48px 0 14px;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.1;
}

.msm-legal h2:first-child { margin-top: 0; }

.msm-legal p,
.msm-legal li {
  color: var(--msm-ink-soft, #4c3c59);
  font-size: 17px;
  line-height: 1.72;
}

.msm-legal p { margin: 0 0 18px; }
.msm-legal ul { margin: 0 0 22px; padding-left: 24px; }
.msm-legal li { padding-left: 5px; }
.msm-legal li + li { margin-top: 8px; }

.msm-legal__updated {
  margin: 0;
  color: var(--msm-muted, #786d7d);
  font-size: 14px;
}

.msm-legal__callout {
  margin: 28px 0 34px;
  padding: 22px 24px;
  border-left: 3px solid var(--msm-gold, #e7b63b);
  background: var(--msm-lavender-soft, #eee8f5);
}

.msm-legal__callout p:last-child { margin-bottom: 0; }

.msm-legal__footer {
  padding: 46px 0 26px;
  background: var(--msm-ink, #261735);
  color: #d7cfdc;
}

.msm-legal__footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.msm-legal__footer p {
  max-width: 360px;
  margin: 13px 0 0;
  color: #d7cfdc;
  font-size: 14px;
  line-height: 1.6;
}

.msm-legal__footer .msm-legal__brand { color: var(--msm-white, #fff); }
.msm-legal__footer .msm-legal__brand-mark { color: var(--msm-ink, #261735); }

.msm-legal__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: flex-end;
}

.msm-legal__footer-links a {
  color: #d7cfdc;
  font-size: 14px;
  text-decoration: none;
}

.msm-legal__footer-links a:hover { color: var(--msm-gold, #e7b63b); }

.msm-legal__footer-bottom {
  width: min(calc(100% - 88px), var(--msm-content, 1240px));
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bdb3c4;
  font-size: 12px;
}

.msm-legal a:focus-visible {
  outline: 3px solid rgba(180, 123, 18, 0.42);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .msm-legal__nav-inner,
  .msm-legal__footer-inner,
  .msm-legal__footer-bottom { width: min(calc(100% - 40px), var(--msm-content, 1240px)); }
  .msm-legal__nav-inner { min-height: 70px; }
  .msm-legal__nav-links { gap: 16px; }
  .msm-legal__nav-links a:not([aria-current="page"]) { display: none; }
  .msm-legal__intro,
  .msm-legal__content { width: min(calc(100% - 40px), var(--msm-copy, 680px)); }
  .msm-legal__main { padding-top: 50px; }
  .msm-legal h1 { font-size: clamp(32px, 10vw, 42px) !important; line-height: 1.04 !important; }
  .c-section .msm-legal h1 { font-size: clamp(32px, 10vw, 42px) !important; line-height: 1.04 !important; }
  .msm-legal p,
  .msm-legal li { font-size: 16px; }
  .msm-legal__footer-inner { display: block; }
  .msm-legal__footer-links { justify-content: flex-start; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .msm-legal * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
