/* Zen Games site: the app's own look (kort-games kit and hub): a warm dark room, warm off-white ink, Instrument Serif for words that
   matter, the system sans for reading. No scripts, no third-party requests. */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #140d09; --ink: #efe9dd; --quiet: rgb(239 233 221 / .66); --faint: rgb(239 233 221 / .14); --lamp: rgb(214 150 92 / .16);
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, system-ui, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; min-height: 100dvh; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 60% at 30% 0%, var(--lamp), rgb(214 150 92 / 0) 70%) no-repeat, var(--bg);
  padding: calc(env(safe-area-inset-top, 0px) + 28px) 22px calc(env(safe-area-inset-bottom, 0px) + 40px);
}
main { max-width: 36rem; margin: 0 auto; }
a { color: var(--ink); text-decoration-color: rgb(239 233 221 / .4); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--ink); }

.top { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; text-decoration: none; }
.top img { width: 36px; height: 36px; border-radius: 9px; }
.top span { font-family: var(--serif); font-size: 22px; letter-spacing: .01em; }

h1 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.05; letter-spacing: -.005em; margin-bottom: 10px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; margin: 38px 0 10px; padding-top: 26px; border-top: 1px solid var(--faint); }
h3 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 22px; margin: 22px 0 4px; }
.date, .lede { color: var(--quiet); }
.lede { font-size: 19px; margin: 18px 0 6px; }
p + p, p + ul, ul + p { margin-top: 12px; }
ul { padding-left: 1.15em; }
li { margin: 6px 0; }
li::marker { color: var(--quiet); }
strong { font-weight: 600; }
.quiet { color: var(--quiet); }
.mail { font-family: var(--serif); font-size: 26px; display: inline-block; margin: 6px 0 2px; }

footer { max-width: 36rem; margin: 56px auto 0; padding-top: 22px; border-top: 1px solid var(--faint); color: var(--quiet); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--quiet); }

/* the front page */
.home { text-align: center; padding-top: 6vh; }
.home .icon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 18px 50px rgb(0 0 0 / .55), 0 0 0 1px rgb(239 233 221 / .06); }
.home h1 { margin-top: 26px; font-size: 52px; }
.home .sub { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--quiet); }
.home .lede { max-width: 26rem; margin: 22px auto 0; }
.links { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.links a { display: inline-block; min-width: 9.5rem; padding: 13px 22px; border-radius: 999px; border: 1px solid rgb(239 233 221 / .28); text-decoration: none; font-size: 16px; }
.links a:hover { background: rgb(239 233 221 / .06); }
.home footer { justify-content: center; }

@media (min-width: 700px) { body { padding-top: 64px; } h1 { font-size: 54px; } }
