/* ============================================================================
   PLEXUSOFT WEBSITE - CSS RESET
   Modern CSS reset for consistent cross-browser styling
   ============================================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: var(--line-height-normal);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-gray-900);
  background-color: var(--color-white);
}

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

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-navy);
}

p {
  line-height: var(--line-height-relaxed);
}

/* Remove animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 2px;
}

/* Skip to main content link (hidden by default, shown on focus) */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  z-index: 9999;
  text-decoration: none;
}

.skip-to-main:focus {
  top: 0;
}

