/* Page layout only. Everything else is juice (/juice/juice.css), copied from the design system and never edited here. */

/* The top bar spans the page, so its background and hairline run edge to edge, as on chrislaunches.com. */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }

.section { padding-block: var(--s-24); }
.section + .section { border-top: 1px solid var(--border); }
.section-head { display: grid; gap: var(--s-3); max-width: 60ch; margin-bottom: var(--s-12); }
@media (max-width: 720px) { .section { padding-block: var(--s-16); } }

/* A real picture of the game: rounded, nothing around it, in its own colors. */
.shot { width: 100%; height: auto; border-radius: var(--r-lg); background: var(--surface); }

.checks { display: grid; gap: var(--s-3); padding: 0; list-style: none; }
.checks li { display: flex; gap: var(--s-2); align-items: baseline; }
.checks .i { color: var(--text-2); translate: 0 0.2em; }

/* The maker's mark as a pill, as on chrislaunches.com: the portrait sits inside the left edge. */
.maker { padding: var(--s-1) var(--s-3) var(--s-1) var(--s-1); border: 1px solid var(--border); border-radius: var(--r-full); color: inherit; text-decoration: none; transition: border-color var(--dur); }
.maker:hover, .maker:focus-visible { border-color: var(--border-strong); }

/* Long text: the privacy policy. Plain elements inside get their spacing here (from chrislaunches.com's .doc). */
.doc { line-height: 1.65; }
.doc h2 { margin-top: var(--s-12); }
.doc :is(p, ul) { color: var(--text-2); }
.doc * + :is(p, ul, .card) { margin-top: var(--s-3); }
.doc > :is(section, .card) { margin-top: var(--s-12); }
.doc ul { display: grid; gap: var(--s-2); padding-left: 1.25em; list-style: disc; }
.doc :is(strong, h1, h2, .card > h2) { color: var(--text); }
.doc .card > :first-child { margin-top: 0; }
.doc header > .t-lg { color: var(--text-2); }

/* The invite page (/i/<code>): the code is what a player reads out or types, so it is large and in the mono face. */
.invite-code { font-family: var(--font-mono); letter-spacing: 0.04em; overflow-wrap: anywhere; }
