/* lowlamp.slipperysign.com: the game's page, its support page and its privacy policy. The game's own identity
   ("ball and chalk"): ink page, baize panels, ivory text, chalk blue as the one accent, one 4px corner.
   Headings in Futura where the system has it. System fonts only: nothing is loaded from anywhere else. */

:root {
  --baize: #0e5a43;
  --baize-dark: #0a3f30;
  --ink: #121615;
  --ivory: #f3eedf;
  --ivory-soft: rgba(243, 238, 223, .78);
  --ivory-faint: rgba(243, 238, 223, .6);
  --rule: rgba(243, 238, 223, .3);
  --chalk: #2f6fb7;
  --chalk-dark: #245792;
  --radius: 4px;
  --nav-h: 62px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: Futura, "Futura PT", "Avenir Next", "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory-soft);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--ivory-faint); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--ivory); }
a:focus-visible { outline: 2px solid var(--ivory); outline-offset: 2px; border-radius: 2px; }

strong { color: var(--ivory); font-weight: 600; }

/* The wordmark: lowercase "lowlamp" with a cube of chalk set down after the p. */
.mark { font-family: var(--font-head); font-weight: 700; color: var(--ivory); letter-spacing: 0; white-space: nowrap; }
.chalk {
  display: inline-block;
  width: .205em;
  height: .205em;
  margin-left: .07em;
  background: var(--chalk);
  border-radius: 8%;
  transform: rotate(-12deg);
  position: relative;
  top: -.03em;
}

/* The bar across the top. */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ivory);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .mark { font-size: 1.375rem; line-height: 1; }
.brand small { margin-left: .35rem; color: var(--ivory-faint); font-family: var(--font); font-weight: 500; font-size: .8125rem; }

.back {
  padding: .4rem .8rem;
  border: 1.5px solid var(--ivory-faint);
  border-radius: var(--radius);
  color: var(--ivory);
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.back:hover { background: var(--chalk-dark); border-color: var(--chalk-dark); text-decoration: none; }

/* A document: the support page and the policy. */
.doc { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

.doc-head { padding-bottom: 1.5rem; border-bottom: 2px solid var(--ivory); margin-bottom: 2rem; }
.doc-head h1 { margin: 0 0 .5rem; color: var(--ivory); font-family: var(--font-head); font-size: 2.125rem; font-weight: 700; line-height: 1.2; }
.doc-head p { margin: 0; color: var(--ivory-faint); font-size: .8125rem; }
.doc-head strong { color: var(--ivory); }

.lead {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--baize);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ivory);
}

.toc {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--baize-dark);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.toc-title { margin-bottom: .6rem; color: var(--ivory); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toc-title::before {
  content: "";
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-right: .55em;
  background: var(--chalk);
  border: 1px solid var(--ivory-faint);
  transform: rotate(-12deg);
}
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; font-size: .875rem; }
.toc li { margin-bottom: .2rem; break-inside: avoid; }
.toc a { color: var(--ivory-soft); text-decoration: none; }
.toc a:hover { color: var(--ivory); text-decoration: underline; }

.doc h2 { margin: 2.5rem 0 .75rem; color: var(--ivory); font-family: var(--font-head); font-size: 1.1875rem; font-weight: 700; scroll-margin-top: 1rem; }
.doc address { font-style: normal; margin: .75rem 0; color: var(--ivory); }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .875rem; }
.doc th, .doc td { padding: .55rem .75rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc thead th { background: var(--baize); color: var(--ivory); font-weight: 600; border-bottom: 0; }
.doc tbody th { color: var(--ivory); font-weight: 600; width: 34%; }

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 .4em;
  border: 1px solid var(--ivory-faint);
  border-radius: var(--radius);
  color: var(--ivory);
  font-family: var(--font);
  font-size: .8125rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.doc-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .875rem; }

/* The game's page. */
.hero { max-width: 1080px; margin: 0 auto; padding: 3.5rem 1.5rem 2rem; text-align: center; }
.hero img.icon { width: 120px; height: 120px; }
.hero h1 { margin: .75rem 0 .35rem; font-size: 3.5rem; line-height: 1.1; }
.hero .tag { margin: 0; color: var(--ivory); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero p.about { max-width: 620px; margin: 1.25rem auto 0; color: var(--ivory-soft); font-size: 1.0625rem; }
.hero p.soon { max-width: 620px; margin: 1.25rem auto 0; color: var(--ivory-faint); font-size: .875rem; }
.shot { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--radius); }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.25rem;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--ivory-faint);
  font-size: .8125rem;
}
.foot a { color: var(--ivory-soft); }

@media (max-width: 640px) {
  .doc { padding: 2.25rem 1rem 4rem; }
  .doc-head h1 { font-size: 1.75rem; }
  .toc ol { columns: 1; }
  .hero h1 { font-size: 2.625rem; }
  .brand small { display: none; }
  .doc tbody th { width: 40%; }
}
