  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body {
    height: 100%;
    overflow: hidden;
    background: #0b0b12;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }
  #paint {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    cursor: crosshair;
  }
  #mark {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    mix-blend-mode: screen;
  }
  #mark h1 {
    font-size: clamp(3.5rem, 14vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    opacity: 0.92;
  }
  #mark p {
    font-size: clamp(0.9rem, 2.6vw, 1.25rem);
    letter-spacing: 0.42em;
    text-indent: 0.42em; /* balance the tracking */
    text-transform: uppercase;
    color: #fff;
    opacity: 0.55;
    margin-top: 0.4em;
  }
  #foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    text-align: center;
    pointer-events: none;
  }
  #foot a {
    pointer-events: auto;
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1px;
  }
  #foot a:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.6); }
  #hint {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 2s ease;
  }
  @media (prefers-reduced-motion: reduce) {
    #paint { display: none; }
    body { background: radial-gradient(120% 120% at 20% 10%, #2b1240 0%, #0b2036 45%, #0b0b12 100%); }
  }
