/* World Order's public pages (how to play, rules, about, privacy): plain HTML that reads without the app, in the game's paper and ink.
 * The tokens match src/theme.css. These pages never carry ads. */
:root {
  --paper: #F3ECDD; --raised: #FBF7EE; --sunk: #E9E0CC; --ink: #1F1A14; --ink2: #5E5244; --line: rgba(31, 26, 20, .12);
  --brass: #A8843A; --action: #15584F; --war: #8E2A22; --deal: #2F6B45; --covert: #2E3F6B;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1A1612; --raised: #231E18; --sunk: #2C261F; --ink: #EFE6D3; --ink2: #B9AB93; --line: rgba(239, 230, 211, .14);
    --brass: #D9BC76; --action: #5FB3A6; --war: #E08A80; --deal: #8CC79E; --covert: #9DB0E0; }
  .mast img { filter: invert(1) hue-rotate(180deg); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 Spectral, Georgia, serif; }
a { color: var(--action); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
header.site, footer.site { font-family: Outfit, system-ui, sans-serif; }
header.site { border-bottom: 1px solid var(--line); background: var(--raised); }
header.site .in, main, footer.site .in { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site .in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.mast img { display: block; height: 28px; width: auto; }
nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; }
nav a { color: var(--ink2); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
main { padding-top: 28px; padding-bottom: 40px; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 34px; margin: 0 0 6px; }
.lede { color: var(--ink2); font-size: 19px; margin: 0 0 24px; }
h2 { font-size: 24px; margin: 36px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
h3 { font-size: 19px; margin: 22px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font: 15px/1.4 Outfit, system-ui, sans-serif; }
.table { overflow-x: auto; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink2); font-weight: 600; }
.note { background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 10px; padding: 12px 14px; margin: 18px 0; }
.cta { display: inline-block; margin-top: 6px; padding: 10px 18px; border-radius: 10px; background: var(--action); color: #F6F0DF; text-decoration: none; font: 600 16px Outfit, system-ui, sans-serif; }
@media (prefers-color-scheme: dark) { .cta { color: #10201D; } }
footer.site { border-top: 1px solid var(--line); color: var(--ink2); font-size: 14px; padding: 18px 0 28px; }
footer.site p { margin: 8px 0 0; }
