/* Draws the section heading the landing page sections share (a numbered kicker, a serif title held at 80% of the hero title so the hero stays the largest, and a lede) and the Install section: the four claims about the library, then one card per place LabShelf installs, its Install pill filling in on hover. */

.kick{display:flex;align-items:center;gap:.55em;margin:0 0 clamp(12px,1.3vw,16px);font:600 12px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--soft-fg)}
.kick i{font-style:normal;font-weight:400;color:var(--faint)}
.sec-title{max-width:16em;margin:0;font:600 clamp(29px,min(4.3vw,6.7vh),64px)/1.06 var(--serif);letter-spacing:-.022em;color:var(--strong);text-wrap:balance;font-variation-settings:"opsz" 60}
.sec-title em{font-style:italic;font-weight:500;color:var(--soft-fg);letter-spacing:-.012em}
.sec-lede{max-width:52ch;margin:clamp(14px,1.6vw,20px) 0 0;font:clamp(17px,1.35vw,20px)/1.5 var(--sans);color:var(--dim);text-wrap:pretty}

/* The promise: the two-line title, then three short claims stacked beside the claim about files. */
.inst-title{line-height:1.02}
.inst-title em{display:block}
.inst-promise{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,80px);align-items:start;margin-top:clamp(28px,3.4vw,44px)}
.inst-points{list-style:none;margin:0;padding:0;display:grid;gap:26px}
.inst-points li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-content:start}
.inst-pt-ic{grid-row:span 2;width:20px;height:20px;margin-top:1px;fill:none;stroke:var(--soft-fg);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.inst-points b{font:600 clamp(15px,1.2vw,17px)/1.3 var(--sans);color:var(--strong)}
.inst-points span{max-width:44ch;font:14px/1.55 var(--sans);color:var(--dim);text-wrap:pretty}

/* The files claim, set apart: a serif heading, its summary, and the library drawn as a bare tree with the other apps that open each file. */
.inst-files h3{display:flex;align-items:center;gap:12px;margin:0;font:600 clamp(20px,1.7vw,24px)/1.2 var(--serif);color:var(--strong)}
.inst-files>p{max-width:52ch;margin:8px 0 18px;font:14.5px/1.6 var(--sans);color:var(--dim);text-wrap:pretty}
.inst-tree{font-size:13px}
.inst-tree p{display:flex;justify-content:space-between;gap:16px;margin:0 0 6px;padding-bottom:6px;border-bottom:1px solid var(--line);font:11px var(--mono);color:var(--faint)}
.inst-tree p span+span{font:600 10.5px var(--sans);letter-spacing:.06em;text-transform:uppercase}
.inst-tree div{display:flex;align-items:center;gap:8px;height:28px;white-space:nowrap}
.inst-tree div.f{position:relative;padding-left:22px}
.inst-tree div.f::before{content:"";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid var(--guide)}
.inst-tree .n{color:var(--tx)}
.inst-tree .d .n{font-weight:600;color:var(--strong)}
.inst-tree .app{flex:1;display:flex;align-items:center;gap:10px;min-width:0;color:var(--dim);font-size:12.5px;overflow:hidden;text-overflow:ellipsis}
/* A dotted leader runs from the file to the apps that open it. */
.inst-tree .app::before{content:"";flex:1;min-width:16px;border-bottom:1px dotted var(--line2);margin-top:2px}

/* The cards: each one is the link to its store, the host's mark and name on the left and an Install pill on the right. */
.inst-lead{margin:clamp(40px,4.5vw,60px) 0 12px;font:14px var(--sans);color:var(--tx)}
.inst-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.inst-card{display:flex;align-items:center;gap:12px;height:100%;min-height:72px;padding:14px 14px 14px 18px;border:1px solid var(--line2);border-radius:8px;color:var(--strong);transition:border-color .2s,background .2s}
.inst-card:hover{text-decoration:none;border-color:color-mix(in srgb,var(--hi) 55%,var(--line2));background:color-mix(in srgb,var(--hi) 5%,transparent)}
.inst-card:focus-visible{outline:2px solid var(--hi);outline-offset:2px}
.inst-logo{flex:none;width:24px;height:24px;fill:var(--tx)}
.inst-name{flex:1;min-width:0;font:600 clamp(17px,1.35vw,19px)/1.2 var(--serif)}
.inst-name small{display:block;margin-top:2px;font:12px var(--sans);color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inst-go{flex:none;display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px 0 14px;border:1px solid var(--line2);border-radius:999px;font:500 13px var(--sans);color:var(--strong);transition:background .2s,border-color .2s}
.inst-go .ic{width:13px;height:13px;transition:transform .2s}
/* Hovering or focusing a card fills its pill, so the card reads as one button. */
.inst-card:hover .inst-go,.inst-card:focus-visible .inst-go{background:var(--hi);border-color:var(--hi);color:#fff}
.inst-card:hover .inst-go .ic{transform:translateX(2px)}

.inst-foot{display:flex;justify-content:flex-end;margin:clamp(14px,1.6vw,20px) 0 0;font:13px var(--sans)}
.inst-foot a{display:inline-flex;align-items:center;gap:6px;color:var(--blue)}
.inst-foot .ic{width:13px;height:13px}

@media (max-width:980px){.inst-promise,.inst-cards{grid-template-columns:minmax(0,1fr)}.inst-cards{max-width:560px}}
@media (prefers-reduced-motion:reduce){.inst-card,.inst-go,.inst-go .ic{transition:none}}
