:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #122d42;
  background: #eef8fc;
  font-synthesis: none;
  --ink: #122d42;
  --body: #3b586b;
  --line: #c8dde7;
  --wrap: min(100% - 64px, 1080px);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #096695; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: var(--wrap); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner,
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 76px; }
.brand, nav { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 760; line-height: 1.2; }
.brand img { border-radius: 10px; }
nav { gap: 26px; font-size: .92rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }

.hero {
  padding-block: clamp(56px, 9vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}
.genre {
  margin: 0 0 20px;
  color: #236283;
  font-size: .81rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2 {
  font-weight: 850;
  margin: 0;
  letter-spacing: -.057em;
  line-height: .98;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.intro, .gameplay-copy p {
  max-width: 28rem;
  color: var(--body);
  font-size: clamp(1.05rem, 2vw, 1.27rem);
  line-height: 1.55;
}
.intro { margin: 24px 0 30px; }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 20px;
  border-radius: 10px;
  background: #f7ba52;
  color: #182731;
  font-weight: 800;
}
.play-link:hover { background: #fac86e; }
.cover {
  padding: clamp(12px, 2.4vw, 25px);
  border: 1px solid #b9dcea;
  border-radius: clamp(22px, 4vw, 48px);
  background: #d8eff7;
  box-shadow: 0 24px 42px -34px #255c75;
}
.cover img { width: 100%; border-radius: clamp(16px, 3vw, 36px); }

.gameplay { background: #fff; border-top: 1px solid var(--line); }
.gameplay-inner {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 6vw, 80px);
  padding-block: clamp(52px, 7vw, 88px);
}
.gameplay-copy p { margin-bottom: 0; }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 24px); }
.screens figure { margin: 0; min-width: 0; }
.screens img { width: 100%; border-radius: 17px; border: 1px solid #afd0df; background: #d8eff7; }
.screens figcaption { margin-top: 10px; font-weight: 670; font-size: .9rem; }
.site-footer { min-height: 82px; padding-block: 18px; font-size: .94rem; }

@media (max-width: 685px) {
  :root { --wrap: calc(100% - 36px); }
  .header-inner { min-height: 65px; }
  .brand { gap: 8px; font-size: .86rem; }
  .brand img { width: 33px; height: 33px; }
  nav { gap: 13px; font-size: .84rem; }
  .hero, .gameplay-inner { grid-template-columns: 1fr; }
  .cover { max-width: 460px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 355px) {
  .header-inner { gap: 8px; }
  h1 { font-size: 2.65rem; }
}
