/* The client's launcher page. No script anywhere: the CSP forbids it. The logo and the background photo are the client's own, the same two
   files its sign-in pages use, kept beside this page so the launcher does not depend on the host's brand folder. If the photo is missing
   the solid colour shows. */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{
  font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:#f8fafc;
  background:#0f172a url("/login-bg.jpg") center/cover no-repeat fixed;
}
body::before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.75);z-index:0}
body{display:flex;flex-direction:column;min-height:100vh}
main{position:relative;z-index:1;flex:1;width:100%;max-width:760px;margin:0 auto;padding:9vh 20px 24px}
.brand{
  width:min(340px,100%);aspect-ratio:704/168;margin-bottom:1.8rem;border-radius:12px;
  background:#fff url("/login-logo.png") center/contain no-repeat;
  box-shadow:0 6px 24px rgba(0,0,0,.35);
}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.apps{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.card{
  display:flex;flex-direction:column;gap:4px;height:100%;min-height:132px;padding:18px 20px;
  border-radius:12px;text-decoration:none;color:inherit;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);
}
a.card:hover,a.card:focus-visible{background:rgba(255,255,255,.2);border-color:#fff;outline:none}
a.card:focus-visible{box-shadow:0 0 0 3px #38bdf8}
.name{font-size:1.3rem;font-weight:650}
.what{font-size:.92rem;color:#e2e8f0}
.go{margin-top:auto;font-size:.9rem;font-weight:600;color:#7dd3fc}
.card.off{opacity:.6;background:rgba(255,255,255,.04);border-style:dashed;cursor:not-allowed}
.card.off .go{color:#cbd5e1;font-weight:500}
footer{position:relative;z-index:1;padding:16px 20px 20px;text-align:center;font-size:.82rem;color:#cbd5e1;border-top:1px solid rgba(255,255,255,.18)}
@media (max-width:560px){.apps{grid-template-columns:1fr}main{padding-top:6vh}}
@media (prefers-reduced-motion:no-preference){a.card{transition:background .15s,border-color .15s}}
