/* Base: reset, typography, shared utilities. */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--mvlco-font-body);
  color: var(--mvlco-text);
  background: var(--mvlco-white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.mv-no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--mvlco-font-heading);
  color: var(--mvlco-deep-blue);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--mvlco-primary); }
a:hover { color: var(--mvlco-primary-dark); }

img { max-width: 100%; height: auto; }

button { font: inherit; cursor: pointer; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--mvlco-gold);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.mv-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;
}

.mv-skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: var(--mvlco-radius-sm);
  background: var(--mvlco-yellow);
  color: var(--mvlco-deep-blue);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.mv-skip-link:focus { top: 12px; }

.mv-main { display: block; min-height: 50vh; }
.mv-main:focus { outline: none; }

.mv-container {
  width: 100%;
  max-width: var(--mvlco-content-max);
  margin: 0 auto;
  padding: 0 var(--mvlco-gutter);
}

.mv-section { padding: 60px 0; }

.mv-section__heading {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  margin-bottom: 36px;
}

.mv-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--mvlco-radius-pill);
  background: var(--mvlco-primary);
  color: var(--mvlco-white);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--mvlco-transition), transform var(--mvlco-transition);
}
.mv-button:hover { background: var(--mvlco-primary-dark); color: var(--mvlco-white); transform: translateY(-2px); }

.mv-message-page { padding: 72px 20px; text-align: center; }
.mv-muted { color: var(--mvlco-text-muted); font-size: 0.875rem; }

@media (max-width: 768px) {
  .mv-section { padding: 40px 0; }
}

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