/* The plain pages: how to play, the daily maze, about and privacy. */
:root { color-scheme: light dark; --bg: #f5f2e9; --fg: #213e40; --muted: #5f7068; --link: #197e70; --rule: #d9dccf; --card: #fbf9f2; }
@media (prefers-color-scheme: dark) { :root { --bg: #15191a; --fg: #e6ece8; --muted: #9fb0a8; --link: #5fc4b0; --rule: #2c3533; --card: #1c2224; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
.top, main, .foot { max-width: 680px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.brand { font-family: "MM Display", system-ui, sans-serif; font-weight: 900; letter-spacing: .5px; color: var(--fg); text-decoration: none; }
.brand span { color: var(--link); }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { color: var(--link); }
main { padding-top: 28px; padding-bottom: 32px; }
/* The game's display face (drift/fonts.css) for the brand and headings only. */
h1, h2 { font-family: "MM Display", system-ui, sans-serif; letter-spacing: -.2px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 6px; font-weight: 900; }
h2 { font-size: 1.2rem; margin: 32px 0 6px; font-weight: 850; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 20px; }
.updated { color: var(--muted); margin: 0 0 20px; }
a { color: var(--link); }
ul { padding-left: 1.2em; }
li + li { margin-top: 4px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 650; }
kbd { font: 13px ui-monospace, Consolas, monospace; padding: 1px 5px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.play { display: inline-block; margin: 12px 0 4px; padding: 10px 18px; border-radius: 8px; background: var(--link); color: var(--bg); font-weight: 650; text-decoration: none; }
.foot { padding-top: 16px; padding-bottom: 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
