@charset "UTF-8";

/* ============================================
   Modern CSS Reset (2026 recommended)
   based on modern-css-reset + practical tweaks
============================================ */

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

/* Remove default margin */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd {
  margin: 0;
}

/* Root settings */
html {
  /* 10px base */
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  min-height: 100vh;
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

/* Remove list styles */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

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

/* Prevent textarea resize breaking layouts */
textarea {
  resize: vertical;
}

/* Improve line breaking */
p,
li,
dd {
  overflow-wrap: anywhere;
}

/* Accessible focus */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}