/* 1. Global Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* 2. Document & Body Setup */
  html {
    color-scheme: light dark; /* Supports system dark mode out of the box */
    -webkit-text-size-adjust: none; /* Prevents text scale bugs on mobile iOS */
    text-size-adjust: none;
  }
  
  body {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* 3. Typography & Text Readability */
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    text-wrap: balance; /* Prevents single-word line wraps (orphans) */
  }
  
  p, li, figcaption {
    text-wrap: pretty; /* Prevents awkward typographic spacing */
    max-width: 65ch; /* Keeps text line lengths optimal for reading comfort */
  }
  
  /* 4. Media Elements */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  /* 5. Interactive Elements & Forms */
  input, button, textarea, select {
    font: inherit; /* Forces form elements to inherit font-family and size */
  }
  
  a {
    text-decoration-skip-ink: auto; /* Keeps underlines clear of descenders */
    color: inherit;
  }
  
  /* 6. Accessibility */
  @media (prefers-reduced-motion: reduce) {
    html:focus-within {
      scroll-behavior: auto;
    }
    
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  

.dm-button{
    width: 150px;
    padding: 1rem;
    background-color: white;
    color: black;
    border: 1px solid black;
    font-weight: bold;
    text-decoration:none;
}

.dm-button:hover, .dm-button:focus{
    color:black;
}

.hero-title {
    color: #121212;
    text-shadow:
    -1px -1px 1px rgba(255,255,255,0.06),
    1px  1px 1px rgba(0,0,0,0.9);
}

.hero-h1{
    font-size:25px;
    letter-spacing:10px;
    font-family: "Montserrat", sans-serif;
    font-weight:600;
}

.hero-sub{
    font-size:20px;
    letter-spacing:2px;
    font-family: "Montserrat", sans-serif;
    font-weight:300;
}

.coming-soon-div p{
    color:white;
}

.email-anchor{
    color:white;
}

.email-anchor:focus,.email-anchor:hover{
    color:white;
}

.matte-bg{
    background-color:#28282B;
}

/* flash overlay */
.flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
      rgba(255,255,255,1) 0%,
      rgba(140,200,255,0.8) 20%,
      rgba(0,0,0,0) 70%);
    opacity: 0;
    animation: flash 1.2s ease-out forwards;
  }
  
  /* optional glow burst lines */
  .flash::before,
  .flash::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow:
      0 0 80px 30px rgba(255,255,255,0.8),
      0 0 200px 80px rgba(120,180,255,0.4);
    animation: pulse 1.2s ease-out forwards;
  }
  
  @keyframes flash {
    0% {
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(0.2);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(4);
      opacity: 0;
    }
  }