/* ═══════════════════════════════════════════════════════════════
   GIO Platform - Base Styles
   Reset and foundational styles
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   CSS RESET
   ═══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: var(--fw-light);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY BASE
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-hero);
  font-weight: var(--fw-semibold);
  line-height: var(--leading-snug);
  color: var(--navy);
}

p {
  margin-bottom: var(--space-4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

a:hover {
  color: var(--azure);
}

/* ═══════════════════════════════════════════════════════════════
   LISTS
   ═══════════════════════════════════════════════════════════════ */
ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════════
   IMAGES & MEDIA
   ═══════════════════════════════════════════════════════════════ */
img,
svg,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS & INTERACTIVE
   ═══════════════════════════════════════════════════════════════ */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   FOCUS STATES (Accessibility)
   ═══════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   SELECTION
   ═══════════════════════════════════════════════════════════════ */
::selection {
  background: rgba(37,99,235,0.2);
  color: var(--navy);
}
