/* The website's look (Kevin, 0.18.5: a tester found the old cream-and-brown pages "typical Claude design"): the game's
   own night and fog, lantern gold as the only strong colour, the Fogmarch display font for headings and a humanist
   sans for text. Shared by index.html (tools/make_landing.py), patchnotes.html and android.html. */
@font-face { font-family: "Fogline Display"; src: url("FoglineDisplay.woff2") format("woff2"); font-display: swap; }
:root {
  --night: #0d1720;
  --night-2: #13212d;
  --night-3: #1a2b38;
  --fog: #2b3b48;
  --mist: #9fb2bd;
  --text: #e8eef1;
  --lantern: #f4b942;
  --ember: #e2782c;
  --moss: #6f9a45;
  --ink: #0a1118;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--night); color: var(--text); font: 18px/1.55 "Alegreya Sans", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Fogline Display", Georgia, serif; font-weight: normal; margin: 0; }
a { color: var(--lantern); }
strong, b { color: var(--text); }

/* the top bar */
nav.top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 22px 40px; z-index: 3; }
nav.top .logo { display: flex; align-items: center; gap: 12px; font: 30px "Fogline Display", serif; color: var(--lantern); text-decoration: none;
  text-shadow: 0 2px 0 var(--ink); }
nav.top .logo img { width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--ink); }
nav.top .links { margin-left: auto; display: flex; gap: 26px; font-weight: 700; letter-spacing: .02em; }
nav.top .links a { text-decoration: none; color: var(--mist); text-shadow: 0 1px 0 var(--ink); }
nav.top .links a:hover, nav.top .links a.on { color: var(--lantern); }

/* buttons like the game's: a thick bottom edge, gold for the main one */
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font: 24px "Fogline Display", serif;
  padding: 12px 26px 10px; border-radius: 12px; border: 3px solid var(--ink); border-bottom-width: 7px; cursor: pointer; transition: transform .08s; }
.btn:active { transform: translateY(3px); border-bottom-width: 4px; }
.btn.gold { color: var(--ink); background: linear-gradient(#ffd77a, var(--lantern)); box-shadow: 0 0 28px rgba(244, 185, 66, .45); }
.btn.dark { color: var(--text); background: rgba(19, 33, 45, .85); border-color: #05090d; }
.btn small { font: 700 13px "Alegreya Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.btn:disabled { opacity: .6; cursor: default; }

.kicker { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--ember); }

/* the smaller pages (patch notes, Android): the town under the fog as a header */
header.sub { position: relative; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden;
  background: #1c2a1a url(img/town.jpg) center 45% / cover; }
header.sub::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 70% at 72% 40%, rgba(24, 36, 47, .15), rgba(24, 36, 47, .88) 70%),
    linear-gradient(transparent 40%, var(--night)); }
header.sub .bar { position: relative; z-index: 2; width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px 22px; }
header.sub h1 { font-size: clamp(40px, 6vw, 60px); color: var(--lantern); text-shadow: 0 3px 0 var(--ink), 0 0 30px rgba(244, 185, 66, .35); line-height: 1.05; }
main.sub { max-width: 860px; margin: 10px auto 60px; padding: 0 20px; }
.panel { background: var(--night-2); border: 2px solid #05090d; border-radius: 16px; padding: 22px 26px 16px; margin: 22px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.panel h2 { font-size: 30px; color: var(--lantern); margin: 0 0 4px; }
.panel h3 { font-size: 22px; color: var(--text); margin: 18px 0 6px; }
.panel .meta { color: var(--mist); font-size: 16px; margin: 0 0 10px; }
ul.diamonds { list-style: none; padding-left: 0; margin: 8px 0 12px; }
ul.diamonds li { position: relative; padding: 6px 0 6px 30px; color: #d3dde3; border-bottom: 1px dashed rgba(159, 178, 189, .16); }
ul.diamonds li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--moss); border: 2px solid #05090d; }
ol.steps { margin: 6px 0 4px; padding-left: 24px; color: #d3dde3; }
ol.steps li { margin: 6px 0; }
ol.steps li::marker { color: var(--lantern); font-weight: 800; }

footer.site { position: relative; padding: 60px 20px 48px; text-align: center; color: var(--mist); font-size: 15px;
  background: radial-gradient(ellipse at 50% 130%, rgba(244, 185, 66, .2), transparent 55%), #070d13; }
footer.site a { color: var(--mist); }

@media (max-width: 760px) {
  nav.top { padding: 16px; gap: 16px; }
  nav.top .links { gap: 16px; font-size: 15px; }
  nav.top .logo { font-size: 24px; }
  nav.top .logo img { width: 34px; height: 34px; }
  header.sub { min-height: 240px; }
  .panel { padding: 18px 18px 12px; }
}
@media (max-width: 520px) { nav.top .links a.wide { display: none; } }
