/* Melnia print stylesheet — W8 (2026-11-26), STAGING ONLY.
   Linked with media="print" from every content page (see <head>).
   The build pipeline content-hashes this file like any other asset
   under assets/ (BUILD_PIPELINE.md §3) and rewrites the <link> href
   to the hashed name automatically — link the unhashed name in HTML.
   Goal: a clean black-on-white printout. Screen-only chrome (sticky
   header/nav, buttons, forms, toasts, the animated globe canvas) is
   hidden; real content images stay visible. */
/* ---------- page ---------- */
@page{
  size: A4;
  margin: 18mm 16mm;

}
/* ---------- base: dark text on white, no dark surfaces ---------- */
html, body{
  background: #fff !important;
  color: #111 !important;

}
body{
  font: 12pt/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

}
*{
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #111 !important;
  border-color: #999 !important;

}
/* Keep the brand red only as a dark, readable accent on small labels. */
.red, .accent, .kicker, .accent2{ color: #991b1b !important; 
}
.hero3 h1 .line2{ color: #991b1b !important; 
}
.logo .m-red{ color: #991b1b !important; 
}
/* ---------- hide screen-only chrome ---------- */
/* Sticky/fixed header + nav (would otherwise repeat/overlap on every page). */
.site-header,
.site-nav,
.mobile-menu,
.nav-toggle,
.header-actions,
.lang-wrap,
.skip-link,
.nav-dropdown .dropdown-menu,
/* Animation / interactive controls. */
#motion,
.globe-wrap canvas,
/* Update notices (toast + critical/emergency dialog + backdrop). */
.melnia-update-toast,
.melnia-update-backdrop,
.melnia-update-actions,
/* Buttons, forms and every interactive control — not usable on paper. */
button,
input,
select,
textarea,
form,
.btn,
.hero-cta,
/* Decorative app-phone mockups (dark boxes; the real screenshots stay). */
.phones,
.phone,
.mock-phone,
.app-preview,
.screen,
/* Media that cannot print meaningfully. */
video,
audio,
iframe,
canvas{
  display: none !important;

}
/* The globe note stays: it explains the (hidden) illustration. */
.globe-note{ display: block !important; 
}
/* Hero decorative glow lives on a pseudo-element — remove it. */
.hero3::before{ display: none !important; 
}
/* ---------- layout: single column, full width ---------- */
.wrap, main, main > .wrap, .section{
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

}
main{ padding-bottom: 0 !important; 
}
.grid, .pair, .hero3, .site-footer .foot-grid{
  display: block !important;

}
.grid > *, .pair > *, .hero3 > *, .site-footer .foot-grid > div{
  margin-bottom: 12pt !important;

}
.card, .feat-card{
  border: 1pt solid #999 !important;
  border-radius: 0 !important;
  padding: 10pt !important;
  margin-bottom: 12pt !important;

}
/* ---------- readable type ---------- */
h1{ font-size: 26pt; line-height: 1.15; 
}
h2{ font-size: 17pt; line-height: 1.25; border-bottom: 1pt solid #999 !important; 
}
h3{ font-size: 13pt; 
}
a{
  color: #111 !important;
  text-decoration: underline !important;

}
/* Show where an external link points — internal anchors stay clean. */
main a[href^="http"]::after{
  content: " (" attr(href) ")";
  font-size: 9pt;
  word-break: break-all;

}
/* ---------- images stay visible ---------- */
img{
  max-width: 100% !important;
  height: auto !important;

}
/* ---------- footer stays, readable ---------- */
.site-footer{
  border-top: 1pt solid #999 !important;
  padding: 12pt 0 0 !important;
  margin-top: 18pt !important;

}
.site-footer a{ color: #111 !important; 
}
.soon-pill{ border: 1pt solid #999 !important; 
}
/* ---------- tables ---------- */
table{ border-collapse: collapse; width: 100%; 
}
th, td{ border: 1pt solid #999 !important; padding: 4pt 6pt; text-align: left; 
}
thead{ display: table-header-group; 
}
tfoot{ display: table-footer-group; 
}
/* ---------- sensible page breaks ---------- */
h1, h2, h3, h4{
  break-after: avoid;
  break-inside: avoid;

}
p, li{
  color: #111 !important;
  orphans: 3;
  widows: 3;
}
.card, .feat-card, figure, blockquote, table, pre, img{
  break-inside: avoid;

}
tr{ break-inside: avoid; 
}
