/* Lock and Lay — the homepage (#2131): the look of the game's landing (#588), on its own. Latin fonts only, from our
   own server; the static build (server/staticbuild.js) gives every url() here a hashed name that Caddy serves. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/vendor/fontsource-variable/fraunces/files/fraunces-latin-opsz-normal.7234ed860a.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-display: swap; font-weight: 100 900; src: url('/vendor/fontsource-variable/fraunces/files/fraunces-latin-opsz-italic.066710ce7e.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 400; src: url('/vendor/fontsource/roboto/files/roboto-latin-400-normal.425c0713a8.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 500; src: url('/vendor/fontsource/roboto/files/roboto-latin-500-normal.5bcc3aa180.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url('/vendor/fontsource/roboto-mono/files/roboto-mono-latin-400-normal.e03013e0ba.woff2') format('woff2'); }

:root {
  --paper: #f3eee4; --ink: #1e1a15; --ink-2: #5d564c; --ink-3: #6f675b; --rule: #cfc6b3; --rule-2: #b9ae98; --moss: #2f5d3a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #1c1a16; color: var(--ink); font: 400 15px/1.5 var(--sans); }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 18px; }
.meta { color: var(--ink-3); font-size: 13px; }

/* the title: dark, like the game's title screen */
.hero { --ink: #f3eee4; --ink-2: #d8d0c0; --ink-3: #b3aa9a; --rule: rgba(243, 238, 228, .22); --rule-2: rgba(243, 238, 228, .4);
  color: var(--ink); background: linear-gradient(to bottom, #2b2723, #1c1a16); padding: max(20px, env(safe-area-inset-top)) 0 28px; }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.brand { font-family: var(--serif); font-size: clamp(46px, 14.5vw, 104px); line-height: .92; letter-spacing: -.035em; font-weight: 600; font-variation-settings: "opsz" 144; white-space: nowrap; }
.brand i { font-style: italic; font-weight: 400; color: #8fc79c; }
.links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; padding-top: 6px; }
.links a, .foot nav a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule-2); display: inline-block; padding: 8px 0 1px; }
.links a:hover, .foot nav a:hover { color: var(--ink); border-color: var(--ink); }
.mid { display: grid; gap: 22px; padding-top: 14px; }
.sub { font: 400 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lead { margin: 16px 0 20px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.2; max-width: 24ch; }

/* the call to action: the phone landing's green button */
.cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 420px; }
.go { min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 8px 18px; background: #3f7f50; border-bottom: 4px solid #2f6b40; border-radius: 3px; color: #fff; font: 500 19px/1.15 var(--sans); letter-spacing: .01em; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.go small { font: 400 12.5px/1.3 var(--sans); letter-spacing: .02em; color: #fff; }
.go:hover { background: #3a7549; }
.go:active { border-bottom-width: 2px; margin-top: 2px; }
.go:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #8fc79c; outline-offset: 2px; }
.or { margin: 0; text-align: center; font-size: 15px; color: var(--ink-2); }
.or a { display: inline-block; padding: 10px 4px; color: var(--ink); font-weight: 500; text-underline-offset: 3px; text-decoration-color: var(--rule-2); }

/* the screenshots: the desktop set on a computer, the phone set on a phone (a hidden lazy picture is never fetched) */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; background: #15130f; border: 1px solid var(--rule-2); }
.shot figcaption { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.3; }
.shot.p img, .first img { border: 4px solid #0d0c0a; border-radius: 20px; box-shadow: 0 0 0 1px var(--rule-2); }
.first { max-width: 300px; justify-self: center; width: 100%; }
.first figcaption .d, .shot.d { display: none; }

.paper { background: var(--paper); background-image: var(--grain); padding: 26px 0 calc(40px + env(safe-area-inset-bottom)); }
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.more figcaption { color: var(--ink-2); font-size: 14px; }

.season, .faq { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--ink); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 14px; }
h2 { font-size: 27px; line-height: 1.1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.steps svg { width: 100%; aspect-ratio: 240 / 170; display: block; color: var(--ink); overflow: visible; }
.steps svg :is(path, rect, ellipse, circle, line) { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.steps svg text { font: 500 13px var(--mono); fill: currentColor; }
.steps .tag rect { fill: var(--paper); }
.cap { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.cap b { display: block; margin-bottom: 2px; font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--ink); }
.num { float: left; margin-right: 5px; font-family: var(--serif); font-style: italic; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.again { margin: 26px auto 0; }

.faq { max-width: 760px; }
.faq h2 { margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-size: 16px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.6; max-width: 680px; }

.foot { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.foot p { margin: 0 0 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 12px; }

/* a computer: the title screen's two columns, the desktop pictures */
@media (min-width: 821px) {
  .wrap { padding: 0 48px; }
  .hero { padding: 26px 0 40px; }
  .mid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding-top: 36px; }
  .sub { font-size: 12px; letter-spacing: .14em; }
  .first { max-width: none; }
  .first img { border: 1px solid var(--rule-2); border-radius: 0; box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
  .first figcaption .d { display: inline; } .first figcaption .p, .shot.p { display: none; }
  .shot.d { display: block; }
  .more { gap: 30px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .season, .faq { margin-top: 48px; padding-top: 20px; }
  h2 { font-size: 32px; }
  .foot { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
