/* Basic Reset / Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.6; /* Slightly increased line height */
  -webkit-font-smoothing: antialiased;
  font-size: 16px; /* Base font size */
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa; /* Very light grey background */
  color: #212529; /* Dark grey text color */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 900px; /* Slightly narrower */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
.header {
  background-color: #ffffff; /* White header */
  color: #343a40; /* Darker grey header text */
  padding: 1rem 0;
  border-bottom: 1px solid #dee2e6; /* Light border */
  /* Removed box-shadow for flatter look */
}

.header h1 {
  font-weight: 500; /* Slightly bolder */
  font-size: 1.375rem; /* Slightly smaller */
  line-height: 1.2;
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Card Styling */
.card {
  background-color: #ffffff; /* White card background */
  border-radius: 6px; /* Slightly smaller radius */
  border: 1px solid #e9ecef; /* Light border */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); /* Very subtle shadow */
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  font-weight: 500;
  font-size: 1.1rem; /* Slightly smaller group heading */
  margin-bottom: 1rem;
  color: #495057; /* Medium grey heading color */
  border-bottom: 1px solid #f1f1f1; /* Faint separator line */
  padding-bottom: 0.6rem;
}

/* Link List Styling */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0; /* Ensure no default margin */
}

.link-list li {
  margin-bottom: 0.6rem; /* Adjust spacing between links */
}

.link-list li:last-child {
  margin-bottom: 0; /* No margin on the last item */
}

.link-list a {
  color: #495057; /* Medium grey link color */
  text-decoration: none;
  font-weight: 400; /* Regular weight */
  padding: 0.2rem 0; /* Add slight vertical padding for touch */
  display: inline-block; /* Allow padding */
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.link-list a:hover,
.link-list a:focus {
  color: #000000; /* Black on hover/focus */
  text-decoration: underline; /* Underline for clarity */
  background-color: transparent; /* Ensure no background */
  outline: none; /* Remove default focus outline if desired */
}

/* Footer */
.footer {
  background-color: #ffffff; /* White footer */
  color: #6c757d; /* Lighter grey footer text */
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  margin-top: auto;
  border-top: 1px solid #dee2e6; /* Light border */
}