@font-face { font-family: Hanken; src: url(../fonts/Hanken-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Hanken; src: url(../fonts/Hanken-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Hanken; src: url(../fonts/Hanken-900.woff2) format('woff2'); font-weight: 900; font-display: swap; }

/* the studio's look is the logo's: black ink, white paper, nothing else to compete with the games */
:root {
  --ink: #161616;
  --paper: #f7f4ee;
  --muted: #5c5a55;
  --rule: #d9d4c8;
  --card: #ffffff;
  --band: #0c0c0c;
  --on-band: #f7f4ee;
  --focus: #1f6feb;
  --todo: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece8df;
    --paper: #141414;
    --muted: #a7a399;
    --rule: #33312d;
    --card: #1c1c1c;
    --todo: #ff8a80;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Hanken, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.masthead, .foot { background: var(--band); color: var(--on-band); }
.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(16px, calc((100% - 960px) / 2));
}
.masthead .logo img { display: block; width: clamp(130px, 22vw, 190px); height: auto; }
.masthead nav, .foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.masthead nav a { font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current] { border-bottom-color: currentColor; }

main { max-width: 960px; margin: 0 auto; padding: 40px 16px 64px; }
main.narrow, .narrow { max-width: 720px; }
.prose { max-width: 720px; }
h1, h2, h3 { line-height: 1.2; margin: 1.6em 0 0.5em; }
h1 { font-weight: 900; font-size: clamp(2rem, 5vw, 2.75rem); margin-top: 0; letter-spacing: -0.01em; }
h2 { font-weight: 900; font-size: 1.5rem; }
h3 { font-weight: 700; font-size: 1.15rem; }
p, ul, ol, dl { margin: 0 0 1em; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.small { font-size: 0.9rem; color: var(--muted); }
.todo { color: var(--todo); font-weight: 700; }

.game {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; align-items: center;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 28px;
  margin: 32px 0;
}
.game h2 { margin-top: 0; font-size: 2rem; }
.game .sub { margin: -0.3em 0 1em; font-weight: 700; color: var(--muted); }
.game img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .game { grid-template-columns: 1fr; padding: 20px; }
  .game img { max-width: 180px; margin: 0 auto; grid-row: 1; }
}

.button, button {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  padding: 10px 22px; text-decoration: none;
}
.button.ghost { background: transparent; color: var(--ink); }
button[disabled] { opacity: 0.5; cursor: progress; }
.stores { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.soon { font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.faq dt { font-weight: 700; margin-top: 1.2em; }
.faq dd { margin: 0.3em 0 0; }
code, kbd { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.92em; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; }

form.report { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; margin: 24px 0; max-width: 720px; }
form.report label { display: block; font-weight: 700; margin: 16px 0 6px; }
form.report label:first-of-type { margin-top: 0; }
form.report .hint { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
form.report input, form.report select, form.report textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px;
}
form.report textarea { min-height: 9em; resize: vertical; }
/* Safari ignores padding on a native select; draw our own so it matches the inputs */
form.report select {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
form.report .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { form.report .row { grid-template-columns: 1fr; } }
form.report .actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
form.report .status { margin: 0; font-weight: 700; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

address { font-style: normal; }
.legal dt { font-weight: 700; margin-top: 1em; }
.legal dd { margin: 0; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px max(16px, calc((100% - 960px) / 2)); font-size: 0.95rem;
}
.foot p { margin: 0; }
