:root {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(ellipse at 52% 48%, #34564570, transparent 45%),
    radial-gradient(ellipse at 14% 80%, #40755a, transparent 60%),
    radial-gradient(ellipse at 88% 20%, #6e9c71, transparent 55%),
    linear-gradient(145deg, #b9d8ba, #8fbba0 55%, #c5dbaf);
}

#ink {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

a[href] {
  color: #efffd5;
  text-decoration: none;
}

a[href]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.tremble-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  user-select: none;
}

.tremble-word {
  white-space: nowrap;
}

.tremble-letter {
  display: inline-block;
  pointer-events: none;
}

.reading-panel {
  box-sizing: border-box;
  width: min(48rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 6vw, 4rem);
  border: 1px solid #d7efdd50;
  border-radius: 1.25rem;
  background: #16372eed;
  color: #f5fbf5;
  box-shadow: 0 1.25rem 4rem #112c2345;
}

.reading-panel :is(h1, h2) {
  margin: 0 0 1.75rem;
  font: 400 clamp(2rem, 5vw, 3.25rem) / 1.1 Georgia, serif;
  letter-spacing: -0.03em;
}

.reading-panel p {
  margin: 0;
  color: #d2e7d8;
  font: 1rem / 1.6 system-ui, sans-serif;
}

.note-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  padding-block: 2rem;
}

.note-page nav {
  margin-top: 2rem;
  font: 1rem / 1.6 system-ui, sans-serif;
}

.quote-note header {
  margin-bottom: 1.75rem;
}

.quote-note h1 {
  margin-bottom: 0.65rem;
  text-wrap: balance;
}
