/* ============================================================
   OmniResume — Modern CSS Reset
   ============================================================ */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-focus, #1F6FEB);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 0.375rem);
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--color-brand-100, #DBEAFE);
  color: var(--color-brand-900, #1E3A8A);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border, #E2E8F0);
}

fieldset {
  border: none;
}

legend {
  padding: 0;
}

dialog {
  border: none;
  padding: 0;
  background: transparent;
}

summary {
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}