/* --------------------------------------------------------------
   RESET / GLOBAL STYLES
   Purpose: sensible defaults and base typography.
-------------------------------------------------------------- */

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

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

body {
  font-family: "Chalkboard SE", sans-serif;
  color: #333;          /* Base text color */
  line-height: 1.6;
  background-color: #ffffff;  /* Base background */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Utility: underline text/links consistently (replaces inline styles) */
.u-underline { text-decoration: underline !important; }

/* Utility Class: Responsive Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   TABLET STYLES (max-width: 768px)
======================================== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    line-height: 1.5;
  }
}

/* ========================================
   MOBILE STYLES (max-width: 600px)
======================================== */
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }

  body {
    padding: 0;
  }

  img {
    height: auto;
  }

  .container {
    padding: 0 0.5rem;
  }
}
