/*
 * DailyBrainer — shared base stylesheet
 * Referenced by: /study/*.html
 * Provides: reset, base typography, scrollbar, link defaults
 */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  padding-left: 1.25rem;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}
