:root {
  color-scheme: light;
  --page-background: #f4f0e8;
  --text-color: #302b27;
  --reference-color: #746a62;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-background);
}

body {
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  background: var(--page-background);
  color: var(--text-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: grid;
  min-height: 100svh;
  padding: max(2.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  place-items: center;
}

.verse {
  width: min(100%, 43rem);
  margin: 0 auto;
  text-align: center;
}

.verse-text,
.verse-reference {
  margin: 0;
}

.verse-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.verse-reference {
  margin-top: clamp(2rem, 7vw, 3.5rem);
  color: var(--reference-color);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.4;
}

@media (min-width: 42rem) {
  .page-shell {
    padding-inline: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
