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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f4f7f6;
  margin: 0;
  padding: 10px;
}

main {
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.25rem;
  margin-top: 25px;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

p {
  margin-bottom: 15px;
  font-size: 1rem;
}

ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* 
  Tablet and Desktop Enhancements (Progressive Enhancement)
  Once the screen reaches 768px or wider, these styles will apply, 
  centering the content and adding more padding.
*/
@media (min-width: 768px) {
  body {
    padding: 40px 20px;
  }

  main {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 35px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  main {
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  }
}
