/* Pathzy — colors from the game: the menu gradient, the main menu cards, the
   logo's navy outline, the Play button's cyan and the ice-white paths. The
   game looks the same in light and dark mode, so the site does too. */
:root {
  --top: #0D7A8F;
  --bottom: #47A69E;
  --card: #146B80;
  --navy: #024A63;
  --cyan: #1DB9DE;
  --ice: #D8F8FF;
  --ink: #FFFFFF;
  --subtle: rgba(216, 248, 255, 0.78);
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
* { box-sizing: border-box; }
/* The gradient sits on the page root so the paths canvas can draw above it */
html { min-height: 100%; background: linear-gradient(180deg, var(--top), var(--bottom)) fixed var(--top); }
body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.6 "Nunito", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
/* The menu's faint paths and gliding lights, drawn by paths.js */
#paths { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: var(--ice); }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 15px; font-weight: 700; }
nav a { text-decoration: none; }
nav .brand { font-weight: 800; font-size: 18px; color: var(--ink); }

.hero { text-align: center; padding: 32px 0 24px; }
.hero .logo { width: min(440px, 88%); height: auto; }
h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.subtitle { font-weight: 700; font-size: 22px; color: var(--ice); margin: 12px 0 28px; }
.store {
  display: inline-block; padding: 14px 28px; border-radius: 28px;
  background: var(--cyan); border: 4px solid var(--navy);
  color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px;
}
.store.soon { background: transparent; border: 2px solid var(--subtle); color: var(--subtle); font-weight: 700; font-size: 16px; padding: 12px 24px; }

.card { background: var(--card); border: 4px solid var(--navy); border-radius: 20px; padding: 20px 22px; margin: 24px 0; }
.card h2 { font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }

/* The elements players meet as the game goes on, as small chips */
.pieces { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; padding: 0; list-style: none; }
.pieces li { padding: 4px 14px; border-radius: 16px; background: rgba(216, 248, 255, 0.12); border: 2px solid var(--navy); font-weight: 700; font-size: 15px; }

.note { font-weight: 700; font-size: 20px; text-align: center; color: var(--subtle); margin: 32px 0; }

.gallery { margin: 32px 0; }
.gallery h2 { font-weight: 800; font-size: 22px; text-align: center; margin: 0 0 16px; }
/* Three phone recordings or screenshots in a row, like lostpotatoes.dystract.com */
.shots { display: flex; justify-content: center; gap: 16px; }
.shots img, .shots video { flex: 1 1 0; min-width: 0; max-width: 220px; height: auto; border-radius: 22px; border: 4px solid var(--navy); }

.policy h1 { position: static; width: auto; height: auto; clip: auto; font-weight: 800; font-size: 32px; margin: 16px 0 8px; }
.policy h2 { font-weight: 800; font-size: 20px; margin: 28px 0 6px; }

footer { border-top: 2px solid rgba(216, 248, 255, 0.25); margin-top: 40px; padding: 20px 0 40px; font-size: 14px; color: var(--subtle); text-align: center; }
footer a { margin: 0 8px; font-weight: 700; }
footer p { margin: 12px 0 0; }
