@import url("https://fonts.googleapis.com/css2?family=DM+Mono&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --bg: #070d19;
  --ink: #eff7f9;
  --panel: #0d1b2d;
  --panel2: #112740;
  --line: #27445e;
  --muted: #91a8b9;
  --cyan: #5eead4;
  --purple: #9b9cff;
  --gold: #f6c96b;
  --red: #fb7185;
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--body);
}
.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.skip {
  position: fixed;
  z-index: 99;
  top: 0;
  background: var(--cyan);
  color: #042033;
  padding: 9px;
  transform: translateY(-120%);
}
.skip:focus {
  transform: none;
}
header {
  height: 72px;
  background: #070d19e8;
  border-bottom: 1px solid #1b344b;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: white;
  text-decoration: none;
  font: 700 16px var(--display);
  letter-spacing: 0.7px;
}
.brand span,
.brand em {
  color: var(--cyan);
  font-style: normal;
}
.nav nav,
footer nav {
  display: flex;
  gap: 25px;
}
.nav nav a,
footer a {
  color: #b4c6d0;
  font-size: 12px;
  text-decoration: none;
}
.start {
  border: 1px solid #3a6678;
  color: var(--cyan);
  text-decoration: none;
  font: 11px var(--mono);
  padding: 9px 13px;
}
.menu {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 21px;
}
.hero {
  overflow: hidden;
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(800px 400px at 78% 45%, #15436280, transparent 62%),
    linear-gradient(120deg, #070d19, #0a1e34);
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.orb.a {
  width: 430px;
  height: 430px;
  left: -220px;
  top: -230px;
  background: #5eead415;
}
.orb.b {
  width: 330px;
  height: 330px;
  right: -100px;
  bottom: -130px;
  background: #9b9cff2a;
}
.eyebrow {
  font: 10px var(--mono);
  letter-spacing: 1.4px;
  color: var(--cyan);
  margin: 0 0 16px;
}
.hero h1,
.section-head h2,
.guides h2 {
  font: 700 clamp(47px, 6vw, 82px)/0.95 var(--display);
  letter-spacing: -4px;
  margin: 0;
}
.hero h1 i {
  font-style: normal;
  color: var(--cyan);
}
.hero p:not(.eyebrow) {
  max-width: 540px;
  color: #b1c5cf;
  margin: 27px 0;
}
.hero-actions {
  display: flex;
  gap: 11px;
}
.button {
  padding: 13px 18px;
  color: #d9e9ee;
  border: 1px solid #456479;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.filled {
  background: var(--cyan);
  color: #052031;
  border-color: var(--cyan);
}
.hero-stats {
  display: flex;
  gap: 31px;
  margin-top: 42px;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats b {
  font: 700 28px var(--display);
}
.hero-stats span {
  font: 9px var(--mono);
  color: #81a2b4;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.preview {
  background: #081526;
  border: 1px solid #36566c;
  box-shadow: 18px 18px 0 #0d3450;
  padding: 22px;
  font: 12px var(--mono);
}
.preview-top {
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid #26435d;
  padding-bottom: 14px;
}
.preview-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.preview-top span:nth-child(2) {
  background: var(--gold);
}
.preview-top span:nth-child(3) {
  background: var(--cyan);
}
.preview-top b {
  margin-left: 7px;
  color: #7c9aab;
  font-weight: 400;
  font-size: 10px;
}
.preview > p {
  color: #83a5b6 !important;
  margin: 22px 0 3px !important;
  font-size: 10px;
}
.preview strong {
  font: 700 65px/1 var(--display);
  color: var(--gold);
}
.mini-keyboard {
  display: flex;
  gap: 5px;
  margin: 23px 0;
}
.mini-keyboard i {
  font-style: normal;
  background: #173550;
  border: 1px solid #315973;
  padding: 9px 8px;
}
.mini-keyboard .on {
  background: var(--gold);
  color: #102638;
}
.preview small {
  color: #8da6b4;
}
.ad-slot {
  padding: 38px 0;
}
.ad-slot small {
  display: block;
  text-align: center;
  color: #708b9c;
  font: 9px var(--mono);
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.ad-slot div {
  height: 100px;
  border: 1px dashed #34546c;
  background: #0a1727;
  color: #6d899c;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.course {
  padding: 83px 0 105px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: 58px;
}
.section-head > p {
  margin: 0;
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
}
.lesson-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.lesson {
  min-height: 205px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 21px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}
.lesson:hover,
.lesson.selected {
  transform: translateY(-5px);
  border-color: var(--cyan);
  background: #112943;
}
.lesson.locked {
  opacity: 0.5;
}
.lesson small {
  font: 10px var(--mono);
  color: var(--cyan);
}
.lesson h3 {
  font: 600 22px/1.1 var(--display);
  margin: 24px 0 9px;
}
.lesson p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.lesson b {
  position: absolute;
  bottom: 16px;
  color: var(--gold);
  font: 9px var(--mono);
}
.trainer-section {
  background: #0a1727;
  border-block: 1px solid #203e58;
  padding: 88px 0;
}
.compact-stats {
  display: flex;
  gap: 18px;
  font: 10px var(--mono);
  color: #90adbb;
}
.compact-stats b {
  color: white;
  font-size: 17px;
}
.trainer-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 16px;
}
.exercise,
.hands {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px;
}
.exercise-bar {
  display: flex;
  justify-content: space-between;
  color: #a5bdc7;
  font: 10px var(--mono);
  margin-bottom: 25px;
}
.exercise-bar span:first-child {
  color: var(--gold);
}
.prompt {
  font: 600 27px/1.4 var(--display);
  min-height: 78px;
  margin: 0 0 20px;
}
.prompt .ok {
  color: var(--cyan);
}
.prompt .bad {
  color: var(--red);
  background: #fb718524;
}
.prompt .wait {
  color: #58768a;
}
textarea {
  width: 100%;
  height: 91px;
  background: #06111f;
  border: 1px solid #365975;
  color: #fff;
  font: 15px var(--mono);
  padding: 13px;
  outline: none;
  resize: none;
}
textarea:focus {
  border-color: var(--cyan);
}
.exercise-bottom {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.exercise-bottom button {
  background: transparent;
  border: 1px solid #35546c;
  color: #c1d4dc;
  padding: 8px 10px;
  font: 10px var(--mono);
  cursor: pointer;
}
.exercise-bottom button:last-child {
  background: var(--cyan);
  color: #052132;
  border-color: var(--cyan);
}
.exercise-bottom p {
  font-size: 10px;
  color: #839dab;
  margin: 0;
}
.hands-art {
  height: 160px;
  background: #071321;
  border: 1px solid #1e415b;
  position: relative;
  overflow: hidden;
  margin: 18px 0;
}
.left-hand,
.right-hand {
  position: absolute;
  bottom: -8px;
  width: 100px;
  height: 110px;
}
.left-hand {
  left: 20px;
  transform: rotate(-6deg);
}
.right-hand {
  right: 20px;
  transform: scaleX(-1) rotate(-6deg);
}
.hands-art b {
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 75px;
  height: 57px;
  border-radius: 35px 35px 10px 10px;
  background: #55bfca;
}
.right-hand b {
  background: #9b9cff;
}
.hands-art i {
  position: absolute;
  bottom: 43px;
  width: 15px;
  border-radius: 12px 12px 0 0;
  background: #55bfca;
}
.right-hand i {
  background: #9b9cff;
}
.hands-art i:nth-child(1) {
  height: 73px;
  left: 16px;
}
.hands-art i:nth-child(2) {
  height: 92px;
  left: 35px;
}
.hands-art i:nth-child(3) {
  height: 85px;
  left: 54px;
}
.hands-art i:nth-child(4) {
  height: 62px;
  left: 73px;
}
.hands > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
}
.legend {
  font-size: 10px;
  color: #9bb4bf;
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55bfca;
  margin-left: 8px;
}
.legend span + span {
  background: #9b9cff;
}
.computer {
  margin-top: 18px;
  padding: 20px;
  background: #07111e;
  border: 1px solid #26475f;
}
.monitor {
  width: min(580px, 85%);
  height: 136px;
  margin: auto;
  background: #192939;
  border: 8px solid #304558;
  border-radius: 8px 8px 2px 2px;
  padding: 10px;
  box-shadow: 0 12px 20px #0006;
}
.monitor > div {
  height: 100%;
  background: #061522;
  border: 1px solid #26536a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: 11px var(--mono);
  color: #6eb4c2;
}
.monitor b {
  font: 700 26px var(--display);
  color: var(--gold);
  letter-spacing: 2px;
}
.monitor-base {
  height: 13px;
  width: 150px;
  background: #304558;
  margin: auto;
  position: relative;
}
.monitor-base:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 7px;
  left: -35px;
  bottom: -7px;
  border-radius: 50%;
  background: #3d5568;
}
.computer-keyboard {
  max-width: 820px;
  margin: 23px auto 0;
  background: #1c2935;
  border: 7px solid #344656;
  border-radius: 8px;
  padding: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  box-shadow: 0 15px 0 #17242e;
}
.key {
  width: calc((100% - 45px) / 10);
  height: 39px;
  background: linear-gradient(#34495a, #263848);
  border: 1px solid #5c7080;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #dceaf0;
  font: 11px var(--mono);
  box-shadow: 0 3px 0 #14222d;
  transition: 0.06s;
}
.key.left {
  border-color: #42909a;
}
.key.right {
  border-color: #716dd0;
}
.key.wide {
  width: 18%;
}
.key.space {
  width: 38%;
}
.key.active {
  background: var(--gold);
  color: #0b202c;
  transform: translateY(3px);
  box-shadow: none;
}
.key.error {
  background: var(--red);
  color: white;
}
.keyboard-base {
  height: 8px;
  background: #2d414f;
  max-width: 770px;
  margin: auto;
  border-radius: 0 0 9px 9px;
}
.arcade {
  padding: 92px 0;
  background: radial-gradient(520px 270px at 70% 10%, #5eead414, transparent), #07101d;
}
.game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.game {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  min-height: 203px;
  display: flex;
  flex-direction: column;
}
.game span {
  font: 10px var(--mono);
  color: var(--cyan);
}
.game h3 {
  font: 600 25px var(--display);
  margin: 22px 0 8px;
}
.game p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.game button {
  margin-top: auto;
  align-self: start;
  background: none;
  border: 0;
  color: var(--gold);
  padding: 16px 0 0;
  font: 600 11px var(--body);
  cursor: pointer;
}
.game-panel {
  position: relative;
  margin-top: 27px;
  background: #0d263e;
  border: 1px solid #416b81;
  padding: 30px;
  text-align: center;
}
.close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: none;
  color: #b3cad2;
  font-size: 11px;
  cursor: pointer;
}
.game-panel h3 {
  font: 600 31px var(--display);
  margin: 10px;
}
.game-panel > p:not(.eyebrow) {
  color: #abc0c9;
  font-size: 13px;
}
.game-world {
  min-height: 115px;
  display: grid;
  place-items: center;
  font: 700 47px var(--display);
  letter-spacing: 4px;
  color: var(--gold);
}
#rain-canvas {
  display: block;
  width: 100%;
  max-width: 900px;
  height: 360px;
  background: #06111f;
  border: 1px solid #2f5970;
  margin: 15px auto;
}
.game-panel input {
  width: min(380px, 100%);
  background: #06111f;
  border: 1px solid #55768a;
  color: #fff;
  padding: 11px;
  text-align: center;
  font: 18px var(--mono);
  outline: 0;
}
.game-footer {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 16px;
  color: #add0d4;
  font: 11px var(--mono);
}
.game-footer button {
  background: var(--cyan);
  border: 0;
  padding: 7px 10px;
  font: 10px var(--mono);
  color: #062031;
  cursor: pointer;
}
.records {
  margin-top: 31px;
  border-top: 1px solid #28475e;
  padding-top: 23px;
  color: #9db4bd;
  font-size: 12px;
}
.records p {
  margin-bottom: 8px;
}
.guides {
  padding: 92px 0;
}
.guides h2 {
  font-size: 58px;
  margin-bottom: 44px;
}
.guides > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.guides article {
  border-top: 1px solid #34546d;
  padding-top: 17px;
}
.guides b {
  color: var(--gold);
  font: 10px var(--mono);
}
.guides h3 {
  font: 600 26px var(--display);
  margin: 21px 0 8px;
}
.guides p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
footer {
  background: #040914;
  border-top: 1px solid #1c374f;
  padding: 35px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.footer-grid p,
footer small {
  font-size: 11px;
  color: #7e9aa9;
  margin: 9px 0 0;
}
.footer-grid small {
  text-align: right;
}
@media (max-width: 720px) {
  .wrap {
    width: min(100% - 34px, 560px);
  }
  header {
    height: 62px;
  }
  .menu {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #070d19;
    padding: 17px;
    flex-direction: column;
    border-top: 1px solid #29465c;
  }
  .nav nav.open {
    display: flex;
  }
  .start {
    display: none;
  }
  .hero {
    min-height: 0;
  }
  .hero-grid,
  .trainer-grid {
    display: block;
  }
  .hero-grid {
    padding: 76px 0 65px;
  }
  .hero h1 {
    letter-spacing: -2.5px;
  }
  .preview {
    margin-top: 51px;
  }
  .section-head {
    display: block;
  }
  .section-head h2,
  .guides h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .section-head > p {
    margin-top: 15px;
  }
  .lesson-list,
  .game-list,
  .guides > div {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .lesson {
    min-height: 165px;
  }
  .trainer-section,
  .arcade,
  .guides {
    padding: 70px 0;
  }
  .compact-stats {
    margin-top: 18px;
  }
  .hands {
    margin-top: 15px;
  }
  .exercise-bottom {
    flex-wrap: wrap;
  }
  .exercise-bottom p {
    order: 3;
    width: 100%;
  }
  .key {
    width: calc((100% - 25px) / 6);
    height: 35px;
    font-size: 10px;
  }
  .key.wide {
    width: 28%;
  }
  .key.space {
    width: 42%;
  }
  .game-world {
    font-size: 35px;
  }
  .footer-grid {
    display: block;
  }
  .footer-grid nav {
    margin: 24px 0;
  }
  .footer-grid small {
    text-align: left;
  }
}
