:root{
    --bg:#fff;
    --text:#111;
    --muted:rgba(0,0,0,.62);
    --border:rgba(0,0,0,.12);
    --radius:16px;
    --max:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text)}
body{font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
h1,h2,h3{font-family:ui-serif, Georgia, "Times New Roman", serif; letter-spacing:-0.01em; line-height:1.15; margin:0 0 10px}
p{margin:0 0 14px}
a{color:inherit;text-decoration:none}
a:hover{opacity:.72}

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

.nav{position:sticky;top:0;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.nav__inner{max-width:var(--max);margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px}
.brand__icon{
  display:inline-flex;
  width:28px;
  height:28px;
  border-radius:8px;
  background:rgba(0,0,0,0.03);
  align-items:center;
  justify-content:center;
}
.brand__icon img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.nav__links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav__links a{padding:8px 10px;border-radius:999px}
.nav__links a.pill{border:1px solid var(--border)}
.nav__links a.pill:hover{border-color:rgba(0,0,0,.3)}

.kicker{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.12em}
.hero{display:grid;grid-template-columns:1.3fr .7fr;gap:18px;align-items:start;margin-top:18px}
@media (max-width:900px){.hero{grid-template-columns:1fr}}

.controls .btn { flex: 0 0 auto; }

.card{border:1px solid var(--border);border-radius:var(--radius);padding:16px;background:#fff}
.card--tight{padding:14px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media (max-width:900px){.grid{grid-template-columns:1fr}}

/* --- Rating hover (editorial, non-interactive) --- */
.rating {
    transition: opacity .15s ease;
}

.card:hover .rating {
    opacity: 0.88;
}

.card:hover .star--full { opacity: 1; }
.card:hover .star--half { opacity: 0.7; }
.card:hover .star--empty { opacity: 0.25; }

.rating__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.star {
    font-size: 13px;
    line-height: 1;
    position: relative;
    top: -0.5px; /* subtle baseline align with badges */
}

.rating--md .star {
    font-size: 16px;
    top: -0.5px;
}

.star--full { color: #111; opacity: 0.95; }
.star--half { color: #111; opacity: 0.55; }
.star--empty { color: #111; opacity: 0.18; }

.rating__num {
    font-size: 12px;
    color: rgba(0,0,0,.62);
}

.rating--md .rating__num {
    font-size: 13px;
}
@media (max-width: 520px) {
    .rating {
        width: 100%;
        justify-content: flex-start;
    }
}


/* --- Meta rows: badges + rating --- */
.tool__meta,
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:999px;padding:6px 10px;font-size:13px;color:var(--muted)}
/* --- Badges (alignment) --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    padding: 6px 10px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    font-size: 12px;
    color: #111;
    background: #fff;
}

.badge--strong {
    border-color: rgba(0,0,0,.28);
    font-weight: 600;
}

.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:999px;padding:10px 14px;background:#fff;cursor:pointer}
.btn:hover{border-color:rgba(0,0,0,.3)}
.btn--primary{border-color:rgba(0,0,0,.35);font-weight:600}

/* Load more button - subtle loading state */
.btn--loading { opacity: 0.75; pointer-events: none; }

.loadmore {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.loadmore__status { font-size: 12px; color: rgba(0,0,0,.62); }

/* Optional: tiny shimmer line (very minimal) */
.loadmore__status::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-left: 8px;
    background: rgba(0,0,0,.18);
    transform: translateY(-3px);
    animation: lm 0.9s ease-in-out infinite;
    opacity: 0;
}

.btn--loading + .loadmore__status::after {
    opacity: 1;
}

@keyframes lm {
    0% { width: 16px; opacity: 0.25; }
    50% { width: 34px; opacity: 0.55; }
    100% { width: 16px; opacity: 0.25; }
}

.hr{height:1px;background:var(--border);margin:18px 0}

.input{width:100%;border:1px solid var(--border);border-radius:999px;padding:10px 12px;font:inherit}
.controls{display:flex;gap:10px;flex-wrap:wrap}
.controls > *{flex:1;min-width:180px}

.tools{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
@media (max-width:900px){.tools{grid-template-columns:1fr}}

.tool__top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.tool__name{font-size:18px;margin:0}
.tool__tagline{color:var(--muted);margin:8px 0 0}
.tool__meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tools > .card { height: 100%; }

.footer{border-top:1px solid var(--border)}
.footer__inner{max-width:var(--max);margin:0 auto;padding:22px 18px;display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap;color:var(--muted)}
.muted { color: rgba(0,0,0,.62); }
