:root {
  --mm-heading-tracking: 0em;
  --mm-focus-ring: #315bff;
  --mm-paper: #fafaf7;
  --mm-carbon: #101827;
  --mm-secondary: #667180;
  /* One side padding for every content section, so all of them share one content width.
     On wide screens it grows until the content stops at 1632px. */
  --mm-section-gutter: clamp(2.5rem, 3.85vw, 4rem);
}

@media (min-width: 1600px) {
  :root {
    --mm-section-gutter: max(4rem, calc((100vw - 1760px) / 2 + 4rem));
  }
}

@media (max-width: 1400px) {
  :root {
    --mm-section-gutter: 3rem;
  }
}

@media (max-width: 1180px) {
  :root {
    --mm-section-gutter: 2rem;
  }
}

@media (max-width: 980px) {
  :root {
    --mm-section-gutter: clamp(1.25rem, 5vw, 3rem);
  }
}

@media (max-width: 600px) {
  :root {
    --mm-section-gutter: 1rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: Epilogue, sans-serif;
  font-size: 16px;
  line-height: 1.875;
  margin: 0;
  overflow-wrap: break-word;
  padding: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: var(--mm-heading-tracking);
  line-height: 1.07;
  text-wrap: balance;
}

button,
input,
select,
textarea {
  font: inherit;
}

p {
  text-wrap: pretty;
}

a {
  text-underline-offset: 0.18em;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--mm-focus-ring);
  outline-offset: 4px;
}

.wp-site-blocks,
.mm-site-main {
  margin-inline: 0;
  max-width: none;
  padding-inline: 0 !important;
  width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: #0d1832;
  height: auto;
  left: 1rem;
  padding: 0.8rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

::selection {
  background: #f4c542;
  color: #101827;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Plain pages (privacy policy): a narrow reading column under the shared header. */
.mm-page {
  background: #fafaf7;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.mm-page__inner {
  margin-inline: auto;
  max-width: 50rem;
  padding-inline: var(--mm-section-gutter);
}

.mm-page__title {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.mm-legal__meta {
  color: #667180;
  font-size: 0.92rem;
  margin: 0 0 2rem;
}

.mm-legal h2 {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 2rem 0 0.6rem;
}

.mm-legal p,
.mm-legal li {
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1.65;
}

.mm-legal p {
  margin: 0 0 0.9rem;
}

.mm-legal ul {
  margin: 0 0 0.9rem;
  padding-left: 1.3rem;
}

.mm-legal li + li {
  margin-top: 0.4rem;
}

.mm-legal a {
  color: #315bff;
}
