/* --------------------
   CSS Reset (minimal)
--------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------
   Base Styles
--------------------- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f9fafb;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* --------------------
   Header
--------------------- */
header {
  text-align: center;
}

.profile-image {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: #6b7280;
  font-size: 1rem;
}

/* --------------------
   Content Sections
--------------------- */
main section {
  margin-top: 2.5rem;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: #374151;
}

/* --------------------
   Footer
--------------------- */
.footer {
  margin-top: 3rem;
  text-align: center;
}

.footer nav {
  margin-bottom: 0.75rem;
}

.footer a {
  margin: 0 0.75rem;
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

copyright {
  font-size: 0.875rem;
  color: #6b7280;
}

/* --------------------
   Responsive tweaks
--------------------- */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
}
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f172a;
    color: #e5e7eb;
  }

  p {
    color: #cbd5f5;
  }

  .subtitle {
    color: #94a3b8;
  }

  h1,
  h2 {
    color: #f8fafc;
  }

  .footer a {
    color: #60a5fa;
  }
}
