:root { font-family: Arial, Helvetica, sans-serif; color: #111; background: #fff; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .2em; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.site-header, .site-footer { width: min(100%, 92rem); margin-inline: auto; padding: 1.7rem clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-logo { display: block; width: clamp(4rem, 7vw, 5rem); height: auto; }
.site-footer { font-size: .875rem; line-height: 1.6; }
.site-footer { color: #666; }
main { flex: 1; width: 100%; min-height: 100vh; min-height: 100dvh; }
.hero { width: min(100%, 62rem); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 6rem; padding: .5rem clamp(1.25rem, 4vw, 4rem) 3rem; }
.playground { min-width: 0; width: 100%; max-width: 52rem; }
.puzzle { display: block; width: 100%; height: auto; overflow: visible; }
.letter { cursor: grab; transition: transform 380ms cubic-bezier(.22,.8,.24,1); outline: none; touch-action: none; user-select: none; -webkit-user-select: none; }
.letter.is-dragging { cursor: grabbing; transition: none; }
.letter .focus-ring { fill: transparent; stroke: transparent; stroke-width: 4; }
.letter:focus-visible .focus-ring { stroke: #777; stroke-dasharray: 10 7; }
.letter:hover .glyph, .letter.is-dragging .glyph { opacity: .78; }
.game-tools { margin-top: 1.25rem; text-align: center; color: #222; font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.game-tools p { margin: 0; }
.intro { width: min(100%, 43rem); text-align: center; }
.description { font-size: 1.0625rem; line-height: 1.7; color: #333; margin: 0; text-wrap: pretty; }
.description strong { font-weight: 600; }
.contact { display: inline-block; margin-top: 1.25rem; font-size: .9375rem; line-height: 1.6; text-decoration-color: #aaa; }
.site-footer p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .hero { padding-block: .75rem 2.5rem; gap: 4.5rem; }
  .game-tools { margin-top: 1rem; }
  .site-header, .site-footer { padding-block: 1.25rem; }
}
@media (max-width: 430px) {
  .hero { padding-top: 1rem; }
  .site-footer { flex-wrap: wrap; gap: .35rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .letter { transition: none; } }
