/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  padding: 48px 20px; /* theme.spacing(6) equivalent */
  min-height: 100vh;
}

/* Light mode (default) */
body {
  background-color: #FFFFFF;
  color: #121212;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #FFFFFF;
  }
}

/* Container matching MUI Container maxWidth="md" */
.container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Typography variants matching MUI theme */
h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 24px; /* theme.spacing(3) equivalent */
  color: inherit; /* Inherits from body */
}

p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: inherit; /* Inherits from body */
  margin-bottom: 8px; /* Very tight spacing */
}

/* Content container */
.content {
  display: flex;
  flex-direction: column;
  gap: 24px; /* theme.spacing(3) equivalent */
}

/* Section headers (bold spans) */
.section-header {
  font-weight: 700;
  color: inherit; /* Inherits from body */
}

/* Participation steps indented section */
.participation-steps {
  padding-left: 24px; /* theme.spacing(3) equivalent */
  margin-top: 8px; /* theme.spacing(1) equivalent */
}

.participation-steps p {
  margin-bottom: 8px; /* theme.spacing(1) equivalent */
}

/* Links matching MUI theme colors */
a {
  color: #0057B2; /* Light mode link color */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.primary-link {
  color: #0057B2; /* Light mode link color */
}

/* Dark mode link colors */
@media (prefers-color-scheme: dark) {
  a, .primary-link {
    color: #1E88E5; /* Dark mode link color */
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  body {
    padding: 24px 16px;
  }
  
  h1 {
    font-size: 24px;
    line-height: 28px;
  }
  
  .participation-steps {
    padding-left: 16px;
  }
}