:root.m2c-legal-active {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.m2c-legal-active body {
  margin: 0;
  background: #f6f9f8;
  color: #183c43;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.m2c-legal-page,
.m2c-legal-page * {
  box-sizing: border-box;
}

.m2c-legal-page a {
  color: #287c80;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.m2c-legal-page a:hover {
  color: #195b60;
}

.m2c-legal-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.m2c-legal-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #183c43;
  color: #fff !important;
  transform: translateY(-160%);
}

.m2c-legal-skip:focus {
  transform: translateY(0);
}

.m2c-legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #dce8e6;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.m2c-legal-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.m2c-legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #183c43 !important;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.m2c-legal-brand img {
  display: block;
  object-fit: contain;
}

.m2c-legal-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.m2c-legal-nav__links a {
  color: #415e63;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.m2c-legal-nav__links .m2c-legal-nav__cta {
  padding: 10px 17px;
  border-radius: 999px;
  background: #2f8f93;
  color: #fff;
}

.m2c-legal-nav__links .m2c-legal-nav__cta:hover {
  background: #246f73;
  color: #fff;
}

.m2c-legal-hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid #dce8e6;
  background:
    radial-gradient(circle at 84% 10%, rgba(243, 190, 65, 0.16), transparent 28%),
    linear-gradient(145deg, #edf8f6 0%, #fff 60%);
}

.m2c-legal-eyebrow {
  margin: 0 0 14px;
  color: #2f8f93;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.m2c-legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #12363d;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.m2c-legal-summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: #415e63;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
}

.m2c-legal-date {
  margin: 16px 0 0;
  color: #6c8185;
  font-size: 14px;
}

.m2c-legal-alert {
  max-width: 920px;
  margin-top: 38px;
  padding: 26px 28px;
  border: 1px solid #efcf7f;
  border-left: 5px solid #e3a91f;
  border-radius: 14px;
  background: #fffaf0;
  box-shadow: 0 14px 40px rgba(34, 69, 72, 0.07);
}

.m2c-legal-alert h2 {
  margin: 0 0 12px;
  color: #5e4718;
  font-size: 19px;
}

.m2c-legal-alert ul {
  margin: 0;
  padding-left: 21px;
  color: #604f2c;
}

.m2c-legal-alert li {
  margin: 8px 0;
  line-height: 1.55;
}

.m2c-legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
  padding-top: 58px;
  padding-bottom: 88px;
}

.m2c-legal-toc {
  align-self: start;
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  padding-right: 12px;
}

.m2c-legal-toc > p {
  margin: 0 0 14px;
  color: #183c43;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m2c-legal-toc nav {
  display: grid;
  gap: 2px;
}

.m2c-legal-toc a {
  padding: 7px 10px;
  border-left: 2px solid transparent;
  color: #63777b;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.m2c-legal-toc a:hover,
.m2c-legal-toc a:focus-visible {
  border-left-color: #2f8f93;
  background: #edf6f4;
  color: #1f686c;
}

.m2c-legal-article {
  min-width: 0;
  padding: 6px 42px 28px;
  border: 1px solid #e0e9e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(34, 69, 72, 0.07);
}

.m2c-legal-section {
  padding: 36px 0;
  border-bottom: 1px solid #e5eceb;
}

.m2c-legal-section:last-child {
  border-bottom: 0;
}

.m2c-legal-section h2 {
  margin: 0 0 18px;
  color: #153a41;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.m2c-legal-section p {
  margin: 14px 0 0;
  color: #405a5f;
  font-size: 16px;
  line-height: 1.75;
}

.m2c-legal-section ul {
  margin: 18px 0 0;
  padding-left: 23px;
  color: #405a5f;
}

.m2c-legal-section li {
  margin: 10px 0;
  padding-left: 4px;
  line-height: 1.65;
}

.m2c-legal-section li::marker {
  color: #2f8f93;
}

.m2c-legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #edf7f5;
  color: #31575b;
  font-size: 15px;
  line-height: 1.65;
}

.m2c-legal-footer {
  border-top: 1px solid #dce8e6;
  background: #15383e;
  color: #d9e6e5;
}

.m2c-legal-footer__inner {
  min-height: 190px;
  padding-top: 42px;
  padding-bottom: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.m2c-legal-brand--footer {
  color: #fff !important;
}

.m2c-legal-footer p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #aec3c2;
  font-size: 14px;
  line-height: 1.6;
}

.m2c-legal-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 28px;
}

.m2c-legal-footer nav a {
  color: #d9e6e5;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 920px) {
  .m2c-legal-nav__links a:not(.m2c-legal-nav__cta) {
    display: none;
  }

  .m2c-legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .m2c-legal-toc {
    position: static;
    max-height: none;
    padding: 18px;
    border: 1px solid #dce8e6;
    border-radius: 12px;
    background: #fff;
  }

  .m2c-legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .m2c-legal-container,
  .m2c-legal-nav {
    width: min(100% - 28px, 1180px);
  }

  .m2c-legal-nav {
    min-height: 64px;
  }

  .m2c-legal-brand {
    font-size: 16px;
  }

  .m2c-legal-brand img {
    width: 38px;
    height: 38px;
  }

  .m2c-legal-hero {
    padding: 48px 0 38px;
  }

  .m2c-legal-alert {
    padding: 22px 20px;
  }

  .m2c-legal-toc nav {
    grid-template-columns: 1fr;
  }

  .m2c-legal-article {
    padding: 0 22px 18px;
    border-radius: 14px;
  }

  .m2c-legal-section {
    padding: 30px 0;
  }

  .m2c-legal-footer__inner {
    flex-direction: column;
  }

  .m2c-legal-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root.m2c-legal-active {
    scroll-behavior: auto;
  }
}
