*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #1B1726;
  color: #F4EDE0;
  font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  overflow-wrap: break-word;
}

header {
  margin-bottom: 24px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 4px;
  font-size: 1.75rem;
  line-height: 1.3;
}

header p {
  margin: 0;
  color: #C9C2D6;
  font-size: 1.05rem;
  font-weight: 600;
}

main p {
  margin: 0 0 14px;
}

main p[lang="en"] {
  color: #C9C2D6;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

main .links {
  margin-top: 24px;
}

main .links a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: #F29B3A;
  color: #1B1726;
  font-weight: 600;
  text-decoration: none;
}

main .links a:hover,
main .links a:focus-visible {
  background: #FFB95E;
}

a {
  color: #8FD3F4;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: #BFE6FA;
}

a:focus-visible {
  outline: 2px solid #8FD3F4;
  outline-offset: 2px;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3A3350;
}

footer .links {
  gap: 12px 20px;
}
