/* =============================
   SIRIUS-1 project — reset.css
   Modern, low-specificity reset
   (Use BEFORE sirius-1.css)
   ============================= */

/* 1) Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2) Remove default margins on common block elements */
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) {
  margin: 0;
  padding: 0;
}

/* 3) Base html/body */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  line-height: 1.5;
}

/* 4) Lists */
:where(ul[role="list"], ol[role="list"]) {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 5) Images & media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  vertical-align: middle;
}

/* 6) Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 7) Forms */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button,
input,
select,
textarea {
  margin: 0;
}

textarea {
  resize: vertical;
}

::placeholder {
  color: inherit;
  opacity: .6;
}

/* 8) Links */
a {
  background-color: transparent;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* 9) Typography helpers */
abbr[title] {
  text-decoration: underline dotted;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 1em;
}

/* 10) Fieldset/legend (normalize) */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

/* 11) Horizontal rule */
hr {
  height: 0;
  color: inherit;
  border: 0;
  border-top: 1px solid currentColor;
}

/* 12) Details/Summary */
summary {
  cursor: pointer;
}

/* 13) Focus styles (accessible, project color-friendly) */
:root {
  --focus-ring: rgba(0, 210, 255, .95);
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* 14) Motion reduction */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}