/* Printing (or saving as PDF) a Learnix legal page: a plain document
   with a small Learnix header. docs/build_privacy_packet.py makes the
   PDFs through this file. Body text stays Inter in print. */
@media print {
  @page { size: letter; margin: 0.75in 0.85in 0.9in; }
  :root { --bg: #ffffff; --bg-2: #f5f5f7; --border: #d4d4d8; --text: #18181b; --text-2: #27272a; --text-3: #52525b; --accent: #4c1d95; }
  html, body { background: #fff !important; color: #18181b !important; }
  body { font-size: 10pt; line-height: 1.5; }
  body, .page-title, h1, h2, h3, .nav-brand-name { font-family: 'Inter', Arial, sans-serif !important; }
  .legal-main { line-height: 1.5 !important; max-width: none !important; }

  /* Header: small logo and name, website on the right, thin rule */
  .navbar { position: static !important; height: auto !important; background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid #a1a1aa !important; padding: 0 0 8px !important; margin-bottom: 22px; display: flex !important; justify-content: space-between; }
  .navbar .nav-links, .navbar .nav-actions, #nav-sentinel { display: none !important; }
  .navbar::after { content: "learnix.academy"; font-size: 8.5pt; color: #52525b; }
  .nav-brand img { width: 20px !important; height: 20px !important; }
  .nav-brand-name { color: #18181b !important; font-size: 11pt !important; font-weight: 700 !important; letter-spacing: 0 !important; }

  /* Screen-only things */
  .skip-link, .toc, .to-top, .page-label, footer, #lxl-fab, #lxl-panel, #lx-cookie-banner, #lx-cookie-overlay, #lx-cookie-modal,
  .back-to-top, [data-no-print] { display: none !important; }

  .legal-shell, .legal-shell.single { display: block !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .page-title { font-size: 19pt !important; font-weight: 700 !important; letter-spacing: -0.2px !important; color: #18181b !important; margin-bottom: 2px !important; }
  .page-date { color: #52525b !important; font-size: 9pt !important; margin-bottom: 14px !important; }
  .lede { font-size: 10.5pt !important; }
  .lede, p, li, td { color: #27272a !important; }
  h1, h2, h3, strong, th { color: #18181b !important; }
  strong { font-weight: 600 !important; }
  h2 { font-size: 12pt !important; font-weight: 700 !important; margin-top: 18px !important; break-after: avoid; page-break-after: avoid; }
  h2 .sec-num { color: #18181b !important; }
  h3 { font-size: 10.5pt !important; break-after: avoid; page-break-after: avoid; }
  section[id] { margin-bottom: 12px !important; }
  a { color: #3b0764 !important; text-decoration: none !important; }
  .callout { background: #fff !important; border: 0 !important; border-left: 3px solid #a1a1aa !important; border-radius: 0 !important; padding: 2px 0 2px 14px !important; break-inside: avoid; }
  .data-table, table { border-collapse: collapse !important; width: 100% !important; font-size: 8.75pt !important; }
  .data-table th, .data-table td, table th, table td { border: 1px solid #d4d4d8 !important; color: #27272a !important; padding: 5px 7px !important; }
  .data-table th, table th { background: #f5f5f7 !important; color: #18181b !important; }
  tr, li, blockquote { break-inside: avoid; page-break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none !important; text-shadow: none !important; border-radius: 0 !important; }
  .nav-brand img { border-radius: 4px !important; }
}
