:root {
  --bg: #fafaf7;
  --fg: #111;
  --muted: #666;
  --line: #e5e5e0;
  --accent: #111;
  --card: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .dot { color: #c0392b; }
.site-header nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-header nav a:hover { text-decoration: underline; }
main { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.site-footer { padding: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; text-align: center; }

.hero { padding: 4rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.03em; margin: 0 0 1rem; }
.hero p { color: var(--muted); max-width: 600px; font-size: 1.1rem; }
.btn { display: inline-block; padding: 0.7rem 1.4rem; background: var(--accent); color: #fff; border-radius: 4px; font-size: 0.95rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn:hover { opacity: 0.85; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.search { display: flex; gap: 0.5rem; }
.search input { padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 4px; min-width: 220px; background: #fff; }
.search button { padding: 0.6rem 1rem; background: var(--accent); color: #fff; border: 0; border-radius: 4px; cursor: pointer; }

.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.font-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: transform 0.1s ease; }
.font-card:hover { transform: translateY(-2px); }
.font-card .specimen { font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; min-height: 2.5rem; }
.font-card .meta { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); }
.font-card .name { color: var(--fg); font-weight: 500; }

.categories .cat-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.categories .cat-list a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; background: #fff; }
.categories .cat-list a:hover { background: var(--accent); color: #fff; }

.product { display: grid; gap: 2rem; }
.product-head h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 0 0 0.5rem; }
.product-head .short { color: var(--muted); font-size: 1.05rem; }
.product-head .price-range { font-size: 1.25rem; font-weight: 600; margin-top: 0.5rem; }
.product-body { display: grid; gap: 1.5rem; }
.specimen-large { font-size: clamp(3rem, 8vw, 6rem); font-weight: 600; letter-spacing: -0.02em; padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.description { color: var(--muted); max-width: 720px; }
.description p { margin: 0 0 1rem; }

.licenses { margin-top: 1rem; }
.license-table { width: 100%; border-collapse: collapse; }
.license-table th, .license-table td { text-align: left; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); }
.license-table th { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.license-table td:last-child { text-align: right; }
.chip { display: inline-block; padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--muted); margin-right: 0.4rem; }

.empty { color: var(--muted); font-style: italic; }
.notfound { text-align: center; padding: 6rem 0; }
.notfound h1 { font-size: 4rem; margin: 0; }
.pagination { margin-top: 2rem; text-align: center; }

.result-note { color: var(--muted); margin-bottom: 1.5rem; }

@media (max-width: 640px) {
  .site-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  main { padding: 1.25rem; }
}
EOF
echo ok