/*
  global.css — ICS Platform Design System Entry Point
  Single source of truth for all base styles.
  Load order is fixed; do not reorder.

  Origin: archive_old_project/frontend/assets/css/global.css
  Adapted for Django staticfiles (each file loaded individually in base.html).
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* =========================
   BASE RESET
========================= */

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


html {
    font-size: 100%;
    font-style: normal;
    font-display: fallback;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: "Roboto", system-ui, sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
}


main,
section {
  overflow: hidden;
}

main {
    padding-bottom: 90px;
}

a,
button {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  border: none;
  outline: none;
  color: inherit;
  background: unset;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: inherit;
  line-height: 1.25;
  text-wrap: balance;
  word-wrap: break-word;
}

p,
li {
  font-family: inherit;
  line-height: 1.5;
  text-wrap: pretty;
  word-wrap: break-word;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background-size: cover;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}
