/* Questmaker's website: engraved paper and ink, the game's own colours (ui/pages.css's PAPER and INK). */
:root {
  --paper: #f4ecdb; --paper2: #ebe0c8; --ink: #3d2a1a; --ink2: #5e4632; --rule: #c9b48f;
  --red: #9b2d1f; --focus: #1f5f9b;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font: 17px/1.6 Georgia, "Iowan Old Style", "Palatino Linotype", serif; }
a { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header.site { border-bottom: 2px solid var(--ink); background: var(--paper); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
nav.site a { color: var(--ink); text-decoration: none; margin-left: 18px; }
nav.site a[aria-current="page"] { border-bottom: 2px solid var(--red); }
main { padding: 32px 0 56px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 0 0 14px; }
h2 { font-size: 26px; margin: 44px 0 12px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p, li { color: var(--ink2); max-width: 70ch; }
.lede { font-size: 20px; color: var(--ink); }
code { font: 14px ui-monospace, Consolas, "Courier New", monospace; background: var(--paper2); padding: .1em .35em; border-radius: 3px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.button { display: inline-block; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.quiet { background: transparent; color: var(--ink); }
.button[aria-disabled="true"] { background: transparent; color: var(--ink2); border-style: dashed; cursor: default; }
.button small { display: block; font-weight: 400; font-size: 13px; }
.soon { font-size: 13px; color: var(--ink2); }
.join { background: var(--paper2); border: 2px solid var(--ink); border-radius: 6px; padding: 18px 20px; max-width: 620px; }
.join label { display: block; font-weight: 700; margin-bottom: 8px; }
.join input { font: 18px ui-monospace, Consolas, monospace; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 4px; background: #fffaf0; color: var(--ink); width: min(100%, 360px); }
.join input[aria-invalid="true"] { border-color: var(--red); }
.join .said { min-height: 1.6em; margin: 8px 0 0; color: var(--red); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; display: block; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper2); }
.shots figcaption { font-size: 14px; color: var(--ink2); margin-top: 6px; }
.hero-shot img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 6px; display: block; }
table { border-collapse: collapse; margin: 10px 0; }
th, td { border: 1px solid var(--rule); padding: 6px 10px; text-align: left; vertical-align: top; color: var(--ink2); }
th { color: var(--ink); }
footer.site { border-top: 1px solid var(--rule); padding: 18px 0 40px; font-size: 14px; color: var(--ink2); }
footer.site a { color: var(--ink2); }
/* the brand's mark, the price line, and the studio's one page (chaordic.games) */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { display: block; }
.price { font-size: 18px; color: var(--ink); }
.requirements li { margin-bottom: 4px; }
.toc { font-size: 15px; }
body.studio main { padding-top: 12vh; }
.wrap.narrow { max-width: 640px; }
.card { display: flex; gap: 18px; align-items: center; margin: 28px 0; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper2); color: var(--ink); text-decoration: none; }
.card:hover { background: #e4d6b8; }
.card img { flex: none; border-radius: 12px; }
.card strong { display: block; font-size: 22px; }
.card small { display: block; font-size: 15px; color: var(--ink2); }
.card .go { color: var(--red); margin-top: 6px; }
.contact { font-size: 15px; }
