/* cowlington.mercuriolabs.app: the game's own site (support and privacy URLs of the stores). */
@font-face { font-family: "Inter Tight"; src: url("fonts/400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #0d0a12;
  --night-2: #17111f;
  --paper: #efe4c8;
  --ink: #ece6dc;
  --soft: #b9ad9c;
  --amber: #f5a524;
  --neon: #ff5d7a;
  --line: rgba(239, 228, 200, 0.12);
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 20% -10%, #3a2210 0%, transparent 60%), var(--night);
  color: var(--ink);
  font: 400 17px/1.6 "Inter Tight", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
a { color: var(--amber); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.pixel { image-rendering: pixelated; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 10, 18, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
nav a { color: var(--soft); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--ink); }

.hero { padding: 40px 0 20px; text-align: center; }
.hero .art img { width: 100%; }
.hero .art { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 1px solid var(--line); }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 34px 0 10px; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { color: var(--soft); font-size: clamp(17px, 2.2vw, 20px); max-width: 720px; margin: 0 auto; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 6px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

section { padding: 56px 0 8px; }
h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 18px; font-weight: 600; }
h2 em { font-style: normal; color: var(--amber); }
h3 { font-size: 19px; margin: 28px 0 6px; font-weight: 600; }

.video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; display: block; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.shots figcaption { color: var(--soft); font-size: 14px; margin-top: 8px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; padding: 0; list-style: none; margin: 0; }
.features li { padding-left: 22px; position: relative; color: var(--ink); }
.features li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.features b { font-weight: 600; }

.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--soft); }
table.keys { width: 100%; border-collapse: collapse; font-size: 15px; }
table.keys th, table.keys td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.keys th { color: var(--soft); font-weight: 500; }
.table-scroll { overflow-x: auto; }

footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--soft); }

@media (max-width: 720px) {
  nav a { margin-left: 12px; font-size: 14px; }
  .brand span { display: none; }
  .shots, .features { grid-template-columns: 1fr; }
  section { padding-top: 44px; }
}
