/* PBTECH — the site's one stylesheet. No scripts, no outside requests: the font and images are our own. */

@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1e1736;
  --ink-2: #4a4363;
  --muted: #6e6888;
  --paper: #fbf6ef;
  --card: #ffffff;
  --line: #ece4d8;
  --night: #211a3e;
  --night-2: #3a2a5e;
  --orange: #ff8a3d;
  --orange-deep: #c2541a;
  --green: #2faf78;
  --violet: #7a5cff;
  --sky: #2ea8f0;
  --radius: 24px;
  --shadow: 0 14px 40px rgba(30, 23, 54, 0.12);
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange-deep);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 10px;
}

/* ——— header ——— */

.top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  padding: 18px 0;
}

.top--light {
  position: static;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.top--light .brand {
  color: var(--ink);
}

.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}

.top--light .nav a {
  color: var(--ink-2);
}

.nav a:hover {
  color: #fff;
}

.top--light .nav a:hover {
  color: var(--orange-deep);
}

/* ——— hero ——— */

.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 96px;
  color: #fff;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 138, 61, 0.32), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(122, 92, 255, 0.35), transparent 70%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
}

.hero::before {
  /* a faint mosaic: the passengers' grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 22%, transparent 24%);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd7b8;
  font-size: 15px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.hero h1 span {
  color: var(--orange);
}

.lead {
  margin-top: 20px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--main {
  background: var(--orange);
  color: #2a1406;
  box-shadow: 0 10px 24px rgba(255, 138, 61, 0.35);
}

.btn--main:hover {
  color: #2a1406;
}

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  color: #fff;
  border-color: #fff;
}

.btn--line {
  border: 2px solid var(--line);
  background: var(--card);
  color: var(--ink);
}

.btn--line:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(30, 23, 54, 0.06);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 16px;
}

.soon::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 175, 120, 0.18);
}

.hero-art {
  position: relative;
  height: 360px;
}

.hero-art img {
  position: absolute;
  width: 200px;
  border-radius: 46px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.hero-art .a1 {
  top: 10px;
  left: 6%;
  transform: rotate(-8deg);
}

.hero-art .a2 {
  bottom: 0;
  right: 4%;
  transform: rotate(7deg);
}

.tile {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  opacity: 0.9;
}

.t1 {
  top: 0;
  right: 22%;
  background: var(--green);
}

.t2 {
  bottom: 40px;
  left: 4%;
  background: var(--sky);
  width: 22px;
  height: 22px;
}

.t3 {
  top: 46%;
  right: 0;
  background: var(--violet);
  width: 18px;
  height: 18px;
}

.t4 {
  top: 50%;
  left: 40%;
  background: var(--orange);
  width: 14px;
  height: 14px;
}

/* ——— sections ——— */

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 19px;
}

/* ——— games ——— */

.game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 56px;
  padding: 48px;
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.game + .game {
  margin-top: 40px;
}

.game--warm {
  background: linear-gradient(150deg, #fff7ee 0%, #ffe9d6 100%);
}

.game--cool {
  background: linear-gradient(150deg, #f4f1ff 0%, #e4ecff 100%);
}

.game--cool {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.game--cool .game-text {
  order: 2;
}

.game-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.game-title img {
  width: 84px;
  height: 84px;
  border-radius: 21px;
  box-shadow: 0 10px 22px rgba(30, 23, 54, 0.22);
}

.game-title h3 {
  font-size: 38px;
}

.game-kind {
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.game-text > p {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 18px;
}

.points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.points li {
  position: relative;
  padding-left: 30px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--orange);
}

.game--cool .points li::before {
  background: var(--violet);
}

.points li:nth-child(2)::before {
  background: var(--green);
}

.points li:nth-child(3)::before {
  background: var(--sky);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
}

.shots img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(30, 23, 54, 0.22);
}

.shots img:nth-child(2) {
  transform: translateY(-18px);
}

/* ——— data ——— */

.data {
  background: var(--card);
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 22px;
}

.card p {
  margin-top: 10px;
  color: var(--ink-2);
}

.policies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ——— contact ——— */

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 138, 61, 0.35), transparent 70%),
    linear-gradient(150deg, var(--night) 0%, var(--night-2) 100%);
}

.contact h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.contact p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.mail {
  display: inline-block;
  margin-top: 26px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
}

.mail:hover {
  color: #ffd7b8;
}

.company {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.company b {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

/* ——— footer ——— */

.foot {
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 15px;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot a {
  color: var(--ink-2);
}

/* ——— policy pages ——— */

.doc {
  padding: 56px 0 80px;
}

.doc .wrap {
  max-width: 780px;
}

.crumbs {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
}

.crumbs a {
  color: var(--muted);
}

.doc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.doc-head img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(30, 23, 54, 0.18);
}

.doc h1 {
  font-size: clamp(28px, 4.4vw, 40px);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.doc-date {
  margin: 10px 0 36px;
  color: var(--muted);
}

.doc section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.doc h2 {
  font-size: 23px;
  margin-bottom: 10px;
}

.doc section p + p {
  margin-top: 10px;
}

.doc section p {
  color: var(--ink-2);
}

.back {
  margin-top: 36px;
}

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 0 16px;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(30px, 8vw, 44px);
}

.notfound p {
  margin: 14px 0 28px;
  color: var(--ink-2);
}

/* ——— narrow screens ——— */

@media (max-width: 900px) {
  .hero {
    padding: 104px 0 64px;
  }

  .hero .wrap,
  .game,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 230px;
    max-width: 380px;
  }

  .hero-art img {
    width: 140px;
    border-radius: 32px;
  }

  .game {
    gap: 32px;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .game--cool {
    grid-template-columns: 1fr;
  }

  .game--cool .game-text {
    order: 0;
  }

  .game-title img {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }

  .game-title h3 {
    font-size: 30px;
  }

  .shots {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -22px;
    padding: 4px 22px 22px;
  }

  .shots img {
    flex: 0 0 62%;
    width: 62%;
    min-width: 0;
    scroll-snap-align: center;
  }

  .shots img:nth-child(2) {
    transform: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .contact {
    padding: 32px 24px;
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 15px;
  }

  .doc-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .lead {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .game-actions .btn,
  .game-actions .soon {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
