:root{
  --bg:#ffffff;
  --fg:#111111;
  --muted:#555555;
  --card:#f5f5f5;
  --border:#e6e6e6;
  --max:820px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.4;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px 36px;
}

.top-nav{
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  font-size:14px;
}
.nav-left{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.nav-logo{
  width:64px;
  height:auto;
  display:block;
}
.nav-right{
  display:inline-flex;
  align-items:center;
  gap:16px;
}
.top-nav-link{
  color:#0b57d0;
  text-decoration:none;
  font-weight:600;
}
.top-nav-link:hover{
  text-decoration:underline;
}

.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  padding:10px 0 18px;
}

.logo{
  width:clamp(140px, 46vw, 270px);
  height:auto;
  display:block;
}

.tagline{
  margin:0;
  color:var(--muted);
  font-size:16px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
}

.cardLink{
  display:block;
  color:inherit;
  text-decoration:none;
}

.cardHeader{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px 10px;
}

.cardTitle{
  margin:0;
  font-size:16px;
  font-weight:650;
}

.cardCta{
  color:var(--muted);
  font-size:14px;
  white-space:nowrap;
}

.thumb{
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  display:block;
  border-top:1px solid var(--border);
  background:#ffffff;
}

.footer{
  padding-top:16px;
  display:flex;
  justify-content:center;
}

.footerLink{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
}
.footerLink:hover{color:var(--fg)}

@media (min-width: 900px){
  .library-feature{
    width:50%;
    margin-inline:auto;
  }
}
