@font-face {
  font-family: Studio;
  src: url('/assets/google-sans.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f8f8f5;
  color: #222d3e;
  font-family: Studio, system-ui, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #635bd4;
  outline-offset: 5px;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding: 0 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid #dedfdf;
  gap: 20px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand strong {
  font-size: 33px;
  letter-spacing: -2px;
  line-height: 1;
}
.brand span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.45;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
nav a {
  text-decoration: none;
}
.lang {
  border: 1px solid #d8dadb;
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 12px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12px;
  font-weight: 700;
  color: #665e8c;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 45px;
  padding: 70px 0 60px;
}
h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.06;
  letter-spacing: -2.7px;
  margin: 18px 0 24px;
  max-width: 750px;
  font-weight: 700;
}
h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
}
h3 {
  font-size: 24px;
  margin: 10px 0;
}
.lead {
  font-size: 19px;
  max-width: 570px;
  color: #606978;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid #293547;
  border-radius: 99px;
  background: #293547;
  color: white;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.btn.secondary {
  background: transparent;
  color: #293547;
  border-color: #cbd0d6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-art {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background: #eae7f9;
  overflow: hidden;
}
.hero-art > img {
  width: 72%;
  max-height: 330px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.hero-art:before {
  content: '';
  position: absolute;
  border: 1px solid #d5cee9;
  border-radius: 50%;
  width: 290px;
  height: 290px;
}
.hero-art:after {
  content: 'A B C';
  position: absolute;
  bottom: 15px;
  letter-spacing: 20px;
  color: #7866b1;
  font-size: 17px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 35px 0 25px;
}
.section-head p {
  color: #697482;
  max-width: 340px;
}
.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.game {
  border: 1px solid #e0e2e4;
  border-radius: 26px;
  background: white;
  overflow: hidden;
}
.game-art {
  height: 220px;
  display: grid;
  place-items: center;
  background: var(--tint);
}
.game-art img {
  height: 175px;
  width: 175px;
  object-fit: contain;
  transition: transform 0.25s;
}
.game:hover .game-art img {
  transform: translateY(-5px) rotate(-2deg);
}
.game-body {
  padding: 24px;
}
.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #687080;
}
.game p {
  color: #606978;
  font-size: 15px;
  min-height: 96px;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
}
.status {
  display: inline-block;
  font-size: 12px;
  color: #58626c;
  margin: 20px 0 0;
  padding: 5px 10px;
  background: #f1f3f5;
  border-radius: 99px;
}
.about {
  border-top: 1px solid #d9dcdf;
  margin-top: 70px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.about p {
  color: #606978;
  font-size: 17px;
}
.about h2 {
  max-width: 400px;
}
footer {
  border-top: 1px solid #dedfdf;
  padding: 26px 0 36px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #646d77;
}
footer div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-art {
  background: var(--tint);
}
.detail-art:after {
  content: none;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 65px;
}
.feature {
  border: 1px solid #dce0e3;
  border-radius: 20px;
  padding: 25px;
  background: white;
}
.feature span {
  display: block;
  font-size: 12px;
  color: #8a7caa;
  margin-bottom: 16px;
}
.prose {
  max-width: 850px;
  margin: 60px auto 80px;
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: 44px;
  letter-spacing: -1.5px;
}
.prose h2 {
  font-size: 28px;
  margin-top: 40px;
}
.prose h3 {
  font-size: 21px;
  margin-top: 30px;
  line-height: 1.4;
}
.prose p,
.prose li {
  color: #505c69;
}
.prose blockquote {
  margin: 25px 0;
  background: #edeaf7;
  padding: 15px 22px;
  border-radius: 15px;
}
.prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
.prose th,
.prose td {
  border: 1px solid #ddd;
  padding: 10px;
  min-width: 140px;
}
.legal-card {
  display: block;
  border: 1px solid #dce0e3;
  border-radius: 18px;
  background: white;
  padding: 20px 24px;
  margin: 14px 0;
  text-decoration: none;
}
.join {
  max-width: 560px;
  text-align: center;
  margin: 65px auto;
}
.join .app-icon {
  height: 100px;
  width: 100px;
  object-fit: contain;
}
.join h1 {
  font-size: 42px;
  letter-spacing: -1px;
}
.room-code {
  font-size: clamp(27px, 7vw, 43px);
  font-weight: 700;
  letter-spacing: 4px;
  padding: 20px;
  background: #eae7f9;
  border-radius: 20px;
  margin: 25px 0;
}
.join .actions {
  justify-content: center;
}
.note {
  font-size: 14px;
  color: #687080;
}
#copy-status {
  min-height: 24px;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  header {
    padding: 22px 0;
  }
  nav {
    gap: 14px;
  }
  nav .nav-support {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 0 30px;
    gap: 30px;
  }
  h1 {
    letter-spacing: -1.7px;
  }
  .hero-art {
    min-height: 290px;
  }
  .hero-art > img {
    max-height: 250px;
    width: 65%;
  }
  .lead {
    font-size: 17px;
  }
  .section-head {
    display: block;
  }
  .games {
    grid-template-columns: 1fr;
  }
  .game {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .game-art {
    height: 100%;
    min-height: 240px;
  }
  .game-art img {
    width: 105px;
    height: 105px;
  }
  .game-body {
    padding: 20px;
  }
  .game p {
    min-height: 0;
    font-size: 14px;
  }
  .status {
    margin-top: 12px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 45px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature {
    padding: 20px;
  }
  .feature span {
    margin-bottom: 8px;
  }
  footer {
    flex-direction: column;
    gap: 12px;
  }
  .prose {
    margin: 36px auto;
  }
  .prose h1 {
    font-size: 33px;
  }
  .join {
    margin: 45px auto;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding: 0 16px;
  }
  .brand strong {
    font-size: 28px;
  }
  .brand span {
    font-size: 9px;
    letter-spacing: 1px;
  }
  nav {
    gap: 10px;
    font-size: 12px;
  }
  .game {
    grid-template-columns: 90px 1fr;
  }
  .game-art img {
    width: 80px;
    height: 80px;
  }
  .game-body {
    padding: 16px;
  }
  .game p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .game-art img {
    transition: none;
  }
  .game:hover .game-art img {
    transform: none;
  }
}

.game-lettumi {
  --tint: #eae7f9;
}
.game-bowlio {
  --tint: #ffead5;
}
.game-zupella {
  --tint: #e2f1ec;
}
