/* the game's pages: privacy, support, account deletion. The name in caps in Rubik Dirt (name.woff: just its letters, the
   subset src/shell.html embeds; its licence in OFL.txt), the rest plain */
@font-face { font-family: 'Rubik Dirt'; src: url(/name.woff) format('woff'); font-display: swap; }
:root { --bg: #0b0a09; --ink: #f2efe9; --dim: #a8a197; --line: #2c2925; }
* { box-sizing: border-box; }
body { margin: 0; padding: 40px 16px 56px; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
main { max-width: 640px; margin: 0 auto; }
.name { display: inline-block; font-family: 'Rubik Dirt', sans-serif; font-size: 34px; line-height: 1; letter-spacing: .02em;
  color: var(--ink); text-decoration: none; margin-bottom: 28px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 34px 0 8px; }
p, ul, table { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--ink); }
.dim { color: var(--dim); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 600; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--dim); }
footer a { color: var(--dim); margin-right: 16px; }
@media (max-width: 480px) { body { font-size: 16px; } .name { font-size: 28px; } }
/* phones: each table row becomes a block (what, then where from, then why) */
@media (max-width: 560px) {
  table, tbody, tr, td { display: block; width: 100%; }
  tr:first-child { display: none; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; }
  td:first-child { font-weight: 600; }
  td:nth-child(3)::before { content: 'Why: '; color: var(--dim); }
}

/* the landing page (index.html): the key art across the top with the name on it, then the page as the others */
.home { padding-top: 0; }
.key { position: relative; margin: 0 -16px 28px; height: min(78vh, 56.25vw); min-height: 300px; overflow: hidden; background: #000; }
.key img { display: block; width: 100%; height: 100%; object-fit: cover; }
.key::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.15) 34%, rgba(0,0,0,0) 55%, rgba(11,10,9,.9)); }
.key .name { position: absolute; z-index: 1; left: 50%; top: 7%; transform: translateX(-50%); margin: 0; font-size: clamp(34px, 8vw, 112px); white-space: nowrap; font-weight: normal; }
@media (max-aspect-ratio: 1/1) { .key { height: 72vh; } }
.lead { font-size: 20px; line-height: 1.5; }
.stores { font-weight: 600; margin-bottom: 28px; }
.home video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; margin: 0 0 8px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 34px 0 28px; }
.shots img { display: block; width: 100%; height: auto; }
.shots img:first-child { grid-column: 1 / -1; }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } .lead { font-size: 18px; } }
