/* Real NoriDoc product screens, separate from the illustrative components. */
.hero-product { min-width: 0; }
.hero-product figure { margin: 0; }
.product-screen-link { display: block; border: 1px solid #cbd8cc; border-radius: 12px; overflow: hidden; background: #fff; }
.product-screen-link:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.product-screen-link img { display: block; width: 100%; height: auto; }
.hero-product .product-screen-link { box-shadow: 0 22px 50px #244d3d19; transform: rotate(-1deg); }
.product-screen-caption { margin: 16px 0 0; color: var(--text); font-size: .72rem; line-height: 1.7; }
.product-screen-caption span { display: block; }
.product-screen-caption a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.product-gallery { background: #edf0e7; }
.product-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.product-gallery-grid figure { margin: 0; min-width: 0; }
.product-gallery-grid figcaption { padding: 18px 2px 0; }
.product-gallery-grid h3 { font-size: 1.1rem; margin: 0 0 6px; }
.product-gallery-grid p { font-size: .85rem; margin: 0; color: var(--text); }
.product-gallery-note { font-size: .75rem; margin: 30px 0 0; color: var(--text); }
body.screenshot-open { overflow: hidden; }
.screenshot-dialog { width: min(1400px, calc(100% - 32px)); max-width: none; max-height: 94vh; max-height: 94svh; padding: 0; border-radius: 12px; overflow: auto; }
.screenshot-dialog::backdrop { background: #082822d9; backdrop-filter: blur(5px); }
.screenshot-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.screenshot-dialog-head p { margin: 0; font-size: .8rem; }
.screenshot-dialog img { display: block; width: 100%; height: auto; max-height: calc(94vh - 64px); max-height: calc(94svh - 64px); object-fit: contain; background: white; }
@media (max-width: 680px) {
  .product-gallery-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-product .product-screen-link { transform: none; }
  .product-screen-caption { font-size: .68rem; }
}
