/* Compact Assembly introduction on the homepage only. */
.home-assembly { padding: 0 var(--pad, 7vw) 0; }
.home-assembly__card { max-width: 1180px; margin: 0 auto; height: 272px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 36px; padding: 32px 0 32px 36px; border: 1px solid #242424; border-radius: 20px; background: #090909; overflow: hidden; }
.home-assembly__copy { position: relative; z-index: 1; }
.home-assembly__eyebrow { margin: 0 0 13px; color: #858585; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .09em; }
.home-assembly h2 { margin: 0; color: #f4f4f4; font-size: 36px; font-weight: 580; line-height: 1.1; letter-spacing: -.045em; }
.home-assembly__description { margin: 12px 0 22px; color: #a0a0a0; font-size: 15px; font-weight: 400; line-height: 1.5; letter-spacing: -.015em; }
.home-assembly__link { display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 500; line-height: 1.5; color: #eee; }
.home-assembly__link span { font-size: 19px; line-height: 1; transition: transform .2s ease; }
.home-assembly__link:hover span { transform: translate(2px,-2px); }
.home-assembly__preview { align-self: start; margin: 8px -58px -100px 0; display: block; border: 1px solid #303030; border-radius: 10px; overflow: hidden; transform: rotate(-3deg); transform-origin: center center; box-shadow: 0 8px 40px #0008; }
.home-assembly__preview img { display: block; width: 100%; height: auto; }
.home-assembly a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media(max-width: 1000px) { .home-assembly__card { grid-template-columns: 1fr 1fr; gap: 20px; padding-left: 28px; } .home-assembly__preview { width: 560px; margin-top: 12px; } }
@media(max-width: 768px) {
  .home-assembly { padding: 0 24px 0; }
  .home-assembly__card { height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding: 26px 24px 0; border-radius: 16px; }
  .home-assembly h2 { font-size: 32px; }
  .home-assembly__description { font-size: 14px; margin-bottom: 18px; }
  .home-assembly__preview { width: calc(100% + 42px); height: 150px; margin: 0 -42px -5px 0; transform: none; border-bottom: 0; border-radius: 8px 0 0 0; }
  .home-assembly__preview img { width: 100%; min-height: 150px; object-fit: cover; object-position: top left; }
}
@media(prefers-reduced-motion:reduce) { .home-assembly__link span { transition: none; } }

/* Both desktop apps share the same compact card layout. */
.home-products { max-width: calc(1180px + 2 * var(--pad, 7vw)); margin: 0 auto; padding: 0 var(--pad, 7vw); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-products .home-assembly { padding: 0; min-width: 0; }
.home-products .home-assembly__card { height: 414px; display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 32px 32px 0; }
.home-products .home-assembly__copy { flex-shrink: 0; }
.home-products .home-assembly h2 { font-size: 32px; }
.home-products .home-assembly__preview { align-self: auto; flex-shrink: 0; width: calc(100% + 52px); height: 220px; margin: 0 -52px -70px 0; transform: rotate(-3deg); }
.home-products .home-assembly__preview img { width: 100%; height: auto; }
@media(max-width: 1000px) and (min-width: 769px) {
  .home-products { gap: 20px; }
  .home-products .home-assembly__card { padding: 26px 24px 0; }
  .home-products .home-assembly__description { font-size: 14px; }
}
@media(max-width: 768px) {
  .home-products { padding: 0 24px; grid-template-columns: 1fr; gap: 20px; }
  .home-products .home-assembly__card { height: auto; gap: 26px; padding: 26px 24px 0; }
  .home-products .home-assembly__preview { width: calc(100% + 42px); height: 150px; margin: 0 -42px -5px 0; transform: none; }
}
