/* "Trusted by" SSR home section (partials/trusted_by.tmpl). Dark mode keys off a .dark ancestor. */
.tb{padding:2.5rem 0 0;border-top:1px solid #e5e7eb;text-align:center;}
.tb-heading{margin:0;font-size:1.5rem;line-height:2rem;font-weight:700;color:#111827;}
.tb-sub{margin:0.5rem auto 0;max-width:42rem;font-size:1rem;line-height:1.5rem;color:#4b5563;}
.tb-tier{margin-top:1.5rem;}
.tb-logos,.tb-inline{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;}
.tb-logos{align-items:center;gap:1.5rem 2.5rem;}
.tb-logos li{display:flex;flex-direction:column;align-items:center;gap:0.375rem;}
.tb-logo{display:block;width:auto;height:auto;max-width:10rem;max-height:3.5rem;object-fit:contain;}
.tb-grey .tb-logo{filter:grayscale(1);opacity:0.75;transition:filter 0.2s,opacity 0.2s;}
.tb-grey li:hover .tb-logo,.tb-grey li:focus-within .tb-logo{filter:none;opacity:1;}
.tb-inline{gap:0.5rem 1.5rem;font-size:1rem;line-height:1.5rem;color:#374151;}
.tb-inline li{display:inline-flex;flex-direction:column;align-items:center;gap:0.125rem;}
.tb-row{display:inline-flex;align-items:center;gap:0.375rem;}
.tb-link{color:inherit;text-decoration:none;border-radius:0.25rem;}
.tb-link:hover .tb-name,.tb-link:focus-visible .tb-name{text-decoration:underline;}
.tb-link:focus-visible,.tb-badge:focus-visible{outline:2px solid #16a34a;outline-offset:2px;}
.tb-name{font-weight:600;}
.tb-loc{display:block;font-size:0.75rem;line-height:1rem;color:#6b7280;transition:color 0.2s;}
.tb li:hover .tb-loc,.tb li:focus-within .tb-loc{color:#374151;}
.tb-badge{display:inline-block;padding:0.0625rem 0.375rem;border-radius:0.25rem;background:#dcfce7;color:#166534;font-size:0.6875rem;line-height:1rem;font-weight:600;text-decoration:none;}
a.tb-badge:hover{background:#bbf7d0;}
.tb-hiring{display:inline-flex;align-items:center;color:#16a34a;}
.tb-hiring-icon{width:0.875rem;height:0.875rem;}
.tb-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.tb-hero{max-width:64rem;margin:0 auto;padding:1.5rem 1rem 0;border-top:0;}
.tb-hero .tb-heading{font-size:0.75rem;line-height:1rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:#4b5563;}
.tb-hero .tb-sub{margin-top:0.25rem;font-size:0.875rem;line-height:1.25rem;}
.tb-hero .tb-tier{margin-top:0.75rem;}
.tb-hero .tb-logos{gap:1rem 2rem;}
.tb-hero .tb-logo{max-width:8rem;max-height:2.5rem;}
.tb-hero .tb-inline{gap:0.25rem 1rem;font-size:0.875rem;line-height:1.25rem;}
.tb-more{margin-top:0.75rem;}
.tb-more-toggle{display:inline-flex;align-items:center;gap:0.25rem;list-style:none;color:#15803d;font-size:0.875rem;line-height:1.25rem;font-weight:600;cursor:pointer;border-radius:0.25rem;}
.tb-more-toggle::-webkit-details-marker{display:none;}
.tb-more-toggle::marker{content:"";}
.tb-more-toggle::after{content:"";width:0.375rem;height:0.375rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-0.125rem) rotate(45deg);transition:transform 0.2s;}
.tb-more[open] .tb-more-toggle::after{transform:translateY(0.125rem) rotate(-135deg);}
.tb-more-toggle:hover{text-decoration:underline;}
.tb-more-toggle:focus-visible,.tb-all-link:focus-visible{outline:2px solid #16a34a;outline-offset:2px;}
.tb-hero .tb-more .tb-tier{margin-top:1rem;}
.tb-hero .tb-more .tb-inline{gap:0.5rem 1.5rem;font-size:1rem;line-height:1.5rem;}
.tb-all{margin:1rem 0 0;font-size:0.875rem;line-height:1.25rem;}
.tb-all-link{color:#15803d;font-weight:600;text-decoration:none;}
.tb-all-link:hover{text-decoration:underline;}

.dark .tb{border-top-color:#374151;}
.dark .tb-heading{color:#f9fafb;}
.dark .tb-hero .tb-heading{color:#9ca3af;}
.dark .tb-sub,.dark .tb-loc{color:#9ca3af;}
.dark .tb li:hover .tb-loc,.dark .tb li:focus-within .tb-loc{color:#d1d5db;}
.dark .tb-inline{color:#d1d5db;}
.dark .tb-grey .tb-logo{opacity:0.85;}
.dark .tb-badge{background:#14532d;color:#bbf7d0;}
.dark a.tb-badge:hover{background:#166534;}
.dark .tb-hiring{color:#4ade80;}
.dark .tb-more-toggle,.dark .tb-all-link{color:#4ade80;}
