/* Hexit's public pages (playhexit.com). Plain CSS, no scripts, nothing loaded from elsewhere.
   Colours follow the app: dark walnut, cream and brass. */
:root {
  --walnut: #2b1d14;
  --walnut-deep: #3a281c;
  --cream: #efe7d9;
  --cream-dim: #d9cdb8;
  --brass: #c9a24a;
  --brass-dark: #8a6a22;
  --line: #5a4332;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--walnut);
  color: var(--cream);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brass); text-underline-offset: 3px; }
a:hover { color: #e3c06c; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header.site { border-bottom: 1px solid var(--line); background: var(--walnut-deep); }
header.site .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; color: var(--cream); text-decoration: none; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
header.site nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-left: auto; }
header.site nav a { color: var(--cream-dim); text-decoration: none; font-size: .95rem; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--brass); }
main { padding: 2rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; color: var(--cream); }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.2rem 0 .5rem; color: var(--brass); }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .25rem; }
p, ul, ol { margin: .6rem 0; }
li { margin: .3rem 0; }
.lede { font-size: 1.15rem; color: var(--cream-dim); }
.updated { color: var(--cream-dim); font-size: .9rem; margin-bottom: 1.5rem; }
.box { background: var(--walnut-deep); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 6px; padding: .75rem 1rem; margin: 1.25rem 0; }
.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.table th { color: var(--brass); font-weight: 600; white-space: nowrap; }
.scroll { overflow-x: auto; }
.button { display: inline-block; background: var(--brass); color: #241a12; font-weight: 700; text-decoration: none; padding: .6rem 1.1rem; border-radius: 8px; margin-top: .5rem; }
.button:hover { background: #e3c06c; color: #241a12; }
code { background: var(--walnut-deep); border: 1px solid var(--line); border-radius: 4px; padding: .05rem .35rem; font-size: .95em; }
footer.site { border-top: 1px solid var(--line); background: var(--walnut-deep); color: var(--cream-dim); font-size: .9rem; }
footer.site .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; }
footer.site p { margin: .3rem 0; }
footer.site a { color: var(--cream-dim); }
address { font-style: normal; }
@media (max-width: 30rem) {
  body { font-size: 17px; }
  h1 { font-size: 1.65rem; }
  header.site nav { margin-left: 0; }
}
