/* ===========================================================================
   Modern CSS reset — Royal Tweaks
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -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: 0; cursor: pointer; }

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

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; line-height: 1.12; }

ul, ol { list-style: none; }

::selection { background: #8B5CF6; color: #fff; }

:focus-visible { outline: 2px solid #8B5CF6; outline-offset: 3px; border-radius: 4px; }

/* Screen-reader-only / skip link */
.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;
}
.sr-only:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; padding: 10px 16px; margin: 0; clip: auto;
  background: #8B5CF6; color: #fff; border-radius: 8px; z-index: 2000;
}
