/* Deliberately almost nothing. */

:root {
  /* Tells the browser this page is intentionally light, so an OS or
     browser-level "force dark" doesn't override our explicit colours. */
  color-scheme: light;
}

body {
  max-width: 60em;
  margin: 2em;
  padding: 4em;
  font-size: 1.1em;
}

h1 {
  font-size: 1.7em; /* browser default is ~2em; this is 15% smaller */
  font-style: italic; /* the one small touch — a tilt, not a costume change */
}

.stanza p {
  margin: 0;
}

/* Contact modal */

.contact-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  cursor: pointer;
}

.contact-trigger:hover {
  border-bottom-style: solid;
}

dialog#contact {
  border: none;
  border-radius: 4px;
  padding: 2em;
  max-width: 48em;
  width: 90%;
  background: #FBFAF8;
  color: #16150F;
}

dialog#contact::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

dialog#contact form {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

dialog#contact label {
  font-size: 0.85em;
}

dialog#contact input,
dialog#contact textarea {
  font: inherit;
  font-size: 1.1em;
  padding: 0.6em 0.75em;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  color: #16150F;
}

dialog#contact textarea {
  resize: vertical;
  min-height: 10em;
}

dialog#contact .actions {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-top: 0.5em;
}
