* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); line-height: 1.65; font-size: 17px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 780px; margin: 0 auto; padding: 32px 22px 80px; }
header.site {
  padding: 40px 22px 24px; text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
header.site h1 { font-family: var(--font-serif); font-size: 36px; margin: 0 0 6px;
  letter-spacing: -0.5px; }
header.site p { margin: 0; color: var(--muted); font-size: 15px; }
header.site nav { margin-top: 14px; font-size: 14px; }
header.site nav a { margin: 0 10px; color: var(--muted); }
header.site nav a:hover { color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; transition: transform .1s; }
.card:hover { transform: translateY(-2px); }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--accent-soft); }
.card .body { padding: 14px 16px; }
.card .title { font-family: var(--font-serif); font-size: 19px; margin: 0 0 4px; color: var(--fg); }
.card .meta { color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.card a { color: inherit; }
.score-badge { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--card);
  font-weight: 700; font-size: 16px; }

article.review h1 { font-family: var(--font-serif); font-size: 32px; margin: 16px 0 8px;
  letter-spacing: -0.3px; }
article.review .hero { width: 100%; max-height: 360px; object-fit: cover;
  border-radius: 10px; margin-bottom: 16px; background: var(--accent-soft); }
article.review .lead { display: flex; align-items: center; gap: 16px; margin: 16px 0 28px; }
article.review .lead .score { width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; font-family: var(--font-serif); flex-shrink: 0; }
article.review .lead .summary-meta { color: var(--muted); font-size: 14px; }

.breakdown { background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px; margin: 22px 0; }
.breakdown h3 { margin: 0 0 12px; font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.cat { margin-bottom: 14px; }
.cat:last-child { margin-bottom: 0; }
.cat-top { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px; margin-bottom: 3px; }
.cat-name { font-weight: 600; }
.cat-weight { color: var(--muted); font-size: 12px; }
.cat-score { font-weight: 700; color: var(--accent); }
.cat-bar { height: 6px; background: var(--accent-soft); border-radius: 3px; overflow: hidden; }
.cat-bar-fill { height: 100%; background: var(--accent); border-radius: 3px;
  transition: width .4s ease; }
.cat-rationale { font-size: 13px; color: var(--muted); margin-top: 4px; }

article.review .body { font-size: 17px; line-height: 1.75; }
article.review .body p { margin: 0 0 1.1em; }
article.review .body h2, article.review .body h3 {
  font-family: var(--font-serif); margin-top: 1.6em; margin-bottom: 0.3em; }

article.review .footer {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}

.back-link { display: inline-block; margin-bottom: 16px; font-size: 14px; color: var(--muted); }

.home-lead { margin: 8px 0 18px; color: var(--muted); font-size: 16px; }
.highest-rated, .latest { margin-top: 28px; }
.highest-rated h2, .latest h2 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 12px; font-weight: 600; }
.card-placeholder { height: 180px; background: var(--accent-soft); }

.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.related h3 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 14px; font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; color: var(--fg); transition: transform .1s; }
.related-card:hover { transform: translateY(-2px); text-decoration: none; }
.related-card img { width: 100%; height: 140px; object-fit: cover; display: block; background: var(--accent-soft); }
.related-placeholder { height: 140px; background: var(--accent-soft); }
.related-card .related-body { padding: 10px 12px; }
.related-title { font-family: var(--font-serif); font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.related-meta { display: flex; justify-content: flex-end; }
.score-badge.small { width: 34px; height: 34px; font-size: 13px; }
.type-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.type-badge--review { background: var(--accent-soft); color: var(--accent); }
.type-badge--guide { background: var(--accent); color: var(--card); }

.about h1 { font-family: var(--font-serif); font-size: 28px; }
.about p { font-size: 17px; }

footer.site { text-align: center; color: var(--muted); font-size: 13px;
  padding: 30px 22px; border-top: 1px solid var(--border); margin-top: 60px; }

@media (max-width: 600px) {
  header.site h1 { font-size: 28px; }
  article.review h1 { font-size: 26px; }
  .container { padding: 22px 16px 60px; }
}
