/* Partner in a box (docs/marketing-plan.md W3). Loaded by this page only, so
   nothing here touches another page or needs the site-wide ?v bump.

   On screen: the price list's third figure is a catalog price, which must be a
   <span data-list> (tools/check-prices.py), and .d-price-list span is styled
   as the caption. Let a span inside the figure take the figure's type, and
   widen the figure column to fit "$495". */
.d-price-list b > span { color: inherit; font-size: inherit; }
.d-price-list li { grid-template-columns: 112px minmax(0, 1fr); }

@media (max-width: 520px) {
  .d-price-list li { grid-template-columns: 84px minmax(0, 1fr); }
}

/* On paper: the printable one-pager, one US Letter sheet. styles.css's own
   print block already hides the masthead navigation and the CTA band.
   raylux-partner-in-a-box.pdf is this page printed by headless Chrome:
   google-chrome --headless=new --no-pdf-header-footer --print-to-pdf=... */
@media print {
  @page { size: letter; margin: 0.45in; }

  html { font-size: 12px; }
  body { background: var(--paper); color: var(--text); }

  .site-footer,
  .masthead-utility,
  .hero-actions .button-quiet[href$=".pdf"] { display: none !important; }

  .masthead { box-shadow: none; border: 0; }
  .masthead-in { padding: 0; min-height: 0; }
  .wordmark-logo { height: 30px; width: auto; }

  .d-pagehead { padding: 8px 0 0; }
  .d-pagehead > .wrap { gap: 8px; }
  .d-pagehead h1 { font-size: 30px; max-width: none; }
  .d-lede { font-size: 13px; max-width: 64em; }
  .d-pagehead .hero-actions { display: none; }

  .d-section { padding: 14px 0 0; }
  .d-head { margin-bottom: 8px; gap: 2px; }
  .d-head h2, .d-price h2 { font-size: 19px; }
  .d-head p { max-width: none; font-size: 12px; }

  .d-moments { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px; }
  .d-moment { padding: 10px 12px; gap: 4px; box-shadow: none; border: 1px solid var(--border-strong); break-inside: avoid; }
  .d-moment h3 { font-size: 15px; }
  .d-moment p { font-size: 11.5px; line-height: 1.4; }
  .d-moment a { display: none; }

  .d-price { grid-template-columns: 1.2fr 1fr !important; gap: 8px 24px; padding: 12px 14px; box-shadow: none; border: 1px solid var(--border-strong); }
  .d-price > div { gap: 6px; }
  .d-price .hero-actions { display: none; }
  .d-price-list li { padding: 5px 0; grid-template-columns: 80px minmax(0, 1fr); }
  .d-price-list b { font-size: 22px; }
  .d-price-list span { font-size: 11.5px; }

  .d-more { margin-top: 10px; font-size: 12px; }
  .d-more a { color: inherit; }
}
