:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  --background: #f5e7e7;
  --ink: #504340;
  background: var(--background);
  color: var(--ink);
  transition: background-color 800ms ease, color 800ms ease;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100svh; }
.canvas { min-height: 100svh; overflow: hidden; position: relative; isolation: isolate; }
h1 { position: fixed; z-index: 1; bottom: max(40px, env(safe-area-inset-bottom)); left: max(40px, env(safe-area-inset-left)); margin: 0; line-height: 1; }
.wordmark {
  display: block;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 700 24px/1 Arial, Helvetica, sans-serif;
  letter-spacing: -1px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wordmark:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; border-radius: 1px; }
.glow {
  display: none;
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(255 255 255 / 25%) 0%, rgb(255 255 255 / 10%) 30%, transparent 65%);
  transform: translate(calc(16vw - 280px), calc(85svh - 280px));
}
@media (hover: hover) and (pointer: fine) {
  .glow { display: block; }
}
@media (hover: none), (pointer: coarse) {
  body, .canvas {
    background: inherit;
    min-height: 100dvh;
  }
}
@media (max-width: 480px) {
  h1 { left: max(24px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom)); }
  .wordmark { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  .glow { display: none; }
}
