/* ================================
   BASE STYLES & RESETS
   ================================
   Foundation styles for the entire site
*/

/* Reset & Base Styles */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  overscroll-behavior: none;
  margin: 0;
  padding: 0;
  font-weight: var(--font-weight-light);
  overflow-x: hidden;
  font-size: var(--step-0);
  min-height: 100vh;
  width: 100%;
}

/* Mobile: Ensure full coverage without rounded corners */
@media screen and (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow-x: hidden;
  }
  
  #wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography Resets */
h1, h2, h3, h4, p {
  margin: 0;
}

p {
  line-height: 1.35;
}

/* Utility Classes */
.flow--lg > * + * {
  margin-top: 2em;
}

.flow > * + * {
  margin-top: 1em;
}


