/* 1. Design tokens */
:root {
  --mv-color-text-main: #0f172a;
  --mv-color-text-body: #334155;
  --mv-color-text-muted: #64748b;
  --mv-color-border: #e2e8f0;
  --mv-color-border-strong: #cbd5e1;
  --mv-radius-lg: 1rem;
  --mv-radius-xl: 1.5rem;
  --mv-radius-2xl: 2rem;
  --mv-shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.08);
  --mv-ease-standard: cubic-bezier(.2, .8, .2, 1);
}

/* 2. Base */
html,
body {
  font-family: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 3. Layout helpers */
section[id],
main[id] {
  scroll-margin-top: 96px;
}

.mv-container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .mv-container {
    width: min(100% - 3rem, 72rem);
  }
}

/* 4. Buttons */

/* 5. Cards */

/* 6. Header/footer */

/* 7. Animations */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 8. Accessibility */
.mv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.35);
  outline-offset: 4px;
}
