/* ===================================================================
   MediaForge — Reset + base typography
   Box-sizing reset, default body/link styling, the default scrollbar
   look, and the h1-h4 / .container base rules shared by every page.
   =================================================================== */


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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased; /* smoother text rendering on WebKit/Blink (Chrome, Safari) */
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--text-link-hover);
}

::selection {
  background: var(--accent-soft);
  color: var(--text-primary);
}
/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===================================================================
   CONTAINER / LAYOUT HELPERS
   =================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px;
}

@media (max-width: 640px) {
  .container {
    padding: 24px 16px;
  }
}
