/** * CSS Reset & Base Styles */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading-normal); color: var(--text-primary); background-color: var(--bg-primary); min-height: 100vh; } /* Focus styles */ :focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; } /* Selection */ ::selection { background-color: var(--accent-primary); color: white; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); } ::-webkit-scrollbar-thumb { background: var(--border-emphasis); border-radius: var(--radius-full); } ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } /* Smooth scrolling */ html { scroll-behavior: smooth; } /* Code/Mono text */ code, pre, kbd, samp { font-family: var(--font-mono); } /* Links */ a { color: var(--accent-primary); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: var(--accent-primary-hover); } /* Buttons reset */ button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; } /* Input reset */ input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; background: transparent; border: none; } input:focus, textarea:focus, select:focus { outline: none; } /* Image */ img { max-width: 100%; height: auto; display: block; } /* List reset */ ul, ol { list-style: none; }