/* Learn about a product first; visit its dedicated website at the closing block. */
.product-closing { background: var(--bora-soft-red); border-top: 1px solid var(--bora-border); }
.product-closing-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.product-closing h2 { font-size: clamp(34px, 3.7vw, 56px); max-width: 720px; }
.product-closing-copy > p:not(.eyebrow) { margin: 28px 0 32px; font-size: 1rem; line-height: 1.85; }
.product-closing .actions { justify-content: flex-start; }
.product-closing .button { white-space: normal; min-height: 49px; height: auto; padding: 14px 18px; text-align: center; max-width: 100%; }
.product-closing-visual { min-width: 0; padding: 24px; border: 1px solid var(--bora-border); border-radius: 22px; background: var(--bora-surface); box-shadow: var(--bora-shadow); }
.closing-product-brand { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.closing-product-brand .product-logo { width: 126px; height: 56px; flex-shrink: 0; }
.closing-product-brand > span:not(.theme-logo) { color: var(--bora-muted); font-size: 9px; letter-spacing: .12em; text-align: right; }
.product-closing .screenshot-viewport { height: 340px; }
.product-closing .screenshot-viewport img { min-width: 740px; max-width: none; width: 740px; height: auto; }
.product-website-link { margin-top: 16px; }
.back-to-top { position: fixed; right: 29px; bottom: 94px; z-index: 70; width: 48px; height: 48px; padding: 12px; border: 1px solid #393939; border-radius: 50%; background: #202020; color: #fff; box-shadow: 0 5px 18px #0002; animation: back-top-in 180ms ease-out; }
.back-to-top svg { display: block; width: 22px; height: 22px; }
.back-to-top:hover { background: var(--bora-red); color: #fff; border-color: var(--bora-red); }
.back-to-top:focus-visible { outline: 3px solid var(--bora-accent-text); outline-offset: 4px; }
[data-theme="dark"] .product-closing { background: var(--bora-soft-bg); }
[data-theme="dark"] .back-to-top { background: #eeeeef; color: #202020; border-color: #eeeeef; }
[data-theme="dark"] .back-to-top:hover { background: var(--bora-red); color: #fff; border-color: var(--bora-red); }
.menu-open .back-to-top { visibility: hidden; }
@keyframes back-top-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1024px) {
    .product-closing-grid { gap: 32px; }
    .product-closing-visual { padding: 18px; }
}
@media (max-width: 767px) {
    .product-closing-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-closing h2 { font-size: clamp(30px, 7.8vw, 44px); }
    .product-closing .actions { align-items: flex-start; }
    .product-closing .button { width: auto; font-size: 12px; padding-inline: 15px; }
    .product-closing .screenshot-viewport { height: 290px; }
    .closing-product-brand { gap: 12px; }
    .closing-product-brand .product-logo { width: 110px; height: 48px; }
    .closing-product-brand > span:not(.theme-logo) { font-size: 8px; }
    .back-to-top { width: 44px; height: 44px; padding: 10px; right: 20px; bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .back-to-top { animation: none; transition: none; }
}
