:root {
  --accent: #1d4e89;       /* deep blue for headings */
  --highlight: #fdd835;    /* soft yellow for links */
  --text-light: #333;
  --max-width: 680px;
  --spacing: 2rem;
}

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  line-height: 1.65;
  background: linear-gradient(to bottom, #b3e0ff 0%, #fff9c4 100%); /* light blue to pale yellow sky */
  color: var(--text-light);
}

header, section, footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing) 1rem;
}

header {
  text-align: center;
  padding-top: 3rem;
}

header h1 {
  color: var(--accent);
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

header p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

h2 {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid rgba(29,78,137,0.3);  /* subtle underline for notebook feel */
}

p {
  margin: 0.8rem 0;
}

ul {
  margin: 0.8rem 0 0.8rem 1.4rem;
}

li {
  margin-bottom: 0.4rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--highlight);
  transition: all 0.2s ease;
}

a:hover {
  color: #0b3d91;
  border-bottom-color: var(--accent);
}

footer {
  text-align: center;
  color: var(--text-light);
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 500px) {
  header h1 {
    font-size: 1.9rem;
  }

  header p {
    font-size: 1rem;
  }

  header, section, footer {
    padding: 1.5rem 0.5rem;
  }
}
