/* ============================================================
   Derek Reset & Base Styles
   ============================================================ */

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

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(25,25,24,0.08) transparent;
}

::-webkit-scrollbar { width: 5px; height: 5px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(25,25,24,0.08); border-radius: 4px; transition: background 0.2s; }
::-webkit-scrollbar-thumb:hover { background: rgba(25,25,24,0.2); }
::-webkit-scrollbar-corner { background: transparent; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--df-font-body);
  font-size: var(--df-text-body);
  line-height: var(--df-leading-normal);
  color: var(--df-text-primary);
  background: var(--df-bg-base);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--df-weight-semibold);
  line-height: var(--df-leading-tight);
}

table { border-collapse: collapse; width: 100%; }

::selection { background: rgba(255, 185, 35, 0.16); color: var(--df-text-primary); }
:focus-visible { outline: 2px solid var(--df-text-primary); outline-offset: 2px; }

.df-financial {
  font-family: var(--df-font-mono);
  font-feature-settings: 'tnum' 1, 'kern' 1;
  text-align: right;
  letter-spacing: -0.02em;
}

.df-mono {
  font-family: var(--df-font-mono);
  font-feature-settings: 'tnum' 1;
}

.df-container { width: 100%; max-width: var(--df-container); margin: 0 auto; padding: 0 var(--df-space-6); }
.df-container-sm { max-width: var(--df-container-sm); }
.df-container-lg { max-width: var(--df-container-lg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

