:root {
  --mm-theme-ink: #10334a;
  --mm-theme-muted: #587183;
  --mm-theme-deep: #075985;
  --mm-theme-ocean: #087ca7;
  --mm-theme-sky: #dff5fb;
  --mm-theme-line: #c9dfe7;
  --mm-theme-surface: #ffffff;
  --mm-theme-page: #edf7fa;
  --mm-theme-focus: #fdb323;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

html {
  min-width: 320px;
  background: #102f40;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--mm-theme-page);
  color: var(--mm-theme-ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #006f98;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--mm-theme-deep);
}

:focus-visible {
  outline: 3px solid var(--mm-theme-focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  color: var(--mm-theme-ink);
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

p,
ul,
ol {
  overflow-wrap: anywhere;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden.focusable:focus {
  position: fixed !important;
  z-index: 10000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: var(--mm-theme-deep);
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

