:root{--bg:#f8fafb;--card:#ffffff;--muted:#6b7280;--accent:#4f46e5}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:var(--bg);color:#0f172a}
.container{max-width:980px;margin:0 auto;padding:20px}
.site-header{background:linear-gradient(90deg,#6366f1,#06b6d4);color:#fff;padding:14px 0}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.site-header h1{margin:0;cursor:pointer}
.site-header nav a{color:rgba(255,255,255,0.95);margin-left:12px;text-decoration:none}
.card{background:var(--card);padding:18px;border-radius:8px;box-shadow:0 1px 3px rgba(2,6,23,0.06);margin-bottom:16px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.tool-title{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px}
.features{color:var(--muted);margin-top:8px}
.btn{display:inline-block;padding:8px 12px;background:var(--accent);color:#fff;border-radius:6px;text-decoration:none;border:none;cursor:pointer}
.small{font-size:13px;color:var(--muted)}
.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;color:#e6eef8}
.site-footer{background:#0f172a;color:#cbd5e1;padding:24px 0;margin-top:20px}
.center{text-align:center;margin-top:12px;color:#94a3b8}
.form-row{margin-bottom:10px}
.input, textarea, select{width:100%;padding:8px;border:1px solid #e6eef8;border-radius:6px}
textarea{min-height:100px;resize:vertical}
.pre{background:#f1f5f9;padding:12px;border-radius:6px;white-space:pre-wrap;font-family:monospace}
.logo-bubble{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:#eef2ff;font-size:18px}
.flex{display:flex;gap:12px;align-items:center}
.kv{font-weight:600;margin-right:6px}
.nav-active{text-decoration:underline}