@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
/* =========================
   Global Reset & Defaults
   ========================= */

/* Use a more predictable box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default browser margins */
body {
  margin: 0;
  padding: 0;
  font-family: "VT323", monospace;
  line-height: 1.6;
  color: #c64600;
  background-color: #000000;
}

/* =========================
   Typography
   ========================= */

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

p {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Links */
a {
  color: #9a9996;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* =========================
   Layout
   ========================= */

header,
main,
footer {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

header {
  border-bottom: 1px solid #ddd;
}

footer {
  border-top: 1px solid #ddd;
  font-size: 0.875rem;
  color: #666;
}

/* =========================
   Navigation (optional)
   ========================= */

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

nav a {
  font-weight: 500;
}

/* =========================
   Lists
   ========================= */

ul, ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

/* =========================
   Code & Preformatted Text
   ========================= */

code {
  font-family: "Courier New", Courier, monospace;
  background-color: #000000;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

pre {
  background-color: #000000;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
}

/* =========================
   Images
   ========================= */

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Utility Classes
   ========================= */

.center {
  text-align: center;
}

.muted {
  color: #777;
}

.spacer {
  margin-top: 2rem;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 24px 16px;


  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  gap: 24px;
  align-items: start;
}


.margin {
  background: #000000;
  border: 1px solid #9a9996;
  border-radius: 12px;
  padding: 14px 14px 6px 14px;
}

.canon {
  background: transparent;
  padding: 0;
}

.canon-text {
  margin: 0 0 18px 0;
  font-size: 1.05rem;
}

.canon-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #9a9996;
  color: #af3f00;
  font-size: 0.9rem;
}

.notes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes li {
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #9a9996;
}

.notes li:last-child {
  border-bottom: none;
}

.notes a {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
}

.notes span {
  display: block;
  margin-top: 6px;
  color: #AF3F00;
  font-size: 0.95rem;
}

/* Superscript-style markers in the canon */
.marker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  vertical-align: super;
  margin-left: 2px;
}

/* If you jump to a margin note, give it a subtle highlight */
.notes li:target {
  outline: 2px solid #9a9996;
  outline-offset: 6px;
  border-radius: 8px;
  padding: 10px;
}
