/* The Value Trail guides — shared look. Off-white paper, warm charcoal ink,
   Wildrise ochre headings. Self-contained: the game's own fonts, no network. */
@font-face { font-family: 'Nunito'; font-weight: 600 800; font-display: swap; src: url('../fonts/nunito-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 500 700; font-display: swap; src: url('../fonts/fredoka-latin.woff2') format('woff2'); }
:root { --paper: #FBF6EC; --ink: #33271F; --soft: #6B5A4C; --ochre: #B97B22; --line: #E6D6B8; --panel: #F4E8CF; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0 auto; max-width: 760px; padding: 28px 22px 60px; background: var(--paper); color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: 'Fredoka', 'Nunito', sans-serif; line-height: 1.15; }
h1 { font-size: 30px; margin: 0 0 4px; }
.sub { color: var(--soft); font-weight: 700; margin: 0 0 18px; }
h2 { color: var(--ochre); font-size: 22px; margin: 30px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 0 0 6px; }
.ask { font-style: italic; color: var(--soft); }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14.5px; }
th { background: var(--ink); color: var(--paper); text-align: left; padding: 7px 9px; font-weight: 800; }
td { padding: 7px 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:nth-child(even) td { background: rgba(244,232,207,0.55); }
.foot { margin-top: 34px; color: var(--soft); font-size: 13.5px; }
@media print {
  html, body { background: #fff; }
  body { max-width: none; padding: 0; font-size: 11.5pt; }
  h2 { break-after: avoid; }
  h3 { break-after: avoid; }
  tr, .note, li { break-inside: avoid; }
  thead { display: table-header-group; }
  .pb { break-before: page; }
  @page { margin: 16mm 16mm 20mm;
    @bottom-left { content: "Making Money: The Value Trail · Wildrise · free, and it stays free"; font-family: sans-serif; font-size: 8pt; color: #6B5A4C; }
    @bottom-right { content: "Page " counter(page); font-family: sans-serif; font-size: 8pt; color: #6B5A4C; } }
}
