:root {
  --paper: #f7f3ea;
  --ink: #2a2622;
  --muted: #6e665c;
  --rule: #cfc5b3;
  --accent: #9b1c1c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17150f;
    --ink: #ebe5d8;
    --muted: #a39a8a;
    --rule: #3d382e;
    --accent: #c2413a;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Cambria, "Hoefler Text", "Iowan Old Style", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.tetraktys {
  width: 88px;
  height: auto;
  margin-bottom: 2.25rem;
}
.tetraktys circle { fill: var(--muted); }
.tetraktys .apex { fill: var(--accent); }

h1 {
  margin: 0;
  font-weight: normal;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: 0.06em;
}

.title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--muted);
}
.title cite { font-style: italic; }

hr {
  width: 4rem;
  margin: 2.25rem auto;
  border: 0;
  border-top: 1px solid var(--rule);
}

.notice {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
footer p { margin: 0; }
