/* === Base Styles === */
body {
  background-color: #fff;
  color: #000;
  font-family: monospace;
  padding: 2rem;
  font-size: 14px;
  line-height: 1.4;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ascii-art {
  overflow-x: auto;
  white-space: pre;
  margin-bottom: 2rem;
  line-height: 1;
  text-align: center;
}

/* === Typography === */
h1 { font-size: 1.3rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: 1rem; }

ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0.5rem 0 1.5rem;
}

li::before {
  content: "• ";
  margin-left: -1rem;
}

/* === Links === */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Navigation & Footer === */
nav {
  font-weight: bold;
}

nav a {
  margin: 0 0.5em;
}

footer {
  margin-top: 2rem;
  text-align: center;
}

address {
  margin-bottom: 1em;
}

/* === Responsive === */
@media (max-width: 600px) {
  body {
    padding: 1rem;
    font-size: 13px;
  }
}

/* === Dark Mode === */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #333;
    color: #eee;
  }

  a {
    color: #eee;
  }

  h1, h2, h3 {
    color: #eee;
  }

  li::before {
    color: #888;
  }

  .ascii-art {
    color: #0f0;
  }
}