/* Base: page canvas, type, focus, skip link, reduced motion. Elementor's kit sets the same fonts and colours. */
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 { color: var(--navy); font-family: var(--font); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 600; letter-spacing: -0.01em; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }

/* Visible focus: 2px cobalt outline on everything focusable (WCAG 2.2 AA) */
:focus-visible { outline: var(--focus); outline-offset: 2px; }
.mynm-dark-block :focus-visible, .mynm-hero :focus-visible, .mynm-section--dark :focus-visible { outline-color: #8DB3DA; }

.mynm-skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.mynm-skip-link:focus { top: 16px; color: #fff; }

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

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