/* cutcount.io's own pages beside the game (about, how to play): the game's colours and fonts. */
@font-face { font-family: "Rubik"; font-weight: 300 900; font-display: swap; src: url("/fonts/rubik-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap; src: url("/fonts/nunito-latin.woff2") format("woff2"); }
:root { --ink: #2b1d14; --cream: #fff4de; --paper: #fffaf0; --wood: #a8642c; --orange: #f4a53c; --muted: #7a6450; }
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font: 17px/1.6 "Nunito", system-ui, sans-serif; }
body { margin: 0; }
a { color: var(--wood); }
header.top { background: var(--ink); color: var(--cream); }
header.top .in, main, footer .in { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top .in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 800 21px "Rubik", sans-serif; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
header nav a { color: var(--cream); text-decoration: none; margin-left: 18px; font-weight: 700; }
.play { display: inline-block; background: var(--orange); color: var(--ink) !important; font: 800 18px "Rubik", sans-serif; padding: 12px 26px;
  border-radius: 999px; text-decoration: none; box-shadow: 0 4px 0 var(--wood); }
header nav a.play { padding: 7px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--wood); }
h1, h2, h3 { font-family: "Rubik", sans-serif; line-height: 1.2; }
h1 { font-size: 34px; margin: 36px 0 10px; }
h2 { font-size: 24px; margin: 34px 0 8px; }
h3 { font-size: 19px; margin: 22px 0 4px; }
.lead { font-size: 19px; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1fr 230px; gap: 28px; align-items: start; }
.hero img, figure img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 6px 24px rgba(43,29,20,.18); }
figure { margin: 0; } figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; } .hero figure { max-width: 260px; } h1 { font-size: 28px; } }
dl dt { font-weight: 800; margin-top: 14px; } dl dd { margin: 2px 0 0; }
footer { margin-top: 56px; background: var(--cream); padding: 22px 0; font-size: 14px; color: var(--muted); }
footer nav a { margin-right: 16px; }
