/* -------------------------------------------------
      Global reset & typography
      ------------------------------------------------- */
html { box-sizing: border-box; font-size: 100%; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
  "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
  padding: 1rem;
}

/* -------------------------------------------------
   Layout – a centered column that grows/shrinks
   ------------------------------------------------- */
.container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;               /* space between sections */
}

/* -------------------------------------------------
   Section styling
   ------------------------------------------------- */
section {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Header */
header {
  text-align: center;
}
header h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: .5rem;
}
header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #555;
}

/* Content blocks */
article h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: .5rem;
}
article p {
  margin-bottom: 1rem;
}
article ol {
  margin-left: 1.5rem;
}


/* Footer */
footer {
  text-align: center;
  font-size: .9rem;
  color: #777;
}

/* -------------------------------------------------
   Responsive tweaks
   ------------------------------------------------- */
@media (max-width: 480px) {
  body { padding: 0.5rem; }
  section { padding: 1rem; }
}
