:root {
  color-scheme: light;
  --ink: #34261f;
  --ink-soft: #6e5a4f;
  --cream: #fffaf1;
  --paper: #ffffff;
  --peach: #ffd9bd;
  --peach-strong: #f29767;
  --berry: #b94b6b;
  --mint: #bde2cb;
  --sky: #cce5ee;
  --line: rgba(79, 51, 39, 0.14);
  --shadow: 0 12px 30px rgba(92, 55, 39, 0.14);
  --shadow-small: 0 5px 14px rgba(92, 55, 39, 0.12);
  --radius-small: 14px;
  --radius: 22px;
  --radius-large: 30px;
  --tap-size: 48px;
  --game-target: 72px;
  --page-gutter: clamp(12px, 3vw, 32px);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff7e8;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

button, input { font: inherit; }

button { color: inherit; }

button:focus-visible {
  outline: 4px solid #287eaa;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.is-reduced-motion *,
.is-reduced-motion *::before,
.is-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
