:root{
  --primary:#2563eb;
  --primary-600:#1d4ed8;
  --primary-50:#eef2ff;
  --accent:#f59e0b;
  --bg:#f7f9fc;
  --card:#fff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --radius:16px;
  --shadow:0 8px 24px rgba(15,23,42,.06);
  --maxw:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:var(--bg);
}
img{display:block;width:100%;height:auto;border:0}
a{color:inherit;text-decoration:none}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  padding-top:env(safe-area-inset-top,0);
  background:#ffffffcc;
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  min-width:0;
  color:var(--primary-600);
}
.brand-badge{
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--primary),var(--primary-600));
  box-shadow:0 6px 16px rgba(37,99,235,.35);
  overflow:hidden;
}
.brand-badge img{
  width:70%;
  height:70%;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.brand .name{
  margin:0;
  font:inherit;
  color:var(--primary-600);
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
}
.header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
.btn-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  border-radius:999px;
  border:none;
  background:var(--primary);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(37,99,235,.3);
}
.btn-link.secondary{
  background:linear-gradient(135deg,var(--accent),#ffb020);
}
