/* Shared motion: short entrances, quiet feedback and no continuous movement. */
@media (prefers-reduced-motion: no-preference) {
    .tn-site .motion-pending { opacity: 0; }
    .tn-site :is(.button, .text-link, .round-arrow) {
        transition: background-color .2s ease, color .2s ease, border-color .2s ease,
            box-shadow .25s ease, transform .25s ease;
    }
    .tn-site :is(.advantage, .capture-card, .demo-card, .store-features > article, .customer-grid > figure) {
        transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    }
    .tn-site :is(.module-tabs button, .preview-switch button, .sector-options button, .quantity-options button, .demo-copy) {
        transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .tn-site .main-nav > a:not(.button), .tn-site .section-index a,
    .tn-site .footer-main a, .tn-site .contact-channels a { transition: color .2s ease; }
    .tn-site .contact-form :is(input, select, textarea) {
        transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    }
    .tn-site .contact-form :is(input, select, textarea):focus {
        border-color: var(--teal);
        box-shadow: 0 0 0 3px #10758a1a;
    }
    .tn-site .faq-list summary > span { transition: transform .25s ease; }
    .tn-site .faq-list details[open] > p,
    .tn-site .preview-result:not([hidden]) { animation: tn-content-in .3s ease-out; }
    .tn-site .image-dialog[open] { animation: tn-content-in .24s ease-out; }
    .tn-site .image-dialog[open]::backdrop { animation: tn-backdrop-in .24s ease-out; }
    @keyframes tn-content-in {
        from { opacity: .3; translate: 0 6px; }
        to { opacity: 1; translate: 0 0; }
    }
    @keyframes tn-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .tn-site :is(.advantage, .capture-card, .demo-card, .store-features > article, .customer-grid > figure):hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px #2232470f;
    }
    .tn-site .button:hover { box-shadow: 0 6px 16px #10758a24; }
    .tn-site .round-arrow:hover { transform: translateY(-2px); background: #e9f5f8; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.tn-site) { scroll-behavior: auto; }
    .tn-site .motion-pending { opacity: 1; }
    .tn-site .button:hover, .tn-site .system-card:hover,
    .tn-site .text-link:hover .icon, .tn-site .system-card-image:hover img,
    .tn-site .screenshot-expand:hover img, .tn-site .capture-card button:hover img { transform: none; }
}
@media print {
    .tn-site .motion-pending { opacity: 1 !important; }
    .tn-site *, .tn-site *::before, .tn-site *::after { animation: none !important; transition: none !important; }
}
