:root {
  --bg: #0a0a0c;
  --panel: #141418;
  --edge: #303036;
  --ink: #f2f0ec;
  --muted: #b1b1b7;
  --dim: #7c7c84;
  --phosphor: #7ce0a0;
  --lift: #f2a93b;
  --mono: "Share Tech Mono", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--phosphor); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0; }
h3 { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.wrap { width: min(1100px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--edge); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.site-header .brand img { height: 22px; width: auto; }
.site-header nav { display: flex; gap: 28px; font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.site-footer { border-top: 1px solid var(--edge); margin-top: 96px; padding: 40px 0 56px; color: var(--dim); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); }

/* sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--edge); }
.eyebrow { font-family: var(--mono); color: var(--phosphor); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px; }
.eyebrow::before { content: "> "; }

/* hero */
.hero { position: relative; padding: 0; border-bottom: 1px solid var(--edge); overflow: hidden; }
.hero .art { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.55; }
.hero .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.75) 60%, var(--bg) 100%); }
.hero .wrap { position: relative; padding: 120px 0 72px; }
.hero .logo { max-width: 420px; margin-bottom: 28px; }
.hero p.lead { font-size: 1.25rem; max-width: 640px; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--ink); color: var(--bg); text-decoration: none; }
.btn.primary { background: var(--phosphor); border-color: var(--phosphor); color: #08110b; }
.btn.primary:hover { background: #a3f0be; border-color: #a3f0be; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* cards */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; padding: 24px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card.lift { border-left: 3px solid var(--lift); }
.card.dark { border-left: 3px solid var(--dim); }

/* game card on the studio page */
.game-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.game-card img { border-radius: 8px; border: 1px solid var(--edge); }
@media (max-width: 800px) { .game-card { grid-template-columns: 1fr; } }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.shots a img { border-radius: 6px; border: 1px solid var(--edge); transition: transform 0.15s; }
.shots a:hover img { transform: translateY(-2px); }

/* lists */
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 6px 0; border-bottom: 1px solid var(--edge); }
ul.clean li:last-child { border-bottom: 0; }
ul.features li { margin: 8px 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; margin: 0; }
dl.facts dt { font-family: var(--mono); color: var(--phosphor); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 3px; }
dl.facts dd { margin: 0; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 12px; } }

/* misc */
.video { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.poster { display: block; }
.video.poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.15s; }
.video.poster:hover img { opacity: 1; }
.video.poster .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 20px; background: rgba(10,10,12,0.8); border: 1px solid var(--ink); border-radius: 4px; color: var(--ink); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
.quote { border-left: 3px solid var(--phosphor); padding: 4px 0 4px 20px; color: var(--ink); font-size: 1.15rem; }
code { font-family: var(--mono); color: var(--phosphor); }
hr { border: 0; border-top: 1px solid var(--edge); margin: 40px 0; }
.download-list li a { font-family: var(--mono); font-size: 0.95rem; }
.small { font-size: 0.9rem; }
