/* ============================================================
   AUTOMATIC PLATFORM — CSS RESET
   Modern opinionated reset for consistent cross-browser rendering
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

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

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

/* Scrollbar */
::-webkit-scrollbar            { width: 6px; height: 6px; }
::-webkit-scrollbar-track      { background: var(--n-100); }
::-webkit-scrollbar-thumb      { background: var(--n-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover{ background: var(--n-600); }

/* Selection */
::selection {
  background: rgba(232, 76, 11, 0.15);
  color: var(--ap-black);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--ap-orange);
  outline-offset: 2px;
}
