
.home .section--library{min-height:calc(100svh - 90px);padding:32px 0 24px;display:flex;align-items:flex-start;scroll-margin-top:90px;}
.home .section--library>.container{width:var(--container);}
.home .section--library .section-heading{margin-bottom:18px;}

.home .section--library .section-heading p{margin:0;}
.solution-library{width:100%;max-width:1016px;margin:auto;}
.shelf-row{display:flex;justify-content:center;gap:28px;position:relative;padding:0;margin-bottom:24px;}

.shelf-card{font:inherit;cursor:pointer;text-align:left;display:flex;flex-direction:column;width:calc((100% - 56px)/3);min-width:0;height:clamp(220px,29svh,270px);padding:10px 14px 12px;border:1px solid #d7e4de;border-radius:18px;background:#fff;box-shadow:0 9px 22px #153e2910;color:#0c1925;transition:transform .25s,box-shadow .25s,border-color .25s;}
.shelf-row--top .shelf-card{width:calc((100% - 56px)/3);}
.shelf-card:hover{transform:translateY(-7px);box-shadow:0 16px 28px #153e2928;border-color:#20815d;}
.shelf-card:focus-visible{outline:3px solid #d6aa2b;outline-offset:4px;}
.shelf-card img{display:block;width:100%;min-height:0;flex:1;object-fit:contain;border-radius:10px;margin-bottom:8px;}
.shelf-card-title{font-size:20px;font-weight:750;line-height:1.15;min-height:46px;display:flex;align-items:center;}
.shelf-card-label{display:flex;justify-content:space-between;color:#167250;font-size:14px;margin-top:6px;font-weight:650;}
.shelf-card--blue{background:linear-gradient(#fff,#eef5ff);}.shelf-card--mint{background:linear-gradient(#fff,#eff9f4);}.shelf-card--yellow{background:linear-gradient(#fff,#fffbea);}
.shelf-card--coral{background:linear-gradient(#fff,#fff0ee);}
dialog.shelf-detail{position:fixed;inset:0;margin:auto;width:min(660px,calc(100vw - 32px));max-height:calc(100svh - 40px);padding:0;border:1px solid #d9e5de;border-radius:24px;background:white;box-shadow:0 32px 90px #06261b55;overflow:auto;color:#0c1925;}
dialog.shelf-detail[open]{animation:shelf-enter .3s ease-out;}
dialog.shelf-detail::backdrop{background:#102b2455;backdrop-filter:blur(9px);}
.shelf-detail-media{height:clamp(180px,38svh,340px);padding:24px 36px 0;background:linear-gradient(#eff8f3,#fff);}
.shelf-detail-media img{width:100%;height:100%;object-fit:contain;}
.shelf-detail-copy{padding:24px 32px 32px;}.shelf-detail-copy h2{font-size:32px;line-height:1.1;margin:0 0 14px;}.shelf-detail-copy p{font-size:19px;color:#56708b;line-height:1.5;margin:0 0 24px;}.shelf-detail-copy .button{width:100%;display:flex;justify-content:space-between;font-size:19px;}
.shelf-close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:1px solid #d4e1db;border-radius:50%;background:#fff;color:#174d39;font-size:28px;cursor:pointer;z-index:1;}
@keyframes shelf-enter{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}
@media(max-width:700px){.home .section--library{padding:28px 0;}.shelf-row{gap:10px;padding:0 2px 14px;margin-bottom:18px;}.shelf-row--top .shelf-card{width:calc(50% - 5px);height:200px;padding:8px;}.shelf-row--bottom .shelf-card{width:calc(33.333% - 7px);height:205px;}.shelf-card-title{font-size:15px;min-height:54px;}.shelf-card-label{font-size:12px;}.shelf-detail-copy{padding:20px;}.shelf-detail-copy h2{font-size:26px;}}
@media(prefers-reduced-motion:reduce){.shelf-card,dialog.shelf-detail[open]{animation:none;transition:none;}}

/* Shared heading hierarchy across the three homepage sections. */
.home :is(.section--library,.section--plans,.section--about) .section-heading h2{font-size:clamp(3.2rem,3.8vw,4.5rem);}
.home :is(.section--library,.section--plans,.section--about) .section-heading p{font-size:clamp(1.05rem,1.7vw,1.55rem);}
@media(max-width:700px){.home :is(.section--library,.section--plans,.section--about) .section-heading h2{font-size:clamp(2rem,8vw,2.7rem);}}
