/* ==========================================================================
   EXTENSIONPAD — RESET & GLOBAL STYLES
   Clean box-sizing, smooth scrolling, typography fundamentals.
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--silver-mid);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body {
  min-height: 100vh;
  background: var(--bg-deep);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

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

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

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

button {
  cursor: pointer;
  user-select: none;
}

/* Custom Selection Highlight */
::selection {
  background: var(--mint-primary);
  color: var(--bg-deep);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--silver-dark);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-tight {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
