/* The one-page guide: a sheet on screen, an A4 page when printed or saved as the PDF.
   The same HTML makes both, so the web page and the PDF can never disagree. */
.gtop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-bottom: 18px; padding-top: 4px; }
.back { font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; text-decoration-color: var(--oxblood); }
.gtop .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gtop .btn { padding: 12px 18px; font-size: .95rem; }
.sheetwrap { padding-bottom: 56px; }
.sheet { max-width: 820px; margin: 0 auto; background: var(--paper); background-image: var(--grain); border-radius: 6px; box-shadow: var(--shadow); padding: 34px 22px 26px; }
@media (min-width: 700px) { .sheet { padding: 52px 56px 36px; } }
.sh-head { padding-bottom: 22px; border-bottom: 1.5px solid var(--latte); }
.sh-head .kicker { margin-bottom: 14px; }
.sh-book { font: 700 1rem/1.3 var(--sans); margin: 0 0 8px; }
.sh-book span { font-weight: 500; color: var(--walnut); margin-left: 8px; }
.sh-head h1 { font-size: clamp(2.2rem, 6vw, 3.3rem); margin-bottom: 14px; }
.sh-promise { font-size: 1.1rem; line-height: 1.5; margin: 0; max-width: 56ch; }
.sheet h2 { font: 700 .78rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--walnut); margin: 26px 0 14px; }
.sheet h2 small { font-weight: 500; letter-spacing: .06em; text-transform: none; font-size: .9rem; margin-left: 10px; }
.sh-ideas ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.sh-ideas li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.sh-ideas .n { font: 400 2.1rem/1 var(--serif); color: var(--walnut); }
.sh-ideas h3 { font-size: 1.35rem; margin-bottom: 6px; }
.sh-ideas p { margin: 0; font-size: 1rem; }
.rules { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .95rem; }
.rules th, .rules td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--latte); }
.rules th { width: 7.5em; font: 700 .72rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--espresso); padding-top: 11px; }
.slip { margin: 22px 0 0; transform: none; background: var(--oat-2); width: auto; padding: 18px 22px; box-shadow: none; }
.sheet .slip blockquote { font: 400 1.35rem/1.25 var(--serif); margin: 0 0 8px; }
.sheet .slip figcaption { font: 600 .85rem/1.3 var(--sans); color: var(--walnut); }
.sh-do { margin-top: 6px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; font-size: 1.04rem; min-height: 28px; display: flex; align-items: center; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--espresso); color: var(--oat); font: 700 .85rem/28px var(--sans); text-align: center; }
.steps .u { background-position: 0 100%; }
.who { margin: 18px 0 0; font-size: .98rem; }
.sh-foot { margin-top: 24px; padding-top: 16px; border-top: 1.5px solid var(--latte); font-size: .88rem; color: var(--walnut); }
.sh-foot p { margin: 0 0 8px; }
.sh-foot .honest { color: var(--espresso); }
.sh-foot .money { font-weight: 700; color: var(--espresso); }
.sh-foot .credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.sh-foot .credit strong { color: var(--espresso); }

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: var(--oat) !important; }
  .skip, .top, .gtop, .join, .foot { display: none !important; }
  body { font-size: 10.8pt; line-height: 1.45; }
  .wrap.sheetwrap { max-width: none; padding: 0; }
  .sheet { width: 210mm; height: 296.5mm; margin: 0; padding: 13mm 15mm 11mm; border-radius: 0; box-shadow: none; background: var(--oat); background-image: none; display: flex; flex-direction: column; overflow: hidden; }
  .sh-head { padding-bottom: 4.5mm; }
  .sh-head .kicker { margin-bottom: 3.4mm; font-size: 8.4pt; }
  .sh-book { font-size: 11.8pt; margin-bottom: 2.2mm; }
  .sh-head h1 { font-size: 30.2pt; margin-bottom: 3.4mm; }
  .sh-promise { font-size: 12.3pt; }
  .sheet h2 { font-size: 8.7pt; margin: 6.7mm 0 3.9mm; }
  .sheet h2 small { font-size: 10.1pt; }
  .sh-ideas ol { gap: 4.7mm; }
  .sh-ideas li { grid-template-columns: 12.3mm 1fr; gap: 3.4mm; }
  .sh-ideas .n { font-size: 24.6pt; }
  .sh-ideas h3 { font-size: 15.1pt; margin-bottom: 1.1mm; }
  .sh-ideas p { font-size: 11pt; }
  .rules { font-size: 10.3pt; margin-top: 2.8mm; }
  .rules th, .rules td { padding: 1.8mm 3.4mm 1.8mm 0; }
  .rules th { font-size: 7.8pt; padding-top: 2.5mm; }
  .sheet .slip { margin-top: 5.6mm; padding: 4.5mm 5.6mm; background: var(--oat-2); }
  .sheet .slip blockquote { font-size: 15.1pt; }
  .steps { gap: 2.9mm; }
  .steps li { font-size: 11.5pt; padding-left: 10.6mm; min-height: 7.3mm; }
  .steps li::before { width: 7.3mm; height: 7.3mm; font-size: 9.5pt; line-height: 7.3mm; }
  .who { margin-top: 4.5mm; font-size: 10.8pt; }
  .sh-foot { margin-top: auto; padding-top: 3.9mm; font-size: 9.2pt; }
  .sh-foot p { margin-bottom: 1.8mm; }
  .sheet.dense { padding-top: 11mm; padding-bottom: 9mm; }
  .sheet.dense .sh-head { padding-bottom: 3.3mm; }
  .sheet.dense .sh-head h1 { font-size: 26.4pt; margin-bottom: 2.2mm; }
  .sheet.dense .sh-promise { font-size: 11.2pt; }
  .sheet.dense h2 { margin: 4.6mm 0 2.9mm; }
  .sheet.dense .sh-ideas ol { gap: 3.3mm; }
  .sheet.dense .sh-ideas h3 { font-size: 13.8pt; }
  .sheet.dense .sh-ideas p, .sheet.dense .rules { font-size: 10.1pt; }
  .sheet.dense .steps { gap: 2mm; }
  .sheet.dense .steps li { font-size: 10.6pt; min-height: 6.6mm; }
  .sheet.dense .who { margin-top: 2.8mm; }
  .u { animation: none !important; background-size: 100% .09em !important; }
  a { text-decoration: none; }
}

@media screen and (max-width: 560px) {
  .sh-ideas li { grid-template-columns: 26px 1fr; gap: 10px; }
  .sh-ideas .n { font-size: 1.7rem; }
  .rules th { width: 6.2em; font-size: .66rem; }
}
