@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/inter-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(assets/inter-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  background: #0d0f17;
  color: #f4f5fa;
  --accent: #bbf1a5;
  --muted: #bbc0cf;
  --line: #2a2f3b;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: min(1176px, calc(100% - 48px)); margin-inline: auto; }
.site-head {
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.brand-icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  clip-path: polygon(0 17%, 17% 0, 100% 0, 100% 83%, 83% 100%, 0 100%);
}
.brand-icon::after {
  display: block;
  content: "";
  width: 12px;
  height: 15px;
  margin: 4px auto 0;
  background: #172018;
  clip-path: polygon(45% 0, 100% 0, 63% 39%, 96% 39%, 25% 100%, 44% 56%, 5% 56%);
}
.skip-to-pack { color: var(--muted); font-size: .83rem; font-weight: 650; }
.skip-to-pack span { color: var(--accent); margin-left: 4px; }
.skip-to-pack:hover { color: #fff; }
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(38px, 7vw, 85px) 0 36px;
}
h1, h2, p { margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 104px); line-height: .97; letter-spacing: -.067em; }
h1 em { font-style: normal; color: var(--accent); }
.intro > p { color: var(--muted); font-size: clamp(14px, 1.43vw, 19px); line-height: 1.55; max-width: 27ch; padding-bottom: 3px; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(15px, 2.4vw, 28px); }
.game-card { --game-accent: #73e9db; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #151923; }
.racing { --game-accent: #ffca6a; }
.game-art { overflow: hidden; background: #212638; }
.game-art img { display: block; width: 100%; height: auto; aspect-ratio: 1040/570; object-fit: cover; }
.game-body { padding: clamp(15px, 2.25vw, 27px); }
.kind { color: var(--game-accent); font-size: .69rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 7px; }
.price { color: var(--game-accent); font-weight: 850; white-space: nowrap; font-size: clamp(17px, 2.1vw, 28px); }
.detail { margin: 12px 0 18px; color: var(--muted); font-size: .92rem; line-height: 1.48; min-height: 2.96em; }
.actions, .bundle-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.order, .demo, .close {
  padding: 0 13px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 770;
  font-size: .81rem;
}
.order { color: #0e1c19; background: var(--game-accent, var(--accent)); }
.order:hover { filter: brightness(1.09); }
.demo { gap: 7px; color: #fbfbff; border-color: #454d61; background: #1b202d; }
.demo:hover { border-color: #a5b1c8; }
.bundle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(15px, 2.6vw, 30px);
  margin-top: 24px;
  border: 1px solid #4b5a4d;
  border-radius: 16px;
  background: linear-gradient(120deg, #1f2b24, #151c20);
}
.bundle h2 { font-size: clamp(23px, 3.3vw, 38px); letter-spacing: -.048em; }
.bundle p { color: var(--muted); font-size: .89rem; line-height: 1.5; margin-top: 5px; max-width: 52ch; }
.bundle-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; white-space: nowrap; }
.bundle-price strong { color: var(--accent); font-size: 1.5rem; letter-spacing: -.05em; }
.how { color: var(--muted); font-size: .79rem; padding: 15px 0 33px; line-height: 1.5; }
dialog {
  width: min(470px, calc(100% - 28px));
  padding: 22px;
  border: 1px solid #484f61;
  border-radius: 15px;
  background: #151923;
  color: #f4f5fa;
}
dialog::backdrop { background: #080a10bc; }
.dialog-head, .selected { display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.dialog-head h2 { font-size: clamp(24px, 5vw, 32px); letter-spacing: -.042em; line-height: 1.06; }
.close { color: #fff; background: #262d3c; width: 44px; padding: 0; font-size: 1.4rem; }
.selected { margin: 16px 0; padding: 11px 0; border-block: 1px solid var(--line); }
.selected span { color: var(--accent); font-weight: 800; white-space: nowrap; }
form { display: grid; gap: 9px; }
form label { font-size: .9rem; font-weight: 700; }
input { width: 100%; min-height: 45px; padding: 8px 12px; background: #10131e; color: #fff; border: 1px solid #485266; border-radius: 7px; font-size: 16px; }
#email-purpose, #thanks p, #form-feedback { font-size: .85rem; line-height: 1.45; color: var(--muted); }
#form-feedback { color: #ffb2a7; }
#form-feedback:empty { display: none; }
#thanks p { margin-bottom: 13px; }
@media (max-width: 690px) {
  .shell { width: calc(100% - 30px); }
  .site-head { height: 57px; }
  .intro { flex-direction: column; align-items: flex-start; gap: 16px; padding: 37px 0 22px; }
  .intro > p { max-width: 40ch; }
  .games { grid-template-columns: 1fr; }
  .detail { min-height: 0; }
  .bundle { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 355px) {
  .order, .demo { font-size: .74rem; padding-inline: 10px; }
  .skip-to-pack { font-size: .72rem; }
}

.catalog-title { margin: 0 0 14px; font-size: clamp(23px, 3vw, 34px); letter-spacing: -.045em; }
.new-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.originals { margin-top: clamp(17px, 2.4vw, 28px); }
.game-card { display: flex; flex-direction: column; }
.game-body { display: flex; flex: 1; flex-direction: column; }
.game-body .actions { margin-top: auto; }
.strategy { --game-accent: #c9b5fc; }
.drifting { --game-accent: #ffa586; }
#catalog { scroll-margin-top: 15px; }
.title-row h3 { margin: 0; font-size: clamp(26px, 3.5vw, 48px); line-height: 1.03; letter-spacing: -.055em; }
.new-games .title-row h3 { font-size: clamp(22px, 2.48vw, 35px); }
.new-games .price { font-size: clamp(16px, 1.8vw, 25px); }
.new-games .game-body { padding: clamp(14px, 1.8vw, 21px); }
@media (max-width: 940px) {
  .new-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .new-games { grid-template-columns: 1fr; }
}

.catalog-secondary { margin-top: clamp(26px, 3.7vw, 48px); }
.prism-foundry { --game-accent: #d4f685; }
.skyhook-court { --game-accent: #ffad78; }
.cloudstep-relay { --game-accent: #bcbcff; }
