:root {
  font-family: "Garamond", "EB Garamond", "Georgia", "Times New Roman", serif;
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #f5f5f5, #d9d9d9);
  color: #111;
}

/* Shared card style for both index and charter */
.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  max-width: 720px;
  width: calc(100% - 2rem);
  margin: 3rem auto;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 1px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  text-align: left;
}

/* Top navigation */

.nav {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.nav a {
  text-decoration: none;
  border-bottom: 1px solid #999;
  padding-bottom: 0.1rem;
  color: #333;
}

.nav a:hover {
  border-bottom-color: #000;
}

.nav-separator {
  margin: 0 0.5rem;
  color: #666;
}

/* Headings */

h1,
h2 {
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
}

/* Text & lists */

p,
ol,
ul {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

ol,
ul {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.6rem;
}

/* (Old bottom link-row, if you ever need it again)
.link-row {
  margin-top: 1.5rem;
  text-align: center;
}
*/

/* Mobile adjustments */

@media (max-width: 600px) {
  .card {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
  }

  h1 {
    font-size: 1.9rem;
  }
}

